diff options
author | Christian Faulhammer <opfer@gentoo.org> | 2008-05-11 19:06:43 +0000 |
---|---|---|
committer | Christian Faulhammer <opfer@gentoo.org> | 2008-05-11 19:06:43 +0000 |
commit | 882539b28a76b7ad889d3d5e5fd4d0a99f651538 (patch) | |
tree | ef38d912bdcb669fce43c4ba88241d455678cdcd /net-misc | |
parent | make flex a build time only dep, thanks Diego, bug #221329 (diff) | |
download | gentoo-2-882539b28a76b7ad889d3d5e5fd4d0a99f651538.tar.gz gentoo-2-882539b28a76b7ad889d3d5e5fd4d0a99f651538.tar.bz2 gentoo-2-882539b28a76b7ad889d3d5e5fd4d0a99f651538.zip |
fix runtime errors with XCB, patches provided by Ed Catmur <ed AT catmur DOT co DOT uk> on bug 220225
(Portage version: 2.1.4.4)
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/icaclient/ChangeLog | 9 | ||||
-rw-r--r-- | net-misc/icaclient/icaclient-10.6-r4.ebuild | 117 |
2 files changed, 125 insertions, 1 deletions
diff --git a/net-misc/icaclient/ChangeLog b/net-misc/icaclient/ChangeLog index ede9bc8db4e4..d2bc9640e9aa 100644 --- a/net-misc/icaclient/ChangeLog +++ b/net-misc/icaclient/ChangeLog @@ -1,6 +1,13 @@ # 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.53 2008/04/12 06:38:41 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/icaclient/ChangeLog,v 1.54 2008/05/11 19:06:43 opfer Exp $ + +*icaclient-10.6-r4 (11 May 2008) + + 11 May 2008; Christian Faulhammer <opfer@gentoo.org> + +icaclient-10.6-r4.ebuild: + fix runtime errors with XCB, patches provided by Ed Catmur <ed AT catmur DOT + co DOT uk> on bug 220225 12 Apr 2008; Ulrich Mueller <ulm@gentoo.org> -icaclient-10.6.ebuild: Remove old. diff --git a/net-misc/icaclient/icaclient-10.6-r4.ebuild b/net-misc/icaclient/icaclient-10.6-r4.ebuild new file mode 100644 index 000000000000..34db13967142 --- /dev/null +++ b/net-misc/icaclient/icaclient-10.6-r4.ebuild @@ -0,0 +1,117 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/icaclient/icaclient-10.6-r4.ebuild,v 1.1 2008/05/11 19:06:43 opfer Exp $ + +inherit eutils multilib rpm + +DESCRIPTION="ICA Client for Citrix Presentation servers" +HOMEPAGE="http://www.citrix.com/" +SRC_URI="http://download2.citrix.com/FILES/en/products/Linux10/ICAClient-${PV}-1.i386.rpm" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="" +RESTRICT="mirror strip userpriv" + +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" + +RDEPEND="x11-terms/xterm + x86? ( + x11-libs/libXp + x11-libs/libXaw + x11-libs/libX11 + x11-libs/libSM + x11-libs/libICE + >=x11-libs/openmotif-2.3.0 ) + amd64? ( >=app-emulation/emul-linux-x86-xlibs-20080316 )" +DEPEND="" + +S="${WORKDIR}/usr" + +pkg_setup() { + # Binary x86 package + has_multilib_profile && ABI="x86" +} + +pkg_nofetch() { + einfo "Please download ${A} yourself from www.citrix.com" + einfo "http://www.citrix.co.uk/English/SS/downloads/details.asp?dID=2755&downloadID=3323&pID=186" + einfo "and place it in ${DISTDIR}" +} + +src_unpack() { + # You must download ICAClient-10.0-2.i386.rpm + # from www.citrix.com and put it in ${DISTDIR} + einfo "Unpacking" + rpm_src_unpack +} + +src_install() { + dodir /opt/ICAClient + + insinto /opt/ICAClient + doins lib/ICAClient/Npica* lib/ICAClient/*.DLL lib/ICAClient/eula.txt \ + lib/ICAClient/npica.so lib/ICAClient/readme.txt lib/ICAClient/libctxssl.so + + insinto /opt/ICAClient/config + doins lib/ICAClient/config/* lib/ICAClient/config/.* + + insinto /opt/ICAClient/config/usertemplate + doins lib/ICAClient/config/usertemplate/* + + insinto /opt/ICAClient/help + doins lib/ICAClient/help/* + + insinto /opt/ICAClient/nls + dosym en /opt/ICAClient/nls/C + + insinto /opt/ICAClient/nls/en + doins lib/ICAClient/nls/en/* + + insinto /opt/ICAClient/nls/en/UTF-8 + doins lib/ICAClient/nls/en/UTF-8/* + + insinto /opt/ICAClient/icons + doins lib/ICAClient/icons/* + + insinto /opt/ICAClient/keyboard + doins lib/ICAClient/keyboard/* + + insinto /opt/ICAClient/keystore/cacerts + doins lib/ICAClient/keystore/cacerts/* + + insinto /opt/ICAClient/util + doins lib/ICAClient/util/{XCapture,XCapture.ad,echo_cmd,icalicense.sh,integrate.sh,nslaunch,pac.js,pacexec,xcapture} + dosym /opt/ICAClient/util/integrate.sh /opt/ICAClient/util/disintegrate.sh + + # 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 lib/ICAClient/wfcmgr lib/ICAClient/wfcmgr.bin \ + lib/ICAClient/wfica_assoc.sh lib/ICAClient/wfica.sh + newexe lib/ICAClient/wfica wfica.bin + make_wrapper wfica 'env LC_ALL="" LANG="" LIBXCB_ALLOW_SLOPPY_LOCK=1 /opt/ICAClient/wfica.bin' . /opt/ICAClient /opt/ICAClient + + doenvd "${FILESDIR}"/10ICAClient + + insinto /usr/$(get_libdir)/nsbrowser/plugins + dosym /opt/ICAClient/npica.so /usr/$(get_libdir)/nsbrowser/plugins/npica.so + dosym /usr/$(get_libdir)/libXm.so.4 /opt/ICAClient/libXm.so.3 + + # 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 lib/ICAClient/icons/* + make_wrapper wfcmgr 'env LC_ALL="" LANG="" /opt/ICAClient/wfcmgr' . /opt/ICAClient + make_desktop_entry wfcmgr 'Citrix ICA Client' manager +} |