1 |
commit: b869ecc529a76935ceb270d4ed2b7401162ed99a |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 18 23:09:34 2022 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 18 23:09:34 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b869ecc5 |
7 |
|
8 |
net-im/pidgin: Removed old |
9 |
|
10 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
11 |
|
12 |
net-im/pidgin/Manifest | 2 - |
13 |
.../files/pidgin-2.13.0-disable-one-jid-test.patch | 24 -- |
14 |
net-im/pidgin/pidgin-2.14.6-r1.ebuild | 288 --------------------- |
15 |
net-im/pidgin/pidgin-2.14.7.ebuild | 287 -------------------- |
16 |
4 files changed, 601 deletions(-) |
17 |
|
18 |
diff --git a/net-im/pidgin/Manifest b/net-im/pidgin/Manifest |
19 |
index e3f6cfe153b4..ab2a3ce2a6e3 100644 |
20 |
--- a/net-im/pidgin/Manifest |
21 |
+++ b/net-im/pidgin/Manifest |
22 |
@@ -1,4 +1,2 @@ |
23 |
DIST pidgin-2.10.9-irc_join_sleep.patch 534 BLAKE2B 0215cebb93993e19e700e4d4974351ab5e9a00ea094775076d8f439569b34c0ec2faaed360965867df58bc42677516983ce11a2601dd322c1bdf2f288253a5b8 SHA512 8de0d6f05e48cd5a3e894576e06c7fb82e4bfc778cce8bb179fa22e2a05f5c2390a0e4c5b626ee4b910a18eab170d8f4be200f435ce408a86575af99e51e3bdf |
24 |
-DIST pidgin-2.14.6.tar.bz2 8672222 BLAKE2B d2e6428728f18096c957b10d7cc5e79704c0fbb403967e3968f59393db125307fc6fc84c90d66788b4a27bd9707b126c1f0df532c2a1e7d1b62356127e87371c SHA512 19ea12b6c9e99b6215a7d955f02d52ad19de8c4beb00806276c8c184d5cc338db119197e0cc9f4685705bd8b83f35c8f63565095b49a319f9696aab37735951b |
25 |
-DIST pidgin-2.14.7.tar.bz2 8713379 BLAKE2B d48670c8b7419df67c6dddedf8eb15c0c4d61877386f65793b1423b659c6131d92eb58ae6cf63a31432426c8a09da0bdab0be8770517436bae51610a60886b59 SHA512 189b02b5500ca3560972cad9c84e94007e1c8cedd56d39214293412b31ee38bc2dbb33ab2f9320338bb226131f51cc8a1f6a4c66ba889a0f55d91edc15ac7465 |
26 |
DIST pidgin-2.14.8.tar.bz2 8683281 BLAKE2B 757ae81cc17db61bb5d434920f230d18c25639179c0584346b2bc6f34620d5ef499fd564ded5bfb649cf619700bbfd7eab6a222fdaf0324903bb92d81f77d182 SHA512 23975501b07d14829edab7b92628703962d7a8f90849b303e2a765ec6e47d1fcbdeff62539811e26682e300a2f94520193369844de3b1c0e87f99721ca0255e6 |
27 |
|
28 |
diff --git a/net-im/pidgin/files/pidgin-2.13.0-disable-one-jid-test.patch b/net-im/pidgin/files/pidgin-2.13.0-disable-one-jid-test.patch |
29 |
deleted file mode 100644 |
30 |
index cf3a6de7bfb2..000000000000 |
31 |
--- a/net-im/pidgin/files/pidgin-2.13.0-disable-one-jid-test.patch |
32 |
+++ /dev/null |
33 |
@@ -1,24 +0,0 @@ |
34 |
-https://bugs.gentoo.org/593338 |
35 |
- |
36 |
-Workaround one failing test. test fails on all platforms. |
37 |
-Needs to be fixed upstream. |
38 |
- |
39 |
---- a/libpurple/tests/test_jabber_jutil.c |
40 |
-+++ b/libpurple/tests/test_jabber_jutil.c |
41 |
-@@ -144,7 +144,16 @@ START_TEST(test_jabber_id_new) |
42 |
- * string MUST NOT contain any LCat character." |
43 |
- * The character is U+066D (ARABIC FIVE POINTED STAR). |
44 |
- */ |
45 |
-+#if 0 |
46 |
-+ /* |
47 |
-+ Fails in gentoo: https://bugs.gentoo.org/593338 |
48 |
-+ |
49 |
-+ 98%: Checks: 87, Failures: 1, Errors: 0 |
50 |
-+ test_jabber_jutil.c:147:F:JID validate:test_jabber_id_new:0: JID 'foo@×××××××.com/٭simplexe٭' is invalid but jabber_id_new() allowed it |
51 |
-+ FAIL check_libpurple (exit status: 1) |
52 |
-+ */ |
53 |
- assert_invalid_jid("foo@×××××××.com/٭simplexe٭"); |
54 |
-+#endif |
55 |
- |
56 |
- /* Ensure that jabber_id_new is properly lowercasing node and domains */ |
57 |
- assert_jid_parts("paul", "darkrain42.org", "PaUL@××××××××××.org"); |
58 |
|
59 |
diff --git a/net-im/pidgin/pidgin-2.14.6-r1.ebuild b/net-im/pidgin/pidgin-2.14.6-r1.ebuild |
60 |
deleted file mode 100644 |
61 |
index a912c204bcb5..000000000000 |
62 |
--- a/net-im/pidgin/pidgin-2.14.6-r1.ebuild |
63 |
+++ /dev/null |
64 |
@@ -1,288 +0,0 @@ |
65 |
-# Copyright 1999-2021 Gentoo Authors |
66 |
-# Distributed under the terms of the GNU General Public License v2 |
67 |
- |
68 |
-EAPI=7 |
69 |
- |
70 |
-GENTOO_DEPEND_ON_PERL=no |
71 |
-PYTHON_COMPAT=( python3_{8..9} ) |
72 |
- |
73 |
-inherit autotools gnome2-utils flag-o-matic toolchain-funcs multilib perl-module python-single-r1 xdg |
74 |
- |
75 |
-DESCRIPTION="GTK Instant Messenger client" |
76 |
-HOMEPAGE="https://pidgin.im/" |
77 |
-SRC_URI=" |
78 |
- mirror://sourceforge/${PN}/${P}.tar.bz2 |
79 |
- https://gist.githubusercontent.com/imcleod/77f38d11af11b2413ada/raw/46e9d6cb4d2f839832dad2d697bb141a88028e04/pidgin-irc-join-sleep.patch -> ${PN}-2.10.9-irc_join_sleep.patch" |
80 |
- |
81 |
-LICENSE="GPL-2" |
82 |
-SLOT="0/2" # libpurple version |
83 |
-KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux" |
84 |
-IUSE="aqua dbus debug doc eds gadu gnutls groupwise +gstreamer +gtk idn |
85 |
-meanwhile ncurses networkmanager nls perl pie prediction python sasl spell tcl |
86 |
-tk +xscreensaver zephyr zeroconf" |
87 |
- |
88 |
-# dbus requires python to generate C code for dbus bindings (thus DEPEND only). |
89 |
-# finch uses libgnt that links with libpython - {R,}DEPEND. But still there is |
90 |
-# no way to build dbus and avoid libgnt linkage with python. If you want this |
91 |
-# send patch upstream. |
92 |
-# purple-url-handler and purple-remote require dbus-python thus in reality we |
93 |
-# rdepend on python if dbus enabled. But it is possible to separate this dep. |
94 |
-RDEPEND=" |
95 |
- >=dev-libs/glib-2.16 |
96 |
- >=dev-libs/libxml2-2.6.18 |
97 |
- ncurses? ( |
98 |
- >=dev-libs/libgnt-$(ver_cut 1-2) |
99 |
- sys-libs/ncurses:=[unicode(+)] |
100 |
- dbus? ( ${PYTHON_DEPS} ) |
101 |
- python? ( ${PYTHON_DEPS} ) |
102 |
- ) |
103 |
- gtk? ( |
104 |
- >=x11-libs/gtk+-2.10:2[aqua=] |
105 |
- x11-libs/libSM |
106 |
- >=x11-libs/pango-1.4.0 |
107 |
- xscreensaver? ( x11-libs/libXScrnSaver ) |
108 |
- spell? ( >=app-text/gtkspell-2.0.2:2 ) |
109 |
- eds? ( >=gnome-extra/evolution-data-server-3.6:= ) |
110 |
- prediction? ( >=dev-db/sqlite-3.3:3 ) |
111 |
- ) |
112 |
- gstreamer? ( |
113 |
- media-libs/gstreamer:1.0 |
114 |
- media-libs/gst-plugins-base:1.0 |
115 |
- >=net-libs/farstream-0.2.7:0.2 |
116 |
- ) |
117 |
- zeroconf? ( net-dns/avahi[dbus] ) |
118 |
- dbus? ( |
119 |
- >=dev-libs/dbus-glib-0.71 |
120 |
- >=sys-apps/dbus-0.90 |
121 |
- $(python_gen_cond_dep ' |
122 |
- dev-python/dbus-python[${PYTHON_USEDEP}] |
123 |
- ') |
124 |
- ) |
125 |
- perl? ( >=dev-lang/perl-5.16:= ) |
126 |
- gadu? ( >=net-libs/libgadu-1.11.0 ) |
127 |
- gnutls? ( net-libs/gnutls:= ) |
128 |
- !gnutls? ( |
129 |
- dev-libs/nspr |
130 |
- dev-libs/nss |
131 |
- ) |
132 |
- meanwhile? ( net-libs/meanwhile ) |
133 |
- tcl? ( dev-lang/tcl:0= ) |
134 |
- tk? ( dev-lang/tk:0= ) |
135 |
- sasl? ( dev-libs/cyrus-sasl:2 ) |
136 |
- networkmanager? ( net-misc/networkmanager ) |
137 |
- idn? ( net-dns/libidn:= ) |
138 |
-" |
139 |
- |
140 |
-# We want nls in case gtk is enabled, bug # |
141 |
-NLS_DEPEND=">=dev-util/intltool-0.41.1 sys-devel/gettext" |
142 |
- |
143 |
-DEPEND="${RDEPEND} |
144 |
- gtk? ( |
145 |
- x11-base/xorg-proto |
146 |
- ${NLS_DEPEND} |
147 |
- ) |
148 |
- dbus? ( ${PYTHON_DEPS} ) |
149 |
-" |
150 |
-BDEPEND=" |
151 |
- dev-lang/perl |
152 |
- dev-perl/XML-Parser |
153 |
- virtual/pkgconfig |
154 |
- doc? ( app-doc/doxygen ) |
155 |
- !gtk? ( nls? ( ${NLS_DEPEND} ) ) |
156 |
-" |
157 |
- |
158 |
-DOCS=( AUTHORS HACKING NEWS README ChangeLog ) |
159 |
- |
160 |
-REQUIRED_USE=" |
161 |
- dbus? ( ${PYTHON_REQUIRED_USE} ) |
162 |
- networkmanager? ( dbus ) |
163 |
- python? ( ${PYTHON_REQUIRED_USE} ) |
164 |
-" |
165 |
- |
166 |
-# Enable Default protocols |
167 |
-DYNAMIC_PRPLS="irc,jabber,simple" |
168 |
- |
169 |
-# List of plugins |
170 |
-# app-accessibility/pidgin-festival |
171 |
-# net-im/librvp |
172 |
-# x11-plugins/guifications |
173 |
-# x11-plugins/msn-pecan |
174 |
-# x11-plugins/pidgin-encryption |
175 |
-# x11-plugins/pidgin-extprefs |
176 |
-# x11-plugins/pidgin-hotkeys |
177 |
-# x11-plugins/pidgintex |
178 |
-# x11-plugins/pidgin-libnotify |
179 |
-# x11-plugins/pidgin-mbpurple |
180 |
-# x11-plugins/pidgin-bot-sentry |
181 |
-# x11-plugins/pidgin-otr |
182 |
-# x11-plugins/pidgin-rhythmbox |
183 |
-# x11-plugins/purple-plugin_pack |
184 |
-# x11-themes/pidgin-smileys |
185 |
-# x11-plugins/pidgin-knotify |
186 |
-# Plugins in Sunrise: |
187 |
-# x11-plugins/pidgin-audacious-remote |
188 |
-# x11-plugins/pidgin-autoanswer |
189 |
-# x11-plugins/pidgin-birthday-reminder |
190 |
-# x11-plugins/pidgin-blinklight |
191 |
-# x11-plugins/pidgin-convreverse |
192 |
-# x11-plugins/pidgin-embeddedvideo |
193 |
-# x11-plugins/pidgin-extended-blist-sort |
194 |
-# x11-plugins/pidgin-gfire |
195 |
-# x11-plugins/pidgin-lastfm |
196 |
-# x11-plugins/pidgin-sendscreenshot |
197 |
-# x11-plugins/pidgimpd |
198 |
- |
199 |
-PATCHES=( |
200 |
- "${DISTDIR}/${PN}-2.10.9-irc_join_sleep.patch" # 577286 |
201 |
- "${FILESDIR}/${PN}-2.13.0-disable-one-jid-test.patch" # 593338 |
202 |
-) |
203 |
- |
204 |
-pkg_pretend() { |
205 |
- if ! use gtk && ! use ncurses ; then |
206 |
- elog "You did not pick the ncurses or gtk use flags, only libpurple" |
207 |
- elog "will be built." |
208 |
- fi |
209 |
- |
210 |
- # dbus is enabled, no way to disable linkage with python => python is enabled |
211 |
- #REQUIRED_USE="gtk? ( nls ) dbus? ( python )" |
212 |
- if use gtk && ! use nls ; then |
213 |
- ewarn "gtk build => nls is enabled!" |
214 |
- fi |
215 |
- if use dbus && ! use python ; then |
216 |
- elog "dbus is enabled, no way to disable linkage with python => python is enabled" |
217 |
- fi |
218 |
-} |
219 |
- |
220 |
-pkg_setup() { |
221 |
- if use python || use dbus ; then |
222 |
- python-single-r1_pkg_setup |
223 |
- fi |
224 |
-} |
225 |
- |
226 |
-src_prepare() { |
227 |
- xdg_src_prepare |
228 |
- eautoreconf |
229 |
-} |
230 |
- |
231 |
-src_configure() { |
232 |
- # Stabilize things, for your own good |
233 |
- strip-flags |
234 |
- replace-flags -O? -O2 |
235 |
- use pie && append-cflags -fPIE -pie |
236 |
- |
237 |
- use gadu && DYNAMIC_PRPLS+=",gg" |
238 |
- use groupwise && DYNAMIC_PRPLS+=",novell" |
239 |
- use meanwhile && DYNAMIC_PRPLS+=",sametime" |
240 |
- use zephyr && DYNAMIC_PRPLS+=",zephyr" |
241 |
- use zeroconf && DYNAMIC_PRPLS+=",bonjour" |
242 |
- |
243 |
- local myconf=( |
244 |
- --disable-mono |
245 |
- --disable-static |
246 |
- --with-dynamic-prpls="${DYNAMIC_PRPLS}" |
247 |
- --with-system-ssl-certs="${EPREFIX}/etc/ssl/certs/" |
248 |
- --x-includes="${EPREFIX}"/usr/include/X11 |
249 |
- $(use_enable ncurses consoleui) |
250 |
- $(use_enable gtk gtkui) |
251 |
- $(use_enable gtk sm) |
252 |
- $(usex gtk '--enable-nls' "$(use_enable nls)") |
253 |
- $(use gtk && use_enable xscreensaver screensaver) |
254 |
- $(use gtk && use_enable prediction cap) |
255 |
- $(use gtk && use_enable eds gevolution) |
256 |
- $(use gtk && use_enable spell gtkspell) |
257 |
- $(use_enable perl) |
258 |
- $(use_enable tk) |
259 |
- $(use_enable tcl) |
260 |
- $(use_enable debug) |
261 |
- $(use_enable dbus) |
262 |
- $(use_enable meanwhile) |
263 |
- $(use_enable gstreamer) |
264 |
- $(use_with gstreamer gstreamer 1.0) |
265 |
- $(use_enable gstreamer farstream) |
266 |
- $(use_enable gstreamer vv) |
267 |
- $(use_enable sasl cyrus-sasl ) |
268 |
- $(use_enable doc doxygen) |
269 |
- $(use_enable networkmanager nm) |
270 |
- $(use_enable zeroconf avahi) |
271 |
- $(use_enable idn) |
272 |
- ) |
273 |
- |
274 |
- if use gnutls; then |
275 |
- einfo "Disabling NSS, using GnuTLS" |
276 |
- myconf+=( |
277 |
- --enable-nss=no |
278 |
- --enable-gnutls=yes |
279 |
- --with-gnutls-includes="${EPREFIX}/usr/include/gnutls" |
280 |
- --with-gnutls-libs="${EPREFIX}/usr/$(get_libdir)" |
281 |
- ) |
282 |
- else |
283 |
- einfo "Disabling GnuTLS, using NSS" |
284 |
- myconf+=( |
285 |
- --enable-gnutls=no |
286 |
- --enable-nss=yes |
287 |
- ) |
288 |
- fi |
289 |
- |
290 |
- if use dbus || { use ncurses && use python ; } ; then |
291 |
- myconf+=( --with-python3=${PYTHON} ) |
292 |
- else |
293 |
- myconf+=( --without-python3 ) |
294 |
- fi |
295 |
- |
296 |
- econf "${myconf[@]}" |
297 |
-} |
298 |
- |
299 |
-src_install() { |
300 |
- # setting this here because gnome2.eclass is not EAPI-7 ready |
301 |
- export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1" |
302 |
- default |
303 |
- |
304 |
- if use gtk ; then |
305 |
- # Fix tray paths for e16 (x11-wm/enlightenment) and other |
306 |
- # implementations that are not compliant with new hicolor theme yet, #323355 |
307 |
- local d f pixmapdir |
308 |
- for d in 16 22 32 48 ; do |
309 |
- pixmapdir="${ED}/usr/share/pixmaps/pidgin/tray/hicolor/${d}x${d}/actions" |
310 |
- mkdir "${pixmapdir}" || die |
311 |
- pushd "${pixmapdir}" >/dev/null || die |
312 |
- for f in ../status/*; do |
313 |
- ln -s ${f} || die |
314 |
- done |
315 |
- popd >/dev/null || die |
316 |
- done |
317 |
- fi |
318 |
- use perl && perl_delete_localpod |
319 |
- |
320 |
- use dbus && python_fix_shebang "${ED}" |
321 |
- if use python || use dbus ; then |
322 |
- python_optimize |
323 |
- fi |
324 |
- |
325 |
- dodoc ${DOCS[@]} finch/plugins/pietray.py |
326 |
- docompress -x /usr/share/doc/${PF}/pietray.py |
327 |
- |
328 |
- find "${ED}" -type f -name "*.la" -delete || die |
329 |
-} |
330 |
- |
331 |
-src_test() { |
332 |
- # make default build logs slightly more useful |
333 |
- local -x GST_PLUGIN_SYSTEM_PATH_1_0= |
334 |
- emake check VERBOSE=1 |
335 |
-} |
336 |
- |
337 |
-pkg_preinst() { |
338 |
- gnome2_gconf_savelist |
339 |
- xdg_pkg_preinst |
340 |
-} |
341 |
- |
342 |
-pkg_postinst() { |
343 |
- gnome2_gconf_install |
344 |
- gnome2_schemas_update |
345 |
- xdg_pkg_postinst |
346 |
-} |
347 |
- |
348 |
-pkg_postrm() { |
349 |
- gnome2_gconf_uninstall |
350 |
- gnome2_schemas_update |
351 |
- xdg_pkg_postrm |
352 |
-} |
353 |
|
354 |
diff --git a/net-im/pidgin/pidgin-2.14.7.ebuild b/net-im/pidgin/pidgin-2.14.7.ebuild |
355 |
deleted file mode 100644 |
356 |
index 5b28584d138a..000000000000 |
357 |
--- a/net-im/pidgin/pidgin-2.14.7.ebuild |
358 |
+++ /dev/null |
359 |
@@ -1,287 +0,0 @@ |
360 |
-# Copyright 1999-2021 Gentoo Authors |
361 |
-# Distributed under the terms of the GNU General Public License v2 |
362 |
- |
363 |
-EAPI=7 |
364 |
- |
365 |
-GENTOO_DEPEND_ON_PERL=no |
366 |
-PYTHON_COMPAT=( python3_{8..9} ) |
367 |
- |
368 |
-inherit autotools gnome2-utils flag-o-matic toolchain-funcs multilib perl-module python-single-r1 xdg |
369 |
- |
370 |
-DESCRIPTION="GTK Instant Messenger client" |
371 |
-HOMEPAGE="https://pidgin.im/" |
372 |
-SRC_URI=" |
373 |
- mirror://sourceforge/${PN}/${P}.tar.bz2 |
374 |
- https://gist.githubusercontent.com/imcleod/77f38d11af11b2413ada/raw/46e9d6cb4d2f839832dad2d697bb141a88028e04/pidgin-irc-join-sleep.patch -> ${PN}-2.10.9-irc_join_sleep.patch" |
375 |
- |
376 |
-LICENSE="GPL-2" |
377 |
-SLOT="0/2" # libpurple version |
378 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" |
379 |
-IUSE="aqua dbus debug doc eds gadu gnutls groupwise +gstreamer +gtk idn |
380 |
-meanwhile ncurses networkmanager nls perl pie prediction python sasl spell tcl |
381 |
-tk +xscreensaver zephyr zeroconf" |
382 |
- |
383 |
-# dbus requires python to generate C code for dbus bindings (thus DEPEND only). |
384 |
-# finch uses libgnt that links with libpython - {R,}DEPEND. But still there is |
385 |
-# no way to build dbus and avoid libgnt linkage with python. If you want this |
386 |
-# send patch upstream. |
387 |
-# purple-url-handler and purple-remote require dbus-python thus in reality we |
388 |
-# rdepend on python if dbus enabled. But it is possible to separate this dep. |
389 |
-RDEPEND=" |
390 |
- >=dev-libs/glib-2.16 |
391 |
- >=dev-libs/libxml2-2.6.18 |
392 |
- ncurses? ( |
393 |
- >=dev-libs/libgnt-$(ver_cut 1-2) |
394 |
- sys-libs/ncurses:=[unicode(+)] |
395 |
- dbus? ( ${PYTHON_DEPS} ) |
396 |
- python? ( ${PYTHON_DEPS} ) |
397 |
- ) |
398 |
- gtk? ( |
399 |
- >=x11-libs/gtk+-2.10:2[aqua=] |
400 |
- x11-libs/libSM |
401 |
- >=x11-libs/pango-1.4.0 |
402 |
- xscreensaver? ( x11-libs/libXScrnSaver ) |
403 |
- spell? ( >=app-text/gtkspell-2.0.2:2 ) |
404 |
- eds? ( >=gnome-extra/evolution-data-server-3.6:= ) |
405 |
- prediction? ( >=dev-db/sqlite-3.3:3 ) |
406 |
- ) |
407 |
- gstreamer? ( |
408 |
- media-libs/gstreamer:1.0 |
409 |
- media-libs/gst-plugins-base:1.0 |
410 |
- >=net-libs/farstream-0.2.7:0.2 |
411 |
- ) |
412 |
- zeroconf? ( net-dns/avahi[dbus] ) |
413 |
- dbus? ( |
414 |
- >=dev-libs/dbus-glib-0.71 |
415 |
- >=sys-apps/dbus-0.90 |
416 |
- $(python_gen_cond_dep ' |
417 |
- dev-python/dbus-python[${PYTHON_USEDEP}] |
418 |
- ') |
419 |
- ) |
420 |
- perl? ( >=dev-lang/perl-5.16:= ) |
421 |
- gadu? ( >=net-libs/libgadu-1.11.0 ) |
422 |
- gnutls? ( net-libs/gnutls:= ) |
423 |
- !gnutls? ( |
424 |
- dev-libs/nspr |
425 |
- dev-libs/nss |
426 |
- ) |
427 |
- meanwhile? ( net-libs/meanwhile ) |
428 |
- tcl? ( dev-lang/tcl:0= ) |
429 |
- tk? ( dev-lang/tk:0= ) |
430 |
- sasl? ( dev-libs/cyrus-sasl:2 ) |
431 |
- networkmanager? ( net-misc/networkmanager ) |
432 |
- idn? ( net-dns/libidn:= ) |
433 |
-" |
434 |
- |
435 |
-# We want nls in case gtk is enabled, bug # |
436 |
-NLS_DEPEND=">=dev-util/intltool-0.41.1 sys-devel/gettext" |
437 |
- |
438 |
-DEPEND="${RDEPEND} |
439 |
- gtk? ( |
440 |
- x11-base/xorg-proto |
441 |
- ${NLS_DEPEND} |
442 |
- ) |
443 |
- dbus? ( ${PYTHON_DEPS} ) |
444 |
-" |
445 |
-BDEPEND=" |
446 |
- dev-lang/perl |
447 |
- dev-perl/XML-Parser |
448 |
- virtual/pkgconfig |
449 |
- doc? ( app-doc/doxygen ) |
450 |
- !gtk? ( nls? ( ${NLS_DEPEND} ) ) |
451 |
-" |
452 |
- |
453 |
-DOCS=( AUTHORS HACKING NEWS README ChangeLog ) |
454 |
- |
455 |
-REQUIRED_USE=" |
456 |
- dbus? ( ${PYTHON_REQUIRED_USE} ) |
457 |
- networkmanager? ( dbus ) |
458 |
- python? ( ${PYTHON_REQUIRED_USE} ) |
459 |
-" |
460 |
- |
461 |
-# Enable Default protocols |
462 |
-DYNAMIC_PRPLS="irc,jabber,simple" |
463 |
- |
464 |
-# List of plugins |
465 |
-# app-accessibility/pidgin-festival |
466 |
-# net-im/librvp |
467 |
-# x11-plugins/guifications |
468 |
-# x11-plugins/msn-pecan |
469 |
-# x11-plugins/pidgin-encryption |
470 |
-# x11-plugins/pidgin-extprefs |
471 |
-# x11-plugins/pidgin-hotkeys |
472 |
-# x11-plugins/pidgintex |
473 |
-# x11-plugins/pidgin-libnotify |
474 |
-# x11-plugins/pidgin-mbpurple |
475 |
-# x11-plugins/pidgin-bot-sentry |
476 |
-# x11-plugins/pidgin-otr |
477 |
-# x11-plugins/pidgin-rhythmbox |
478 |
-# x11-plugins/purple-plugin_pack |
479 |
-# x11-themes/pidgin-smileys |
480 |
-# x11-plugins/pidgin-knotify |
481 |
-# Plugins in Sunrise: |
482 |
-# x11-plugins/pidgin-audacious-remote |
483 |
-# x11-plugins/pidgin-autoanswer |
484 |
-# x11-plugins/pidgin-birthday-reminder |
485 |
-# x11-plugins/pidgin-blinklight |
486 |
-# x11-plugins/pidgin-convreverse |
487 |
-# x11-plugins/pidgin-embeddedvideo |
488 |
-# x11-plugins/pidgin-extended-blist-sort |
489 |
-# x11-plugins/pidgin-gfire |
490 |
-# x11-plugins/pidgin-lastfm |
491 |
-# x11-plugins/pidgin-sendscreenshot |
492 |
-# x11-plugins/pidgimpd |
493 |
- |
494 |
-PATCHES=( |
495 |
- "${DISTDIR}/${PN}-2.10.9-irc_join_sleep.patch" # 577286 |
496 |
-) |
497 |
- |
498 |
-pkg_pretend() { |
499 |
- if ! use gtk && ! use ncurses ; then |
500 |
- elog "You did not pick the ncurses or gtk use flags, only libpurple" |
501 |
- elog "will be built." |
502 |
- fi |
503 |
- |
504 |
- # dbus is enabled, no way to disable linkage with python => python is enabled |
505 |
- #REQUIRED_USE="gtk? ( nls ) dbus? ( python )" |
506 |
- if use gtk && ! use nls ; then |
507 |
- ewarn "gtk build => nls is enabled!" |
508 |
- fi |
509 |
- if use dbus && ! use python ; then |
510 |
- elog "dbus is enabled, no way to disable linkage with python => python is enabled" |
511 |
- fi |
512 |
-} |
513 |
- |
514 |
-pkg_setup() { |
515 |
- if use python || use dbus ; then |
516 |
- python-single-r1_pkg_setup |
517 |
- fi |
518 |
-} |
519 |
- |
520 |
-src_prepare() { |
521 |
- xdg_src_prepare |
522 |
- eautoreconf |
523 |
-} |
524 |
- |
525 |
-src_configure() { |
526 |
- # Stabilize things, for your own good |
527 |
- strip-flags |
528 |
- replace-flags -O? -O2 |
529 |
- use pie && append-cflags -fPIE -pie |
530 |
- |
531 |
- use gadu && DYNAMIC_PRPLS+=",gg" |
532 |
- use groupwise && DYNAMIC_PRPLS+=",novell" |
533 |
- use meanwhile && DYNAMIC_PRPLS+=",sametime" |
534 |
- use zephyr && DYNAMIC_PRPLS+=",zephyr" |
535 |
- use zeroconf && DYNAMIC_PRPLS+=",bonjour" |
536 |
- |
537 |
- local myconf=( |
538 |
- --disable-mono |
539 |
- --disable-static |
540 |
- --with-dynamic-prpls="${DYNAMIC_PRPLS}" |
541 |
- --with-system-ssl-certs="${EPREFIX}/etc/ssl/certs/" |
542 |
- --x-includes="${EPREFIX}"/usr/include/X11 |
543 |
- $(use_enable ncurses consoleui) |
544 |
- $(use_enable gtk gtkui) |
545 |
- $(use_enable gtk sm) |
546 |
- $(usex gtk '--enable-nls' "$(use_enable nls)") |
547 |
- $(use gtk && use_enable xscreensaver screensaver) |
548 |
- $(use gtk && use_enable prediction cap) |
549 |
- $(use gtk && use_enable eds gevolution) |
550 |
- $(use gtk && use_enable spell gtkspell) |
551 |
- $(use_enable perl) |
552 |
- $(use_enable tk) |
553 |
- $(use_enable tcl) |
554 |
- $(use_enable debug) |
555 |
- $(use_enable dbus) |
556 |
- $(use_enable meanwhile) |
557 |
- $(use_enable gstreamer) |
558 |
- $(use_with gstreamer gstreamer 1.0) |
559 |
- $(use_enable gstreamer farstream) |
560 |
- $(use_enable gstreamer vv) |
561 |
- $(use_enable sasl cyrus-sasl ) |
562 |
- $(use_enable doc doxygen) |
563 |
- $(use_enable networkmanager nm) |
564 |
- $(use_enable zeroconf avahi) |
565 |
- $(use_enable idn) |
566 |
- ) |
567 |
- |
568 |
- if use gnutls; then |
569 |
- einfo "Disabling NSS, using GnuTLS" |
570 |
- myconf+=( |
571 |
- --enable-nss=no |
572 |
- --enable-gnutls=yes |
573 |
- --with-gnutls-includes="${EPREFIX}/usr/include/gnutls" |
574 |
- --with-gnutls-libs="${EPREFIX}/usr/$(get_libdir)" |
575 |
- ) |
576 |
- else |
577 |
- einfo "Disabling GnuTLS, using NSS" |
578 |
- myconf+=( |
579 |
- --enable-gnutls=no |
580 |
- --enable-nss=yes |
581 |
- ) |
582 |
- fi |
583 |
- |
584 |
- if use dbus || { use ncurses && use python ; } ; then |
585 |
- myconf+=( --with-python3=${PYTHON} ) |
586 |
- else |
587 |
- myconf+=( --without-python3 ) |
588 |
- fi |
589 |
- |
590 |
- econf "${myconf[@]}" |
591 |
-} |
592 |
- |
593 |
-src_install() { |
594 |
- # setting this here because gnome2.eclass is not EAPI-7 ready |
595 |
- export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1" |
596 |
- default |
597 |
- |
598 |
- if use gtk ; then |
599 |
- # Fix tray paths for e16 (x11-wm/enlightenment) and other |
600 |
- # implementations that are not compliant with new hicolor theme yet, #323355 |
601 |
- local d f pixmapdir |
602 |
- for d in 16 22 32 48 ; do |
603 |
- pixmapdir="${ED}/usr/share/pixmaps/pidgin/tray/hicolor/${d}x${d}/actions" |
604 |
- mkdir "${pixmapdir}" || die |
605 |
- pushd "${pixmapdir}" >/dev/null || die |
606 |
- for f in ../status/*; do |
607 |
- ln -s ${f} || die |
608 |
- done |
609 |
- popd >/dev/null || die |
610 |
- done |
611 |
- fi |
612 |
- use perl && perl_delete_localpod |
613 |
- |
614 |
- use dbus && python_fix_shebang "${ED}" |
615 |
- if use python || use dbus ; then |
616 |
- python_optimize |
617 |
- fi |
618 |
- |
619 |
- dodoc ${DOCS[@]} finch/plugins/pietray.py |
620 |
- docompress -x /usr/share/doc/${PF}/pietray.py |
621 |
- |
622 |
- find "${ED}" -type f -name "*.la" -delete || die |
623 |
-} |
624 |
- |
625 |
-src_test() { |
626 |
- # make default build logs slightly more useful |
627 |
- local -x GST_PLUGIN_SYSTEM_PATH_1_0= |
628 |
- emake check VERBOSE=1 |
629 |
-} |
630 |
- |
631 |
-pkg_preinst() { |
632 |
- gnome2_gconf_savelist |
633 |
- xdg_pkg_preinst |
634 |
-} |
635 |
- |
636 |
-pkg_postinst() { |
637 |
- gnome2_gconf_install |
638 |
- gnome2_schemas_update |
639 |
- xdg_pkg_postinst |
640 |
-} |
641 |
- |
642 |
-pkg_postrm() { |
643 |
- gnome2_gconf_uninstall |
644 |
- gnome2_schemas_update |
645 |
- xdg_pkg_postrm |
646 |
-} |