Gentoo Archives: gentoo-commits

From: "Christian Faulhammer (fauli)" <fauli@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-misc/icaclient: metadata.xml ChangeLog icaclient-11.0.ebuild
Date: Mon, 30 Mar 2009 17:20:07
Message-Id: E1LoL9Z-00089m-Ig@stork.gentoo.org
1 fauli 09/03/30 17:20:05
2
3 Modified: metadata.xml ChangeLog
4 Added: icaclient-11.0.ebuild
5 Log:
6 Version bump (see bug 263054 by ulm), ebuild changes include:
7
8 * Support for German and Japanese through the LINGUAS
9 system (though not perfect)
10
11 * fetch restrictions as upstream does not provide a direct
12 download link
13
14 * introduce motif USE flag: OpenMotif is just needed for the
15 connection client not for the Netscape plugin
16
17 * introduce nsplugin USE flag for people to only install the
18 Netscape plugin
19
20 * error out if none of the above is set
21
22 * Simplify path handling by extending S definition
23
24 * remove workaround for OpenMotif 2.3 (not needed anymore)
25 (Portage version: 2.1.6.7/cvs/Linux i686)
26
27 Revision Changes Path
28 1.6 net-misc/icaclient/metadata.xml
29
30 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/icaclient/metadata.xml?rev=1.6&view=markup
31 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/icaclient/metadata.xml?rev=1.6&content-type=text/plain
32 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/icaclient/metadata.xml?r1=1.5&r2=1.6
33
34 Index: metadata.xml
35 ===================================================================
36 RCS file: /var/cvsroot/gentoo-x86/net-misc/icaclient/metadata.xml,v
37 retrieving revision 1.5
38 retrieving revision 1.6
39 diff -u -r1.5 -r1.6
40 --- metadata.xml 28 Nov 2008 12:35:32 -0000 1.5
41 +++ metadata.xml 30 Mar 2009 17:20:05 -0000 1.6
42 @@ -12,4 +12,7 @@
43 <longdescription lang="ja">
44 ICAClient は Citrix Metaframe Server への Linux 用クライアントです。
45 </longdescription>
46 +<use>
47 + <flag name='motif'>Provide the motif based connection manager</flag>
48 +</use>
49 </pkgmetadata>
50
51
52
53 1.61 net-misc/icaclient/ChangeLog
54
55 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/icaclient/ChangeLog?rev=1.61&view=markup
56 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/icaclient/ChangeLog?rev=1.61&content-type=text/plain
57 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/icaclient/ChangeLog?r1=1.60&r2=1.61
58
59 Index: ChangeLog
60 ===================================================================
61 RCS file: /var/cvsroot/gentoo-x86/net-misc/icaclient/ChangeLog,v
62 retrieving revision 1.60
63 retrieving revision 1.61
64 diff -u -r1.60 -r1.61
65 --- ChangeLog 28 Nov 2008 12:35:32 -0000 1.60
66 +++ ChangeLog 30 Mar 2009 17:20:05 -0000 1.61
67 @@ -1,6 +1,29 @@
68 # ChangeLog for net-misc/icaclient
69 -# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
70 -# $Header: /var/cvsroot/gentoo-x86/net-misc/icaclient/ChangeLog,v 1.60 2008/11/28 12:35:32 fauli Exp $
71 +# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
72 +# $Header: /var/cvsroot/gentoo-x86/net-misc/icaclient/ChangeLog,v 1.61 2009/03/30 17:20:05 fauli Exp $
73 +
74 +*icaclient-11.0 (30 Mar 2009)
75 +
76 + 30 Mar 2009; Christian Faulhammer <fauli@g.o> metadata.xml,
77 + +icaclient-11.0.ebuild:
78 + Version bump (see bug 263054 by ulm), ebuild changes include:
79 +
80 + * Support for German and Japanese through the LINGUAS system (though not
81 + perfect)
82 +
83 + * fetch restrictions as upstream does not provide a direct download link
84 +
85 + * introduce motif USE flag: OpenMotif is just needed for the connection
86 + client not for the Netscape plugin
87 +
88 + * introduce nsplugin USE flag for people to only install the Netscape
89 + plugin
90 +
91 + * error out if none of the above is set
92 +
93 + * Simplify path handling by extending S definition
94 +
95 + * remove workaround for OpenMotif 2.3 (not needed anymore)
96
97 28 Nov 2008; Christian Faulhammer <fauli@g.o> metadata.xml:
98 change my email address
99
100
101
102 1.1 net-misc/icaclient/icaclient-11.0.ebuild
103
104 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/icaclient/icaclient-11.0.ebuild?rev=1.1&view=markup
105 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/icaclient/icaclient-11.0.ebuild?rev=1.1&content-type=text/plain
106
107 Index: icaclient-11.0.ebuild
108 ===================================================================
109 # Copyright 1999-2009 Gentoo Foundation
110 # Distributed under the terms of the GNU General Public License v2
111 # $Header: /var/cvsroot/gentoo-x86/net-misc/icaclient/icaclient-11.0.ebuild,v 1.1 2009/03/30 17:20:05 fauli Exp $
112
113 EAPI=1
114
115 inherit eutils multilib rpm
116
117 DESCRIPTION="ICA Client for Citrix Presentation servers"
118 HOMEPAGE="http://www.citrix.com/"
119 # There is no direct download link from upstream, see pkg_nofetch()
120 SRC_URI="ICAClient-11.0-1.i386.rpm"
121
122 LICENSE="as-is"
123 SLOT="0"
124 KEYWORDS="-* ~amd64 ~x86"
125 IUSE="linguas_de linguas_ja +motif nsplugin"
126 RESTRICT="mirror strip userpriv fetch"
127
128 QA_TEXTRELS="opt/ICAClient/VDSCARD.DLL
129 opt/ICAClient/TW1.DLL
130 opt/ICAClient/NDS.DLL
131 opt/ICAClient/CHARICONV.DLL
132 opt/ICAClient/PDCRYPT1.DLL
133 opt/ICAClient/VDCM.DLL
134 opt/ICAClient/libctxssl.so
135 opt/ICAClient/PDCRYPT2.DLL
136 opt/ICAClient/npica.so
137 opt/ICAClient/VDSPMIKE.DLL"
138 QA_EXECSTACK="opt/ICAClient/wfica.bin
139 opt/ICAClient/libctxssl.so"
140
141 RDEPEND="x11-terms/xterm
142 x86? (
143 x11-libs/libXp
144 x11-libs/libXaw
145 x11-libs/libX11
146 x11-libs/libSM
147 x11-libs/libICE
148 motif? ( >=x11-libs/openmotif-2.3.1 )
149 )
150 amd64? ( >=app-emulation/emul-linux-x86-xlibs-20080316 )"
151 DEPEND=""
152 S="${WORKDIR}/usr/lib/ICAClient"
153
154 pkg_setup() {
155 # Binary x86 package
156 has_multilib_profile && ABI="x86"
157 if ! use motif && ! use nsplugin; then
158 eerror "At least one USE flag out of nsplugin and motif must be enabled"
159 die
160 fi
161 }
162
163 pkg_nofetch() {
164 elog "Download the client RPM file from http://www.citrix.com/English/SS/downloads/details.asp?downloadID=3323"
165 elog "and place it in ${DISTDIR:-/usr/portage/distfiles}."
166 }
167
168 src_install() {
169 dodir /opt/ICAClient
170
171 insinto /opt/ICAClient
172 doins *.DLL npica.so libctxssl.so libproxy.so nls/en/eula.txt
173
174 insinto /opt/ICAClient/config
175 doins config/* config/.* nls/en/*.ini
176
177 insinto /opt/ICAClient/config/usertemplate
178 doins config/usertemplate/*
179
180 insinto /opt/ICAClient/nls
181 dosym en /opt/ICAClient/nls/C
182
183 insinto /opt/ICAClient/nls/en
184 doins nls/en/*
185
186 insinto /opt/ICAClient/nls/en/UTF-8
187 doins nls/en/UTF-8/*
188
189 if use linguas_de; then
190 insinto /opt/ICAClient/nls/de
191 doins nls/de/*
192
193 insinto /opt/ICAClient/nls/de/UTF-8
194 doins nls/de/UTF-8/*
195 fi
196 if use linguas_ja; then
197 insinto /opt/ICAClient/nls/ja
198 doins nls/ja/*
199
200 insinto /opt/ICAClient/nls/ja/UTF-8
201 doins nls/ja/UTF-8/*
202 fi
203
204 insinto /opt/ICAClient/icons
205 doins icons/*
206
207 insinto /opt/ICAClient/keyboard
208 doins keyboard/*
209
210 insinto /opt/ICAClient/keystore/cacerts
211 doins keystore/cacerts/*
212
213 insinto /opt/ICAClient/util
214 doins util/{echo_cmd,gst_play,icalicense.sh,integrate.sh,libgstflatstm.so,nslaunch,pacexec,pac.js,sunraymac.sh,what,xcapture}
215 dosym /opt/ICAClient/util/integrate.sh /opt/ICAClient/util/disintegrate.sh
216
217 doenvd "${FILESDIR}"/10ICAClient
218
219 use nsplugin && dosym /opt/ICAClient/npica.so /usr/$(get_libdir)/nsbrowser/plugins/npica.so
220
221 if use motif; then
222 # wfica has libxcb locking bugs, so provide a wrapper. It needs to be in
223 # /opt/ICAClient to ensure it gets called, so rename wfica to wfica.bin.
224 exeinto /opt/ICAClient
225 doexe wfcmgr.bin wfica_assoc.sh wfica.sh util/wfcmgr
226 newexe wfica wfica.bin
227 make_wrapper wfica 'env LC_ALL="" LANG="" LIBXCB_ALLOW_SLOPPY_LOCK=1 /opt/ICAClient/wfica.bin' . /opt/ICAClient /opt/ICAClient
228
229 # The .desktop file included in the rpm links to /usr/lib, so we
230 # make a new one. The program gives errors and has slowdowns if
231 # the locale is not English, so strip it since it has no
232 # translations anyway
233 doicon icons/*
234 make_wrapper wfcmgr /opt/ICAClient/wfcmgr . /opt/ICAClient
235 sed -e 's:^\# Configuration items.*:. /opt/ICAClient/nls/en/wfcmgr.msg:g' -i "${D}"/opt/ICAClient/wfcmgr
236 make_desktop_entry wfcmgr 'Citrix ICA Client' manager
237 fi
238 }