Initial commit
authorBernard Cafarelli <voyageur@gentoo.org>
Wed, 25 Apr 2007 12:58:04 +0000 (12:58 +0000)
committerBernard Cafarelli <voyageur@gentoo.org>
Wed, 25 Apr 2007 12:58:04 +0000 (12:58 +0000)
Package-Manager: portage-2.1.2.4

net-misc/nxclient-2xterminalserver/ChangeLog [new file with mode: 0644]
net-misc/nxclient-2xterminalserver/Manifest [new file with mode: 0644]
net-misc/nxclient-2xterminalserver/files/1.5.0/nxcomp-1.5.0-gcc4.patch [new file with mode: 0644]
net-misc/nxclient-2xterminalserver/files/1.5.0/nxcomp-1.5.0-pic.patch [new file with mode: 0644]
net-misc/nxclient-2xterminalserver/files/digest-nxclient-2xterminalserver-1.5.0 [new file with mode: 0644]
net-misc/nxclient-2xterminalserver/metadata.xml [new file with mode: 0644]
net-misc/nxclient-2xterminalserver/nxclient-2xterminalserver-1.5.0.ebuild [new file with mode: 0644]

diff --git a/net-misc/nxclient-2xterminalserver/ChangeLog b/net-misc/nxclient-2xterminalserver/ChangeLog
new file mode 100644 (file)
index 0000000..f138898
--- /dev/null
@@ -0,0 +1,11 @@
+# ChangeLog for net-misc/nxclient-2xterminalserver
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/nxclient-2xterminalserver/ChangeLog,v 1.1 2007/04/25 12:58:04 voyageur Exp $
+
+*nxclient-2xterminalserver-1.5.0 (25 Apr 2007)
+
+  25 Apr 2007; Bernard Cafarelli <voyageur@gentoo.org>
+  +files/1.5.0/nxcomp-1.5.0-gcc4.patch, +files/1.5.0/nxcomp-1.5.0-pic.patch,
+  +metadata.xml, +nxclient-2xterminalserver-1.5.0.ebuild:
+  Initial commit
+
diff --git a/net-misc/nxclient-2xterminalserver/Manifest b/net-misc/nxclient-2xterminalserver/Manifest
new file mode 100644 (file)
index 0000000..b739839
--- /dev/null
@@ -0,0 +1,25 @@
+AUX 1.5.0/nxcomp-1.5.0-gcc4.patch 329 RMD160 03065afd0dd2b0345a170bcc1ebd8da333004df4 SHA1 cdaf51133f34486e2d9cbc6cf61482eea8b3e9a0 SHA256 097b34afa77d40919e20f54a6b99ea10e2780720e58e72d4d7871303004749e3
+MD5 efb5695f79fc13d2ba55a2dd661fb798 files/1.5.0/nxcomp-1.5.0-gcc4.patch 329
+RMD160 03065afd0dd2b0345a170bcc1ebd8da333004df4 files/1.5.0/nxcomp-1.5.0-gcc4.patch 329
+SHA256 097b34afa77d40919e20f54a6b99ea10e2780720e58e72d4d7871303004749e3 files/1.5.0/nxcomp-1.5.0-gcc4.patch 329
+AUX 1.5.0/nxcomp-1.5.0-pic.patch 523 RMD160 5552146e4539f33cf61e1f6c3f323f51057e2e75 SHA1 95147d1e0a53df86c4f192fb6ee700303eb5f8bf SHA256 fe17e3e36b75fb0d4ac5ad74ff0ecc76ccb91e14b5d2f1a65cfd8c2bfc32cc62
+MD5 4694bf261e3ae8352908598bdaf39561 files/1.5.0/nxcomp-1.5.0-pic.patch 523
+RMD160 5552146e4539f33cf61e1f6c3f323f51057e2e75 files/1.5.0/nxcomp-1.5.0-pic.patch 523
+SHA256 fe17e3e36b75fb0d4ac5ad74ff0ecc76ccb91e14b5d2f1a65cfd8c2bfc32cc62 files/1.5.0/nxcomp-1.5.0-pic.patch 523
+DIST linuxterminalserver-1.5.0-client-r21-src.tar.gz 2270147 RMD160 32fa31ee713d46e66c8a5e4aa14126995b225cfb SHA1 9295a232409b56ecb2fb4dccf81e6c05d65a7130 SHA256 70c7e3c9741b577b867e78524a1fb607aa2fae5d6f1bdda4b1a42eb9fd3d7bb3
+DIST linuxterminalserver-1.5.0-common-r21-src.tar.gz 34332949 RMD160 411291efa4bef31fbb5ff8128591514c687b9eeb SHA1 f63ed2816b13f1296db909b40ffb1c7d4cb5e109 SHA256 a6aaf7b1593d4df012ecefd1c8a6a176c0fde23cf9039401fe61f56197898555
+EBUILD nxclient-2xterminalserver-1.5.0.ebuild 2179 RMD160 0cc5ab734d88fcf4651222221d69644315e55b82 SHA1 c1448f8ac554e994809f4dc24bfedf2c06b143e2 SHA256 ff5205d6aecb8797cac6abc92938d42394f793c007026ef2b42f64e27dc1e14a
+MD5 4e37c155c059ee7a2f094b39397b239f nxclient-2xterminalserver-1.5.0.ebuild 2179
+RMD160 0cc5ab734d88fcf4651222221d69644315e55b82 nxclient-2xterminalserver-1.5.0.ebuild 2179
+SHA256 ff5205d6aecb8797cac6abc92938d42394f793c007026ef2b42f64e27dc1e14a nxclient-2xterminalserver-1.5.0.ebuild 2179
+MISC ChangeLog 499 RMD160 52c86133e60ccc4118d2ad6c8dc5134188045ea4 SHA1 c8e28dcc31518f51e4df2515a09709125039f939 SHA256 efc52109d8742ed97eab5bd942a6c1149918a7a73e4388df43ad74936db62cae
+MD5 b51c226970899d0af49793be58258aab ChangeLog 499
+RMD160 52c86133e60ccc4118d2ad6c8dc5134188045ea4 ChangeLog 499
+SHA256 efc52109d8742ed97eab5bd942a6c1149918a7a73e4388df43ad74936db62cae ChangeLog 499
+MISC metadata.xml 304 RMD160 5d568cd7d92590399bde359e196b18676de39150 SHA1 6a1dbfa0548661edac65b9d354885fc51496c5bc SHA256 d2bbd4da2bef4520aa196f45ff2d823f2ded146f88a9f2717a80a0ac28ac541f
+MD5 4ffee6b3b31cef8a0853d616713d2fa5 metadata.xml 304
+RMD160 5d568cd7d92590399bde359e196b18676de39150 metadata.xml 304
+SHA256 d2bbd4da2bef4520aa196f45ff2d823f2ded146f88a9f2717a80a0ac28ac541f metadata.xml 304
+MD5 67051a64d8d68f64ac5f9be7a9aa2050 files/digest-nxclient-2xterminalserver-1.5.0 653
+RMD160 f95673baaca542087b713e698358e676372b2d83 files/digest-nxclient-2xterminalserver-1.5.0 653
+SHA256 0d6e6616a3781546a3a059bf2c9f5a50d6b7b29371e8d83a622aa34e0307757c files/digest-nxclient-2xterminalserver-1.5.0 653
diff --git a/net-misc/nxclient-2xterminalserver/files/1.5.0/nxcomp-1.5.0-gcc4.patch b/net-misc/nxclient-2xterminalserver/files/1.5.0/nxcomp-1.5.0-gcc4.patch
new file mode 100644 (file)
index 0000000..3a3a79b
--- /dev/null
@@ -0,0 +1,12 @@
+--- common/nxcomp/RenderExtension.h.orig       2005-02-19 18:23:32.000000000 +0000
++++ common/nxcomp/RenderExtension.h    2005-08-27 23:16:05.000000000 +0100
+@@ -68,6 +68,8 @@
+ // The message class.
+ //
+
++class RenderMinorExtensionStore;
++
+ class RenderExtensionMessage : public Message
+ {
+   friend class RenderExtensionStore;
+
diff --git a/net-misc/nxclient-2xterminalserver/files/1.5.0/nxcomp-1.5.0-pic.patch b/net-misc/nxclient-2xterminalserver/files/1.5.0/nxcomp-1.5.0-pic.patch
new file mode 100644 (file)
index 0000000..7c453a2
--- /dev/null
@@ -0,0 +1,20 @@
+--- common/nxcomp/Makefile.in.orig     2006-11-22 21:43:15.000000000 +0000
++++ common/nxcomp/Makefile.in  2006-11-22 21:43:33.000000000 +0000
+@@ -32,7 +32,7 @@
+ CXX         = @CXX@
+ CXXFLAGS    = @CXXFLAGS@ @X_CFLAGS@ @DEFS@ \
+-              -Wall -Wpointer-arith
++              -Wall -Wpointer-arith -fPIC
+ CXXINCLUDES =
+ CXXDEFINES  =
+@@ -43,7 +43,7 @@
+ CC          = @CC@
+ CCFLAGS     = @X_CFLAGS@ @DEFS@ \
+-              -Wall -Wpointer-arith
++              -Wall -Wpointer-arith -fPIC
+ CCINCLUDES  =
+ CCDEFINES   =
diff --git a/net-misc/nxclient-2xterminalserver/files/digest-nxclient-2xterminalserver-1.5.0 b/net-misc/nxclient-2xterminalserver/files/digest-nxclient-2xterminalserver-1.5.0
new file mode 100644 (file)
index 0000000..5e99fb7
--- /dev/null
@@ -0,0 +1,6 @@
+MD5 6af01c60500dc0c81baf9fa5fb41f980 linuxterminalserver-1.5.0-client-r21-src.tar.gz 2270147
+RMD160 32fa31ee713d46e66c8a5e4aa14126995b225cfb linuxterminalserver-1.5.0-client-r21-src.tar.gz 2270147
+SHA256 70c7e3c9741b577b867e78524a1fb607aa2fae5d6f1bdda4b1a42eb9fd3d7bb3 linuxterminalserver-1.5.0-client-r21-src.tar.gz 2270147
+MD5 448569bf00effb316eee892cc841545e linuxterminalserver-1.5.0-common-r21-src.tar.gz 34332949
+RMD160 411291efa4bef31fbb5ff8128591514c687b9eeb linuxterminalserver-1.5.0-common-r21-src.tar.gz 34332949
+SHA256 a6aaf7b1593d4df012ecefd1c8a6a176c0fde23cf9039401fe61f56197898555 linuxterminalserver-1.5.0-common-r21-src.tar.gz 34332949
diff --git a/net-misc/nxclient-2xterminalserver/metadata.xml b/net-misc/nxclient-2xterminalserver/metadata.xml
new file mode 100644 (file)
index 0000000..d32ba8d
--- /dev/null
@@ -0,0 +1,11 @@
+<?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>
+  Client part of 2x Terminal Server (a GPL NX server)
+</longdescription>
+</pkgmetadata>
diff --git a/net-misc/nxclient-2xterminalserver/nxclient-2xterminalserver-1.5.0.ebuild b/net-misc/nxclient-2xterminalserver/nxclient-2xterminalserver-1.5.0.ebuild
new file mode 100644 (file)
index 0000000..6250a0b
--- /dev/null
@@ -0,0 +1,88 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/nxclient-2xterminalserver/nxclient-2xterminalserver-1.5.0.ebuild,v 1.1 2007/04/25 12:58:04 voyageur Exp $
+
+inherit eutils qt3
+
+DESCRIPTION="2X Terminal Server NX client"
+HOMEPAGE="http://www.2x.com/terminalserver/"
+SRC_URI="http://code.2x.com/release/linuxterminalserver/src/linuxterminalserver-1.5.0-common-r21-src.tar.gz
+       http://code.2x.com/release/linuxterminalserver/src/linuxterminalserver-1.5.0-client-r21-src.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+       dev-libs/openssl
+       media-libs/jpeg
+       media-libs/libpng
+       net-print/cups
+       sys-libs/zlib
+       =x11-libs/qt-3*
+       !net-misc/nxclient"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"
+
+src_unpack()
+{
+       unpack ${A}
+       cd ${S}
+       epatch ${FILESDIR}/1.5.0/nxcomp-1.5.0-gcc4.patch
+       epatch ${FILESDIR}/1.5.0/nxcomp-1.5.0-pic.patch
+
+       # Set correct product name
+       einfo "Setting official product name"
+       find client/nxclient common/nx-X11/programs/Xserver/hw/nxagent/Args.c \
+               -type f -exec sed -i "s/@PRODUCT_NAME@/2X TerminalServer/g" {} \;
+}
+
+src_compile()
+{
+       cd ${S}/common/nxcomp
+       econf || die
+       emake || die
+
+       cd ${S}/common/nxssh
+       econf || die
+       emake || die
+
+       cd ${S}/client/nxesd
+       econf || die
+       emake || die
+
+       cd ${S}/client/nxclient
+       econf || die
+       emake || die
+
+       cd ${S}/client/nxclient/nxprint
+       emake || die
+}
+
+src_install() {
+       # we install into /usr/NX, as NoMachine and 2X do
+
+       for x in nxclient nxprint nxssh nxesd ; do
+               make_wrapper $x ./$x /usr/NX/bin /usr/NX/lib || die
+       done
+
+       into /usr/NX
+       dobin client/nxclient/nxclient
+       dobin client/nxclient/nxprint/nxprint
+       dobin client/nxesd/nxesd
+       dobin common/nxssh/nxssh
+
+       dodir /usr/NX/lib
+       cp -P common/nxcomp/libXcomp.so* ${D}/usr/NX/lib || die
+
+       dodir /usr/NX/share
+       cp -R client/nxclient/share ${D}/usr/NX || die
+
+       # Add icons/desktop entries
+       doicon client/nxclient/share/icons/*.png
+       make_desktop_entry "nxclient" "NX Client" nx-desktop.png
+       make_desktop_entry "nxclient -admin" "NX Session Administrator" nxclient-admin.png
+       make_desktop_entry "nxclient -wizard" "NX Connection Wizard" nxclient-wizard.png
+}