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