1 |
commit: 2f8b13ed592e79c8381534b4b991abab69ea8887 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 29 07:02:46 2022 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 29 07:05:02 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f8b13ed |
7 |
|
8 |
net-im/pidgin: Bump to version 2.14.9 |
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.9.ebuild | 292 +++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 293 insertions(+) |
15 |
|
16 |
diff --git a/net-im/pidgin/Manifest b/net-im/pidgin/Manifest |
17 |
index ab2a3ce2a6e3..535b57a1ff7b 100644 |
18 |
--- a/net-im/pidgin/Manifest |
19 |
+++ b/net-im/pidgin/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST pidgin-2.10.9-irc_join_sleep.patch 534 BLAKE2B 0215cebb93993e19e700e4d4974351ab5e9a00ea094775076d8f439569b34c0ec2faaed360965867df58bc42677516983ce11a2601dd322c1bdf2f288253a5b8 SHA512 8de0d6f05e48cd5a3e894576e06c7fb82e4bfc778cce8bb179fa22e2a05f5c2390a0e4c5b626ee4b910a18eab170d8f4be200f435ce408a86575af99e51e3bdf |
22 |
DIST pidgin-2.14.8.tar.bz2 8683281 BLAKE2B 757ae81cc17db61bb5d434920f230d18c25639179c0584346b2bc6f34620d5ef499fd564ded5bfb649cf619700bbfd7eab6a222fdaf0324903bb92d81f77d182 SHA512 23975501b07d14829edab7b92628703962d7a8f90849b303e2a765ec6e47d1fcbdeff62539811e26682e300a2f94520193369844de3b1c0e87f99721ca0255e6 |
23 |
+DIST pidgin-2.14.9.tar.bz2 8254729 BLAKE2B 3151e1ba21894f3c16ce615223e56e8ebff8f4098fe448b15752ed93e26d7895094fe584dfe0ebc6d8e4e0dba8a51ac57e90e2b7e286f4a840edcac2630df7c2 SHA512 fa610b49f77711df9ec76d886c836a80c5ea1563da4e861cbfcc7f7aba3130eeb5db7bb217e2aac571f9aea5d03da8b15c1aeec300468ab2ede6c409cce60d4f |
24 |
|
25 |
diff --git a/net-im/pidgin/pidgin-2.14.9.ebuild b/net-im/pidgin/pidgin-2.14.9.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..300091b9b0fb |
28 |
--- /dev/null |
29 |
+++ b/net-im/pidgin/pidgin-2.14.9.ebuild |
30 |
@@ -0,0 +1,292 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+GENTOO_DEPEND_ON_PERL=no |
37 |
+PYTHON_COMPAT=( python3_{8..10} ) |
38 |
+ |
39 |
+inherit autotools gnome2-utils flag-o-matic toolchain-funcs multilib perl-module python-single-r1 xdg |
40 |
+ |
41 |
+DESCRIPTION="GTK Instant Messenger client" |
42 |
+HOMEPAGE="https://pidgin.im/" |
43 |
+SRC_URI=" |
44 |
+ mirror://sourceforge/${PN}/${P}.tar.bz2 |
45 |
+ https://gist.githubusercontent.com/imcleod/77f38d11af11b2413ada/raw/46e9d6cb4d2f839832dad2d697bb141a88028e04/pidgin-irc-join-sleep.patch -> ${PN}-2.10.9-irc_join_sleep.patch" |
46 |
+ |
47 |
+LICENSE="GPL-2" |
48 |
+SLOT="0/2" # libpurple version |
49 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" |
50 |
+IUSE="aqua dbus debug doc eds gadu gnutls groupwise +gstreamer +gtk idn |
51 |
+meanwhile ncurses networkmanager nls perl pie prediction python sasl spell tcl |
52 |
+tk v4l +xscreensaver zephyr zeroconf" |
53 |
+ |
54 |
+# dbus requires python to generate C code for dbus bindings (thus DEPEND only). |
55 |
+# finch uses libgnt that links with libpython - {R,}DEPEND. But still there is |
56 |
+# no way to build dbus and avoid libgnt linkage with python. If you want this |
57 |
+# send patch upstream. |
58 |
+# purple-url-handler and purple-remote require dbus-python thus in reality we |
59 |
+# rdepend on python if dbus enabled. But it is possible to separate this dep. |
60 |
+RDEPEND=" |
61 |
+ >=dev-libs/glib-2.16 |
62 |
+ >=dev-libs/libxml2-2.6.18 |
63 |
+ dbus? ( |
64 |
+ >=dev-libs/dbus-glib-0.71 |
65 |
+ >=sys-apps/dbus-0.90 |
66 |
+ $(python_gen_cond_dep ' |
67 |
+ dev-python/dbus-python[${PYTHON_USEDEP}] |
68 |
+ ') |
69 |
+ ) |
70 |
+ gadu? ( >=net-libs/libgadu-1.11.0 ) |
71 |
+ gnutls? ( net-libs/gnutls:= ) |
72 |
+ !gnutls? ( |
73 |
+ dev-libs/nspr |
74 |
+ dev-libs/nss |
75 |
+ ) |
76 |
+ gstreamer? ( |
77 |
+ media-libs/gstreamer:1.0 |
78 |
+ media-libs/gst-plugins-base:1.0 |
79 |
+ >=net-libs/farstream-0.2.7:0.2 |
80 |
+ ) |
81 |
+ gtk? ( |
82 |
+ >=x11-libs/gtk+-2.10:2[aqua=] |
83 |
+ x11-libs/libSM |
84 |
+ >=x11-libs/pango-1.4.0 |
85 |
+ xscreensaver? ( x11-libs/libXScrnSaver ) |
86 |
+ spell? ( >=app-text/gtkspell-2.0.2:2 ) |
87 |
+ eds? ( >=gnome-extra/evolution-data-server-3.6:= ) |
88 |
+ prediction? ( >=dev-db/sqlite-3.3:3 ) |
89 |
+ ) |
90 |
+ idn? ( net-dns/libidn:= ) |
91 |
+ meanwhile? ( net-libs/meanwhile ) |
92 |
+ ncurses? ( |
93 |
+ >=dev-libs/libgnt-$(ver_cut 1-2) |
94 |
+ sys-libs/ncurses:=[unicode(+)] |
95 |
+ dbus? ( ${PYTHON_DEPS} ) |
96 |
+ python? ( ${PYTHON_DEPS} ) |
97 |
+ ) |
98 |
+ networkmanager? ( net-misc/networkmanager ) |
99 |
+ perl? ( >=dev-lang/perl-5.16:= ) |
100 |
+ sasl? ( dev-libs/cyrus-sasl:2 ) |
101 |
+ tcl? ( dev-lang/tcl:0= ) |
102 |
+ tk? ( dev-lang/tk:0= ) |
103 |
+ v4l? ( media-plugins/gst-plugins-v4l2 ) |
104 |
+ zeroconf? ( net-dns/avahi[dbus] ) |
105 |
+" |
106 |
+ |
107 |
+# We want nls in case gtk is enabled, bug # |
108 |
+NLS_DEPEND=">=dev-util/intltool-0.41.1 sys-devel/gettext" |
109 |
+ |
110 |
+DEPEND="${RDEPEND} |
111 |
+ gtk? ( |
112 |
+ x11-base/xorg-proto |
113 |
+ ${NLS_DEPEND} |
114 |
+ ) |
115 |
+ dbus? ( ${PYTHON_DEPS} ) |
116 |
+" |
117 |
+BDEPEND=" |
118 |
+ dev-lang/perl |
119 |
+ dev-perl/XML-Parser |
120 |
+ virtual/pkgconfig |
121 |
+ doc? ( app-doc/doxygen ) |
122 |
+ !gtk? ( nls? ( ${NLS_DEPEND} ) ) |
123 |
+" |
124 |
+ |
125 |
+DOCS=( AUTHORS HACKING NEWS README ChangeLog ) |
126 |
+ |
127 |
+REQUIRED_USE=" |
128 |
+ dbus? ( ${PYTHON_REQUIRED_USE} ) |
129 |
+ networkmanager? ( dbus ) |
130 |
+ python? ( ${PYTHON_REQUIRED_USE} ) |
131 |
+ v4l? ( gstreamer ) |
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/pidgintex |
146 |
+# x11-plugins/pidgin-libnotify |
147 |
+# x11-plugins/pidgin-mbpurple |
148 |
+# x11-plugins/pidgin-bot-sentry |
149 |
+# x11-plugins/pidgin-otr |
150 |
+# x11-plugins/pidgin-rhythmbox |
151 |
+# x11-plugins/purple-plugin_pack |
152 |
+# x11-themes/pidgin-smileys |
153 |
+# x11-plugins/pidgin-knotify |
154 |
+# Plugins in Sunrise: |
155 |
+# x11-plugins/pidgin-audacious-remote |
156 |
+# x11-plugins/pidgin-autoanswer |
157 |
+# x11-plugins/pidgin-birthday-reminder |
158 |
+# x11-plugins/pidgin-blinklight |
159 |
+# x11-plugins/pidgin-convreverse |
160 |
+# x11-plugins/pidgin-embeddedvideo |
161 |
+# x11-plugins/pidgin-extended-blist-sort |
162 |
+# x11-plugins/pidgin-gfire |
163 |
+# x11-plugins/pidgin-lastfm |
164 |
+# x11-plugins/pidgin-sendscreenshot |
165 |
+# x11-plugins/pidgimpd |
166 |
+ |
167 |
+PATCHES=( |
168 |
+ "${DISTDIR}/${PN}-2.10.9-irc_join_sleep.patch" # 577286 |
169 |
+) |
170 |
+ |
171 |
+pkg_pretend() { |
172 |
+ if ! use gtk && ! use ncurses ; then |
173 |
+ elog "You did not pick the ncurses or gtk use flags, only libpurple" |
174 |
+ elog "will be built." |
175 |
+ fi |
176 |
+ |
177 |
+ # dbus is enabled, no way to disable linkage with python => python is enabled |
178 |
+ #REQUIRED_USE="gtk? ( nls ) dbus? ( python )" |
179 |
+ if use gtk && ! use nls ; then |
180 |
+ ewarn "gtk build => nls is enabled!" |
181 |
+ fi |
182 |
+ if use dbus && ! use python ; then |
183 |
+ elog "dbus is enabled, no way to disable linkage with python => python is enabled" |
184 |
+ fi |
185 |
+} |
186 |
+ |
187 |
+pkg_setup() { |
188 |
+ if use python || use dbus ; then |
189 |
+ python-single-r1_pkg_setup |
190 |
+ fi |
191 |
+ |
192 |
+} |
193 |
+ |
194 |
+src_prepare() { |
195 |
+ xdg_environment_reset |
196 |
+ default |
197 |
+ eautoreconf |
198 |
+} |
199 |
+ |
200 |
+src_configure() { |
201 |
+ # Stabilize things, for your own good |
202 |
+ strip-flags |
203 |
+ replace-flags -O? -O2 |
204 |
+ use pie && append-cflags -fPIE -pie |
205 |
+ |
206 |
+ use gadu && DYNAMIC_PRPLS+=",gg" |
207 |
+ use groupwise && DYNAMIC_PRPLS+=",novell" |
208 |
+ use meanwhile && DYNAMIC_PRPLS+=",sametime" |
209 |
+ use zephyr && DYNAMIC_PRPLS+=",zephyr" |
210 |
+ use zeroconf && DYNAMIC_PRPLS+=",bonjour" |
211 |
+ |
212 |
+ local myconf=( |
213 |
+ --disable-mono |
214 |
+ --disable-static |
215 |
+ --with-dynamic-prpls="${DYNAMIC_PRPLS}" |
216 |
+ --with-system-ssl-certs="${EPREFIX}/etc/ssl/certs/" |
217 |
+ --x-includes="${EPREFIX}"/usr/include/X11 |
218 |
+ $(use_enable dbus) |
219 |
+ $(use_enable debug) |
220 |
+ $(use_enable doc doxygen) |
221 |
+ $(use_enable gstreamer) |
222 |
+ $(use_enable gtk gtkui) |
223 |
+ $(use_enable gtk sm) |
224 |
+ $(use_enable idn) |
225 |
+ $(use_enable meanwhile) |
226 |
+ $(use_enable networkmanager nm) |
227 |
+ $(use_enable ncurses consoleui) |
228 |
+ $(use_enable perl) |
229 |
+ $(use_enable sasl cyrus-sasl ) |
230 |
+ $(use_enable tk) |
231 |
+ $(use_enable tcl) |
232 |
+ $(use_enable v4l farstream) |
233 |
+ $(use_enable v4l gstreamer-video) |
234 |
+ $(use_enable v4l vv) |
235 |
+ $(use_enable zeroconf avahi) |
236 |
+ $(use_with gstreamer gstreamer 1.0) |
237 |
+ $(usex gtk '--enable-nls' "$(use_enable nls)") |
238 |
+ $(use gtk && use_enable eds gevolution) |
239 |
+ $(use gtk && use_enable prediction cap) |
240 |
+ $(use gtk && use_enable spell gtkspell) |
241 |
+ $(use gtk && use_enable xscreensaver screensaver) |
242 |
+ ) |
243 |
+ |
244 |
+ if use gnutls ; then |
245 |
+ einfo "Disabling NSS, using GnuTLS" |
246 |
+ myconf+=( |
247 |
+ --enable-gnutls=yes |
248 |
+ --enable-nss=no |
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 we no longer use gnome2.eclass |
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 |
+ use dbus && python_fix_shebang "${ED}" |
291 |
+ if use python || use dbus ; then |
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 |
+ local -x GST_PLUGIN_SYSTEM_PATH_1_0= |
304 |
+ emake check VERBOSE=1 |
305 |
+} |
306 |
+ |
307 |
+pkg_preinst() { |
308 |
+ gnome2_gconf_savelist |
309 |
+ xdg_pkg_preinst |
310 |
+} |
311 |
+ |
312 |
+pkg_postinst() { |
313 |
+ gnome2_gconf_install |
314 |
+ gnome2_schemas_update |
315 |
+ xdg_pkg_postinst |
316 |
+} |
317 |
+ |
318 |
+pkg_postrm() { |
319 |
+ gnome2_gconf_uninstall |
320 |
+ gnome2_schemas_update |
321 |
+ xdg_pkg_postrm |
322 |
+} |