summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2007-04-25 12:58:04 +0000
committerBernard Cafarelli <voyageur@gentoo.org>2007-04-25 12:58:04 +0000
commit8217ac884e4793c425fdc28f2270e9f5033e87a3 (patch)
tree6322d6684351dfe0d974928319de1a30b22b8e7b /net-misc/nxclient-2xterminalserver
parentStable on ppc64; bug #175465 (diff)
downloadgentoo-2-8217ac884e4793c425fdc28f2270e9f5033e87a3.tar.gz
gentoo-2-8217ac884e4793c425fdc28f2270e9f5033e87a3.tar.bz2
gentoo-2-8217ac884e4793c425fdc28f2270e9f5033e87a3.zip
Initial commit
(Portage version: 2.1.2.4)
Diffstat (limited to 'net-misc/nxclient-2xterminalserver')
-rw-r--r--net-misc/nxclient-2xterminalserver/ChangeLog11
-rw-r--r--net-misc/nxclient-2xterminalserver/Manifest25
-rw-r--r--net-misc/nxclient-2xterminalserver/files/1.5.0/nxcomp-1.5.0-gcc4.patch12
-rw-r--r--net-misc/nxclient-2xterminalserver/files/1.5.0/nxcomp-1.5.0-pic.patch20
-rw-r--r--net-misc/nxclient-2xterminalserver/files/digest-nxclient-2xterminalserver-1.5.06
-rw-r--r--net-misc/nxclient-2xterminalserver/metadata.xml11
-rw-r--r--net-misc/nxclient-2xterminalserver/nxclient-2xterminalserver-1.5.0.ebuild88
7 files changed, 173 insertions, 0 deletions
diff --git a/net-misc/nxclient-2xterminalserver/ChangeLog b/net-misc/nxclient-2xterminalserver/ChangeLog
new file mode 100644
index 000000000000..f138898011f8
--- /dev/null
+++ b/net-misc/nxclient-2xterminalserver/ChangeLog
@@ -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
index 000000000000..acab8cecefc7
--- /dev/null
+++ b/net-misc/nxclient-2xterminalserver/Manifest
@@ -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 2042 RMD160 3262a4248c11d5fbc2fb7f743c581a0ca31bea33 SHA1 eb1492234fbce1d63cf7a52bd5f1a5c9d1a743ab SHA256 7cf9f9229ef1c65ae5d26d27306454df2ab3df4d57cf39897410195bf68cb677
+MD5 d19bbb869b5b6d763f8b74d65ec909d7 nxclient-2xterminalserver-1.5.0.ebuild 2042
+RMD160 3262a4248c11d5fbc2fb7f743c581a0ca31bea33 nxclient-2xterminalserver-1.5.0.ebuild 2042
+SHA256 7cf9f9229ef1c65ae5d26d27306454df2ab3df4d57cf39897410195bf68cb677 nxclient-2xterminalserver-1.5.0.ebuild 2042
+MISC ChangeLog 391 RMD160 9e5bf6537a6eb702c99abd1d04438b9ff71b0d9b SHA1 303664744ae756adf4971bc2068833d75342b09e SHA256 ed07f49a4fce5b5eacd28d2c1f744f21665c676ea2f72e436caad7a04c27fa8a
+MD5 9fb8ea7c57e72855ac03c67c8b52a1b0 ChangeLog 391
+RMD160 9e5bf6537a6eb702c99abd1d04438b9ff71b0d9b ChangeLog 391
+SHA256 ed07f49a4fce5b5eacd28d2c1f744f21665c676ea2f72e436caad7a04c27fa8a ChangeLog 391
+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
index 000000000000..3a3a79b88ed0
--- /dev/null
+++ b/net-misc/nxclient-2xterminalserver/files/1.5.0/nxcomp-1.5.0-gcc4.patch
@@ -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
index 000000000000..7c453a2ce0b2
--- /dev/null
+++ b/net-misc/nxclient-2xterminalserver/files/1.5.0/nxcomp-1.5.0-pic.patch
@@ -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
index 000000000000..5e99fb797c36
--- /dev/null
+++ b/net-misc/nxclient-2xterminalserver/files/digest-nxclient-2xterminalserver-1.5.0
@@ -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
index 000000000000..d32ba8d51510
--- /dev/null
+++ b/net-misc/nxclient-2xterminalserver/metadata.xml
@@ -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
index 000000000000..6250a0bc6bc2
--- /dev/null
+++ b/net-misc/nxclient-2xterminalserver/nxclient-2xterminalserver-1.5.0.ebuild
@@ -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
+}