1 |
polynomial-c 14/01/28 17:05:37 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pidgin-2.10.8.ebuild pidgin-2.10.8-r1.ebuild |
5 |
Log: |
6 |
Security bump (bug #499596) |
7 |
|
8 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC) |
9 |
|
10 |
Revision Changes Path |
11 |
1.317 net-im/pidgin/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/pidgin/ChangeLog?rev=1.317&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/pidgin/ChangeLog?rev=1.317&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/pidgin/ChangeLog?r1=1.316&r2=1.317 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-im/pidgin/ChangeLog,v |
20 |
retrieving revision 1.316 |
21 |
retrieving revision 1.317 |
22 |
diff -u -r1.316 -r1.317 |
23 |
--- ChangeLog 22 Dec 2013 16:15:10 -0000 1.316 |
24 |
+++ ChangeLog 28 Jan 2014 17:05:37 -0000 1.317 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for net-im/pidgin |
27 |
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/ChangeLog,v 1.316 2013/12/22 16:15:10 jer Exp $ |
29 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/ChangeLog,v 1.317 2014/01/28 17:05:37 polynomial-c Exp $ |
31 |
+ |
32 |
+*pidgin-2.10.8-r1 (28 Jan 2014) |
33 |
+*pidgin-2.10.8 (28 Jan 2014) |
34 |
+ |
35 |
+ 28 Jan 2014; Lars Wendler <polynomial-c@g.o> +pidgin-2.10.8.ebuild, |
36 |
+ +pidgin-2.10.8-r1.ebuild: |
37 |
+ Security bump (bug #499596). |
38 |
|
39 |
22 Dec 2013; Jeroen Roovers <jer@g.o> pidgin-2.10.7-r5.ebuild: |
40 |
Stable for HPPA (bug #478252). |
41 |
|
42 |
|
43 |
|
44 |
1.1 net-im/pidgin/pidgin-2.10.8.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/pidgin/pidgin-2.10.8.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/pidgin/pidgin-2.10.8.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: pidgin-2.10.8.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2014 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/pidgin-2.10.8.ebuild,v 1.1 2014/01/28 17:05:37 polynomial-c Exp $ |
54 |
|
55 |
EAPI=5 |
56 |
|
57 |
GENTOO_DEPEND_ON_PERL=no |
58 |
PYTHON_COMPAT=( python2_7 ) |
59 |
inherit autotools flag-o-matic eutils toolchain-funcs multilib perl-app gnome2 python-single-r1 |
60 |
|
61 |
DESCRIPTION="GTK Instant Messenger client" |
62 |
HOMEPAGE="http://pidgin.im/" |
63 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" |
64 |
|
65 |
LICENSE="GPL-2" |
66 |
SLOT="0" |
67 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos" |
68 |
IUSE="dbus debug doc eds gadu gnutls +gstreamer +gtk idn meanwhile mxit" |
69 |
IUSE+=" networkmanager nls perl silc tcl tk spell sasl ncurses" |
70 |
IUSE+=" groupwise prediction python +xscreensaver zephyr zeroconf" # mono" |
71 |
IUSE+=" aqua" |
72 |
|
73 |
# dbus requires python to generate C code for dbus bindings (thus DEPEND only). |
74 |
# finch uses libgnt that links with libpython - {R,}DEPEND. But still there is |
75 |
# no way to build dbus and avoid libgnt linkage with python. If you want this |
76 |
# send patch upstream. |
77 |
# purple-url-handler and purple-remote require dbus-python thus in reality we |
78 |
# rdepend on python if dbus enabled. But it is possible to separate this dep. |
79 |
RDEPEND=" |
80 |
>=dev-libs/glib-2.16 |
81 |
>=dev-libs/libxml2-2.6.18 |
82 |
ncurses? ( sys-libs/ncurses[unicode] |
83 |
dbus? ( ${PYTHON_DEPS} ) |
84 |
python? ( ${PYTHON_DEPS} ) ) |
85 |
gtk? ( |
86 |
>=x11-libs/gtk+-2.10:2[aqua=] |
87 |
x11-libs/libSM |
88 |
xscreensaver? ( x11-libs/libXScrnSaver ) |
89 |
spell? ( >=app-text/gtkspell-2.0.2:2 ) |
90 |
eds? ( <gnome-extra/evolution-data-server-3.6 ) |
91 |
prediction? ( >=dev-db/sqlite-3.3:3 ) ) |
92 |
gstreamer? ( =media-libs/gstreamer-0.10* |
93 |
=media-libs/gst-plugins-good-0.10* |
94 |
|| ( net-libs/farstream:0.1 net-libs/farsight2 ) |
95 |
media-plugins/gst-plugins-meta:0.10 |
96 |
media-plugins/gst-plugins-gconf:0.10 ) |
97 |
zeroconf? ( net-dns/avahi[dbus] ) |
98 |
dbus? ( >=dev-libs/dbus-glib-0.71 |
99 |
>=sys-apps/dbus-0.90 |
100 |
dev-python/dbus-python ) |
101 |
perl? ( || ( >=dev-lang/perl-5.16 <dev-lang/perl-5.16[-build] ) ) |
102 |
gadu? ( || ( >=net-libs/libgadu-1.11.0[ssl,gnutls] |
103 |
>=net-libs/libgadu-1.11.0[-ssl] ) ) |
104 |
gnutls? ( net-libs/gnutls ) |
105 |
!gnutls? ( >=dev-libs/nss-3.11 ) |
106 |
meanwhile? ( net-libs/meanwhile ) |
107 |
silc? ( >=net-im/silc-toolkit-1.0.1 ) |
108 |
tcl? ( dev-lang/tcl ) |
109 |
tk? ( dev-lang/tk ) |
110 |
sasl? ( dev-libs/cyrus-sasl:2 ) |
111 |
networkmanager? ( net-misc/networkmanager ) |
112 |
idn? ( net-dns/libidn ) |
113 |
!<x11-plugins/pidgin-facebookchat-1.69-r1" |
114 |
# Mono support crashes pidgin |
115 |
#mono? ( dev-lang/mono )" |
116 |
|
117 |
# We want nls in case gtk is enabled, bug # |
118 |
NLS_DEPEND=">=dev-util/intltool-0.41.1 sys-devel/gettext" |
119 |
|
120 |
DEPEND="$RDEPEND |
121 |
dev-lang/perl |
122 |
dev-perl/XML-Parser |
123 |
virtual/pkgconfig |
124 |
gtk? ( x11-proto/scrnsaverproto |
125 |
${NLS_DEPEND} ) |
126 |
dbus? ( ${PYTHON_DEPS} ) |
127 |
doc? ( app-doc/doxygen ) |
128 |
!gtk? ( nls? ( ${NLS_DEPEND} ) )" |
129 |
|
130 |
DOCS="AUTHORS HACKING NEWS README ChangeLog" |
131 |
|
132 |
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) |
133 |
dbus? ( ${PYTHON_REQUIRED_USE} )" |
134 |
|
135 |
# Enable Default protocols |
136 |
DYNAMIC_PRPLS="irc,jabber,oscar,yahoo,simple,msn,myspace" |
137 |
|
138 |
# List of plugins |
139 |
# app-accessibility/pidgin-festival |
140 |
# net-im/librvp |
141 |
# x11-plugins/guifications |
142 |
# x11-plugins/msn-pecan |
143 |
# x11-plugins/pidgin-encryption |
144 |
# x11-plugins/pidgin-extprefs |
145 |
# x11-plugins/pidgin-hotkeys |
146 |
# x11-plugins/pidgin-latex |
147 |
# x11-plugins/pidgintex |
148 |
# x11-plugins/pidgin-libnotify |
149 |
# x11-plugins/pidgin-mbpurple |
150 |
# x11-plugins/pidgin-bot-sentry |
151 |
# x11-plugins/pidgin-otr |
152 |
# x11-plugins/pidgin-rhythmbox |
153 |
# x11-plugins/purple-plugin_pack |
154 |
# x11-themes/pidgin-smileys |
155 |
# x11-plugins/pidgin-knotify |
156 |
# Plugins in Sunrise: |
157 |
# x11-plugins/pidgin-audacious-remote |
158 |
# x11-plugins/pidgin-autoanswer |
159 |
# x11-plugins/pidgin-birthday-reminder |
160 |
# x11-plugins/pidgin-blinklight |
161 |
# x11-plugins/pidgin-convreverse |
162 |
# x11-plugins/pidgin-embeddedvideo |
163 |
# x11-plugins/pidgin-extended-blist-sort |
164 |
# x11-plugins/pidgin-gfire |
165 |
# x11-plugins/pidgin-lastfm |
166 |
# x11-plugins/pidgin-sendscreenshot |
167 |
# x11-plugins/pidgimpd |
168 |
|
169 |
pkg_setup() { |
170 |
if ! use gtk && ! use ncurses ; then |
171 |
elog "You did not pick the ncurses or gtk use flags, only libpurple" |
172 |
elog "will be built." |
173 |
fi |
174 |
if use dbus || { use ncurses && use python; }; then |
175 |
python-single-r1_pkg_setup |
176 |
fi |
177 |
|
178 |
# dbus is enabled, no way to disable linkage with python => python is enabled |
179 |
#REQUIRED_USE="gtk? ( nls ) dbus? ( python )" |
180 |
if use gtk && ! use nls; then |
181 |
ewarn "gtk build => nls is enabled!" |
182 |
fi |
183 |
if use dbus && ! use python; then |
184 |
elog "dbus is enabled, no way to disable linkage with python => python is enabled" |
185 |
fi |
186 |
} |
187 |
|
188 |
src_prepare() { |
189 |
epatch "${FILESDIR}/${PN}-2.10.0-gold.patch" |
190 |
|
191 |
epatch_user |
192 |
|
193 |
eautoreconf |
194 |
} |
195 |
|
196 |
src_configure() { |
197 |
# Stabilize things, for your own good |
198 |
strip-flags |
199 |
replace-flags -O? -O2 |
200 |
|
201 |
local myconf |
202 |
|
203 |
if use gadu; then |
204 |
DYNAMIC_PRPLS="${DYNAMIC_PRPLS},gg" |
205 |
myconf="${myconf} --with-gadu-includes=." |
206 |
myconf="${myconf} --with-gadu-libs=." |
207 |
fi |
208 |
|
209 |
use groupwise && DYNAMIC_PRPLS+=",novell" |
210 |
use silc && DYNAMIC_PRPLS+=",silc" |
211 |
use meanwhile && DYNAMIC_PRPLS+=",sametime" |
212 |
use mxit && DYNAMIC_PRPLS+=",mxit" |
213 |
use zephyr && DYNAMIC_PRPLS+=",zephyr" |
214 |
use zeroconf && DYNAMIC_PRPLS+=",bonjour" |
215 |
|
216 |
if use gnutls; then |
217 |
einfo "Disabling NSS, using GnuTLS" |
218 |
myconf+=" --enable-nss=no --enable-gnutls=yes" |
219 |
myconf+=" --with-gnutls-includes=${EPREFIX}/usr/include/gnutls" |
220 |
myconf+=" --with-gnutls-libs=${EPREFIX}/usr/$(get_libdir)" |
221 |
else |
222 |
einfo "Disabling GnuTLS, using NSS" |
223 |
myconf+=" --enable-gnutls=no --enable-nss=yes" |
224 |
fi |
225 |
|
226 |
if use dbus || { use ncurses && use python; }; then |
227 |
myconf+=" --with-python=${PYTHON}" |
228 |
else |
229 |
myconf+=" --without-python" |
230 |
fi |
231 |
|
232 |
econf \ |
233 |
$(use_enable ncurses consoleui) \ |
234 |
$(use_enable gtk gtkui) \ |
235 |
$(use_enable gtk sm) \ |
236 |
$(use gtk || use_enable nls) \ |
237 |
$(use gtk && echo "--enable-nls") \ |
238 |
$(use gtk && use_enable xscreensaver screensaver) \ |
239 |
$(use gtk && use_enable prediction cap) \ |
240 |
$(use gtk && use_enable eds gevolution) \ |
241 |
$(use gtk && use_enable spell gtkspell) \ |
242 |
$(use_enable perl) \ |
243 |
$(use_enable tk) \ |
244 |
$(use_enable tcl) \ |
245 |
$(use_enable debug) \ |
246 |
$(use_enable dbus) \ |
247 |
$(use_enable meanwhile) \ |
248 |
$(use_enable gstreamer) \ |
249 |
$(use_enable gstreamer farstream) \ |
250 |
$(use_enable gstreamer vv) \ |
251 |
$(use_enable sasl cyrus-sasl ) \ |
252 |
$(use_enable doc doxygen) \ |
253 |
$(use_enable networkmanager nm) \ |
254 |
$(use_enable zeroconf avahi) \ |
255 |
$(use_enable idn) \ |
256 |
--with-system-ssl-certs="${EPREFIX}/etc/ssl/certs/" \ |
257 |
--with-dynamic-prpls="${DYNAMIC_PRPLS}" \ |
258 |
--disable-mono \ |
259 |
--x-includes="${EPREFIX}"/usr/include/X11 \ |
260 |
${myconf} |
261 |
#$(use_enable mono) \ |
262 |
} |
263 |
|
264 |
src_install() { |
265 |
gnome2_src_install |
266 |
if use gtk; then |
267 |
# Fix tray pathes for kde-3.5, e16 (x11-wm/enlightenment) and other |
268 |
# implementations that are not complient with new hicolor theme yet, #323355 |
269 |
local pixmapdir |
270 |
for d in 16 22 32 48; do |
271 |
pixmapdir=${ED}/usr/share/pixmaps/pidgin/tray/hicolor/${d}x${d}/actions |
272 |
mkdir "${pixmapdir}" || die |
273 |
pushd "${pixmapdir}" >/dev/null || die |
274 |
for f in ../status/*; do |
275 |
ln -s ${f} || die |
276 |
done |
277 |
popd >/dev/null |
278 |
done |
279 |
fi |
280 |
use perl && fixlocalpod |
281 |
|
282 |
dodoc finch/plugins/pietray.py |
283 |
docompress -x /usr/share/doc/${PF}/pietray.py |
284 |
|
285 |
prune_libtool_files --all |
286 |
} |
287 |
|
288 |
|
289 |
|
290 |
1.1 net-im/pidgin/pidgin-2.10.8-r1.ebuild |
291 |
|
292 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/pidgin/pidgin-2.10.8-r1.ebuild?rev=1.1&view=markup |
293 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/pidgin/pidgin-2.10.8-r1.ebuild?rev=1.1&content-type=text/plain |
294 |
|
295 |
Index: pidgin-2.10.8-r1.ebuild |
296 |
=================================================================== |
297 |
# Copyright 1999-2014 Gentoo Foundation |
298 |
# Distributed under the terms of the GNU General Public License v2 |
299 |
# $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/pidgin-2.10.8-r1.ebuild,v 1.1 2014/01/28 17:05:37 polynomial-c Exp $ |
300 |
|
301 |
EAPI=5 |
302 |
|
303 |
GENTOO_DEPEND_ON_PERL=no |
304 |
PYTHON_COMPAT=( python2_7 ) |
305 |
inherit autotools flag-o-matic eutils toolchain-funcs multilib perl-app gnome2 python-single-r1 |
306 |
|
307 |
DESCRIPTION="GTK Instant Messenger client" |
308 |
HOMEPAGE="http://pidgin.im/" |
309 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2 |
310 |
http://dev.gentoo.org/~polynomial-c/${PN}-eds-3.6.patch.bz2" |
311 |
|
312 |
LICENSE="GPL-2" |
313 |
SLOT="0" |
314 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos" |
315 |
IUSE="dbus debug doc eds gadu gnutls +gstreamer +gtk idn meanwhile mxit" |
316 |
IUSE+=" networkmanager nls perl silc tcl tk spell sasl ncurses" |
317 |
IUSE+=" groupwise prediction python +xscreensaver zephyr zeroconf" # mono" |
318 |
IUSE+=" aqua" |
319 |
|
320 |
# dbus requires python to generate C code for dbus bindings (thus DEPEND only). |
321 |
# finch uses libgnt that links with libpython - {R,}DEPEND. But still there is |
322 |
# no way to build dbus and avoid libgnt linkage with python. If you want this |
323 |
# send patch upstream. |
324 |
# purple-url-handler and purple-remote require dbus-python thus in reality we |
325 |
# rdepend on python if dbus enabled. But it is possible to separate this dep. |
326 |
RDEPEND=" |
327 |
>=dev-libs/glib-2.16 |
328 |
>=dev-libs/libxml2-2.6.18 |
329 |
ncurses? ( sys-libs/ncurses[unicode] |
330 |
dbus? ( ${PYTHON_DEPS} ) |
331 |
python? ( ${PYTHON_DEPS} ) ) |
332 |
gtk? ( |
333 |
>=x11-libs/gtk+-2.10:2[aqua=] |
334 |
x11-libs/libSM |
335 |
xscreensaver? ( x11-libs/libXScrnSaver ) |
336 |
spell? ( >=app-text/gtkspell-2.0.2:2 ) |
337 |
eds? ( >=gnome-extra/evolution-data-server-3.6 ) |
338 |
prediction? ( >=dev-db/sqlite-3.3:3 ) ) |
339 |
gstreamer? ( =media-libs/gstreamer-0.10* |
340 |
=media-libs/gst-plugins-good-0.10* |
341 |
|| ( net-libs/farstream:0.1 net-libs/farsight2 ) |
342 |
media-plugins/gst-plugins-meta:0.10 |
343 |
media-plugins/gst-plugins-gconf:0.10 ) |
344 |
zeroconf? ( net-dns/avahi[dbus] ) |
345 |
dbus? ( >=dev-libs/dbus-glib-0.71 |
346 |
>=sys-apps/dbus-0.90 |
347 |
dev-python/dbus-python ) |
348 |
perl? ( || ( >=dev-lang/perl-5.16 <dev-lang/perl-5.16[-build] ) ) |
349 |
gadu? ( || ( >=net-libs/libgadu-1.11.0[ssl,gnutls] |
350 |
>=net-libs/libgadu-1.11.0[-ssl] ) ) |
351 |
gnutls? ( net-libs/gnutls ) |
352 |
!gnutls? ( >=dev-libs/nss-3.11 ) |
353 |
meanwhile? ( net-libs/meanwhile ) |
354 |
silc? ( >=net-im/silc-toolkit-1.0.1 ) |
355 |
tcl? ( dev-lang/tcl ) |
356 |
tk? ( dev-lang/tk ) |
357 |
sasl? ( dev-libs/cyrus-sasl:2 ) |
358 |
networkmanager? ( net-misc/networkmanager ) |
359 |
idn? ( net-dns/libidn ) |
360 |
!<x11-plugins/pidgin-facebookchat-1.69-r1" |
361 |
# Mono support crashes pidgin |
362 |
#mono? ( dev-lang/mono )" |
363 |
|
364 |
# We want nls in case gtk is enabled, bug # |
365 |
NLS_DEPEND=">=dev-util/intltool-0.41.1 sys-devel/gettext" |
366 |
|
367 |
DEPEND="$RDEPEND |
368 |
dev-lang/perl |
369 |
dev-perl/XML-Parser |
370 |
virtual/pkgconfig |
371 |
gtk? ( x11-proto/scrnsaverproto |
372 |
${NLS_DEPEND} ) |
373 |
dbus? ( ${PYTHON_DEPS} ) |
374 |
doc? ( app-doc/doxygen ) |
375 |
!gtk? ( nls? ( ${NLS_DEPEND} ) )" |
376 |
|
377 |
DOCS="AUTHORS HACKING NEWS README ChangeLog" |
378 |
|
379 |
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) |
380 |
dbus? ( ${PYTHON_REQUIRED_USE} )" |
381 |
|
382 |
# Enable Default protocols |
383 |
DYNAMIC_PRPLS="irc,jabber,oscar,yahoo,simple,msn,myspace" |
384 |
|
385 |
# List of plugins |
386 |
# app-accessibility/pidgin-festival |
387 |
# net-im/librvp |
388 |
# x11-plugins/guifications |
389 |
# x11-plugins/msn-pecan |
390 |
# x11-plugins/pidgin-encryption |
391 |
# x11-plugins/pidgin-extprefs |
392 |
# x11-plugins/pidgin-hotkeys |
393 |
# x11-plugins/pidgin-latex |
394 |
# x11-plugins/pidgintex |
395 |
# x11-plugins/pidgin-libnotify |
396 |
# x11-plugins/pidgin-mbpurple |
397 |
# x11-plugins/pidgin-bot-sentry |
398 |
# x11-plugins/pidgin-otr |
399 |
# x11-plugins/pidgin-rhythmbox |
400 |
# x11-plugins/purple-plugin_pack |
401 |
# x11-themes/pidgin-smileys |
402 |
# x11-plugins/pidgin-knotify |
403 |
# Plugins in Sunrise: |
404 |
# x11-plugins/pidgin-audacious-remote |
405 |
# x11-plugins/pidgin-autoanswer |
406 |
# x11-plugins/pidgin-birthday-reminder |
407 |
# x11-plugins/pidgin-blinklight |
408 |
# x11-plugins/pidgin-convreverse |
409 |
# x11-plugins/pidgin-embeddedvideo |
410 |
# x11-plugins/pidgin-extended-blist-sort |
411 |
# x11-plugins/pidgin-gfire |
412 |
# x11-plugins/pidgin-lastfm |
413 |
# x11-plugins/pidgin-sendscreenshot |
414 |
# x11-plugins/pidgimpd |
415 |
|
416 |
pkg_setup() { |
417 |
if ! use gtk && ! use ncurses ; then |
418 |
elog "You did not pick the ncurses or gtk use flags, only libpurple" |
419 |
elog "will be built." |
420 |
fi |
421 |
if use dbus || { use ncurses && use python; }; then |
422 |
python-single-r1_pkg_setup |
423 |
fi |
424 |
|
425 |
# dbus is enabled, no way to disable linkage with python => python is enabled |
426 |
#REQUIRED_USE="gtk? ( nls ) dbus? ( python )" |
427 |
if use gtk && ! use nls; then |
428 |
ewarn "gtk build => nls is enabled!" |
429 |
fi |
430 |
if use dbus && ! use python; then |
431 |
elog "dbus is enabled, no way to disable linkage with python => python is enabled" |
432 |
fi |
433 |
} |
434 |
|
435 |
src_prepare() { |
436 |
epatch "${FILESDIR}/${PN}-2.10.0-gold.patch" \ |
437 |
"${WORKDIR}/${PN}-eds-3.6.patch" |
438 |
|
439 |
epatch_user |
440 |
|
441 |
eautoreconf |
442 |
} |
443 |
|
444 |
src_configure() { |
445 |
# Stabilize things, for your own good |
446 |
strip-flags |
447 |
replace-flags -O? -O2 |
448 |
|
449 |
local myconf |
450 |
|
451 |
if use gadu; then |
452 |
DYNAMIC_PRPLS="${DYNAMIC_PRPLS},gg" |
453 |
myconf="${myconf} --with-gadu-includes=." |
454 |
myconf="${myconf} --with-gadu-libs=." |
455 |
fi |
456 |
|
457 |
use groupwise && DYNAMIC_PRPLS+=",novell" |
458 |
use silc && DYNAMIC_PRPLS+=",silc" |
459 |
use meanwhile && DYNAMIC_PRPLS+=",sametime" |
460 |
use mxit && DYNAMIC_PRPLS+=",mxit" |
461 |
use zephyr && DYNAMIC_PRPLS+=",zephyr" |
462 |
use zeroconf && DYNAMIC_PRPLS+=",bonjour" |
463 |
|
464 |
if use gnutls; then |
465 |
einfo "Disabling NSS, using GnuTLS" |
466 |
myconf+=" --enable-nss=no --enable-gnutls=yes" |
467 |
myconf+=" --with-gnutls-includes=${EPREFIX}/usr/include/gnutls" |
468 |
myconf+=" --with-gnutls-libs=${EPREFIX}/usr/$(get_libdir)" |
469 |
else |
470 |
einfo "Disabling GnuTLS, using NSS" |
471 |
myconf+=" --enable-gnutls=no --enable-nss=yes" |
472 |
fi |
473 |
|
474 |
if use dbus || { use ncurses && use python; }; then |
475 |
myconf+=" --with-python=${PYTHON}" |
476 |
else |
477 |
myconf+=" --without-python" |
478 |
fi |
479 |
|
480 |
econf \ |
481 |
$(use_enable ncurses consoleui) \ |
482 |
$(use_enable gtk gtkui) \ |
483 |
$(use_enable gtk sm) \ |
484 |
$(use gtk || use_enable nls) \ |
485 |
$(use gtk && echo "--enable-nls") \ |
486 |
$(use gtk && use_enable xscreensaver screensaver) \ |
487 |
$(use gtk && use_enable prediction cap) \ |
488 |
$(use gtk && use_enable eds gevolution) \ |
489 |
$(use gtk && use_enable spell gtkspell) \ |
490 |
$(use_enable perl) \ |
491 |
$(use_enable tk) \ |
492 |
$(use_enable tcl) \ |
493 |
$(use_enable debug) \ |
494 |
$(use_enable dbus) \ |
495 |
$(use_enable meanwhile) \ |
496 |
$(use_enable gstreamer) \ |
497 |
$(use_enable gstreamer farstream) \ |
498 |
$(use_enable gstreamer vv) \ |
499 |
$(use_enable sasl cyrus-sasl ) \ |
500 |
$(use_enable doc doxygen) \ |
501 |
$(use_enable networkmanager nm) \ |
502 |
$(use_enable zeroconf avahi) \ |
503 |
$(use_enable idn) \ |
504 |
--with-system-ssl-certs="${EPREFIX}/etc/ssl/certs/" \ |
505 |
--with-dynamic-prpls="${DYNAMIC_PRPLS}" \ |
506 |
--disable-mono \ |
507 |
--x-includes="${EPREFIX}"/usr/include/X11 \ |
508 |
${myconf} |
509 |
#$(use_enable mono) \ |
510 |
} |
511 |
|
512 |
src_install() { |
513 |
gnome2_src_install |
514 |
if use gtk; then |
515 |
# Fix tray pathes for kde-3.5, e16 (x11-wm/enlightenment) and other |
516 |
# implementations that are not complient with new hicolor theme yet, #323355 |
517 |
local pixmapdir |
518 |
for d in 16 22 32 48; do |
519 |
pixmapdir=${ED}/usr/share/pixmaps/pidgin/tray/hicolor/${d}x${d}/actions |
520 |
mkdir "${pixmapdir}" || die |
521 |
pushd "${pixmapdir}" >/dev/null || die |
522 |
for f in ../status/*; do |
523 |
ln -s ${f} || die |
524 |
done |
525 |
popd >/dev/null |
526 |
done |
527 |
fi |
528 |
use perl && fixlocalpod |
529 |
|
530 |
dodoc finch/plugins/pietray.py |
531 |
docompress -x /usr/share/doc/${PF}/pietray.py |
532 |
|
533 |
prune_libtool_files --all |
534 |
} |