1 |
commit: d859de502452efdc167db5bad52768fa99cd502c |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 30 06:30:47 2021 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 30 06:31:45 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d859de50 |
7 |
|
8 |
net-im/pidgin: Bump to version 2.14.4 |
9 |
|
10 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
11 |
|
12 |
net-im/pidgin/Manifest | 1 + |
13 |
net-im/pidgin/pidgin-2.14.4.ebuild | 289 +++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 290 insertions(+) |
15 |
|
16 |
diff --git a/net-im/pidgin/Manifest b/net-im/pidgin/Manifest |
17 |
index 947068956d6..af195517eab 100644 |
18 |
--- a/net-im/pidgin/Manifest |
19 |
+++ b/net-im/pidgin/Manifest |
20 |
@@ -2,4 +2,5 @@ DIST pidgin-2.10.9-irc_join_sleep.patch 534 BLAKE2B 0215cebb93993e19e700e4d49743 |
21 |
DIST pidgin-2.14.1.tar.bz2 8849275 BLAKE2B 27cd58a79f36c0176147c2e5bac7c4c18ec74c446c556e2326465c3607a95c3a58c1bdbbf9b4fb9741783ae982a6ce8fe0556ccff5b1608c9bba98626560412c SHA512 6ce5c58f32fa680d7f67e37a42b0f77c8253018cee21df2895d52166d9eb6ecaf0458b1610adbd46f337d00e75933db7578c2f9808654bd22838ba5db0a13030 |
22 |
DIST pidgin-2.14.2.tar.bz2 8933924 BLAKE2B 8ca40cb9398f9f2e55b3dbb6aff12a55bfc27974c959476af8a7c779fa46df616e91474512b632658b280bf520eb43c9ddf62270b1553e17566b5c6a173bc88f SHA512 f1048644f39c37e210560f876412c0c63039c6045ba8e9477a00f05841078f6c9f6f97806e0c7824a8e60d2477dc835670920f5df58c5b434be76e6603e0005c |
23 |
DIST pidgin-2.14.3.tar.bz2 8688849 BLAKE2B 5d1f28ca5c452b13d2a6d6ab0c9101f14da3b5a291a838dab4b7cda99c76b3e411414b186ae493f08bd9764c65eab4b41eb9a45d340fe885f8bf9bf092911d43 SHA512 70f426900ce76afcdad76bcd06ebc320f562fe4089ec87c639d8d0d90823077f5e815932b62c3ff3da6270b3acfde3c8222d9b8c5cbb211421239c9dcc69b909 |
24 |
+DIST pidgin-2.14.4.tar.bz2 8724096 BLAKE2B 674b8cc306b5179c95a546f13e7ec7c2a13a22ff2ab502460435e2449e1a9fdb9e33baf2d8b81867a40251e3fe004dce5a0a371deab70587c694a10c6419f89d SHA512 78550b7c4678242861bc0b0a3c32ab03c9fd6e4f509a9b83f872f2e201fe69617c8407d4cc90205e74598f1b8fdddfeddc8f59b47179524a7af7a241eaf1fa0b |
25 |
DIST pidgin-eds-3.6.patch.bz2 2352 BLAKE2B 1d69dc55f43b9efe5d5278a017642702d67a297fe2587467ec0fdca7f9888e26640efe9ac2a18f77ae9c523bf125a2cec6d0bf621f0b2b16f55d30df1bf470df SHA512 a0195679ab55ed9c7ea18ace6dbf0fc994698f1f4eea9d8335dfdcdcd6a68975c0191bd22f150bf5a9a0a691ce7e9e73d79598e1e8be541efa1d9824a633d877 |
26 |
|
27 |
diff --git a/net-im/pidgin/pidgin-2.14.4.ebuild b/net-im/pidgin/pidgin-2.14.4.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..0dacd39bee8 |
30 |
--- /dev/null |
31 |
+++ b/net-im/pidgin/pidgin-2.14.4.ebuild |
32 |
@@ -0,0 +1,289 @@ |
33 |
+# Copyright 1999-2021 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+GENTOO_DEPEND_ON_PERL=no |
39 |
+PYTHON_COMPAT=( python3_{7..9} ) |
40 |
+ |
41 |
+inherit autotools gnome2-utils flag-o-matic toolchain-funcs multilib perl-module python-single-r1 xdg |
42 |
+ |
43 |
+DESCRIPTION="GTK Instant Messenger client" |
44 |
+HOMEPAGE="https://pidgin.im/" |
45 |
+SRC_URI=" |
46 |
+ mirror://sourceforge/${PN}/${P}.tar.bz2 |
47 |
+ https://gist.githubusercontent.com/imcleod/77f38d11af11b2413ada/raw/46e9d6cb4d2f839832dad2d697bb141a88028e04/pidgin-irc-join-sleep.patch -> ${PN}-2.10.9-irc_join_sleep.patch" |
48 |
+ |
49 |
+LICENSE="GPL-2" |
50 |
+SLOT="0/2" # libpurple version |
51 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" |
52 |
+IUSE="aqua dbus debug doc eds gadu gnutls groupwise +gstreamer +gtk idn |
53 |
+meanwhile ncurses networkmanager nls perl pie prediction python sasl spell tcl |
54 |
+tk +xscreensaver zephyr zeroconf" |
55 |
+ |
56 |
+# dbus requires python to generate C code for dbus bindings (thus DEPEND only). |
57 |
+# finch uses libgnt that links with libpython - {R,}DEPEND. But still there is |
58 |
+# no way to build dbus and avoid libgnt linkage with python. If you want this |
59 |
+# send patch upstream. |
60 |
+# purple-url-handler and purple-remote require dbus-python thus in reality we |
61 |
+# rdepend on python if dbus enabled. But it is possible to separate this dep. |
62 |
+RDEPEND=" |
63 |
+ >=dev-libs/glib-2.16 |
64 |
+ >=dev-libs/libxml2-2.6.18 |
65 |
+ ncurses? ( |
66 |
+ >=dev-libs/libgnt-$(ver_cut 1-2) |
67 |
+ sys-libs/ncurses:0=[unicode] |
68 |
+ dbus? ( ${PYTHON_DEPS} ) |
69 |
+ python? ( ${PYTHON_DEPS} ) |
70 |
+ ) |
71 |
+ gtk? ( |
72 |
+ >=x11-libs/gtk+-2.10:2[aqua=] |
73 |
+ x11-libs/libSM |
74 |
+ >=x11-libs/pango-1.4.0 |
75 |
+ xscreensaver? ( x11-libs/libXScrnSaver ) |
76 |
+ spell? ( >=app-text/gtkspell-2.0.2:2 ) |
77 |
+ eds? ( >=gnome-extra/evolution-data-server-3.6:= ) |
78 |
+ prediction? ( >=dev-db/sqlite-3.3:3 ) |
79 |
+ ) |
80 |
+ gstreamer? ( |
81 |
+ media-libs/gstreamer:1.0 |
82 |
+ media-libs/gst-plugins-base:1.0 |
83 |
+ >=net-libs/farstream-0.2.7:0.2 |
84 |
+ ) |
85 |
+ zeroconf? ( net-dns/avahi[dbus] ) |
86 |
+ dbus? ( |
87 |
+ >=dev-libs/dbus-glib-0.71 |
88 |
+ >=sys-apps/dbus-0.90 |
89 |
+ $(python_gen_cond_dep ' |
90 |
+ dev-python/dbus-python[${PYTHON_MULTI_USEDEP}] |
91 |
+ ') |
92 |
+ ) |
93 |
+ perl? ( >=dev-lang/perl-5.16:= ) |
94 |
+ gadu? ( >=net-libs/libgadu-1.11.0 ) |
95 |
+ gnutls? ( net-libs/gnutls:= ) |
96 |
+ !gnutls? ( |
97 |
+ dev-libs/nspr |
98 |
+ dev-libs/nss |
99 |
+ ) |
100 |
+ meanwhile? ( net-libs/meanwhile ) |
101 |
+ tcl? ( dev-lang/tcl:0= ) |
102 |
+ tk? ( dev-lang/tk:0= ) |
103 |
+ sasl? ( dev-libs/cyrus-sasl:2 ) |
104 |
+ networkmanager? ( net-misc/networkmanager ) |
105 |
+ idn? ( net-dns/libidn:= ) |
106 |
+" |
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 |
+ gtk? ( |
113 |
+ x11-base/xorg-proto |
114 |
+ ${NLS_DEPEND} |
115 |
+ ) |
116 |
+ dbus? ( ${PYTHON_DEPS} ) |
117 |
+" |
118 |
+BDEPEND=" |
119 |
+ dev-lang/perl |
120 |
+ dev-perl/XML-Parser |
121 |
+ virtual/pkgconfig |
122 |
+ doc? ( app-doc/doxygen ) |
123 |
+ !gtk? ( nls? ( ${NLS_DEPEND} ) ) |
124 |
+" |
125 |
+ |
126 |
+DOCS=( AUTHORS HACKING NEWS README ChangeLog ) |
127 |
+ |
128 |
+REQUIRED_USE=" |
129 |
+ dbus? ( ${PYTHON_REQUIRED_USE} ) |
130 |
+ networkmanager? ( dbus ) |
131 |
+ python? ( ${PYTHON_REQUIRED_USE} ) |
132 |
+" |
133 |
+ |
134 |
+# Enable Default protocols |
135 |
+DYNAMIC_PRPLS="irc,jabber,simple" |
136 |
+ |
137 |
+# List of plugins |
138 |
+# app-accessibility/pidgin-festival |
139 |
+# net-im/librvp |
140 |
+# x11-plugins/guifications |
141 |
+# x11-plugins/msn-pecan |
142 |
+# x11-plugins/pidgin-encryption |
143 |
+# x11-plugins/pidgin-extprefs |
144 |
+# x11-plugins/pidgin-hotkeys |
145 |
+# x11-plugins/pidgin-latex |
146 |
+# x11-plugins/pidgintex |
147 |
+# x11-plugins/pidgin-libnotify |
148 |
+# x11-plugins/pidgin-mbpurple |
149 |
+# x11-plugins/pidgin-bot-sentry |
150 |
+# x11-plugins/pidgin-otr |
151 |
+# x11-plugins/pidgin-rhythmbox |
152 |
+# x11-plugins/purple-plugin_pack |
153 |
+# x11-themes/pidgin-smileys |
154 |
+# x11-plugins/pidgin-knotify |
155 |
+# Plugins in Sunrise: |
156 |
+# x11-plugins/pidgin-audacious-remote |
157 |
+# x11-plugins/pidgin-autoanswer |
158 |
+# x11-plugins/pidgin-birthday-reminder |
159 |
+# x11-plugins/pidgin-blinklight |
160 |
+# x11-plugins/pidgin-convreverse |
161 |
+# x11-plugins/pidgin-embeddedvideo |
162 |
+# x11-plugins/pidgin-extended-blist-sort |
163 |
+# x11-plugins/pidgin-gfire |
164 |
+# x11-plugins/pidgin-lastfm |
165 |
+# x11-plugins/pidgin-sendscreenshot |
166 |
+# x11-plugins/pidgimpd |
167 |
+ |
168 |
+PATCHES=( |
169 |
+ "${FILESDIR}/${PN}-2.10.11-tinfo.patch" |
170 |
+ "${DISTDIR}/${PN}-2.10.9-irc_join_sleep.patch" # 577286 |
171 |
+ "${FILESDIR}/${PN}-2.13.0-disable-one-jid-test.patch" # 593338 |
172 |
+) |
173 |
+ |
174 |
+pkg_pretend() { |
175 |
+ if ! use gtk && ! use ncurses ; then |
176 |
+ elog "You did not pick the ncurses or gtk use flags, only libpurple" |
177 |
+ elog "will be built." |
178 |
+ fi |
179 |
+ |
180 |
+ # dbus is enabled, no way to disable linkage with python => python is enabled |
181 |
+ #REQUIRED_USE="gtk? ( nls ) dbus? ( python )" |
182 |
+ if use gtk && ! use nls ; then |
183 |
+ ewarn "gtk build => nls is enabled!" |
184 |
+ fi |
185 |
+ if use dbus && ! use python ; then |
186 |
+ elog "dbus is enabled, no way to disable linkage with python => python is enabled" |
187 |
+ fi |
188 |
+} |
189 |
+ |
190 |
+pkg_setup() { |
191 |
+ if use python || use dbus ; then |
192 |
+ python-single-r1_pkg_setup |
193 |
+ fi |
194 |
+} |
195 |
+ |
196 |
+src_prepare() { |
197 |
+ default |
198 |
+ eautoreconf |
199 |
+} |
200 |
+ |
201 |
+src_configure() { |
202 |
+ # Stabilize things, for your own good |
203 |
+ strip-flags |
204 |
+ replace-flags -O? -O2 |
205 |
+ use pie && append-cflags -fPIE -pie |
206 |
+ |
207 |
+ use gadu && DYNAMIC_PRPLS+=",gg" |
208 |
+ use groupwise && DYNAMIC_PRPLS+=",novell" |
209 |
+ use meanwhile && DYNAMIC_PRPLS+=",sametime" |
210 |
+ use zephyr && DYNAMIC_PRPLS+=",zephyr" |
211 |
+ use zeroconf && DYNAMIC_PRPLS+=",bonjour" |
212 |
+ |
213 |
+ local myconf=( |
214 |
+ --disable-mono |
215 |
+ --disable-static |
216 |
+ --with-dynamic-prpls="${DYNAMIC_PRPLS}" |
217 |
+ --with-system-ssl-certs="${EPREFIX}/etc/ssl/certs/" |
218 |
+ --x-includes="${EPREFIX}"/usr/include/X11 |
219 |
+ $(use_enable ncurses consoleui) |
220 |
+ $(use_enable gtk gtkui) |
221 |
+ $(use_enable gtk sm) |
222 |
+ $(usex gtk '--enable-nls' "$(use_enable nls)") |
223 |
+ $(use gtk && use_enable xscreensaver screensaver) |
224 |
+ $(use gtk && use_enable prediction cap) |
225 |
+ $(use gtk && use_enable eds gevolution) |
226 |
+ $(use gtk && use_enable spell gtkspell) |
227 |
+ $(use_enable perl) |
228 |
+ $(use_enable tk) |
229 |
+ $(use_enable tcl) |
230 |
+ $(use_enable debug) |
231 |
+ $(use_enable dbus) |
232 |
+ $(use_enable meanwhile) |
233 |
+ $(use_enable gstreamer) |
234 |
+ $(use_with gstreamer gstreamer 1.0) |
235 |
+ $(use_enable gstreamer farstream) |
236 |
+ $(use_enable gstreamer vv) |
237 |
+ $(use_enable sasl cyrus-sasl ) |
238 |
+ $(use_enable doc doxygen) |
239 |
+ $(use_enable networkmanager nm) |
240 |
+ $(use_enable zeroconf avahi) |
241 |
+ $(use_enable idn) |
242 |
+ ) |
243 |
+ |
244 |
+ if use gnutls; then |
245 |
+ einfo "Disabling NSS, using GnuTLS" |
246 |
+ myconf+=( |
247 |
+ --enable-nss=no |
248 |
+ --enable-gnutls=yes |
249 |
+ --with-gnutls-includes="${EPREFIX}/usr/include/gnutls" |
250 |
+ --with-gnutls-libs="${EPREFIX}/usr/$(get_libdir)" |
251 |
+ ) |
252 |
+ else |
253 |
+ einfo "Disabling GnuTLS, using NSS" |
254 |
+ myconf+=( |
255 |
+ --enable-gnutls=no |
256 |
+ --enable-nss=yes |
257 |
+ ) |
258 |
+ fi |
259 |
+ |
260 |
+ if use dbus || { use ncurses && use python ; } ; then |
261 |
+ myconf+=( --with-python3=${PYTHON} ) |
262 |
+ else |
263 |
+ myconf+=( --without-python3 ) |
264 |
+ fi |
265 |
+ |
266 |
+ econf "${myconf[@]}" |
267 |
+} |
268 |
+ |
269 |
+src_install() { |
270 |
+ # setting this here because gnome2.eclass is not EAPI-7 ready |
271 |
+ export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1" |
272 |
+ default |
273 |
+ |
274 |
+ if use gtk ; then |
275 |
+ # Fix tray paths for e16 (x11-wm/enlightenment) and other |
276 |
+ # implementations that are not compliant with new hicolor theme yet, #323355 |
277 |
+ local d f pixmapdir |
278 |
+ for d in 16 22 32 48 ; do |
279 |
+ pixmapdir="${ED}/usr/share/pixmaps/pidgin/tray/hicolor/${d}x${d}/actions" |
280 |
+ mkdir "${pixmapdir}" || die |
281 |
+ pushd "${pixmapdir}" >/dev/null || die |
282 |
+ for f in ../status/*; do |
283 |
+ ln -s ${f} || die |
284 |
+ done |
285 |
+ popd >/dev/null || die |
286 |
+ done |
287 |
+ fi |
288 |
+ use perl && perl_delete_localpod |
289 |
+ |
290 |
+ if use python || use dbus ; then |
291 |
+ python_fix_shebang "${ED}" |
292 |
+ python_optimize |
293 |
+ fi |
294 |
+ |
295 |
+ dodoc ${DOCS[@]} finch/plugins/pietray.py |
296 |
+ docompress -x /usr/share/doc/${PF}/pietray.py |
297 |
+ |
298 |
+ find "${ED}" -type f -name "*.la" -delete || die |
299 |
+} |
300 |
+ |
301 |
+src_test() { |
302 |
+ # make default build logs slightly more useful |
303 |
+ emake check VERBOSE=1 |
304 |
+} |
305 |
+ |
306 |
+pkg_preinst() { |
307 |
+ gnome2_gconf_savelist |
308 |
+ xdg_pkg_preinst |
309 |
+} |
310 |
+ |
311 |
+pkg_postinst() { |
312 |
+ gnome2_gconf_install |
313 |
+ gnome2_schemas_update |
314 |
+ xdg_pkg_postinst |
315 |
+} |
316 |
+ |
317 |
+pkg_postrm() { |
318 |
+ gnome2_gconf_uninstall |
319 |
+ gnome2_schemas_update |
320 |
+ xdg_pkg_postrm |
321 |
+} |