summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2007-10-31 10:28:10 +0000
committerBernard Cafarelli <voyageur@gentoo.org>2007-10-31 10:28:10 +0000
commit6496474f9c1248374f1fa677e916ffc1a061d818 (patch)
tree8f3f601705cdaca37fe1435095229c0a390f95ca /net-misc
parentAdd back freenx 0.7 that only depends on nx2.1 (diff)
downloadnx-6496474f9c1248374f1fa677e916ffc1a061d818.tar.gz
nx-6496474f9c1248374f1fa677e916ffc1a061d818.tar.bz2
nx-6496474f9c1248374f1fa677e916ffc1a061d818.zip
Cleanups
svn path=/testing/; revision=200
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/nx/Manifest14
-rw-r--r--net-misc/nx/files/1.5.0/nx-x11-1.5.0-tmp-exec.patch11
-rw-r--r--net-misc/nx/files/1.5.0/nxcomp-1.5.0-pic.patch20
-rw-r--r--net-misc/nx/files/nx-2.1.0-deprecated-headers.patch111
-rw-r--r--net-misc/nx/files/nx-2.1.0-invalid-options.patch38
-rw-r--r--net-misc/nx/metadata.xml9
-rw-r--r--net-misc/nx/nx-2.1.0-r1.ebuild122
-rw-r--r--net-misc/nxserver-freenx/Manifest5
-rw-r--r--net-misc/nxserver-freenx/files/nxserver-freenx-0.6.0-nxloadconfig.patch53
-rw-r--r--net-misc/nxserver-freenx/files/nxserver-freenx-0.7.0-kdecups.patch32
-rw-r--r--net-misc/nxserver-freenx/files/nxserver-freenx-0.7.0-xfsfonts.patch19
-rw-r--r--net-misc/nxserver-freenx/nxserver-freenx-0.7.0.ebuild124
12 files changed, 0 insertions, 558 deletions
diff --git a/net-misc/nx/Manifest b/net-misc/nx/Manifest
deleted file mode 100644
index 82b3a25..0000000
--- a/net-misc/nx/Manifest
+++ /dev/null
@@ -1,14 +0,0 @@
-AUX 1.5.0/nx-x11-1.5.0-tmp-exec.patch 349 RMD160 083862e5563962764e9d78f50a37576bac9913cc SHA1 97402172c1039e4f86b977f27a4571a8a77d1c6b SHA256 bbaeeb4e04c04da96f37dfb7ab5e494094d61a390ef2ae24813a5f49b3c44971
-AUX 1.5.0/nxcomp-1.5.0-pic.patch 522 RMD160 2016856cb86605ca7ccb6b2c17a1c096c8e80cea SHA1 f3febd574eb07c244a6fc91323631f99fad5fa34 SHA256 d4fb814d5ee3bd13c39e535b731caab0acb9e552cea471c602c8ff9c8e6d535e
-AUX nx-2.1.0-deprecated-headers.patch 3095 RMD160 1814ed18966606dcdb962c024cc9bc02ca3dd09a SHA1 fc41d3539af12dd3d5a1dafc63b0ca40893fbf1b SHA256 bf00914ec72786701ae5d8e56e18388cbe62eb7280ab11799f840680082cb973
-AUX nx-2.1.0-invalid-options.patch 978 RMD160 34e8c167b60e20032363ac57e4019a77accd8cb1 SHA1 453dbdaa4682d2051f67a17d586983b659ebb628 SHA256 d466e4abb4a1acdadcb9eddfc5651a7914d6b721e0d59e9df20ea4e19e78bd01
-DIST nx-X11-2.1.0-3.tar.gz 32532518 RMD160 69c4b24f8279d9c92bb3ef22a4399806b5fb8050 SHA1 3cb5bfa0bed63b71077d9c38b8e0fdf54f2f00e1 SHA256 dabec82696c23d0c9da0d1a66fee12fd6ffe232e7aecf10f0929e968fe0703f4
-DIST nxagent-2.1.0-20.tar.gz 951225 RMD160 77139161c078d2ce3fa752e39df6a09f2be452f8 SHA1 2a11691aecd4662f926071439f1cce7ca7e941aa SHA256 e0378c4e497ce68446a1a8f7616d8b917c7d23e8d13c62486aca9945f8787aa1
-DIST nxauth-2.1.0-2.tar.gz 30296 RMD160 e20dbac668d98e59d42359d71a1be4947a64d492 SHA1 5027488e7c7252d74971934600cbf9eaf90fec7b SHA256 a3231b42daf1e5add3aaa876f5f99dae0dcf196c2122ad0db11c317851e75799
-DIST nxcomp-2.1.0-8.tar.gz 556291 RMD160 b8960b616eb48521404e9ee39cf7e6f64e060394 SHA1 a5465b9062aab9e0db5dcab7dbc86c81b40cae37 SHA256 74ad4bf63602c3e50622d74420c3840f2e7f0d690b2176c0331ad2011756e776
-DIST nxcompext-2.1.0-5.tar.gz 102588 RMD160 f9c7ea4ca0013063406d18b2e3e928ebfa600169 SHA1 788690ac52eebd2613e6d774679ab133270ff172 SHA256 acd81ab9f0ab74317a9d34902d77f5978432d3488664c501a42378577b81f06c
-DIST nxdesktop-2.1.0-10.tar.gz 570224 RMD160 7e40aa6807d4565322c9f784341a3521d3feabf5 SHA1 e3c2bc13dc31df4888caff32cb69c8fb216d7855 SHA256 320b5eda1df461228ba6a45a4edf31dd1a10ac1e44abe14ff7fef207b346bc0c
-DIST nxproxy-2.1.0-3.tar.gz 82753 RMD160 71c9a069cb9b8ede2505753656cd5b83fff80f8e SHA1 2ec0bafb9546bbde155baeb844454da704aabcc9 SHA256 3c2db68cb0fa931db1b2ef74c76c848357d332ada8397c511719215bd8eeabac
-DIST nxviewer-2.1.0-12.tar.gz 228158 RMD160 0462706c5ea0f49700e4ccdfc2adba1278b0e3ec SHA1 af1f6dc337cd13739037c45d9284c7596e87c732 SHA256 dc41c4f3cc6f6e4e7985a37d5b3cddf9c9571b8e9752fbb056a4d6e4c9b59178
-EBUILD nx-2.1.0-r1.ebuild 3059 RMD160 61da28df62a27565fe378bf7e6a1762665bcf4ce SHA1 adc4dd076f0b4269fc6a0f26eb198a5624d5b7f0 SHA256 c7ef5d61c916809bf8ed2be33786b97cd56df00f0b9f9f99236fa85f8d70b195
-MISC metadata.xml 312 RMD160 245dc74ea927b730125f0581c38d728319a37824 SHA1 e586c8dc5fbbcdddacf4bdf7fc739bfc9fb716df SHA256 9d3698e1818b09e36ecd3350cf578e2561794828453110d2645c6cceca1cf7dc
diff --git a/net-misc/nx/files/1.5.0/nx-x11-1.5.0-tmp-exec.patch b/net-misc/nx/files/1.5.0/nx-x11-1.5.0-tmp-exec.patch
deleted file mode 100644
index ece2214..0000000
--- a/net-misc/nx/files/1.5.0/nx-x11-1.5.0-tmp-exec.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- nx-X11/config/imake/imake.c.orig 2006-11-05 00:10:49.000000000 +0000
-+++ nx-X11/config/imake/imake.c 2006-11-05 00:11:49.000000000 +0000
-@@ -974,7 +974,7 @@
- static void
- get_libc_version(FILE *inFile)
- {
-- char aout[] = "/tmp/imakeXXXXXX";
-+ char aout[] = "./imakeXXXXXX";
- FILE *fp;
- const char *format = "%s -o %s -x c -";
- char *cc;
diff --git a/net-misc/nx/files/1.5.0/nxcomp-1.5.0-pic.patch b/net-misc/nx/files/1.5.0/nxcomp-1.5.0-pic.patch
deleted file mode 100644
index 2ccaf97..0000000
--- a/net-misc/nx/files/1.5.0/nxcomp-1.5.0-pic.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- nxcomp/Makefile.in.agriffis 2005-11-12 12:48:42.000000000 -0500
-+++ nxcomp/Makefile.in 2005-12-15 12:24:46.000000000 -0500
-@@ -32,7 +32,7 @@
-
- CXX = @CXX@
- CXXFLAGS = @CXXFLAGS@ @X_CFLAGS@ @DEFS@ \
-- -Wall -Wpointer-arith
-+ -Wall -Wpointer-arith -fPIC
- CXXINCLUDES =
- CXXDEFINES =
-
-@@ -42,7 +42,7 @@
-
- CC = @CC@
- CCFLAGS = @CFLAGS@ @X_CFLAGS@ @DEFS@ \
-- -Wall -Wpointer-arith
-+ -Wall -Wpointer-arith -fPIC
- CCINCLUDES =
- CCDEFINES =
-
diff --git a/net-misc/nx/files/nx-2.1.0-deprecated-headers.patch b/net-misc/nx/files/nx-2.1.0-deprecated-headers.patch
deleted file mode 100644
index c9741d5..0000000
--- a/net-misc/nx/files/nx-2.1.0-deprecated-headers.patch
+++ /dev/null
@@ -1,111 +0,0 @@
-diff -urN BlockCacheSet.cpp BlockCacheSet.cpp
---- BlockCacheSet.cpp 2006-11-05 13:22:45.963189321 +0000
-+++ BlockCacheSet.cpp 2006-11-05 13:23:25.000000000 +0000
-@@ -15,7 +15,9 @@
- /* */
- /**************************************************************************/
-
--#include <iostream.h>
-+using namespace std;
-+
-+#include <iostream>
- #include "BlockCacheSet.h"
-
-
-diff -urN Loop.cpp Loop.cpp
---- Loop.cpp 2006-11-05 13:22:45.854205948 +0000
-+++ Loop.cpp 2006-11-05 13:23:25.000000000 +0000
-@@ -15,6 +15,8 @@
- /* */
- /**************************************************************************/
-
-+using namespace std;
-+
- #include <stdio.h>
- #include <stdlib.h>
- #include <unistd.h>
-@@ -29,7 +31,7 @@
- #include <dirent.h>
- #include <pwd.h>
-
--#include <fstream.h>
-+#include <fstream>
- #include <fcntl.h>
-
- #include <sys/types.h>
-diff -urN Message.cpp Message.cpp
---- Message.cpp 2006-11-05 13:22:45.963189321 +0000
-+++ Message.cpp 2006-11-05 13:23:25.000000000 +0000
-@@ -15,8 +15,10 @@
- /* */
- /**************************************************************************/
-
-+using namespace std;
-+
- #include <stdio.h>
--#include <fstream.h>
-+#include <fstream>
- #include <unistd.h>
- #include <string.h>
-
-diff -urN Misc.cpp Misc.cpp
---- Misc.cpp 2006-11-05 13:22:45.701229285 +0000
-+++ Misc.cpp 2006-11-05 13:23:25.000000000 +0000
-@@ -15,7 +15,9 @@
- /* */
- /**************************************************************************/
-
--#include <iostream.h>
-+using namespace std;
-+
-+#include <iostream>
- #include <stdio.h>
- #include <ctype.h>
- #include <stdlib.h>
-diff -urN Misc.h Misc.h
---- Misc.h 2006-11-05 13:22:45.643238132 +0000
-+++ Misc.h 2006-11-05 13:23:25.000000000 +0000
-@@ -18,8 +18,10 @@
- #ifndef Misc_H
- #define Misc_H
-
--#include <iostream.h>
--#include <fstream.h>
-+using namespace std;
-+
-+#include <iostream>
-+#include <fstream>
-
- #include <errno.h>
- #include <string.h>
-diff -urN Proxy.cpp Proxy.cpp
---- Proxy.cpp 2006-11-05 13:22:45.856205642 +0000
-+++ Proxy.cpp 2006-11-05 13:23:25.000000000 +0000
-@@ -15,10 +15,12 @@
- /* */
- /**************************************************************************/
-
-+using namespace std;
-+
- #include <stdio.h>
- #include <unistd.h>
- #include <stdlib.h>
--#include <fstream.h>
-+#include <fstream>
- #include <sys/types.h>
- #include <sys/stat.h>
-
-diff -urN Split.cpp Split.cpp
---- Split.cpp 2006-11-05 13:22:45.797214643 +0000
-+++ Split.cpp 2006-11-05 13:23:25.000000000 +0000
-@@ -15,7 +15,9 @@
- /* */
- /**************************************************************************/
-
--#include <fstream.h>
-+using namespace std;
-+
-+#include <fstream>
- #include <unistd.h>
- #include <string.h>
- #include <sys/stat.h>
diff --git a/net-misc/nx/files/nx-2.1.0-invalid-options.patch b/net-misc/nx/files/nx-2.1.0-invalid-options.patch
deleted file mode 100644
index 17e4f43..0000000
--- a/net-misc/nx/files/nx-2.1.0-invalid-options.patch
+++ /dev/null
@@ -1,38 +0,0 @@
---- configure.in 2006-11-04 19:37:56.000000000 +0000
-+++ configure.in 2006-11-04 19:38:23.000000000 +0000
-@@ -52,35 +52,6 @@
- AC_PROG_CC
- AC_LANG_CPLUSPLUS
-
--dnl Check whether option -Wno-deprecated
--dnl is needed by GCC compiler.
--
--AC_MSG_CHECKING([whether compiler needs -Wno-deprecated])
--gcc_version=`${CC} --version | grep 'gcc (GCC) [[3-4]].' | head -n 1`
--case "${gcc_version}" in
-- gcc*)
-- AC_MSG_RESULT([yes])
-- CXXFLAGS="$CXXFLAGS -Wno-deprecated"
-- ;;
--
-- *)
-- AC_MSG_RESULT([no])
-- ;;
--esac
--
--AC_MSG_CHECKING([whether compiler accepts -Wmissing-declarations and -Wnested-externs])
--gcc_version=`${CC} --version | grep 'gcc (GCC) [[3-4]].' | head -n 1`
--case "${gcc_version}" in
-- gcc*)
-- AC_MSG_RESULT([no])
-- ;;
--
-- *)
-- AC_MSG_RESULT([yes])
-- CXXFLAGS="$CXXFLAGS -Wmissing-declarations -Wnested-externs"
-- ;;
--esac
--
- dnl Check for BSD compatible install.
-
- AC_PROG_INSTALL
diff --git a/net-misc/nx/metadata.xml b/net-misc/nx/metadata.xml
deleted file mode 100644
index 3d637fb..0000000
--- a/net-misc/nx/metadata.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>nx</herd>
-<maintainer>
- <email>nx@gentoo.org</email>
-</maintainer>
-<longdescription>Special versions of the X11 libraries to support NX compression</longdescription>
-</pkgmetadata>
diff --git a/net-misc/nx/nx-2.1.0-r1.ebuild b/net-misc/nx/nx-2.1.0-r1.ebuild
deleted file mode 100644
index 8eace27..0000000
--- a/net-misc/nx/nx-2.1.0-r1.ebuild
+++ /dev/null
@@ -1,122 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit autotools eutils multilib
-
-DESCRIPTION="NX compression technology core libraries"
-HOMEPAGE="http://www.nomachine.com/developers.php"
-
-URI_BASE="http://web04.nomachine.com/download/${PV}/sources"
-SRC_NX_X11="nx-X11-$PV-3.tar.gz"
-SRC_NXAGENT="nxagent-$PV-20.tar.gz"
-SRC_NXAUTH="nxauth-$PV-2.tar.gz"
-SRC_NXCOMP="nxcomp-$PV-8.tar.gz"
-SRC_NXCOMPEXT="nxcompext-$PV-5.tar.gz"
-SRC_NXDESKTOP="nxdesktop-$PV-10.tar.gz"
-SRC_NXVIEWER="nxviewer-$PV-12.tar.gz"
-SRC_NXPROXY="nxproxy-$PV-3.tar.gz"
-
-SRC_URI="$URI_BASE/$SRC_NX_X11 $URI_BASE/$SRC_NXAGENT $URI_BASE/$SRC_NXPROXY
- $URI_BASE/$SRC_NXAUTH $URI_BASE/$SRC_NXCOMPEXT $URI_BASE/$SRC_NXCOMP
- rdesktop? ( $URI_BASE/$SRC_NXDESKTOP )
- vnc? ( $URI_BASE/$SRC_NXVIEWER )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="rdesktop vnc"
-
-RDEPEND="x86? ( x11-libs/libXau
- x11-libs/libXdmcp
- x11-libs/libXpm
- >=media-libs/jpeg-6b-r4
- >=media-libs/libpng-1.2.8
- >=sys-libs/zlib-1.2.3 )
- amd64? ( >=app-emulation/emul-linux-x86-xlibs-10.0 )"
-
-DEPEND="${RDEPEND}
- x11-misc/gccmakedep
- x11-misc/imake"
-
-S=${WORKDIR}/${PN}-X11
-
-src_unpack() {
- unpack ${A}
-
- cd ${WORKDIR}
- epatch ${FILESDIR}/1.5.0/nx-x11-1.5.0-tmp-exec.patch
- epatch ${FILESDIR}/1.5.0/nxcomp-1.5.0-pic.patch
-
- cd ${WORKDIR}/nxcomp
- epatch ${FILESDIR}/${P}-deprecated-headers.patch
- epatch ${FILESDIR}/${P}-invalid-options.patch
- eautoreconf
-}
-
-src_compile() {
- # nx-X11 will only compile in 32-bit
- use amd64 && multilib_toolchain_setup x86
-
- cd ${WORKDIR}/nxcomp || die
- econf || die
- emake || die
-
- cd ${WORKDIR}/nxproxy || die
- econf || die
- emake || die
-
- cd ${WORKDIR}/nx-X11 || die
- emake World || die
-
- cd ${WORKDIR}/nxcompext || die
- econf || die
- emake || die
-
- if use vnc ; then
- cd ${WORKDIR}/nxviewer || die
- xmkmf -a || die
- emake World || die
- fi
-
- if use rdesktop ; then
- cd ${WORKDIR}/nxdesktop || die
- CC=(tc-getCC) ./configure || die
- emake || die
- fi
-}
-
-src_install() {
- NX_ROOT=/usr/$(get_libdir)/NX
-
- for x in nxagent nxauth nxproxy; do
- make_wrapper $x ./$x ${NX_ROOT}/bin ${NX_ROOT}/$(get_libdir) ||die
- done
- if use vnc ; then
- make_wrapper nxviewer ./nxviewer ${NX_ROOT}/bin ${NX_ROOT}/$(get_libdir) ||die
- make_wrapper nxpasswd ./nxpasswd ${NX_ROOT}/bin ${NX_ROOT}/$(get_libdir) ||die
- fi
- if use rdesktop ; then
- make_wrapper nxdesktop ./nxdesktop ${NX_ROOT}/bin ${NX_ROOT}/$(get_libdir) ||die
- fi
-
- into ${NX_ROOT}
- dobin ${WORKDIR}/nx-X11/programs/Xserver/nxagent
- dobin ${WORKDIR}/nx-X11/programs/nxauth/nxauth
- dobin ${WORKDIR}/nxproxy/nxproxy
-
- if use vnc ; then
- dobin ${WORKDIR}/nxviewer/nxviewer/nxviewer
- dobin ${WORKDIR}/nxviewer/nxpasswd/nxpasswd
- fi
-
- if use rdesktop ; then
- dobin ${WORKDIR}/nxdesktop/nxdesktop
- fi
-
- dolib.so ${WORKDIR}/nx-X11/lib/X11/libX11.so*
- dolib.so ${WORKDIR}/nx-X11/lib/Xext/libXext.so*
- dolib.so ${WORKDIR}/nx-X11/lib/Xrender/libXrender.so*
- dolib.so ${WORKDIR}/nxcomp/libXcomp.so*
- dolib.so ${WORKDIR}/nxcompext/libXcompext.so*
-}
diff --git a/net-misc/nxserver-freenx/Manifest b/net-misc/nxserver-freenx/Manifest
deleted file mode 100644
index 1a64c53..0000000
--- a/net-misc/nxserver-freenx/Manifest
+++ /dev/null
@@ -1,5 +0,0 @@
-AUX nxserver-freenx-0.6.0-nxloadconfig.patch 2823 RMD160 e3f4a7f32e3962690ba2704c612220f8dc99cb44 SHA1 58ea968770e729a029e05ce6934eb16339d0955c SHA256 660f3bf731114f9ea9cf0129649d95a3b1ac0dd219541ddf6866ed2ede725179
-AUX nxserver-freenx-0.7.0-kdecups.patch 1373 RMD160 34227f429683b4d718321fb696faf5e05ed665dc SHA1 181797315f96fc9b2af32f975d6401deaa169023 SHA256 ad010a7b5d4f1874d9f4e60f18de370eb4a0b1e4ca78aff225918302b00d1ad2
-AUX nxserver-freenx-0.7.0-xfsfonts.patch 583 RMD160 74b3fb482b3fd1d689a24df19281ec9ff8223d13 SHA1 8d33b566cc23e52f25b356c4ce9a8675661fc440 SHA256 d5bc41d43d46728d770be26680970e8f1608b1aa97e1e0bb2f0cf34bd6c591df
-DIST freenx-0.7.0.tar.gz 57614 RMD160 a051d4fcb96fd80b167c5fdc526cb5a789732057 SHA1 243f0c98f02b1c84c59e5b324a5a7e6d3d3d8db3 SHA256 61aedd3f8d3fae02b0e13de5f4ee1cb7bc1397dd7a379a67752a188d1f0119c9
-EBUILD nxserver-freenx-0.7.0.ebuild 3284 RMD160 04e88b0067c3f9cd272c1f82be70584cbdc03a38 SHA1 b707d262e9bfccf9b5e3dee7fb7a281c58740044 SHA256 78d8a9c9bb307918d22439453775401b94682728a368eb19c2b158dcbb6cb1a1
diff --git a/net-misc/nxserver-freenx/files/nxserver-freenx-0.6.0-nxloadconfig.patch b/net-misc/nxserver-freenx/files/nxserver-freenx-0.6.0-nxloadconfig.patch
deleted file mode 100644
index d0deb20..0000000
--- a/net-misc/nxserver-freenx/files/nxserver-freenx-0.6.0-nxloadconfig.patch
+++ /dev/null
@@ -1,53 +0,0 @@
---- nxloadconfig.orig 2007-01-23 04:22:50.000000000 +0100
-+++ nxloadconfig 2007-01-29 17:29:38.000000000 +0100
-@@ -58,7 +58,8 @@
- # Where can different nx components be found
- NX_DIR=/usr
- PATH_BIN=$NX_DIR/bin # if you change that, be sure to also change the public keys
--PATH_LIB=$NX_DIR/lib
-+REAL_PATH_BIN=$NX_DIR/lib/NX/bin
-+PATH_LIB=$NX_DIR/lib/NX/lib
- NX_ETC_DIR=/etc/nxserver
- NX_SESS_DIR=/var/lib/nxserver/db
- NX_HOME_DIR=/var/lib/nxserver/home
-@@ -154,7 +155,7 @@
- DEFAULT_X_WM=""
- KILL_DEFAULT_X_WM="1"
- USER_X_STARTUP_SCRIPT=.Xclients
--DEFAULT_X_SESSION=/etc/X11/xdm/Xsession
-+DEFAULT_X_SESSION=/etc/X11/Sessions/Xsession
- COMMAND_START_KDE=startkde
- COMMAND_START_GNOME=gnome-session
- COMMAND_START_CDE=cdwm
-@@ -263,11 +264,11 @@
- [ -z "$AGENT_LIBRARY_PATH" ] && AGENT_LIBRARY_PATH=$PATH_LIB
- [ -z "$PROXY_LIBRARY_PATH" ] && PROXY_LIBRARY_PATH=$PATH_LIB
- [ -z "$APPLICATION_LIBRARY_PATH" ] && APPLICATION_LIBRARY_PATH=$PATH_LIB
--[ -z "$APPLICATION_LIBRARY_PRELOAD" ] && APPLICATION_LIBRARY_PRELOAD="$APPLICATION_LIBRARY_PATH/libX11.so.6.2:$APPLICATION_LIBRARY_PATH/libXext.so.6.4:$APPLICATION_LIBRARY_PATH/libXcomp.so:$APPLICATION_LIBRARY_PATH/libXcompext.so.1:$APPLICATION_LIBRARY_PATH/libXrender.so.1.2"
-+[ -z "$APPLICATION_LIBRARY_PRELOAD" ] && APPLICATION_LIBRARY_PRELOAD="$APPLICATION_LIBRARY_PATH/libX11.so:$APPLICATION_LIBRARY_PATH/libXext.so:$APPLICATION_LIBRARY_PATH/libXcomp.so:$APPLICATION_LIBRARY_PATH/libXcompext.so:$APPLICATION_LIBRARY_PATH/libXrender.so"
- if [ -z "$ENABLE_2_0_0_BACKEND" ]
- then
- ENABLE_2_0_0_BACKEND="1"
-- [ -z "$(strings $PATH_BIN/nxagent | egrep 'NXAGENT - Version 2.[01].0')" ] && ENABLE_2_0_0_BACKEND="0"
-+ [ -z "$(strings $REAL_PATH_BIN/nxagent | egrep 'NXAGENT - Version 2.[01].0')" ] && ENABLE_2_0_0_BACKEND="0"
- fi
-
- [ -z "$KDE_PRINTRC" -a -n "$KDEHOME" ] && KDE_PRINTRC="$KDEHOME/share/config/kdeprintrc"
-@@ -288,7 +289,7 @@
- ERROR="yes" && echo "Error: Invalid value \"PATH_BIN=$PATH_BIN\""
- # Check for NX agents ...
-
-- [ ! -f "$PATH_BIN/nxagent" ] && \
-+ [ ! -f "$REAL_PATH_BIN/nxagent" ] && \
- ERROR="yes" && echo "Error: Could not find nxagent in $PATH_BIN. Please install some OSS components."
-
- [ ! -f "$PATH_BIN/nxdesktop" ] && \
-@@ -509,7 +510,7 @@
- [ -z $(echo "$ENABLE_ROOTLESS_MODE" | egrep "^[0|1]$") ] && \
- ERROR="yes" && echo "Error: Invalid value \"ENABLE_ROOTLESS_MODE=$ENABLE_ROOTLESS_MODE\""
-
-- [ -z "$(strings $PATH_BIN/nxagent | egrep 'NXAGENT - Version 1.5.0|NXAGENT - Version 2.[01].0')" ] && \
-+ [ -z "$(strings $REAL_PATH_BIN/nxagent | egrep 'NXAGENT - Version 1.5.0|NXAGENT - Version 2.[01].0')" ] && \
- ERROR="yes" && echo "Error: Could not find 1.5.0 or 2.[01].0 version string in nxagent. NX 1.5.0 or 2.[01].0 backend is needed for this version of FreeNX."
-
- [ -z $(echo "$ENABLE_USESSION" | egrep "^[0|1]$") ] && \
diff --git a/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.0-kdecups.patch b/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.0-kdecups.patch
deleted file mode 100644
index c00a6eb..0000000
--- a/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.0-kdecups.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-diff -Naur freenx-0.7.0.orig/node.conf freenx-0.7.0/node.conf
---- freenx-0.7.0.orig/node.conf 2007-08-10 17:42:19.000000000 +0200
-+++ freenx-0.7.0/node.conf 2007-08-10 17:42:41.000000000 +0200
-@@ -289,7 +289,7 @@
- # CUPS_BACKEND and CUPS_ETC are the corresponding paths of your CUPS
- # installation.
-
--#CUPS_BACKEND="/usr/lib/cups/backend"
-+#CUPS_BACKEND="/usr/libexec/cups/backend"
- #CUPS_IPP_BACKEND="$CUPS_BACKEND/nxipp"
- #CUPS_DEFAULT_SOCK="/var/run/cups/cups.sock"
- #CUPS_ETC="/etc/cups"
-diff -Naur freenx-0.7.0.orig/nxloadconfig freenx-0.7.0/nxloadconfig
---- freenx-0.7.0.orig/nxloadconfig 2007-08-10 17:42:19.000000000 +0200
-+++ freenx-0.7.0/nxloadconfig 2007-08-10 17:42:55.000000000 +0200
-@@ -152,7 +152,7 @@
- ENABLE_FOOMATIC="1"
- COMMAND_FOOMATIC="/usr/lib/cups/driver/foomatic-ppdfile"
-
--CUPS_BACKEND="/usr/lib/cups/backend"
-+CUPS_BACKEND="/usr/libexec/cups/backend"
- CUPS_IPP_BACKEND="$CUPS_BACKEND/nxipp"
- CUPS_DEFAULT_SOCK="/var/run/cups/cups.sock"
- CUPS_ETC="/etc/cups/"
-@@ -282,7 +282,6 @@
- fi
-
- [ -z "$KDE_PRINTRC" -a -n "$KDEHOME" ] && KDE_PRINTRC="$KDEHOME/share/config/kdeprintrc"
--[ -z "$KDE_PRINTRC" ] && KDE_PRINTRC=$(kde-config --localprefix)"/share/config/kdeprintrc"
- [ -z "$KDE_PRINTRC" -o ! -r "$KDE_PRINTRC" ] && KDE_PRINTRC="$HOME/.kde/share/config/kdeprintrc"
-
- #########################################################################
diff --git a/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.0-xfsfonts.patch b/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.0-xfsfonts.patch
deleted file mode 100644
index 4fe189a..0000000
--- a/net-misc/nxserver-freenx/files/nxserver-freenx-0.7.0-xfsfonts.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-#! /bin/sh /usr/share/dpatch/dpatch-run
-## 05_fix_xfs_fonts.dpatch by <diamond@google.com>
-##
-## All lines beginning with `## DP:' are a description of the patch.
-## DP: No description.
-
-@DPATCH@
-diff -urNad freenx-0.6.0+svn334~/nxnode freenx-0.6.0+svn334/nxnode
---- freenx-0.6.0+svn334~/nxnode 2007-05-31 16:47:23.000000000 +0100
-+++ freenx-0.6.0+svn334/nxnode 2007-05-31 16:47:50.000000000 +0100
-@@ -304,6 +304,8 @@
- NODE_WM_PID=$!
- fi
-
-+ echo "Xft.dpi: 96" | DISPLAY=:$display xrdb -merge >>"$USER_FAKE_HOME/.nx/C-$sess_id/session" 2>&1
-+
- #
- # Startup the application
- #
diff --git a/net-misc/nxserver-freenx/nxserver-freenx-0.7.0.ebuild b/net-misc/nxserver-freenx/nxserver-freenx-0.7.0.ebuild
deleted file mode 100644
index 943ea1f..0000000
--- a/net-misc/nxserver-freenx/nxserver-freenx-0.7.0.ebuild
+++ /dev/null
@@ -1,124 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/nxserver-freenx/nxserver-freenx-0.7.0.ebuild,v 1.1 2007/08/10 18:33:35 voyageur Exp $
-
-inherit multilib eutils
-
-MY_PN="freenx"
-DESCRIPTION="An X11/RDP/VNC proxy server especially well suited to low bandwidth links such as wireless, WANS, and worse"
-HOMEPAGE="http://freenx.berlios.de/"
-SRC_URI="http://download.berlios.de/${MY_PN}/${MY_PN}-${PV}.tar.gz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-RESTRICT="strip"
-IUSE="arts cups esd nxclient"
-DEPEND="virtual/ssh
- dev-tcltk/expect
- sys-apps/gawk
- net-analyzer/gnu-netcat
- nxclient? ( net-misc/nxclient )
- !nxclient? ( !net-misc/nxclient
- || ( x11-misc/xdialog
- x11-apps/xmessage ) )
- ~net-misc/nx-2.1.0
- arts? ( kde-base/arts )
- cups? ( net-print/cups )
- esd? ( media-sound/esound )
- !net-misc/nxserver-freeedition
- !net-misc/nxserver-2xterminalserver"
-
-RDEPEND="${DEPEND}
- media-fonts/font-misc-misc
- media-fonts/font-cursor-misc
- x11-apps/xauth
- x11-apps/xrdb"
-
-S=${WORKDIR}/${MY_PN}-${PV}
-
-export NX_HOME_DIR=/var/lib/nxserver/home
-
-pkg_setup () {
- enewuser nx -1 -1 ${NX_HOME_DIR}
-}
-
-src_unpack() {
- unpack ${A}
- cd ${S}
-
- mv node.conf.sample node.conf || die
-
- epatch ${FILESDIR}/${PN}-0.6.0-nxloadconfig.patch
- epatch ${FILESDIR}/${P}-kdecups.patch
- epatch ${FILESDIR}/${P}-xfsfonts.patch
-
- # Fix DISPLAY for XCB-enabled systems
- sed -i "s/unix:/:/g" nxnode || die
-
- # on amd64, get the correct path to NX 32bit libsA
- if has_multilib_profile; then
- sed -i "/PATH_LIB=/s/lib/$(get_abi_LIBDIR x86)/g" nxloadconfig || die
- sed -i "/REAL_PATH_BIN=/s/lib/$(get_abi_LIBDIR x86)/g" nxloadconfig || die
- fi
-
- # Change the defaults in nxloadconfig to meet the users needs.
- if use arts ; then
- einfo "Enabling arts support."
- sed -i '/ENABLE_ARTSD_PRELOAD=/s/"0"/"1"/' nxloadconfig || die
- sed -i '/ENABLE_ARTSD_PRELOAD=/s/"0"/"1"/' node.conf || die
- fi
- if use esd ; then
- einfo "Enabling esd support."
- sed -i '/ENABLE_ESD_PRELOAD=/s/"0"/"1"/' nxloadconfig || die
- sed -i '/ENABLE_ESD_PRELOAD=/s/"0"/"1"/' node.conf || die
- fi
- if use cups ; then
- einfo "Enabling cups support."
- sed -i '/ENABLE_KDE_CUPS=/s/"0"/"1"/' nxloadconfig || die
- sed -i '/ENABLE_KDE_CUPS=/s/"0"/"1"/' node.conf || die
- fi
-}
-
-src_compile() {
- einfo "Nothing to compile"
-}
-
-src_install() {
- NX_ETC_DIR=/etc/nxserver
- NX_SESS_DIR=/var/lib/nxserver/db
-
- dobin nxserver
- dobin nxnode
- dobin nxnode-login
- dobin nxkeygen
- dobin nxloadconfig
- dobin nxsetup
- dobin nxcups-gethost
- use nxclient || dobin nxprint
- use nxclient || dobin nxclient
-
- dodir ${NX_ETC_DIR}
- for x in passwords passwords.orig ; do
- touch ${D}${NX_ETC_DIR}/$x
- chmod 600 ${D}${NX_ETC_DIR}/$x
- done
-
- insinto ${NX_ETC_DIR}
- doins node.conf
-
- dodir ${NX_HOME_DIR}
-
- for x in closed running failed ; do
- keepdir ${NX_SESS_DIR}/$x
- fperms 0700 ${NX_SESS_DIR}/$x
- done
-}
-
-pkg_postinst () {
- usermod -s /usr/bin/nxserver nx || die "Unable to set login shell of nx user!!"
- usermod -d ${NX_HOME_DIR} nx || die "Unable to set home directory of nx user!!"
-
- elog "To complete the installation, run:"
- elog " nxsetup --install --setup-nomachine-key --clean --purge"
- elog "This will use the default Nomachine SSH key"
-}