diff --git a/x11/nx/opennx/Makefile b/x11/nx/opennx/Makefile new file mode 100644 index 00000000000..b1f5158f0dd --- /dev/null +++ b/x11/nx/opennx/Makefile @@ -0,0 +1,47 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2008/06/13 17:14:42 jasper Exp $ + +COMMENT= OSS replacement for Nomachine's nxclient + +DISTNAME= opennx-0.14 +CATEGORIES= sysutils + +# LGPL +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=opennx/} + +USE_LIBTOOL= Yes +USE_X11= Yes + +WANTLIB= X11 Xmu c m pthread stdc++ + +LIB_DEPENDS= wx_base,wx_base_net,wx_base_xml,wx_gtk2_adv,wx_gtk2_core,wx_gtk2_html,wx_gtk2_qa,wx_gtk2_xrc::x11/wxWidgets +BUILD_DEPENDS= ::devel/bison \ + ::net/samba \ + ::print/cups +RUN_DEPENDS= ::devel/desktop-file-utils \ + ::print/cups \ + ::x11/nx/nxssh + +CONFIGURE_STYLE= gnu +CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib" \ + CPPFLAGS="-I${LOCALBASE}/include" + +DOT_DESKTOP= opennx-admin-gnome.desktop \ + opennx-wizard-gnome.desktop \ + opennx-gnome.desktop + +post-build: + cd ${WRKSRC}/share/applnk/network-gnome && ${SUBST_CMD} ${DOT_DESKTOP} + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/applications +.for file in ${DOT_DESKTOP} + ${INSTALL_DATA} ${WRKSRC}/share/applnk/network-gnome/${file} \ + ${PREFIX}/share/applications +.endfor + +.include diff --git a/x11/nx/opennx/distinfo b/x11/nx/opennx/distinfo new file mode 100644 index 00000000000..c2eabdb7be7 --- /dev/null +++ b/x11/nx/opennx/distinfo @@ -0,0 +1,5 @@ +MD5 (nx/opennx-0.14.tar.gz) = swGU9EKNzv520RFviKSqvg== +RMD160 (nx/opennx-0.14.tar.gz) = ajlJGJsunTaRO9En00Twt5gCbDI= +SHA1 (nx/opennx-0.14.tar.gz) = s5qCwElddloHLkXkyZnlYbavN4E= +SHA256 (nx/opennx-0.14.tar.gz) = yQCkeSOdHQ2mPo0MbLxQmx+nVSaptOcvPWi0/OEHGhU= +SIZE (nx/opennx-0.14.tar.gz) = 784548 diff --git a/x11/nx/opennx/patches/patch-Makefile_in b/x11/nx/opennx/patches/patch-Makefile_in new file mode 100644 index 00000000000..050427226dc --- /dev/null +++ b/x11/nx/opennx/patches/patch-Makefile_in @@ -0,0 +1,12 @@ +$OpenBSD: patch-Makefile_in,v 1.1.1.1 2008/06/13 17:14:42 jasper Exp $ +--- Makefile.in.orig Sun Sep 2 01:38:35 2007 ++++ Makefile.in Fri Jun 13 10:19:23 2008 +@@ -998,7 +998,7 @@ info: info-recursive + + info-am: + +-install-data-am: install-cupsDATA install-data-local install-dataDATA \ ++install-data-am: install-cupsDATA install-dataDATA \ + install-iconDATA install-keyDATA + + install-exec-am: install-binPROGRAMS diff --git a/x11/nx/opennx/patches/patch-share_applnk_network-gnome_opennx-admin-gnome_desktop b/x11/nx/opennx/patches/patch-share_applnk_network-gnome_opennx-admin-gnome_desktop new file mode 100644 index 00000000000..55347ceb347 --- /dev/null +++ b/x11/nx/opennx/patches/patch-share_applnk_network-gnome_opennx-admin-gnome_desktop @@ -0,0 +1,15 @@ +$OpenBSD: patch-share_applnk_network-gnome_opennx-admin-gnome_desktop,v 1.1.1.1 2008/06/13 17:14:42 jasper Exp $ +--- share/applnk/network-gnome/opennx-admin-gnome.desktop.orig Fri May 23 12:00:07 2008 ++++ share/applnk/network-gnome/opennx-admin-gnome.desktop Fri May 23 12:00:34 2008 +@@ -1,9 +1,8 @@ + [Desktop Entry] + Encoding=UTF-8 + Comment=Launch session administrator +-Exec=/usr/NX/bin/opennx --admin +-Icon=/usr/NX/share/icons/opennx-admin.png ++Exec=${PREFIX}/bin/opennx --admin ++Icon=${PREFIX}/share/icons/opennx-admin.png + Name=OpenNX Session Administrator + Type=Application + Categories=Application;Network +-OnlyShowIn=GNOME; diff --git a/x11/nx/opennx/patches/patch-share_applnk_network-gnome_opennx-gnome_desktop b/x11/nx/opennx/patches/patch-share_applnk_network-gnome_opennx-gnome_desktop new file mode 100644 index 00000000000..c24f5dabed3 --- /dev/null +++ b/x11/nx/opennx/patches/patch-share_applnk_network-gnome_opennx-gnome_desktop @@ -0,0 +1,16 @@ +$OpenBSD: patch-share_applnk_network-gnome_opennx-gnome_desktop,v 1.1.1.1 2008/06/13 17:14:42 jasper Exp $ +--- share/applnk/network-gnome/opennx-gnome.desktop.orig Fri May 23 12:00:07 2008 ++++ share/applnk/network-gnome/opennx-gnome.desktop Fri May 23 12:00:43 2008 +@@ -1,10 +1,9 @@ + [Desktop Entry] + Encoding=UTF-8 + Comment=Connect to a remote NX server +-Exec=/usr/NX/bin/opennx +-Icon=/usr/NX/share/icons/nx.png ++Exec=${PREFIX}/bin/opennx ++Icon=${PREFIX}/share/icons/nx.png + Name=OpenNX client + Type=Application + MimeType=application/nx-session + Categories=Application;Network +-OnlyShowIn=GNOME; diff --git a/x11/nx/opennx/patches/patch-share_applnk_network-gnome_opennx-wizard-gnome_desktop b/x11/nx/opennx/patches/patch-share_applnk_network-gnome_opennx-wizard-gnome_desktop new file mode 100644 index 00000000000..ac9d13e6861 --- /dev/null +++ b/x11/nx/opennx/patches/patch-share_applnk_network-gnome_opennx-wizard-gnome_desktop @@ -0,0 +1,15 @@ +$OpenBSD: patch-share_applnk_network-gnome_opennx-wizard-gnome_desktop,v 1.1.1.1 2008/06/13 17:14:42 jasper Exp $ +--- share/applnk/network-gnome/opennx-wizard-gnome.desktop.orig Fri May 23 12:00:07 2008 ++++ share/applnk/network-gnome/opennx-wizard-gnome.desktop Fri May 23 12:00:50 2008 +@@ -1,9 +1,8 @@ + [Desktop Entry] + Encoding=UTF-8 + Comment=Launch connection wizard +-Exec=/usr/NX/bin/opennx --wizard +-Icon=/usr/NX/share/icons/opennx-wizard.png ++Exec=${PREFIX}/bin/opennx --wizard ++Icon=${PREFIX}/share/icons/opennx-wizard.png + Name=OpenNX Connection Wizard + Type=Application + Categories=Application;Network +-OnlyShowIn=GNOME; diff --git a/x11/nx/opennx/pkg/DESCR b/x11/nx/opennx/pkg/DESCR new file mode 100644 index 00000000000..74287e16652 --- /dev/null +++ b/x11/nx/opennx/pkg/DESCR @@ -0,0 +1,6 @@ +NX is an exciting new technology for remote display. It provides near +local speed application responsiveness over high latency, low bandwidth +links. The core libraries for NX are provided by NoMachine under the +GPL. + +opennx is a LPGL implementation of the NX Client. diff --git a/x11/nx/opennx/pkg/PLIST b/x11/nx/opennx/pkg/PLIST new file mode 100644 index 00000000000..43c542f18a2 --- /dev/null +++ b/x11/nx/opennx/pkg/PLIST @@ -0,0 +1,19 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2008/06/13 17:14:42 jasper Exp $ +@bin bin/opennx +share/applications/opennx-admin-gnome.desktop +share/applications/opennx-gnome.desktop +share/applications/opennx-wizard-gnome.desktop +share/cups/mime.convs +share/cups/mime.types +share/icons/nx-desktop.png +share/icons/nx.png +share/icons/opennx-admin.png +share/icons/opennx-wizard.png +share/keyboards +share/keys/ +share/keys/server.id_dsa.key +share/locale/de/LC_MESSAGES/opennx.mo +@exec %D/bin/update-desktop-database +@unexec %D/bin/update-desktop-database +@exec %D/bin/gtk-update-icon-cache -q -f -t %D/share/icons/hicolor 2> /dev/null || true +@unexec %D/bin/gtk-update-icon-cache -q -f -t %D/share/icons/hicolor 2> /dev/null || true