summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-misc/nxnode-base/Manifest36
-rw-r--r--net-misc/nxnode-base/files/2.0.0/nxcompext-makefile.patch20
-rw-r--r--net-misc/nxnode-base/files/2.0.0/nxdesktop-fix-nxcomp-paths.patch26
-rw-r--r--net-misc/nxnode-base/files/2.0.0/nxnode-fix-nxcomp-paths.patch153
-rw-r--r--net-misc/nxnode-base/files/2.0.0/nxspool-gcc4.patch12
-rw-r--r--net-misc/nxnode-base/files/2.0.0/nxviewer-fix-nxcomp-paths.patch14
-rw-r--r--net-misc/nxnode-base/files/digest-nxnode-base-2.0.027
-rw-r--r--net-misc/nxnode-base/nxnode-base-2.0.0.ebuild137
8 files changed, 425 insertions, 0 deletions
diff --git a/net-misc/nxnode-base/Manifest b/net-misc/nxnode-base/Manifest
new file mode 100644
index 0000000..f6544b4
--- /dev/null
+++ b/net-misc/nxnode-base/Manifest
@@ -0,0 +1,36 @@
+AUX 2.0.0/nxcompext-makefile.patch 852 RMD160 c33478fdf2e1dc09c95ebb8aad9bb07a55fc76c6 SHA1 4eae19cc796ea045a7d944b5bdff36ce3871d6ff SHA256 825c31636ed01d939a8957fee5cb647c37485f75bde9552976bebebd98cd5088
+MD5 cd89a8de3e8d6841eadbe2e71c664a75 files/2.0.0/nxcompext-makefile.patch 852
+RMD160 c33478fdf2e1dc09c95ebb8aad9bb07a55fc76c6 files/2.0.0/nxcompext-makefile.patch 852
+SHA256 825c31636ed01d939a8957fee5cb647c37485f75bde9552976bebebd98cd5088 files/2.0.0/nxcompext-makefile.patch 852
+AUX 2.0.0/nxdesktop-fix-nxcomp-paths.patch 1337 RMD160 7a33dd1d402efcb8b8a34c6e7ecbc7dd254b83e2 SHA1 dfbc06d4bb249bf828bfc25d04bae1a572ef5dab SHA256 ff826d96d042669653c67fa84d93dbc0767686d9cc92d525bc1b86f33d4e76b6
+MD5 54f47049ffa2574b226e77997a41a6c3 files/2.0.0/nxdesktop-fix-nxcomp-paths.patch 1337
+RMD160 7a33dd1d402efcb8b8a34c6e7ecbc7dd254b83e2 files/2.0.0/nxdesktop-fix-nxcomp-paths.patch 1337
+SHA256 ff826d96d042669653c67fa84d93dbc0767686d9cc92d525bc1b86f33d4e76b6 files/2.0.0/nxdesktop-fix-nxcomp-paths.patch 1337
+AUX 2.0.0/nxnode-fix-nxcomp-paths.patch 5937 RMD160 82516776b349819c028031acb9fb473167b64667 SHA1 d89c693805395cc5ebc387809df5a65c0cc312ba SHA256 27b182ff741cc228151134e432c99785dabaa923a1633645dcdecdf732cbfaf4
+MD5 06a0d1d3f51e8f3f1c3945dbb0ba3bca files/2.0.0/nxnode-fix-nxcomp-paths.patch 5937
+RMD160 82516776b349819c028031acb9fb473167b64667 files/2.0.0/nxnode-fix-nxcomp-paths.patch 5937
+SHA256 27b182ff741cc228151134e432c99785dabaa923a1633645dcdecdf732cbfaf4 files/2.0.0/nxnode-fix-nxcomp-paths.patch 5937
+AUX 2.0.0/nxspool-gcc4.patch 467 RMD160 3c46121de4c40025b7e27b76b2a6cdc0e690d974 SHA1 f3e31f958213789a1e87d5ad2b929e970acd0355 SHA256 c857f0a64bf619c1bdcf798416ab50b275a696d62d8c24d0c6fb11e30558c908
+MD5 1440a0de4d8f822f775f608bf95513ca files/2.0.0/nxspool-gcc4.patch 467
+RMD160 3c46121de4c40025b7e27b76b2a6cdc0e690d974 files/2.0.0/nxspool-gcc4.patch 467
+SHA256 c857f0a64bf619c1bdcf798416ab50b275a696d62d8c24d0c6fb11e30558c908 files/2.0.0/nxspool-gcc4.patch 467
+AUX 2.0.0/nxviewer-fix-nxcomp-paths.patch 671 RMD160 9b4ddd27fea9633009d3661ae0965b297a7abb39 SHA1 3e232e4eec3cb875364898ff909d3f0ecbb40f21 SHA256 ac819437d78b8d631befbb96ec784cc824c2cc1febbb1b2f4444f80396f8b3f6
+MD5 c26557d8dbeca740d8613861b80af6f4 files/2.0.0/nxviewer-fix-nxcomp-paths.patch 671
+RMD160 9b4ddd27fea9633009d3661ae0965b297a7abb39 files/2.0.0/nxviewer-fix-nxcomp-paths.patch 671
+SHA256 ac819437d78b8d631befbb96ec784cc824c2cc1febbb1b2f4444f80396f8b3f6 files/2.0.0/nxviewer-fix-nxcomp-paths.patch 671
+DIST nx-X11-2.0.0-31.tar.gz 32667577 RMD160 7c922d1269d594764b7dbc2856d831f1913b0b6b SHA1 175939c904870bf3a54afb99b00c29695e9bfcd2 SHA256 7945e8abcaac8f6cd86b59a052f0c02edfd30386eff66c77705259fda51ee7ea
+DIST nxagent-2.0.0-89.tar.gz 933839 RMD160 56e8d49ccf406a7e6032b9d5937ec00861e0867b SHA1 56ef823fd4560ee501f3e0a6511a7ce022ed3e4a SHA256 d13a85aae8934f79896ae6d62c3be04c2c264229ec5511872fa8c9a8856cffcd
+DIST nxauth-2.0.0-3.tar.gz 23275 RMD160 f1213d09ffc4961ef244d46e5858b2a6bda39575 SHA1 9951b2f10b3a24bdb0a4e77be9be3fe934999619 SHA256 2d247695c816af638fa1a59a751ca6a85a4833a0ebd63c793b8e13ead13edb00
+DIST nxcompext-2.0.0-33.tar.gz 96096 RMD160 0039b58c88dd05253b5e57a4329467db3a3a340a SHA1 8a0285301cd836e5ad0d1f705044bd6e5e0c2b4b SHA256 cdf2b0b5f7557be5c1d327240b127dde4663d633ec6b318ff04a387bde7d35a8
+DIST nxdesktop-2.0.0-50.tar.gz 220336 RMD160 91696447e1e511043736dd11537d2efd00ea106a SHA1 8cd5a3c5fd328cd82307ecea1c7e989a1930f986 SHA256 0b3167bd78dc0a9b5dff183b2380a48d2b39de244bfccc7647ff38a73588423c
+DIST nxsensor-2.0.0-2.tar.gz 180418 RMD160 0f25d3b4af1197499b05f96a7ffc251f6d045f78 SHA1 e91e65548e4888941e4bb851a1434a4d88e6baa2 SHA256 32d0ad68afcd3d07957d277dfa252c75696627a2704fd433c608ce70870863ff
+DIST nxspool-2.0.0-4.tar.gz 2838395 RMD160 fe7fa5312b8da770f458080846686e70c43a5022 SHA1 c2fe74ad5655b75322c5806838f9756a8674bebc SHA256 ef26f19c076a71a766a2e1f2103d1080c190159678d07ecc3cfc59d5724489dc
+DIST nxuexec-2.0.0-4.tar.gz 6948 RMD160 9308e1bc1763801b99ddcbab2d7ce25050e20ae3 SHA1 788f6465c28686b993586a93e6d24213238dc8d2 SHA256 80c6806377742eb0dfdec244b535c5ccebb20fc98d68cbb49ad7f3168b7eef11
+DIST nxviewer-2.0.0-15.tar.gz 93567 RMD160 df74a798e863d95e419057d706f5f8932a65aa5c SHA1 47f2b5ce65d049bb1c886e44269a1f1389c25c22 SHA256 96d1fe59d96fea67816a2f8390f5d430105fc1f2c8ba1ca573f6ee2eaef6f364
+EBUILD nxnode-base-2.0.0.ebuild 3747 RMD160 164e7caf9612dce91e0faabcc04b2dee6408233c SHA1 23f801464746824b5779b3c9208c00692996b2e0 SHA256 a4856f961e1163cda0789412bb2db51c931f1be4f757b0f1a6b10614e5e2903c
+MD5 e168f20a26b1215770de998894b9ea1f nxnode-base-2.0.0.ebuild 3747
+RMD160 164e7caf9612dce91e0faabcc04b2dee6408233c nxnode-base-2.0.0.ebuild 3747
+SHA256 a4856f961e1163cda0789412bb2db51c931f1be4f757b0f1a6b10614e5e2903c nxnode-base-2.0.0.ebuild 3747
+MD5 517b1e8eb8bedfbf1e68b48baa96dfcb files/digest-nxnode-base-2.0.0 2244
+RMD160 2d6407254cae2201ed477c8f7c2de667622203d1 files/digest-nxnode-base-2.0.0 2244
+SHA256 cd90218306028a3e19797d6c68faba6b51c79f5b36e228e907acc133fe89a517 files/digest-nxnode-base-2.0.0 2244
diff --git a/net-misc/nxnode-base/files/2.0.0/nxcompext-makefile.patch b/net-misc/nxnode-base/files/2.0.0/nxcompext-makefile.patch
new file mode 100644
index 0000000..4abaa7f
--- /dev/null
+++ b/net-misc/nxnode-base/files/2.0.0/nxcompext-makefile.patch
@@ -0,0 +1,20 @@
+diff -purN nxcompext.orig/Makefile.in nxcompext/Makefile.in
+--- nxcompext.orig/Makefile.in 2006-06-04 08:35:58.000000000 -0500
++++ nxcompext/Makefile.in 2006-07-15 20:54:05.000000000 -0500
+@@ -30,14 +30,14 @@ LIBVERSION=@LIBVERSION@
+ CXX = @CXX@
+ CXXFLAGS = @CXXFLAGS@ @X_CFLAGS@ @DEFS@ \
+ -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
+- -Wmissing-declarations -Wnested-externs
++ -Wmissing-declarations -Wnested-externs -fPIC
+ CXXINCLUDES = -I. -I../nxcomp
+ CXXDEFINES =
+
+ CC = @CC@
+ CCFLAGS = @CFLAGS@ @X_CFLAGS@ @DEFS@ \
+ -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
+- -Wmissing-declarations -Wnested-externs
++ -Wmissing-declarations -Wnested-externs -fPIC
+ CCINCLUDES = -I. -I../nxcomp
+ CCDEFINES =
+
diff --git a/net-misc/nxnode-base/files/2.0.0/nxdesktop-fix-nxcomp-paths.patch b/net-misc/nxnode-base/files/2.0.0/nxdesktop-fix-nxcomp-paths.patch
new file mode 100644
index 0000000..31252d7
--- /dev/null
+++ b/net-misc/nxnode-base/files/2.0.0/nxdesktop-fix-nxcomp-paths.patch
@@ -0,0 +1,26 @@
+diff -purN nxnode.orig/nxdesktop/Makefile nxnode/nxdesktop/Makefile
+--- nxnode.orig/nxdesktop/Makefile 2006-03-28 16:03:18.000000000 -0600
++++ nxnode/nxdesktop/Makefile 2006-07-30 11:01:29.000000000 -0500
+@@ -30,8 +30,8 @@ bindir = $(exec_prefix)/bin
+ mandir = $(prefix)/man
+ datadir = $(prefix)/share
+
+-INCLUDES = -I../nxcomp -I../nxcompext -I../nxesd
+-LDLIBS = -lXpm -L../nxcompext -lXcompext -L../nxcomp -L../nxesd/.libs -lXcomp -lX11 -lXext
++INCLUDES = -I/usr/NX/lib -I../nxcompext -I../nxesd
++LDLIBS = -lXpm -L../nxcompext -lXcompext -L/usr/NX/lib -L../nxesd/.libs -lXcomp -lX11 -lXext
+ VERSION = 1.5.0-2
+ KEYMAP_PATH = $(datadir)/keymaps-windows/
+
+diff -purN nxnode.orig/nxdesktop/configure nxnode/nxdesktop/configure
+--- nxnode.orig/nxdesktop/configure 2006-03-21 13:22:20.000000000 -0600
++++ nxnode/nxdesktop/configure 2006-07-30 11:00:31.000000000 -0500
+@@ -391,7 +391,7 @@ rpath=`echo $rpath |sed 's/^://'`
+
+ case `uname -s` in
+ SunOS)
+- echo "INCLUDES = -I../nxcomp -I../nxcompext -I/usr/local/include -I/usr/sfw/include">> Makeconf
++ echo "INCLUDES = -I/usr/NX/lib -I../nxcompext -I/usr/local/include -I/usr/sfw/include">> Makeconf
+ ldflags="$ldflags -L/usr/sfw/lib -lsocket -lnsl -R$rpath"
+ cflags="$cflags -DHAVE_DIRENT_H=1 -DHAVE_DECL_DIRFD=0 -DDIR_FD_MEMBER_NAME=dd_fd"
+ ;;
diff --git a/net-misc/nxnode-base/files/2.0.0/nxnode-fix-nxcomp-paths.patch b/net-misc/nxnode-base/files/2.0.0/nxnode-fix-nxcomp-paths.patch
new file mode 100644
index 0000000..1318d90
--- /dev/null
+++ b/net-misc/nxnode-base/files/2.0.0/nxnode-fix-nxcomp-paths.patch
@@ -0,0 +1,153 @@
+diff -purN nxnode.orig/nx-X11/lib/X11/Imakefile nxnode/nx-X11/lib/X11/Imakefile
+--- nxnode.orig/nx-X11/lib/X11/Imakefile 2006-06-19 09:20:43.000000000 -0500
++++ nxnode/nx-X11/lib/X11/Imakefile 2006-07-30 10:07:47.000000000 -0500
+@@ -22,9 +22,9 @@ XCOMM $XFree86: xc/lib/X11/Imakefile,v 3
+ #if NXLibraries
+
+ #ifdef SunArchitecture
+-NX_INCLUDES = -I../../../nxcomp -I/usr/sfw/include
++NX_INCLUDES = -I/usr/NX/lib -I/usr/sfw/include
+ #else
+-NX_INCLUDES = -I../../../nxcomp
++NX_INCLUDES = -I/usr/NX/lib
+ #endif
+
+ NX_DEFINES = -DNX_TRANS_SOCKET
+@@ -36,18 +36,12 @@ NX_DEFINES = -DNX_TRANS_SOCKET
+ # -DNX_TRANS_TEST \
+ # -DNX_TRANS_DEBUG \
+
+-NX_XCOMPCONFIGTARGET = ../../../nxcomp/config.status
+ NX_XCOMPEXTCONFIGTARGET = ../../../nxcompext/config.status
+
+-#ifdef cygwinArchitecture
+-NX_XCOMPLIBTARGET = ../../../nxcomp/cygXcomp.dll
+-NX_XCOMPEXTLIBTARGET = ../../../nxcompext/cygXcompext.dll
+-#else
+-NX_XCOMPLIBTARGET = ../../../nxcomp/libXcomp.so
++NX_XCOMPLIBTARGET = /usr/NX/lib/libXcomp.so
+ NX_XCOMPEXTLIBTARGET = ../../../nxcompext/libXcompext.so
+-#endif
+
+-NX_REQUIREDLIBS = -L../../../nxcomp -lXcomp
++NX_REQUIREDLIBS = -L/usr/NX/lib -lXcomp
+
+ #endif
+
+@@ -1119,27 +1113,15 @@ includes:: ks_tables.h
+
+ #if NXLibraries
+
+-$(NX_XCOMPCONFIGTARGET):
+- cd ../../../nxcomp && \
+- ./configure
+-
+ $(NX_XCOMPEXTCONFIGTARGET):
+ cd ../../../nxcompext && \
+ ./configure
+
+ #ifdef SunArchitecture
+-$(NX_XCOMPLIBTARGET): $(NX_XCOMPCONFIGTARGET)
+- cd ../../../nxcomp && \
+- gmake
+-
+ $(NX_XCOMPEXTLIBTARGET): $(NX_XCOMPEXTCONFIGTARGET)
+ cd ../../../nxcompext && \
+ gmake
+ #else
+-$(NX_XCOMPLIBTARGET): $(NX_XCOMPCONFIGTARGET)
+- cd ../../../nxcomp && \
+- make
+-
+ $(NX_XCOMPEXTLIBTARGET): $(NX_XCOMPEXTCONFIGTARGET)
+ cd ../../../nxcompext && \
+ make
+diff -purN nxnode.orig/nx-X11/programs/Xserver/Imakefile nxnode/nx-X11/programs/Xserver/Imakefile
+--- nxnode.orig/nx-X11/programs/Xserver/Imakefile 2006-06-19 09:21:04.000000000 -0500
++++ nxnode/nx-X11/programs/Xserver/Imakefile 2006-07-30 10:13:30.000000000 -0500
+@@ -1396,9 +1396,9 @@ $(NXAGENTOBJS) $(NXAGENTLIBS) $(NXAGENTS
+ */
+
+ #if defined(SunArchitecture)
+-NXAGENTNXLIBS = -L ../../../nxcomp -L ../../../nxcompext -lXcomp -lXcompext -lrt -L/usr/sfw/lib -lXrender
++NXAGENTNXLIBS = -L /usr/NX/lib -L ../../../nxcompext -lXcomp -lXcompext -lrt -L/usr/sfw/lib -lXrender
+ #else
+-NXAGENTNXLIBS = -L ../../../nxcomp -L ../../../nxcompext -lXcomp -lXcompext -lXrender -lX11 -lXext
++NXAGENTNXLIBS = -L /usr/NX/lib -L ../../../nxcompext -lXcomp -lXcompext -lXrender -lX11 -lXext
+ #endif
+
+ #endif
+@@ -1553,7 +1553,7 @@ NXWINOBJS = $(NXWINDDXDIR)/stubs.o $(NXW
+ NXWINLIBS = PreFbLibs $(NXWINLIB) FbPostFbLibs $(LAYER) $(SHADOW) \
+ $(XWINPARSERLIB)
+ NXWINSYSLIBS = $(FONTLIBS) $(LDPRELIBS) $(XLIB) $(SYSLIBS) -lgdi32 -lddraw
+-NXWINNXLIBS = -L../../../nxcomp -lXcomp
++NXWINNXLIBS = -L/usr/NX/lib -lXcomp
+
+ /*
+ * These flags cause NXWin.exe to be a Windows executable, which
+diff -purN nxnode.orig/nx-X11/programs/Xserver/hw/nxagent/Imakefile nxnode/nx-X11/programs/Xserver/hw/nxagent/Imakefile
+--- nxnode.orig/nx-X11/programs/Xserver/hw/nxagent/Imakefile 2006-06-09 10:02:24.000000000 -0500
++++ nxnode/nx-X11/programs/Xserver/hw/nxagent/Imakefile 2006-07-30 10:11:09.000000000 -0500
+@@ -130,14 +130,14 @@ OBJS = NXrandr.o \
+ VFBINCLUDES = -I../../fb -I../../mfb -I../../render
+ NXFONTINCLUDES = -I../../../../lib/font/include
+
+-INCLUDES = -I. -I../../../../../nxcomp -I../../../../../nxcompext \
++INCLUDES = -I. -I/usr/NX/lib -I../../../../../nxcompext \
+ -I$(XBUILDINCDIR) -I$(FONTINCSRC) \
+ -I../../mi -I../../include -I../../os \
+ -I../../GL/glx -I../../GL/include -I../../../../lib/GL/include -I../../Xext \
+ -I$(EXTINCSRC) -I$(XINCLUDESRC) \
+ $(VFBINCLUDES) $(NXFONTINCLUDES)
+ #ifdef SunArchitecture
+-INCLUDES = -I../../../../../nxcomp -I../../../../../nxcompext \
++INCLUDES = -I/usr/NX/lib -I../../../../../nxcompext \
+ -I. -I$(XBUILDINCDIR) -I$(FONTINCSRC) \
+ -I/usr/sfw/include \
+ -I../../mi -I../../include -I../../os \
+@@ -149,7 +149,7 @@ INCLUDES = -I../../../../../nxcomp -I../
+ INCLUDES = -I$(XBUILDINCDIR) -I$(FONTINCSRC) \
+ -I../../mi -I../../include -I../../os \
+ -I../../GL/glx -I../../GL/include -I../../../../lib/GL/include -I../../Xext \
+- -I. -I../../../../../nxcomp -I../../../../../nxcompext \
++ -I. -I/usr/NX/lib -I../../../../../nxcompext \
+ -I$(EXTINCSRC) -I$(XINCLUDESRC) \
+ $(VFBINCLUDES) $(NXFONTINCLUDES)
+ #endif
+diff -purN nxnode.orig/nx-X11/programs/Xserver/os/Imakefile nxnode/nx-X11/programs/Xserver/os/Imakefile
+--- nxnode.orig/nx-X11/programs/Xserver/os/Imakefile 2006-06-19 09:21:26.000000000 -0500
++++ nxnode/nx-X11/programs/Xserver/os/Imakefile 2006-07-30 10:14:29.000000000 -0500
+@@ -25,7 +25,7 @@ XCOMM $Xorg: Imakefile,v 1.3 2000/08/17
+
+ #if NXLibraries
+
+-NX_INCLUDES = -I../../../../nxcomp
++NX_INCLUDES = -I/usr/NX/lib
+
+ NX_DEFINES = -DNX_TRANS_SOCKET \
+ -DNX_TRANS_AUTH \
+diff -purN nxnode.orig/nxcompext/Makefile.in nxnode/nxcompext/Makefile.in
+--- nxnode.orig/nxcompext/Makefile.in 2006-06-04 08:35:58.000000000 -0500
++++ nxnode/nxcompext/Makefile.in 2006-07-30 10:15:57.000000000 -0500
+@@ -31,17 +31,17 @@ CXX = @CXX@
+ CXXFLAGS = @CXXFLAGS@ @X_CFLAGS@ @DEFS@ \
+ -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
+ -Wmissing-declarations -Wnested-externs
+-CXXINCLUDES = -I. -I../nxcomp
++CXXINCLUDES = -I. -I/usr/NX/lib
+ CXXDEFINES =
+
+ CC = @CC@
+ CCFLAGS = @CFLAGS@ @X_CFLAGS@ @DEFS@ \
+ -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
+ -Wmissing-declarations -Wnested-externs
+-CCINCLUDES = -I. -I../nxcomp
++CCINCLUDES = -I. -I/usr/NX/lib
+ CCDEFINES =
+
+-LDFLAGS = @LDFLAGS@ -L../nxcomp
++LDFLAGS = @LDFLAGS@ -L/usr/NX/lib
+ LIBS = @LIBS@ -lz -lX11 -lXcomp
+
+ #
diff --git a/net-misc/nxnode-base/files/2.0.0/nxspool-gcc4.patch b/net-misc/nxnode-base/files/2.0.0/nxspool-gcc4.patch
new file mode 100644
index 0000000..624e9b4
--- /dev/null
+++ b/net-misc/nxnode-base/files/2.0.0/nxspool-gcc4.patch
@@ -0,0 +1,12 @@
+diff -purN nxspool.orig/source/include/popt_common.h nxspool/source/include/popt_common.h
+--- nxspool.orig/source/include/popt_common.h 2006-06-16 11:52:49.000000000 -0500
++++ nxspool/source/include/popt_common.h 2006-07-30 07:30:21.000000000 -0500
+@@ -21,6 +21,8 @@
+ #ifndef _POPT_COMMON_H
+ #define _POPT_COMMON_H
+
++#include <popt.h>
++
+ /* Common popt structures */
+ extern struct poptOption popt_common_samba[];
+ extern struct poptOption popt_common_connection[];
diff --git a/net-misc/nxnode-base/files/2.0.0/nxviewer-fix-nxcomp-paths.patch b/net-misc/nxnode-base/files/2.0.0/nxviewer-fix-nxcomp-paths.patch
new file mode 100644
index 0000000..11afe93
--- /dev/null
+++ b/net-misc/nxnode-base/files/2.0.0/nxviewer-fix-nxcomp-paths.patch
@@ -0,0 +1,14 @@
+diff -purN nxnode.orig/nxviewer/nxviewer/Imakefile nxnode/nxviewer/nxviewer/Imakefile
+--- nxnode.orig/nxviewer/nxviewer/Imakefile 2006-02-22 11:23:57.000000000 -0600
++++ nxnode/nxviewer/nxviewer/Imakefile 2006-07-30 11:23:53.000000000 -0500
+@@ -26,8 +26,8 @@ XCOMM seems to cause problems on Digital
+ DEFINES = -DMITSHM
+ #endif
+
+-NX_INC = -I../../nxcomp -I../../nxcompext -I../../nx-X11/exports/include
+-NX_LIB = -L../../nxcomp -lXcomp -L../../nxcompext -lXcompext
++NX_INC = -I/usr/NX/lib -I../../nxcompext -I../../nx-X11/exports/include
++NX_LIB = -L/usr/NX/lib -lXcomp -L../../nxcompext -lXcompext
+
+ #ifdef SunArchitecture
+ NX_INC += -I/usr/sfw/include -I/usr/include
diff --git a/net-misc/nxnode-base/files/digest-nxnode-base-2.0.0 b/net-misc/nxnode-base/files/digest-nxnode-base-2.0.0
new file mode 100644
index 0000000..b8b6f69
--- /dev/null
+++ b/net-misc/nxnode-base/files/digest-nxnode-base-2.0.0
@@ -0,0 +1,27 @@
+MD5 0c63cfdc37658eb74f4a84077b05fe9e nx-X11-2.0.0-31.tar.gz 32667577
+RMD160 7c922d1269d594764b7dbc2856d831f1913b0b6b nx-X11-2.0.0-31.tar.gz 32667577
+SHA256 7945e8abcaac8f6cd86b59a052f0c02edfd30386eff66c77705259fda51ee7ea nx-X11-2.0.0-31.tar.gz 32667577
+MD5 3db40a9a63d55da95b66794da51eb5e4 nxagent-2.0.0-89.tar.gz 933839
+RMD160 56e8d49ccf406a7e6032b9d5937ec00861e0867b nxagent-2.0.0-89.tar.gz 933839
+SHA256 d13a85aae8934f79896ae6d62c3be04c2c264229ec5511872fa8c9a8856cffcd nxagent-2.0.0-89.tar.gz 933839
+MD5 8385751f7ab9c6407a56e95356030ba4 nxauth-2.0.0-3.tar.gz 23275
+RMD160 f1213d09ffc4961ef244d46e5858b2a6bda39575 nxauth-2.0.0-3.tar.gz 23275
+SHA256 2d247695c816af638fa1a59a751ca6a85a4833a0ebd63c793b8e13ead13edb00 nxauth-2.0.0-3.tar.gz 23275
+MD5 d6738f330687d6c986600a9685e527cf nxcompext-2.0.0-33.tar.gz 96096
+RMD160 0039b58c88dd05253b5e57a4329467db3a3a340a nxcompext-2.0.0-33.tar.gz 96096
+SHA256 cdf2b0b5f7557be5c1d327240b127dde4663d633ec6b318ff04a387bde7d35a8 nxcompext-2.0.0-33.tar.gz 96096
+MD5 f55dc97544a061dfa0f099329dcc3f53 nxdesktop-2.0.0-50.tar.gz 220336
+RMD160 91696447e1e511043736dd11537d2efd00ea106a nxdesktop-2.0.0-50.tar.gz 220336
+SHA256 0b3167bd78dc0a9b5dff183b2380a48d2b39de244bfccc7647ff38a73588423c nxdesktop-2.0.0-50.tar.gz 220336
+MD5 ba672d34bf6841783eff37d5ec1d9bda nxsensor-2.0.0-2.tar.gz 180418
+RMD160 0f25d3b4af1197499b05f96a7ffc251f6d045f78 nxsensor-2.0.0-2.tar.gz 180418
+SHA256 32d0ad68afcd3d07957d277dfa252c75696627a2704fd433c608ce70870863ff nxsensor-2.0.0-2.tar.gz 180418
+MD5 2a97c9d61be7cc2e6747f7834e85cfd8 nxspool-2.0.0-4.tar.gz 2838395
+RMD160 fe7fa5312b8da770f458080846686e70c43a5022 nxspool-2.0.0-4.tar.gz 2838395
+SHA256 ef26f19c076a71a766a2e1f2103d1080c190159678d07ecc3cfc59d5724489dc nxspool-2.0.0-4.tar.gz 2838395
+MD5 0d059f6972494723cf6d39fe644f22ef nxuexec-2.0.0-4.tar.gz 6948
+RMD160 9308e1bc1763801b99ddcbab2d7ce25050e20ae3 nxuexec-2.0.0-4.tar.gz 6948
+SHA256 80c6806377742eb0dfdec244b535c5ccebb20fc98d68cbb49ad7f3168b7eef11 nxuexec-2.0.0-4.tar.gz 6948
+MD5 0e4b1d546b4b8a0224cd0d200ec88827 nxviewer-2.0.0-15.tar.gz 93567
+RMD160 df74a798e863d95e419057d706f5f8932a65aa5c nxviewer-2.0.0-15.tar.gz 93567
+SHA256 96d1fe59d96fea67816a2f8390f5d430105fc1f2c8ba1ca573f6ee2eaef6f364 nxviewer-2.0.0-15.tar.gz 93567
diff --git a/net-misc/nxnode-base/nxnode-base-2.0.0.ebuild b/net-misc/nxnode-base/nxnode-base-2.0.0.ebuild
new file mode 100644
index 0000000..1faa05d
--- /dev/null
+++ b/net-misc/nxnode-base/nxnode-base-2.0.0.ebuild
@@ -0,0 +1,137 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils
+
+DESCRIPTION="A special version of the X11 libraries supporting NX compression technology"
+HOMEPAGE="http://www.nomachine.com/developers.php"
+
+URI_BASE="http://web04.nomachine.com/download/2.0.0/sources"
+SRC_NX_X11="nx-X11-$PV-31.tar.gz"
+SRC_NXAGENT="nxagent-$PV-89.tar.gz"
+SRC_NXAUTH="nxauth-$PV-3.tar.gz"
+SRC_NXCOMPEXT="nxcompext-$PV-33.tar.gz"
+SRC_NXDESKTOP="nxdesktop-$PV-50.tar.gz"
+SRC_NXSENSOR="nxsensor-$PV-2.tar.gz"
+SRC_NXSPOOL="nxspool-$PV-4.tar.gz"
+SRC_NXUEXEC="nxuexec-$PV-4.tar.gz"
+SRC_NXVIEWER="nxviewer-$PV-15.tar.gz"
+
+SRC_URI="${URI_BASE}/${SRC_NX_X11} ${URI_BASE}/${SRC_NXAGENT} ${URI_BASE}/${SRC_NXAUTH}
+ ${URI_BASE}/${SRC_NXCOMPEXT} ${URI_BASE}/${SRC_NXSENSOR}
+ ${URI_BASE}/${SRC_NXSPOOL} ${URI_BASE}/${SRC_NXUEXEC}
+ rdesktop? ( ${URI_BASE}/${SRC_NXDESKTOP} )
+ vnc? ( $URI_BASE/$SRC_NXVIEWER )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="-amd64 ~ppc ~x86"
+RESTRICT="mirror"
+IUSE="rdesktop vnc"
+
+DEPEND=">=media-libs/jpeg-6b-r7
+ ~net-misc/nxclient-2.0.0
+
+ prebuilt? ( !net-misc/nxnode-base )
+ !prebuilt? ( net-misc/nxnode-base )
+
+ || ( ( x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libXaw
+ x11-libs/libXmu
+ x11-libs/libXpm
+ x11-libs/libXt
+ x11-misc/gccmakedep
+ x11-misc/imake
+ app-text/rman
+ )
+ virtual/x11
+ )"
+
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}
+
+src_unpack() {
+ # we can't use ${A} because of bug #61977
+ unpack ${SRC_NXCOMPEXT}
+ unpack ${SRC_NX_X11}
+ unpack ${SRC_NXAGENT}
+ unpack ${SRC_NXAUTH}
+ unpack ${SRC_NXSENSOR}
+ unpack ${SRC_NXSPOOL}
+ unpack ${SRC_NXUEXEC}
+ use rdesktop && unpack ${SRC_NXDESKTOP}
+ use vnc && unpack ${SRC_NXVIEWER}
+
+ cd ${S}
+ epatch ${FILESDIR}/2.0.0/nxcompext-makefile.patch
+ epatch ${FILESDIR}/2.0.0/nxspool-gcc4.patch
+ epatch ${FILESDIR}/2.0.0/nxnode-fix-nxcomp-paths.patch
+ use rdesktop && epatch ${FILESDIR}/2.0.0/nxdesktop-fix-nxcomp-paths.patch
+ use vnc && epatch ${FILESDIR}/2.0.0/nxviewer-fix-nxcomp-paths.patch
+}
+
+src_compile() {
+ # builds: nxcomp, nxcompext, nx-x11, nxauth, nxagent
+ cd nx-x11
+ emake World || die "Unable to build nx-X11"
+
+ # build nxsensor
+ cd ../nxsensor
+ emake || die "Unable to build nxsensor"
+
+ # build nxspool
+ cd ../nxspool/source
+ econf --prefix=/usr/NX --mandir=/usr/share/man || die "Unable to configure nxspool"
+ emake || die "Unable to build nxspool"
+
+ # build nxuexec
+ cd ../../nxuexec
+ emake || die "Unable to build nxnxuexec"
+
+ if use vnc ; then
+ cd ../nxviewer
+ xmkmf || die "unable to create makefile for nxviewer"
+ emake World || die "unable to make nxviewer"
+ fi
+
+ if use rdesktop ; then
+ cd ../nxdesktop
+ econf --prefix=/usr/NX --mandir=/usr/share/man --sharedir=/usr/share || die "Unable to configure nxdesktop"
+ emake || die "Unable to build nxdesktop"
+ fi
+}
+
+src_install() {
+ into /usr/NX
+
+ # Rename to make a wrapper later that points to /usr/NX/libs
+ newbin nx-x11/programs/Xserver/nxagent nxagent.bin
+ make_wrapper nxagent nxagent.bin /usr/NX/bin /usr/NX/lib /usr/NX/bin
+
+ # Not needed anymore? Let's test if it's not. ;)
+ #dobin nx-x11/programs/nxauth/nxauth
+
+ dobin nxsensor/nxsensor
+ # I think this nxspool line is right. :S Very confusing.
+ newbin nxspool/source/bin/smbspool nxspool
+ dobin nxuexec/nxuexec
+
+ if use vnc ; then
+ newbin nxviewer/nxviewer/nxviewer nxviewer.bin
+ make_wrapper nxviewer nxviewer.bin /usr/NX/bin /usr/NX/lib /usr/NX/bin
+ dobin nxviewer/nxpasswd/nxpasswd
+ fi
+
+ if use rdesktop ; then
+ newbin nxdesktop/nxdesktop nxdesktop.bin
+ make_wrapper nxdesktop nxdesktop.bin /usr/NX/bin /usr/NX/lib /usr/NX/bin
+ fi
+
+ dolib.so nx-x11/lib/X11/libX11.so*
+ dolib.so nx-x11/lib/Xext/libXext.so*
+ dolib.so nx-x11/lib/Xrender/libXrender.so*
+ dolib.so nxcompext/libXcompext.so*
+}