summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2007-12-03 22:17:33 +0000
committerBernard Cafarelli <voyageur@gentoo.org>2007-12-03 22:17:33 +0000
commit946eb0fa5984ef64aa05c8da95e89b2a17573c78 (patch)
treea5a7b934a4dfc09899635c322a4b422b92f924c1 /net-misc/nx
parentSome licenses (for songs) are optional (diff)
downloadgentoo-2-946eb0fa5984ef64aa05c8da95e89b2a17573c78.tar.gz
gentoo-2-946eb0fa5984ef64aa05c8da95e89b2a17573c78.tar.bz2
gentoo-2-946eb0fa5984ef64aa05c8da95e89b2a17573c78.zip
Update some components, ebuild cleanup
(Portage version: 2.1.4_rc4)
Diffstat (limited to 'net-misc/nx')
-rw-r--r--net-misc/nx/ChangeLog7
-rw-r--r--net-misc/nx/files/digest-nx-3.0.0-r121
-rw-r--r--net-misc/nx/nx-3.0.0-r1.ebuild113
3 files changed, 140 insertions, 1 deletions
diff --git a/net-misc/nx/ChangeLog b/net-misc/nx/ChangeLog
index d11e486b7203..1ded1905b398 100644
--- a/net-misc/nx/ChangeLog
+++ b/net-misc/nx/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-misc/nx
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/nx/ChangeLog,v 1.11 2007/09/20 23:13:27 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/nx/ChangeLog,v 1.12 2007/12/03 22:17:32 voyageur Exp $
+
+*nx-3.0.0-r1 (03 Dec 2007)
+
+ 03 Dec 2007; Bernard Cafarelli <voyageur@gentoo.org> +nx-3.0.0-r1.ebuild:
+ Update some components, ebuild cleanup
20 Sep 2007; Bernard Cafarelli <voyageur@gentoo.org>
-files/nx-2.1.0-nxagent-mem-leaks.patch, -nx-2.1.0.ebuild,
diff --git a/net-misc/nx/files/digest-nx-3.0.0-r1 b/net-misc/nx/files/digest-nx-3.0.0-r1
new file mode 100644
index 000000000000..f74f2d4119fa
--- /dev/null
+++ b/net-misc/nx/files/digest-nx-3.0.0-r1
@@ -0,0 +1,21 @@
+MD5 8b3deb7de091119a159aba15baf7f0b1 nx-X11-3.0.0-37.tar.gz 20183918
+RMD160 2d8ba625a698d4bd1d8f262a012dcaa9f92d5f20 nx-X11-3.0.0-37.tar.gz 20183918
+SHA256 8f0de96431d17987e1926b800f7aa409efbd02898756fe55b978e1304c32e5df nx-X11-3.0.0-37.tar.gz 20183918
+MD5 a9e6e89644db210adfb35a04eaedfc6b nxagent-3.0.0-93.tar.gz 1534641
+RMD160 8d73b31e4c5930737b19dbb6db0a4de9b69b911b nxagent-3.0.0-93.tar.gz 1534641
+SHA256 6cb345921fb527a7093f96484b9550526f9b9c07e9bb1210a7733cd8ce3f2e24 nxagent-3.0.0-93.tar.gz 1534641
+MD5 872c9972ea9614479372c065dbcd9fab nxauth-3.0.0-6.tar.gz 30474
+RMD160 e71ae1b83b78f47f9bacf6d85cca529bfda8b2d0 nxauth-3.0.0-6.tar.gz 30474
+SHA256 09868f985ab71f9cefa61ddd0e809cb41583b31af5098a0b4cdc7a0f4d7fdd62 nxauth-3.0.0-6.tar.gz 30474
+MD5 8b761b9c7544cb79e0da8de0de9d8850 nxcomp-3.0.0-48.tar.gz 500084
+RMD160 0b71022cd986914d4f98144f82a6e16c487a374a nxcomp-3.0.0-48.tar.gz 500084
+SHA256 9df9122d898d8cd4bce83c3cfb8c61133b5138f83ec6887ff5944ab4bf10e79f nxcomp-3.0.0-48.tar.gz 500084
+MD5 bafe1d93b863f4ae8e93b141f299be9c nxcompext-3.0.0-18.tar.gz 89984
+RMD160 8b4e483e0226041d758920957b4a20626342b797 nxcompext-3.0.0-18.tar.gz 89984
+SHA256 a6c2bb400d6a970e94db453491d345cbeebd4be0a1b3969b38281a658f6fa554 nxcompext-3.0.0-18.tar.gz 89984
+MD5 fb5e6c5dbbb1e453282ea6176547e987 nxcompshad-3.0.0-19.tar.gz 71747
+RMD160 0a0d1142024544956eece74d0ea5929ebdb67ec8 nxcompshad-3.0.0-19.tar.gz 71747
+SHA256 0011b7cff616001e7e9f846ed4f128b39ed6a4a0a40aa62138afc13fbb0c6cec nxcompshad-3.0.0-19.tar.gz 71747
+MD5 739c3a4d54e6e3254a13084b117ca60f nxproxy-3.0.0-4.tar.gz 82730
+RMD160 b96e8752fce7015da88e2e304c8647abc6591892 nxproxy-3.0.0-4.tar.gz 82730
+SHA256 e2a838697d79b8621851e1fbe12dd699699f6ab62fa2caa92c53a0fefe901954 nxproxy-3.0.0-4.tar.gz 82730
diff --git a/net-misc/nx/nx-3.0.0-r1.ebuild b/net-misc/nx/nx-3.0.0-r1.ebuild
new file mode 100644
index 000000000000..a96c73e7b628
--- /dev/null
+++ b/net-misc/nx/nx-3.0.0-r1.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/nx/nx-3.0.0-r1.ebuild,v 1.1 2007/12/03 22:17:32 voyageur Exp $
+
+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-37.tar.gz"
+SRC_NXAGENT="nxagent-$PV-93.tar.gz"
+SRC_NXAUTH="nxauth-$PV-6.tar.gz"
+SRC_NXCOMP="nxcomp-$PV-48.tar.gz"
+SRC_NXCOMPEXT="nxcompext-$PV-18.tar.gz"
+SRC_NXCOMPSHAD="nxcompshad-$PV-19.tar.gz"
+SRC_NXPROXY="nxproxy-$PV-4.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_NXCOMPSHAD $URI_BASE/$SRC_NXCOMP"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="rdesktop vnc"
+
+RDEPEND="x11-libs/libXau
+ x11-libs/libXcomposite
+ x11-libs/libXdamage
+ x11-libs/libXdmcp
+ x11-libs/libXpm
+ x11-libs/libXrandr
+ x11-libs/libXtst
+ >=media-libs/jpeg-6b-r4
+ >=media-libs/libpng-1.2.8
+ >=sys-libs/zlib-1.2.3
+ rdesktop? ( net-misc/rdesktop )
+ vnc? ( || ( net-misc/vnc net-misc/tightvnc ) )"
+
+DEPEND="${RDEPEND}
+ x11-misc/gccmakedep
+ x11-misc/imake"
+
+S=${WORKDIR}/${PN}-X11
+
+pkg_setup() {
+ if use vnc; then
+ if has_version net-misc/vnc && ! built_with_use net-misc/vnc server;
+ then
+ die "net-misc/vnc needs to be built with USE=\"server\" for VNC support"
+ fi
+
+ if has_version net-misc/tightvnc && ! built_with_use net-misc/tightvnc server;
+ then
+ die "net-misc/tightvnc needs to be built with USE=\"server\" for VNC support"
+ fi
+ fi
+}
+
+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}"/${PN}-2.1.0-deprecated-headers.patch
+ epatch "${FILESDIR}"/${PN}-2.1.0-invalid-options.patch
+ eautoreconf
+}
+
+src_compile() {
+ cd "${WORKDIR}"/nxcomp || die "No nxcomp directory found"
+ econf || die "nxcomp econf failed"
+ emake || die "nxcomp emake failed"
+
+ cd "${WORKDIR}"/nxcompshad || die "No nxcompshad directory found"
+
+ econf || die "nxcompshad econf failed"
+ emake || die "nxcompshad emake failed"
+
+ cd "${WORKDIR}"/nxproxy || die "No nxproxy directory found"
+ econf || die "nxproxy econf failed"
+ emake || die "nxproxy emake failed"
+
+ cd "${WORKDIR}"/nx-X11 || die "No nx-X11 directory found"
+ emake World || die "nx-X11 emake failed"
+
+ cd "${WORKDIR}"/nxcompext || die "No nxcompext directory found"
+ econf || die "nxcompext econf failed"
+ emake || die "nxcompext emake failed"
+}
+
+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 " $x wrapper creation failed"
+ done
+
+ into ${NX_ROOT}
+ dobin "${WORKDIR}"/nx-X11/programs/Xserver/nxagent
+ dobin "${WORKDIR}"/nx-X11/programs/nxauth/nxauth
+ dobin "${WORKDIR}"/nxproxy/nxproxy
+
+ 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*
+ dolib.so "${WORKDIR}"/nxcompshad/libXcompshad.so*
+}