summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-misc/icaclient/ChangeLog27
-rw-r--r--net-misc/icaclient/Manifest14
-rw-r--r--net-misc/icaclient/icaclient-11.0.ebuild130
-rw-r--r--net-misc/icaclient/metadata.xml3
4 files changed, 166 insertions, 8 deletions
diff --git a/net-misc/icaclient/ChangeLog b/net-misc/icaclient/ChangeLog
index 60634764b502..3555bfc6f7d5 100644
--- a/net-misc/icaclient/ChangeLog
+++ b/net-misc/icaclient/ChangeLog
@@ -1,6 +1,29 @@
# ChangeLog for net-misc/icaclient
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/icaclient/ChangeLog,v 1.60 2008/11/28 12:35:32 fauli Exp $
+# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/icaclient/ChangeLog,v 1.61 2009/03/30 17:20:05 fauli Exp $
+
+*icaclient-11.0 (30 Mar 2009)
+
+ 30 Mar 2009; Christian Faulhammer <fauli@gentoo.org> metadata.xml,
+ +icaclient-11.0.ebuild:
+ Version bump (see bug 263054 by ulm), ebuild changes include:
+
+ * Support for German and Japanese through the LINGUAS system (though not
+ perfect)
+
+ * fetch restrictions as upstream does not provide a direct download link
+
+ * introduce motif USE flag: OpenMotif is just needed for the connection
+ client not for the Netscape plugin
+
+ * introduce nsplugin USE flag for people to only install the Netscape
+ plugin
+
+ * error out if none of the above is set
+
+ * Simplify path handling by extending S definition
+
+ * remove workaround for OpenMotif 2.3 (not needed anymore)
28 Nov 2008; Christian Faulhammer <fauli@gentoo.org> metadata.xml:
change my email address
diff --git a/net-misc/icaclient/Manifest b/net-misc/icaclient/Manifest
index 6ef21770b081..86ef731ebab4 100644
--- a/net-misc/icaclient/Manifest
+++ b/net-misc/icaclient/Manifest
@@ -3,13 +3,15 @@ Hash: SHA1
AUX 10ICAClient 67 RMD160 ceb2d84eb9a6d86ad865ea470bb54c3eb946b02a SHA1 e38274eaf685c8e4987aebf69000ad91d9d76dde SHA256 4468c32491f56b192964ddd82c854c8c73da06879cb767d89ab24ee45d186484
DIST ICAClient-10.6-1.i386.rpm 1759345 RMD160 2d4fe5191c638c4fd1759d11fd838641dd36e8d3 SHA1 150741259847b4d5587723e8ba86294ab08592f0 SHA256 d3d77f54064f6b2df7ff3bf6a01e1f0b9d0e2088f31d69ba6b8e07bd587cb4f8
+DIST ICAClient-11.0-1.i386.rpm 2169904 RMD160 693b76432305697ddea16beb1028de664ecdb5cc SHA1 813687439f66d757bd234279a6ccc71f5dee424d SHA256 bc631441b2e6336a6163957e028c0c4e90be9737a006042a79629d8c12080781
EBUILD icaclient-10.6-r4.ebuild 3298 RMD160 402d4197a923abfb95391b1f418e48a46c021094 SHA1 c6d906a183bc83f578c9e2624b7028219ef54062 SHA256 ae7c163f505825382671299eefd4433761e9a360c49e866fb089a9c0c7139e53
-MISC ChangeLog 9307 RMD160 3e833086df035ce58af1e7f75131bbe60c8d8042 SHA1 1d271def8de54ac96dfdb801b2efcbdc4c985d70 SHA256 0ed02f79ebd312ae4bbe2c947db2c55ede9448d1ff18780f1dac1fa4e96a3be9
-MISC metadata.xml 483 RMD160 16ed3249379222dd52f0021db7d06fb52977824f SHA1 dfa1f35251789e24da757ee60704d9bcacbc1953 SHA256 52c6ec41e0e5148c2df021f54379816c6e790694e2c5ab995ad6c67c7d886e8e
+EBUILD icaclient-11.0.ebuild 3713 RMD160 1e42ff4a1ea8460d341f706ee8cd079e74c69c7c SHA1 9f0092b2cfdafa5210a7c059f2fd5e0396f28278 SHA256 fb69c48df3cf9e74c55fac96e82696febc14006639cccb85db490188d74ecbcc
+MISC ChangeLog 10014 RMD160 6c73811f843d7b24ec332e4c38abd8b093e6b5db SHA1 41add41378ae0234099829b1a20e3352fca0d72d SHA256 b20c1abc78bd52a87545e02eb0e16e18602ac6647d5c7353edcd6bc2e84a0d13
+MISC metadata.xml 567 RMD160 5851906d50902ebf9aa7348a68859c9127648f4c SHA1 5e61ff7b64ade07f52cb834442dc0ab2117ef406 SHA256 4f768cd6d65ed53c5eb61038bf9dd026f7caeab8a51d54e16aa4864f43f78284
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
+Version: GnuPG v2.0.10 (GNU/Linux)
-iEYEARECAAYFAkkv5Z0ACgkQNQqtfCuFneNbuACeIXfCxfwOvNjQvldPvIlHtWnY
-hVsAn0mJcnruW21eiSuY+2cTn/DiP9rl
-=Pi7D
+iEYEARECAAYFAknQ/2oACgkQNQqtfCuFneON/QCfSp2U4sJtpryej2wTAMXXumco
+0U0An0rzxIrDWj4mWzCIJzV0niaNXFeu
+=SRwI
-----END PGP SIGNATURE-----
diff --git a/net-misc/icaclient/icaclient-11.0.ebuild b/net-misc/icaclient/icaclient-11.0.ebuild
new file mode 100644
index 000000000000..f7fbbeaf9fc8
--- /dev/null
+++ b/net-misc/icaclient/icaclient-11.0.ebuild
@@ -0,0 +1,130 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/icaclient/icaclient-11.0.ebuild,v 1.1 2009/03/30 17:20:05 fauli Exp $
+
+EAPI=1
+
+inherit eutils multilib rpm
+
+DESCRIPTION="ICA Client for Citrix Presentation servers"
+HOMEPAGE="http://www.citrix.com/"
+# There is no direct download link from upstream, see pkg_nofetch()
+SRC_URI="ICAClient-11.0-1.i386.rpm"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE="linguas_de linguas_ja +motif nsplugin"
+RESTRICT="mirror strip userpriv fetch"
+
+QA_TEXTRELS="opt/ICAClient/VDSCARD.DLL
+ opt/ICAClient/TW1.DLL
+ opt/ICAClient/NDS.DLL
+ opt/ICAClient/CHARICONV.DLL
+ opt/ICAClient/PDCRYPT1.DLL
+ opt/ICAClient/VDCM.DLL
+ opt/ICAClient/libctxssl.so
+ opt/ICAClient/PDCRYPT2.DLL
+ opt/ICAClient/npica.so
+ opt/ICAClient/VDSPMIKE.DLL"
+QA_EXECSTACK="opt/ICAClient/wfica.bin
+ opt/ICAClient/libctxssl.so"
+
+RDEPEND="x11-terms/xterm
+ x86? (
+ x11-libs/libXp
+ x11-libs/libXaw
+ x11-libs/libX11
+ x11-libs/libSM
+ x11-libs/libICE
+ motif? ( >=x11-libs/openmotif-2.3.1 )
+ )
+ amd64? ( >=app-emulation/emul-linux-x86-xlibs-20080316 )"
+DEPEND=""
+S="${WORKDIR}/usr/lib/ICAClient"
+
+pkg_setup() {
+ # Binary x86 package
+ has_multilib_profile && ABI="x86"
+ if ! use motif && ! use nsplugin; then
+ eerror "At least one USE flag out of nsplugin and motif must be enabled"
+ die
+ fi
+}
+
+pkg_nofetch() {
+ elog "Download the client RPM file from http://www.citrix.com/English/SS/downloads/details.asp?downloadID=3323"
+ elog "and place it in ${DISTDIR:-/usr/portage/distfiles}."
+}
+
+src_install() {
+ dodir /opt/ICAClient
+
+ insinto /opt/ICAClient
+ doins *.DLL npica.so libctxssl.so libproxy.so nls/en/eula.txt
+
+ insinto /opt/ICAClient/config
+ doins config/* config/.* nls/en/*.ini
+
+ insinto /opt/ICAClient/config/usertemplate
+ doins config/usertemplate/*
+
+ insinto /opt/ICAClient/nls
+ dosym en /opt/ICAClient/nls/C
+
+ insinto /opt/ICAClient/nls/en
+ doins nls/en/*
+
+ insinto /opt/ICAClient/nls/en/UTF-8
+ doins nls/en/UTF-8/*
+
+ if use linguas_de; then
+ insinto /opt/ICAClient/nls/de
+ doins nls/de/*
+
+ insinto /opt/ICAClient/nls/de/UTF-8
+ doins nls/de/UTF-8/*
+ fi
+ if use linguas_ja; then
+ insinto /opt/ICAClient/nls/ja
+ doins nls/ja/*
+
+ insinto /opt/ICAClient/nls/ja/UTF-8
+ doins nls/ja/UTF-8/*
+ fi
+
+ insinto /opt/ICAClient/icons
+ doins icons/*
+
+ insinto /opt/ICAClient/keyboard
+ doins keyboard/*
+
+ insinto /opt/ICAClient/keystore/cacerts
+ doins keystore/cacerts/*
+
+ insinto /opt/ICAClient/util
+ doins util/{echo_cmd,gst_play,icalicense.sh,integrate.sh,libgstflatstm.so,nslaunch,pacexec,pac.js,sunraymac.sh,what,xcapture}
+ dosym /opt/ICAClient/util/integrate.sh /opt/ICAClient/util/disintegrate.sh
+
+ doenvd "${FILESDIR}"/10ICAClient
+
+ use nsplugin && dosym /opt/ICAClient/npica.so /usr/$(get_libdir)/nsbrowser/plugins/npica.so
+
+ if use motif; then
+ # wfica has libxcb locking bugs, so provide a wrapper. It needs to be in
+ # /opt/ICAClient to ensure it gets called, so rename wfica to wfica.bin.
+ exeinto /opt/ICAClient
+ doexe wfcmgr.bin wfica_assoc.sh wfica.sh util/wfcmgr
+ newexe wfica wfica.bin
+ make_wrapper wfica 'env LC_ALL="" LANG="" LIBXCB_ALLOW_SLOPPY_LOCK=1 /opt/ICAClient/wfica.bin' . /opt/ICAClient /opt/ICAClient
+
+ # The .desktop file included in the rpm links to /usr/lib, so we
+ # make a new one. The program gives errors and has slowdowns if
+ # the locale is not English, so strip it since it has no
+ # translations anyway
+ doicon icons/*
+ make_wrapper wfcmgr /opt/ICAClient/wfcmgr . /opt/ICAClient
+ sed -e 's:^\# Configuration items.*:. /opt/ICAClient/nls/en/wfcmgr.msg:g' -i "${D}"/opt/ICAClient/wfcmgr
+ make_desktop_entry wfcmgr 'Citrix ICA Client' manager
+ fi
+}
diff --git a/net-misc/icaclient/metadata.xml b/net-misc/icaclient/metadata.xml
index a868f2a56d66..386e8c556712 100644
--- a/net-misc/icaclient/metadata.xml
+++ b/net-misc/icaclient/metadata.xml
@@ -12,4 +12,7 @@
<longdescription lang="ja">
ICAClient は Citrix Metaframe Server への Linux 用クライアントです。
</longdescription>
+<use>
+ <flag name='motif'>Provide the motif based connection manager</flag>
+</use>
</pkgmetadata>