1 |
commit: f36a3f79148385f014810c55a8a5a0f2eb0f1e83 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jul 29 11:34:59 2016 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 29 12:18:01 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f36a3f79 |
7 |
|
8 |
net-im/pidgin: Fixed python_fix_shebang call (bug #578102). |
9 |
|
10 |
Thanks to wizardedit for tracking down and providing a fix. |
11 |
Removed old ebuilds. |
12 |
|
13 |
Package-Manager: portage-2.3.0 |
14 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
15 |
|
16 |
net-im/pidgin/Manifest | 2 - |
17 |
net-im/pidgin/pidgin-2.10.11.ebuild | 248 ------------------------------- |
18 |
net-im/pidgin/pidgin-2.10.12-r2.ebuild | 258 --------------------------------- |
19 |
net-im/pidgin/pidgin-2.11.0.ebuild | 2 +- |
20 |
4 files changed, 1 insertion(+), 509 deletions(-) |
21 |
|
22 |
diff --git a/net-im/pidgin/Manifest b/net-im/pidgin/Manifest |
23 |
index 5467f61..077e205 100644 |
24 |
--- a/net-im/pidgin/Manifest |
25 |
+++ b/net-im/pidgin/Manifest |
26 |
@@ -1,5 +1,3 @@ |
27 |
-DIST pidgin-2.10.11.tar.bz2 9458050 SHA256 f2ae211341fc77efb9945d40e9932aa535cdf3a6c8993fe7919fca8cc1c04007 SHA512 774710ab087cb56e349dc1d5e45dbfcbe06b9a8f792abe5d201b0860620d502009f31563cfe5316f4c815345427b6c273b8f9694deb600848957c825fd967029 WHIRLPOOL 24f31ee6ce40e69f644d55f2135644172e8314a64080384eb901ae2b7aba631fbde98cab6cb798f10dd870ecd96374b451cb3ad11d567dc48dcb25f5cf499223 |
28 |
-DIST pidgin-2.10.12.tar.bz2 9837598 SHA256 2c7523f0fefe89749c03b2b738ab9f7bd186da435be4762f1487eee31e77ffdd SHA512 4756bed3ae78b48bfeaa586def3c7a0014db76ce14ae8c6773c96bdca24b65e92b2805270af43960e2a11a600aeac35e030faa3f79dbe3301084ca9d970a5f03 WHIRLPOOL 52f16cdd76b1aa3e76a877136070e3c4875827df621757d35656eb79e7d9921635f9373d33f9bc87275200e91c25a2763b4a64d90953322fd82d03860ce6a0da |
29 |
DIST pidgin-2.10.9-irc_join_sleep.patch 534 SHA256 ee061505d04c994a36ea1d5eef346b7cbb2512afafa4985a678205ea69d87857 SHA512 8de0d6f05e48cd5a3e894576e06c7fb82e4bfc778cce8bb179fa22e2a05f5c2390a0e4c5b626ee4b910a18eab170d8f4be200f435ce408a86575af99e51e3bdf WHIRLPOOL 7aa9aa9e5ee7d97445da2c330329c6bfd4ad21347f43220e8377b7ec40eb5eac417be08cddfcdd48c7f847aac00a0f9ab39d0add09f1bee519f96f7586bdf5c9 |
30 |
DIST pidgin-2.11.0.tar.bz2 10037480 SHA256 f72613440586da3bdba6d58e718dce1b2c310adf8946de66d8077823e57b3333 SHA512 d6a9bb8075b475e5204d730075b432ca0f1cb91b6337f98e506587132581e6928a826b47e0b94fb9eaedc79c5be0a8237c4671fc26dba97dedad1adb74c9abfa WHIRLPOOL e7f91d92bece8611986c35f17d3d263a197f8c7cf71d514d1f409fbe31fd57cf8a1beabab3d028a0882a79a115ae021b2e64dd2c6b3ec6c29a783a3df28af948 |
31 |
DIST pidgin-eds-3.6.patch.bz2 2352 SHA256 321185dd5f44e502f671b17e84fa1ca2e08a3f7c79ed211c0bb92710700bcc41 SHA512 a0195679ab55ed9c7ea18ace6dbf0fc994698f1f4eea9d8335dfdcdcd6a68975c0191bd22f150bf5a9a0a691ce7e9e73d79598e1e8be541efa1d9824a633d877 WHIRLPOOL 5c1d3e933bdfa4b1f20f98dbf8b5c1669eb857b9db60dacae488fa04331300618df2f1265e4fb2e58ed31b24229df0edb8c30970d8172fd65ca7fa03bc0e3805 |
32 |
|
33 |
diff --git a/net-im/pidgin/pidgin-2.10.11.ebuild b/net-im/pidgin/pidgin-2.10.11.ebuild |
34 |
deleted file mode 100644 |
35 |
index dedabe1..0000000 |
36 |
--- a/net-im/pidgin/pidgin-2.10.11.ebuild |
37 |
+++ /dev/null |
38 |
@@ -1,248 +0,0 @@ |
39 |
-# Copyright 1999-2015 Gentoo Foundation |
40 |
-# Distributed under the terms of the GNU General Public License v2 |
41 |
-# $Id$ |
42 |
- |
43 |
-EAPI=5 |
44 |
- |
45 |
-GENTOO_DEPEND_ON_PERL=no |
46 |
-PYTHON_COMPAT=( python2_7 python3_{3,4} ) |
47 |
- |
48 |
-inherit autotools flag-o-matic eutils toolchain-funcs multilib perl-app gnome2 python-single-r1 |
49 |
- |
50 |
-DESCRIPTION="GTK Instant Messenger client" |
51 |
-HOMEPAGE="http://pidgin.im/" |
52 |
-SRC_URI=" |
53 |
- mirror://sourceforge/${PN}/${P}.tar.bz2 |
54 |
- https://dev.gentoo.org/~polynomial-c/${PN}-eds-3.6.patch.bz2" |
55 |
- |
56 |
-LICENSE="GPL-2" |
57 |
-SLOT="0" |
58 |
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos" |
59 |
-IUSE="dbus debug doc eds gadu gnutls +gstreamer +gtk idn meanwhile mxit" |
60 |
-IUSE+=" networkmanager nls perl silc tcl tk spell sasl ncurses" |
61 |
-IUSE+=" groupwise prediction python +xscreensaver zephyr zeroconf" # mono" |
62 |
-IUSE+=" aqua" |
63 |
- |
64 |
-# dbus requires python to generate C code for dbus bindings (thus DEPEND only). |
65 |
-# finch uses libgnt that links with libpython - {R,}DEPEND. But still there is |
66 |
-# no way to build dbus and avoid libgnt linkage with python. If you want this |
67 |
-# send patch upstream. |
68 |
-# purple-url-handler and purple-remote require dbus-python thus in reality we |
69 |
-# rdepend on python if dbus enabled. But it is possible to separate this dep. |
70 |
-RDEPEND=" |
71 |
- >=dev-libs/glib-2.16 |
72 |
- >=dev-libs/libxml2-2.6.18 |
73 |
- ncurses? ( sys-libs/ncurses[unicode] |
74 |
- dbus? ( ${PYTHON_DEPS} ) |
75 |
- python? ( ${PYTHON_DEPS} ) ) |
76 |
- gtk? ( |
77 |
- >=x11-libs/gtk+-2.10:2[aqua=] |
78 |
- x11-libs/libSM |
79 |
- xscreensaver? ( x11-libs/libXScrnSaver ) |
80 |
- spell? ( >=app-text/gtkspell-2.0.2:2 ) |
81 |
- eds? ( >=gnome-extra/evolution-data-server-3.6:= ) |
82 |
- prediction? ( >=dev-db/sqlite-3.3:3 ) ) |
83 |
- gstreamer? ( =media-libs/gstreamer-0.10* |
84 |
- =media-libs/gst-plugins-good-0.10* |
85 |
- net-libs/farstream:0.1 |
86 |
- media-plugins/gst-plugins-meta:0.10 |
87 |
- media-plugins/gst-plugins-gconf:0.10 ) |
88 |
- zeroconf? ( net-dns/avahi[dbus] ) |
89 |
- dbus? ( >=dev-libs/dbus-glib-0.71 |
90 |
- >=sys-apps/dbus-0.90 |
91 |
- dev-python/dbus-python ) |
92 |
- perl? ( >=dev-lang/perl-5.16:= ) |
93 |
- gadu? ( || ( >=net-libs/libgadu-1.11.0[ssl,gnutls] |
94 |
- >=net-libs/libgadu-1.11.0[-ssl] ) ) |
95 |
- gnutls? ( net-libs/gnutls ) |
96 |
- !gnutls? ( >=dev-libs/nss-3.15.4 ) |
97 |
- meanwhile? ( net-libs/meanwhile ) |
98 |
- silc? ( >=net-im/silc-toolkit-1.0.1 ) |
99 |
- tcl? ( dev-lang/tcl:0= ) |
100 |
- tk? ( dev-lang/tk:0= ) |
101 |
- sasl? ( dev-libs/cyrus-sasl:2 ) |
102 |
- networkmanager? ( net-misc/networkmanager ) |
103 |
- idn? ( net-dns/libidn ) |
104 |
- !<x11-plugins/pidgin-facebookchat-1.69-r1" |
105 |
- # Mono support crashes pidgin |
106 |
- #mono? ( dev-lang/mono )" |
107 |
- |
108 |
-# We want nls in case gtk is enabled, bug # |
109 |
-NLS_DEPEND=">=dev-util/intltool-0.41.1 sys-devel/gettext" |
110 |
- |
111 |
-DEPEND="$RDEPEND |
112 |
- dev-lang/perl |
113 |
- dev-perl/XML-Parser |
114 |
- virtual/pkgconfig |
115 |
- gtk? ( x11-proto/scrnsaverproto |
116 |
- ${NLS_DEPEND} ) |
117 |
- dbus? ( ${PYTHON_DEPS} ) |
118 |
- doc? ( app-doc/doxygen ) |
119 |
- !gtk? ( nls? ( ${NLS_DEPEND} ) )" |
120 |
- |
121 |
-DOCS="AUTHORS HACKING NEWS README ChangeLog" |
122 |
- |
123 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) |
124 |
- dbus? ( ${PYTHON_REQUIRED_USE} )" |
125 |
- |
126 |
-# Enable Default protocols |
127 |
-DYNAMIC_PRPLS="irc,jabber,oscar,yahoo,simple,msn,myspace" |
128 |
- |
129 |
-# List of plugins |
130 |
-# app-accessibility/pidgin-festival |
131 |
-# net-im/librvp |
132 |
-# x11-plugins/guifications |
133 |
-# x11-plugins/msn-pecan |
134 |
-# x11-plugins/pidgin-encryption |
135 |
-# x11-plugins/pidgin-extprefs |
136 |
-# x11-plugins/pidgin-hotkeys |
137 |
-# x11-plugins/pidgin-latex |
138 |
-# x11-plugins/pidgintex |
139 |
-# x11-plugins/pidgin-libnotify |
140 |
-# x11-plugins/pidgin-mbpurple |
141 |
-# x11-plugins/pidgin-bot-sentry |
142 |
-# x11-plugins/pidgin-otr |
143 |
-# x11-plugins/pidgin-rhythmbox |
144 |
-# x11-plugins/purple-plugin_pack |
145 |
-# x11-themes/pidgin-smileys |
146 |
-# x11-plugins/pidgin-knotify |
147 |
-# Plugins in Sunrise: |
148 |
-# x11-plugins/pidgin-audacious-remote |
149 |
-# x11-plugins/pidgin-autoanswer |
150 |
-# x11-plugins/pidgin-birthday-reminder |
151 |
-# x11-plugins/pidgin-blinklight |
152 |
-# x11-plugins/pidgin-convreverse |
153 |
-# x11-plugins/pidgin-embeddedvideo |
154 |
-# x11-plugins/pidgin-extended-blist-sort |
155 |
-# x11-plugins/pidgin-gfire |
156 |
-# x11-plugins/pidgin-lastfm |
157 |
-# x11-plugins/pidgin-sendscreenshot |
158 |
-# x11-plugins/pidgimpd |
159 |
- |
160 |
-pkg_setup() { |
161 |
- if ! use gtk && ! use ncurses ; then |
162 |
- elog "You did not pick the ncurses or gtk use flags, only libpurple" |
163 |
- elog "will be built." |
164 |
- fi |
165 |
- if use python || use dbus ; then |
166 |
- python-single-r1_pkg_setup |
167 |
- fi |
168 |
- |
169 |
- # dbus is enabled, no way to disable linkage with python => python is enabled |
170 |
- #REQUIRED_USE="gtk? ( nls ) dbus? ( python )" |
171 |
- if use gtk && ! use nls; then |
172 |
- ewarn "gtk build => nls is enabled!" |
173 |
- fi |
174 |
- if use dbus && ! use python; then |
175 |
- elog "dbus is enabled, no way to disable linkage with python => python is enabled" |
176 |
- fi |
177 |
-} |
178 |
- |
179 |
-src_prepare() { |
180 |
- epatch \ |
181 |
- "${FILESDIR}"/${PN}-2.10.0-gold.patch \ |
182 |
- "${WORKDIR}"/${PN}-eds-3.6.patch \ |
183 |
- "${FILESDIR}"/${PN}-2.10.9-fix-gtkmedia.patch \ |
184 |
- "${FILESDIR}"/${PN}-2.10.10-eds-3.6-configure.ac.patch \ |
185 |
- "${FILESDIR}"/${P}-tinfo.patch |
186 |
- epatch_user |
187 |
- |
188 |
- eautoreconf |
189 |
-} |
190 |
- |
191 |
-src_configure() { |
192 |
- # Stabilize things, for your own good |
193 |
- strip-flags |
194 |
- replace-flags -O? -O2 |
195 |
- |
196 |
- local myconf |
197 |
- |
198 |
- if use gadu; then |
199 |
- DYNAMIC_PRPLS="${DYNAMIC_PRPLS},gg" |
200 |
- myconf="${myconf} --with-gadu-includes=." |
201 |
- myconf="${myconf} --with-gadu-libs=." |
202 |
- fi |
203 |
- |
204 |
- use groupwise && DYNAMIC_PRPLS+=",novell" |
205 |
- use silc && DYNAMIC_PRPLS+=",silc" |
206 |
- use meanwhile && DYNAMIC_PRPLS+=",sametime" |
207 |
- use mxit && DYNAMIC_PRPLS+=",mxit" |
208 |
- use zephyr && DYNAMIC_PRPLS+=",zephyr" |
209 |
- use zeroconf && DYNAMIC_PRPLS+=",bonjour" |
210 |
- |
211 |
- if use gnutls; then |
212 |
- einfo "Disabling NSS, using GnuTLS" |
213 |
- myconf+=" --enable-nss=no --enable-gnutls=yes" |
214 |
- myconf+=" --with-gnutls-includes=${EPREFIX}/usr/include/gnutls" |
215 |
- myconf+=" --with-gnutls-libs=${EPREFIX}/usr/$(get_libdir)" |
216 |
- else |
217 |
- einfo "Disabling GnuTLS, using NSS" |
218 |
- myconf+=" --enable-gnutls=no --enable-nss=yes" |
219 |
- fi |
220 |
- |
221 |
- if use dbus || { use ncurses && use python; }; then |
222 |
- myconf+=" --with-python=${PYTHON}" |
223 |
- else |
224 |
- myconf+=" --without-python" |
225 |
- fi |
226 |
- |
227 |
- econf \ |
228 |
- $(use_enable ncurses consoleui) \ |
229 |
- $(use_enable gtk gtkui) \ |
230 |
- $(use_enable gtk sm) \ |
231 |
- $(use gtk || use_enable nls) \ |
232 |
- $(use gtk && echo "--enable-nls") \ |
233 |
- $(use gtk && use_enable xscreensaver screensaver) \ |
234 |
- $(use gtk && use_enable prediction cap) \ |
235 |
- $(use gtk && use_enable eds gevolution) \ |
236 |
- $(use gtk && use_enable spell gtkspell) \ |
237 |
- $(use_enable perl) \ |
238 |
- $(use_enable tk) \ |
239 |
- $(use_enable tcl) \ |
240 |
- $(use_enable debug) \ |
241 |
- $(use_enable dbus) \ |
242 |
- $(use_enable meanwhile) \ |
243 |
- $(use_enable gstreamer) \ |
244 |
- $(use_enable gstreamer farstream) \ |
245 |
- $(use_enable gstreamer vv) \ |
246 |
- $(use_enable sasl cyrus-sasl ) \ |
247 |
- $(use_enable doc doxygen) \ |
248 |
- $(use_enable networkmanager nm) \ |
249 |
- $(use_enable zeroconf avahi) \ |
250 |
- $(use_enable idn) \ |
251 |
- --with-system-ssl-certs="${EPREFIX}/etc/ssl/certs/" \ |
252 |
- --with-dynamic-prpls="${DYNAMIC_PRPLS}" \ |
253 |
- --disable-mono \ |
254 |
- --x-includes="${EPREFIX}"/usr/include/X11 \ |
255 |
- ${myconf} |
256 |
- #$(use_enable mono) \ |
257 |
-} |
258 |
- |
259 |
-src_install() { |
260 |
- gnome2_src_install |
261 |
- if use gtk; then |
262 |
- # Fix tray pathes for kde-3.5, e16 (x11-wm/enlightenment) and other |
263 |
- # implementations that are not complient with new hicolor theme yet, #323355 |
264 |
- local pixmapdir |
265 |
- for d in 16 22 32 48; do |
266 |
- pixmapdir=${ED}/usr/share/pixmaps/pidgin/tray/hicolor/${d}x${d}/actions |
267 |
- mkdir "${pixmapdir}" || die |
268 |
- pushd "${pixmapdir}" >/dev/null || die |
269 |
- for f in ../status/*; do |
270 |
- ln -s ${f} || die |
271 |
- done |
272 |
- popd >/dev/null |
273 |
- done |
274 |
- fi |
275 |
- use perl && perl_delete_localpod |
276 |
- |
277 |
- if use python || use dbus ; then |
278 |
- python_fix_shebang "${D}" |
279 |
- python_optimize |
280 |
- fi |
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 |
diff --git a/net-im/pidgin/pidgin-2.10.12-r2.ebuild b/net-im/pidgin/pidgin-2.10.12-r2.ebuild |
289 |
deleted file mode 100644 |
290 |
index aa8dcdc..0000000 |
291 |
--- a/net-im/pidgin/pidgin-2.10.12-r2.ebuild |
292 |
+++ /dev/null |
293 |
@@ -1,258 +0,0 @@ |
294 |
-# Copyright 1999-2016 Gentoo Foundation |
295 |
-# Distributed under the terms of the GNU General Public License v2 |
296 |
-# $Id$ |
297 |
- |
298 |
-EAPI=6 |
299 |
- |
300 |
-GENTOO_DEPEND_ON_PERL=no |
301 |
-PYTHON_COMPAT=( python2_7 python3_{3,4} ) |
302 |
- |
303 |
-inherit autotools flag-o-matic eutils toolchain-funcs multilib perl-module python-single-r1 |
304 |
- |
305 |
-DESCRIPTION="GTK Instant Messenger client" |
306 |
-HOMEPAGE="http://pidgin.im/" |
307 |
-SRC_URI=" |
308 |
- mirror://sourceforge/${PN}/${P}.tar.bz2 |
309 |
- https://dev.gentoo.org/~polynomial-c/${PN}-eds-3.6.patch.bz2 |
310 |
- https://gist.githubusercontent.com/imcleod/77f38d11af11b2413ada/raw/46e9d6cb4d2f839832dad2d697bb141a88028e04/pidgin-irc-join-sleep.patch -> ${PN}-2.10.9-irc_join_sleep.patch" |
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 pie" |
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:0=[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:1.0 |
340 |
- media-libs/gst-plugins-base:1.0 |
341 |
- >=net-libs/farstream-0.2.7:0.2 ) |
342 |
- zeroconf? ( net-dns/avahi[dbus] ) |
343 |
- dbus? ( >=dev-libs/dbus-glib-0.71 |
344 |
- >=sys-apps/dbus-0.90 |
345 |
- dev-python/dbus-python ) |
346 |
- perl? ( >=dev-lang/perl-5.16:= ) |
347 |
- gadu? ( || ( >=net-libs/libgadu-1.11.0[ssl,gnutls] |
348 |
- >=net-libs/libgadu-1.11.0[-ssl] ) ) |
349 |
- gnutls? ( net-libs/gnutls ) |
350 |
- !gnutls? ( |
351 |
- dev-libs/nspr |
352 |
- dev-libs/nss |
353 |
- ) |
354 |
- meanwhile? ( net-libs/meanwhile ) |
355 |
- silc? ( >=net-im/silc-toolkit-1.0.1 ) |
356 |
- tcl? ( dev-lang/tcl:0= ) |
357 |
- tk? ( dev-lang/tk:0= ) |
358 |
- sasl? ( dev-libs/cyrus-sasl:2 ) |
359 |
- networkmanager? ( net-misc/networkmanager ) |
360 |
- idn? ( net-dns/libidn ) |
361 |
- !<x11-plugins/pidgin-facebookchat-1.69-r1" |
362 |
- # Mono support crashes pidgin |
363 |
- #mono? ( dev-lang/mono )" |
364 |
- |
365 |
-# We want nls in case gtk is enabled, bug # |
366 |
-NLS_DEPEND=">=dev-util/intltool-0.41.1 sys-devel/gettext" |
367 |
- |
368 |
-DEPEND="$RDEPEND |
369 |
- dev-lang/perl |
370 |
- dev-perl/XML-Parser |
371 |
- virtual/pkgconfig |
372 |
- gtk? ( x11-proto/scrnsaverproto |
373 |
- ${NLS_DEPEND} ) |
374 |
- dbus? ( ${PYTHON_DEPS} ) |
375 |
- doc? ( app-doc/doxygen ) |
376 |
- !gtk? ( nls? ( ${NLS_DEPEND} ) )" |
377 |
- |
378 |
-DOCS="AUTHORS HACKING NEWS README ChangeLog" |
379 |
- |
380 |
-REQUIRED_USE="dbus? ( ${PYTHON_REQUIRED_USE} ) |
381 |
- networkmanager? ( dbus ) |
382 |
- python? ( ${PYTHON_REQUIRED_USE} )" |
383 |
- |
384 |
-# Enable Default protocols |
385 |
-DYNAMIC_PRPLS="irc,jabber,oscar,yahoo,simple,msn,myspace" |
386 |
- |
387 |
-# List of plugins |
388 |
-# app-accessibility/pidgin-festival |
389 |
-# net-im/librvp |
390 |
-# x11-plugins/guifications |
391 |
-# x11-plugins/msn-pecan |
392 |
-# x11-plugins/pidgin-encryption |
393 |
-# x11-plugins/pidgin-extprefs |
394 |
-# x11-plugins/pidgin-hotkeys |
395 |
-# x11-plugins/pidgin-latex |
396 |
-# x11-plugins/pidgintex |
397 |
-# x11-plugins/pidgin-libnotify |
398 |
-# x11-plugins/pidgin-mbpurple |
399 |
-# x11-plugins/pidgin-bot-sentry |
400 |
-# x11-plugins/pidgin-otr |
401 |
-# x11-plugins/pidgin-rhythmbox |
402 |
-# x11-plugins/purple-plugin_pack |
403 |
-# x11-themes/pidgin-smileys |
404 |
-# x11-plugins/pidgin-knotify |
405 |
-# Plugins in Sunrise: |
406 |
-# x11-plugins/pidgin-audacious-remote |
407 |
-# x11-plugins/pidgin-autoanswer |
408 |
-# x11-plugins/pidgin-birthday-reminder |
409 |
-# x11-plugins/pidgin-blinklight |
410 |
-# x11-plugins/pidgin-convreverse |
411 |
-# x11-plugins/pidgin-embeddedvideo |
412 |
-# x11-plugins/pidgin-extended-blist-sort |
413 |
-# x11-plugins/pidgin-gfire |
414 |
-# x11-plugins/pidgin-lastfm |
415 |
-# x11-plugins/pidgin-sendscreenshot |
416 |
-# x11-plugins/pidgimpd |
417 |
- |
418 |
-PATCHES=( |
419 |
- "${FILESDIR}/${PN}-2.10.0-gold.patch" |
420 |
- "${WORKDIR}/${PN}-eds-3.6.patch" |
421 |
- "${FILESDIR}/${PN}-2.10.9-fix-gtkmedia.patch" |
422 |
- "${FILESDIR}/${PN}-2.10.10-eds-3.6-configure.ac.patch" |
423 |
- "${FILESDIR}/${PN}-2.10.11-tinfo.patch" |
424 |
- "${DISTDIR}/${PN}-2.10.9-irc_join_sleep.patch" # 577286 |
425 |
-) |
426 |
- |
427 |
-pkg_setup() { |
428 |
- if ! use gtk && ! use ncurses ; then |
429 |
- elog "You did not pick the ncurses or gtk use flags, only libpurple" |
430 |
- elog "will be built." |
431 |
- fi |
432 |
- if use python || use dbus ; then |
433 |
- python-single-r1_pkg_setup |
434 |
- fi |
435 |
- |
436 |
- # dbus is enabled, no way to disable linkage with python => python is enabled |
437 |
- #REQUIRED_USE="gtk? ( nls ) dbus? ( python )" |
438 |
- if use gtk && ! use nls; then |
439 |
- ewarn "gtk build => nls is enabled!" |
440 |
- fi |
441 |
- if use dbus && ! use python; then |
442 |
- elog "dbus is enabled, no way to disable linkage with python => python is enabled" |
443 |
- fi |
444 |
-} |
445 |
- |
446 |
-src_prepare() { |
447 |
- default |
448 |
- |
449 |
- eautoreconf |
450 |
-} |
451 |
- |
452 |
-src_configure() { |
453 |
- # Stabilize things, for your own good |
454 |
- strip-flags |
455 |
- replace-flags -O? -O2 |
456 |
- use pie && CFLAGS="${CFLAGS} -fPIE -pie" |
457 |
- |
458 |
- local myconf=() |
459 |
- |
460 |
- if use gadu; then |
461 |
- DYNAMIC_PRPLS="${DYNAMIC_PRPLS},gg" |
462 |
- fi |
463 |
- |
464 |
- use groupwise && DYNAMIC_PRPLS+=",novell" |
465 |
- use silc && DYNAMIC_PRPLS+=",silc" |
466 |
- use meanwhile && DYNAMIC_PRPLS+=",sametime" |
467 |
- use mxit && DYNAMIC_PRPLS+=",mxit" |
468 |
- use zephyr && DYNAMIC_PRPLS+=",zephyr" |
469 |
- use zeroconf && DYNAMIC_PRPLS+=",bonjour" |
470 |
- |
471 |
- if use gnutls; then |
472 |
- einfo "Disabling NSS, using GnuTLS" |
473 |
- myconf+=( --enable-nss=no --enable-gnutls=yes ) |
474 |
- myconf+=( --with-gnutls-includes=${EPREFIX}/usr/include/gnutls ) |
475 |
- myconf+=( --with-gnutls-libs=${EPREFIX}/usr/$(get_libdir) ) |
476 |
- else |
477 |
- einfo "Disabling GnuTLS, using NSS" |
478 |
- myconf+=( --enable-gnutls=no --enable-nss=yes ) |
479 |
- fi |
480 |
- |
481 |
- if use dbus || { use ncurses && use python; }; then |
482 |
- myconf+=( --with-python=${PYTHON} ) |
483 |
- else |
484 |
- myconf+=( --without-python ) |
485 |
- fi |
486 |
- |
487 |
- econf \ |
488 |
- $(use_enable ncurses consoleui) \ |
489 |
- $(use_enable gtk gtkui) \ |
490 |
- $(use_enable gtk sm) \ |
491 |
- $(use gtk || use_enable nls) \ |
492 |
- $(use gtk && echo "--enable-nls") \ |
493 |
- $(use gtk && use_enable xscreensaver screensaver) \ |
494 |
- $(use gtk && use_enable prediction cap) \ |
495 |
- $(use gtk && use_enable eds gevolution) \ |
496 |
- $(use gtk && use_enable spell gtkspell) \ |
497 |
- $(use_enable perl) \ |
498 |
- $(use_enable tk) \ |
499 |
- $(use_enable tcl) \ |
500 |
- $(use_enable debug) \ |
501 |
- $(use_enable dbus) \ |
502 |
- $(use_enable meanwhile) \ |
503 |
- $(use_enable gstreamer) \ |
504 |
- $(use_with gstreamer gstreamer 1.0) \ |
505 |
- $(use_enable gstreamer farstream) \ |
506 |
- $(use_enable gstreamer vv) \ |
507 |
- $(use_enable sasl cyrus-sasl ) \ |
508 |
- $(use_enable doc doxygen) \ |
509 |
- $(use_enable networkmanager nm) \ |
510 |
- $(use_enable zeroconf avahi) \ |
511 |
- $(use_enable idn) \ |
512 |
- --with-system-ssl-certs="${EPREFIX}/etc/ssl/certs/" \ |
513 |
- --with-dynamic-prpls="${DYNAMIC_PRPLS}" \ |
514 |
- --disable-mono \ |
515 |
- --x-includes="${EPREFIX}"/usr/include/X11 \ |
516 |
- ${myconf[@]} |
517 |
- #$(use_enable mono) \ |
518 |
-} |
519 |
- |
520 |
-src_install() { |
521 |
- # mimicking gnome2_src_install as that one is banned for >=EAPI-6 (*sigh*) |
522 |
- export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1" |
523 |
- emake DESTDIR="${D}" install |
524 |
- unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
525 |
- |
526 |
- if use gtk; then |
527 |
- # Fix tray pathes for kde-3.5, e16 (x11-wm/enlightenment) and other |
528 |
- # implementations that are not complient with new hicolor theme yet, #323355 |
529 |
- local pixmapdir |
530 |
- for d in 16 22 32 48; do |
531 |
- pixmapdir=${ED}/usr/share/pixmaps/pidgin/tray/hicolor/${d}x${d}/actions |
532 |
- mkdir "${pixmapdir}" || die |
533 |
- pushd "${pixmapdir}" >/dev/null || die |
534 |
- for f in ../status/*; do |
535 |
- ln -s ${f} || die |
536 |
- done |
537 |
- popd >/dev/null |
538 |
- done |
539 |
- fi |
540 |
- use perl && perl_delete_localpod |
541 |
- |
542 |
- if use python || use dbus ; then |
543 |
- python_fix_shebang "${D}" |
544 |
- python_optimize |
545 |
- fi |
546 |
- |
547 |
- dodoc ${DOCS} finch/plugins/pietray.py |
548 |
- docompress -x /usr/share/doc/${PF}/pietray.py |
549 |
- |
550 |
- prune_libtool_files --all |
551 |
-} |
552 |
|
553 |
diff --git a/net-im/pidgin/pidgin-2.11.0.ebuild b/net-im/pidgin/pidgin-2.11.0.ebuild |
554 |
index e952027..9d574db 100644 |
555 |
--- a/net-im/pidgin/pidgin-2.11.0.ebuild |
556 |
+++ b/net-im/pidgin/pidgin-2.11.0.ebuild |
557 |
@@ -247,7 +247,7 @@ src_install() { |
558 |
fi |
559 |
use perl && perl_delete_localpod |
560 |
|
561 |
- if use python || use dbus ; then |
562 |
+ if use python && use dbus ; then |
563 |
python_fix_shebang "${D}" |
564 |
python_optimize |
565 |
fi |