summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2007-12-14 14:25:54 +0000
committerBernard Cafarelli <voyageur@gentoo.org>2007-12-14 14:25:54 +0000
commit86da76f738c029bd930ed83b34044de896f1ee30 (patch)
tree4bbc5b27445065e67d3fcad0e53d897b73145009 /net-misc
parentVersion bump (diff)
downloadgentoo-2-86da76f738c029bd930ed83b34044de896f1ee30.tar.gz
gentoo-2-86da76f738c029bd930ed83b34044de896f1ee30.tar.bz2
gentoo-2-86da76f738c029bd930ed83b34044de896f1ee30.zip
Update to 3.1.0 components
(Portage version: 2.1.4_rc9)
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/nx/ChangeLog7
-rw-r--r--net-misc/nx/files/digest-nx-3.1.021
-rw-r--r--net-misc/nx/nx-3.1.0.ebuild113
3 files changed, 140 insertions, 1 deletions
diff --git a/net-misc/nx/ChangeLog b/net-misc/nx/ChangeLog
index 1ded1905b398..780186eac245 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.12 2007/12/03 22:17:32 voyageur Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/nx/ChangeLog,v 1.13 2007/12/14 14:25:53 voyageur Exp $
+
+*nx-3.1.0 (14 Dec 2007)
+
+ 14 Dec 2007; Bernard Cafarelli <voyageur@gentoo.org> +nx-3.1.0.ebuild:
+ Update to 3.1.0 components
*nx-3.0.0-r1 (03 Dec 2007)
diff --git a/net-misc/nx/files/digest-nx-3.1.0 b/net-misc/nx/files/digest-nx-3.1.0
new file mode 100644
index 000000000000..7b132f8637c1
--- /dev/null
+++ b/net-misc/nx/files/digest-nx-3.1.0
@@ -0,0 +1,21 @@
+MD5 e3abbf75152037ac02b61bf991a2dfcc nx-X11-3.1.0-1.tar.gz 20175237
+RMD160 918ea4f90d463e71dd245d2f54de2a6af267e36e nx-X11-3.1.0-1.tar.gz 20175237
+SHA256 1998164fb6741046398cdbe822483f45a438a0c761db61b0b0284030c48d51f9 nx-X11-3.1.0-1.tar.gz 20175237
+MD5 e14977404b8abeb5de137bf16bf234a2 nxagent-3.1.0-2.tar.gz 1538314
+RMD160 e355556fa098b3cf2e1c2db7be1de4cdd2863c59 nxagent-3.1.0-2.tar.gz 1538314
+SHA256 68c4900aa1947073c4381d54546baac353558508788d22ba78a2959eb06c3757 nxagent-3.1.0-2.tar.gz 1538314
+MD5 75ee1a4140322645fcd2a8303cd306c7 nxauth-3.1.0-1.tar.gz 29922
+RMD160 4813d95a64b424143d7e36b761376daab14e7dbf nxauth-3.1.0-1.tar.gz 29922
+SHA256 3636bd340ab4de613cdb3e7995c683d19f0a267ec77a8e3371635d57c33c91dc nxauth-3.1.0-1.tar.gz 29922
+MD5 83b1d33085b04b338ec46f0c86ed5c1e nxcomp-3.1.0-4.tar.gz 500228
+RMD160 fdd35bd5bac75729af380943c9d1d4a8ce1c0e97 nxcomp-3.1.0-4.tar.gz 500228
+SHA256 7355a9b8e386ffcabddbd164024c852a8902e19e34641078b2b9bd855a7928eb nxcomp-3.1.0-4.tar.gz 500228
+MD5 746c2a65978a622d301eb2c5bea0b94c nxcompext-3.1.0-2.tar.gz 121284
+RMD160 9bf0df1453ff32e1fc730271ea2a9e27a91cf5a8 nxcompext-3.1.0-2.tar.gz 121284
+SHA256 8502082a56cfeed4fd2b11fbd2a467e44b9b0fcc7c6ebe50661ec0784d966ce6 nxcompext-3.1.0-2.tar.gz 121284
+MD5 167af862593a494237a1a0b4adbbb600 nxcompshad-3.1.0-2.tar.gz 72510
+RMD160 cce5e3031c23574c70f6c8851bf5637f8d99c1ec nxcompshad-3.1.0-2.tar.gz 72510
+SHA256 3741dbd427fb40363c34170cb90e61c108c1414453665b5aac2644f09b8b5974 nxcompshad-3.1.0-2.tar.gz 72510
+MD5 6e2abffa850d89586c8df922e2f218bd nxproxy-3.1.0-2.tar.gz 80127
+RMD160 5fa986880540e61674f2d510d8ae22d4b1bc4825 nxproxy-3.1.0-2.tar.gz 80127
+SHA256 a5dc41e4e58cf140b4e735405f98f863fb8dc49cd0ce06571539e1efad5cb2b4 nxproxy-3.1.0-2.tar.gz 80127
diff --git a/net-misc/nx/nx-3.1.0.ebuild b/net-misc/nx/nx-3.1.0.ebuild
new file mode 100644
index 000000000000..1962c2a4cc3a
--- /dev/null
+++ b/net-misc/nx/nx-3.1.0.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.1.0.ebuild,v 1.1 2007/12/14 14:25:53 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-1.tar.gz"
+SRC_NXAGENT="nxagent-$PV-2.tar.gz"
+SRC_NXAUTH="nxauth-$PV-1.tar.gz"
+SRC_NXCOMP="nxcomp-$PV-4.tar.gz"
+SRC_NXCOMPEXT="nxcompext-$PV-2.tar.gz"
+SRC_NXCOMPSHAD="nxcompshad-$PV-2.tar.gz"
+SRC_NXPROXY="nxproxy-$PV-2.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 "${S}" || 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 "${S}"/programs/Xserver/nxagent
+ dobin "${S}"/programs/nxauth/nxauth
+ dobin "${WORKDIR}"/nxproxy/nxproxy
+
+ dolib.so "${S}"/lib/X11/libX11.so*
+ dolib.so "${S}"/lib/Xext/libXext.so*
+ dolib.so "${S}"/lib/Xrender/libXrender.so*
+ dolib.so "${WORKDIR}"/nxcomp/libXcomp.so*
+ dolib.so "${WORKDIR}"/nxcompext/libXcompext.so*
+ dolib.so "${WORKDIR}"/nxcompshad/libXcompshad.so*
+}