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: ChangeLog icaclient-12.0.0.ebuild icaclient-11.100-r1.ebuild
Date: Thu, 29 Dec 2011 11:49:43
Message-Id: 20111229114933.CB4712004C@flycatcher.gentoo.org
1 fauli 11/12/29 11:49:33
2
3 Modified: ChangeLog
4 Added: icaclient-12.0.0.ebuild
5 Removed: icaclient-11.100-r1.ebuild
6 Log:
7 version bump for bug 389605, lots of thanks to Maciej Grela for providing the ebuild and Alexander Weber for testing
8
9 (Portage version: 2.1.10.41/cvs/Linux i686)
10
11 Revision Changes Path
12 1.80 net-misc/icaclient/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/icaclient/ChangeLog?rev=1.80&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/icaclient/ChangeLog?rev=1.80&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/icaclient/ChangeLog?r1=1.79&r2=1.80
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-misc/icaclient/ChangeLog,v
21 retrieving revision 1.79
22 retrieving revision 1.80
23 diff -u -r1.79 -r1.80
24 --- ChangeLog 5 Feb 2011 20:08:33 -0000 1.79
25 +++ ChangeLog 29 Dec 2011 11:49:33 -0000 1.80
26 @@ -1,6 +1,13 @@
27 # ChangeLog for net-misc/icaclient
28 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-misc/icaclient/ChangeLog,v 1.79 2011/02/05 20:08:33 ulm Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-misc/icaclient/ChangeLog,v 1.80 2011/12/29 11:49:33 fauli Exp $
31 +
32 +*icaclient-12.0.0 (29 Dec 2011)
33 +
34 + 29 Dec 2011; Christian Faulhammer <fauli@g.o> files/10ICAClient,
35 + -icaclient-11.100-r1.ebuild, +icaclient-12.0.0.ebuild:
36 + version bump for bug 389605, lots of thanks to Maciej Grela for providing the
37 + ebuild and Alexander Weber for testing
38
39 05 Feb 2011; Ulrich Mueller <ulm@g.o> icaclient-11.100-r1.ebuild:
40 Fix a typo in RDEPEND.
41
42
43
44 1.1 net-misc/icaclient/icaclient-12.0.0.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/icaclient/icaclient-12.0.0.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/icaclient/icaclient-12.0.0.ebuild?rev=1.1&content-type=text/plain
48
49 Index: icaclient-12.0.0.ebuild
50 ===================================================================
51 # Copyright 1999-2011 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/net-misc/icaclient/icaclient-12.0.0.ebuild,v 1.1 2011/12/29 11:49:33 fauli Exp $
54
55 EAPI=1
56
57 inherit eutils multilib rpm
58
59 DESCRIPTION="ICA Client for Citrix Presentation servers"
60 HOMEPAGE="http://www.citrix.com/"
61 # There is no direct download link from upstream, see pkg_nofetch()
62 SRC_URI="ICAClient-12.0.0-0.i386.rpm"
63
64 LICENSE="icaclient"
65 SLOT="0"
66 KEYWORDS="-* ~amd64 ~x86"
67 IUSE="nsplugin linguas_de linguas_ja"
68 RESTRICT="mirror strip userpriv fetch"
69
70 ICAROOT="/opt/Citrix/ICAClient"
71
72 QA_TEXTRELS="opt/Citrix/ICAClient/VDSCARD.DLL
73 opt/Citrix/ICAClient/TW1.DLL
74 opt/Citrix/ICAClient/NDS.DLL
75 opt/Citrix/ICAClient/CHARICONV.DLL
76 opt/Citrix/ICAClient/PDCRYPT1.DLL
77 opt/Citrix/ICAClient/VDCM.DLL
78 opt/Citrix/ICAClient/libctxssl.so
79 opt/Citrix/ICAClient/PDCRYPT2.DLL
80 opt/Citrix/ICAClient/npica.so
81 opt/Citrix/ICAClient/VDSPMIKE.DLL
82 opt/Citrix/ICAClient/VDFLASH2.DLL
83 opt/Citrix/ICAClient/lib/libavutil.so
84 opt/Citrix/ICAClient/lib/libavcodec.so
85 opt/Citrix/ICAClient/lib/libavformat.so
86 opt/Citrix/ICAClient/lib/libswscale.so"
87
88 QA_EXECSTACK="opt/Citrix/ICAClient/wfica
89 opt/Citrix/ICAClient/libctxssl.so"
90
91 RDEPEND="x11-terms/xterm
92 media-fonts/font-adobe-100dpi
93 media-fonts/font-misc-misc
94 media-fonts/font-cursor-misc
95 media-fonts/font-xfree86-type1
96 media-fonts/font-misc-ethiopic
97 x86? (
98 x11-libs/libXp
99 x11-libs/libXaw
100 x11-libs/libX11
101 x11-libs/libSM
102 x11-libs/libICE
103 x11-libs/libXinerama
104 >=x11-libs/openmotif-2.3.1:0
105 )
106 amd64? (
107 || (
108 ( >=app-emulation/emul-linux-x86-xlibs-20110129
109 >=app-emulation/emul-linux-x86-motif-20110129 )
110 <app-emulation/emul-linux-x86-xlibs-20110129
111
112 )
113 >=app-emulation/emul-linux-x86-soundlibs-20110928
114 >=app-emulation/emul-linux-x86-gtklibs-20110928
115
116 nsplugin? (
117 www-plugins/nspluginwrapper
118 )
119 )"
120 DEPEND=""
121 S="${WORKDIR}/opt/Citrix/ICAClient"
122
123 pkg_setup() {
124 # Binary x86 package
125 has_multilib_profile && ABI="x86"
126 }
127
128 pkg_nofetch() {
129 elog "Download the client RPM file ${SRC_URI} from http://www.citrix.com/English/ss/downloads/details.asp?downloadId=2316611&productId=1689163&c1=ost1349860"
130 elog "and place it in ${DISTDIR:-/usr/portage/distfiles}."
131 }
132
133 src_install() {
134 dodir "${ICAROOT}"
135
136 exeinto "${ICAROOT}"
137 doexe *.DLL libctxssl.so libproxy.so FlashContainer.bin wfica wfcmgr.bin util/wfcmgr
138
139 exeinto "${ICAROOT}"/lib
140 doexe lib/*.so
141
142 insinto "${ICAROOT}"
143 if use nsplugin
144 then
145 doins npica.so
146 dosym "${ICAROOT}"/npica.so /usr/$(get_libdir)/nsbrowser/plugins/npica.so
147 fi
148
149 doins nls/en/eula.txt
150
151 insinto "${ICAROOT}"/config
152 doins config/* config/.* nls/en/*.ini
153
154 insinto "${ICAROOT}"/gtk
155 doins gtk/*
156
157 insinto "${ICAROOT}"/gtk/glade
158 doins gtk/glade/*
159
160 dodir "${ICAROOT}"/help
161
162 insinto "${ICAROOT}"/config/usertemplate
163 doins config/usertemplate/*
164
165 LANGCODES="en"
166 use linguas_de && LANGCODES="${LANGCODES} de"
167 use linguas_ja && LANGCODES="${LANGCODES} ja"
168
169 for lang in ${LANGCODES}; do
170 insinto "${ICAROOT}"/nls/${lang}
171 doins nls/${lang}/*
172
173 insinto "${ICAROOT}"/nls/$lang/UTF-8
174 doins nls/${lang}/UTF-8/*
175
176 insinto "${ICAROOT}"/nls/${lang}/LC_MESSAGES
177 doins nls/${lang}/LC_MESSAGES/*
178
179 insinto "${ICAROOT}"/nls/${lang}
180 dosym UTF-8 "${ICAROOT}"/nls/${lang}/utf8
181
182 # We don't have 'more' anymore on the system - use 'less' instead
183 sed -e 's:MORE_CMD=more:MORE_CMD=less:g' -i "${D}"/"${ICAROOT}"/nls/${lang}/wfcmgr.msg
184 done
185
186 insinto "${ICAROOT}"/nls
187 dosym en /opt/Citrix/ICAClient/nls/C
188
189 insinto "${ICAROOT}"/icons
190 doins icons/*
191
192 insinto "${ICAROOT}"/keyboard
193 doins keyboard/*
194
195 insinto "${ICAROOT}"/keystore/cacerts
196 doins keystore/cacerts/*
197
198 insinto "${ICAROOT}"/util
199 doins util/pac.js
200
201 exeinto "${ICAROOT}"/util
202 doexe util/{DeleteCompleteFlashCache.sh,echo_cmd,hdxcheck.sh,icalicense.sh,integrate.sh}
203 doexe util/{nslaunch,pacexec,pnabrowse,sunraymac.sh,what,xcapture}
204
205 # Citrix receiver 12 has util/gst_{play,read}.{32,64} versions, install both
206 doexe util/gst_{play,read}.{32,64}
207 # Ditto for libgstflatstm.so
208 doexe util/libgstflatstm.{32,64}.so
209
210 dosym "${ICAROOT}"/util/integrate.sh "${ICAROOT}"/util/disintegrate.sh
211
212 doenvd "${FILESDIR}"/10ICAClient
213
214 make_wrapper wfica "${ICAROOT}"/wfica . "${ICAROOT}"
215
216 # The .desktop file included in the rpm links to /usr/lib, so we
217 # make a new one. The program gives errors and has slowdowns if
218 # the locale is not English, so strip it since it has no
219 # translations anyway
220 doicon icons/*
221 make_wrapper wfcmgr "${ICAROOT}"/wfcmgr . "${ICAROOT}"
222 sed -e 's:^\# Configuration items.*:. "${ICAROOT}"/nls/en/wfcmgr.msg:g' -i "${D}"/"${ICAROOT}"/wfcmgr
223 make_desktop_entry wfcmgr 'Citrix ICA Client' manager
224
225 dodir /etc/revdep-rebuild/
226 echo "SEARCH_DIRS_MASK="${ICAROOT}"" > "${D}"/etc/revdep-rebuild/70icaclient
227 }