Gentoo Archives: gentoo-commits

From: Patrick McLean <chutzpah@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/chutzpah:master commit in: net-im/pidgin/, net-im/pidgin/files/
Date: Mon, 29 Feb 2016 03:50:19
Message-Id: 1452217695.9044ef902c30aa13feb716ca17b098af21f458ac.chutzpah@gentoo
1 commit: 9044ef902c30aa13feb716ca17b098af21f458ac
2 Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 8 01:48:15 2016 +0000
4 Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 8 01:48:15 2016 +0000
6 URL: https://gitweb.gentoo.org/dev/chutzpah.git/commit/?id=9044ef90
7
8 net-im/pidgin: version bump to 2.10.12
9
10 net-im/pidgin/Manifest | 3 +
11 net-im/pidgin/files/pidgin-2.10.11-tinfo.patch | 24 +++
12 net-im/pidgin/pidgin-2.10.12.ebuild | 254 +++++++++++++++++++++++++
13 3 files changed, 281 insertions(+)
14
15 diff --git a/net-im/pidgin/Manifest b/net-im/pidgin/Manifest
16 index c08150b..7941f7b 100644
17 --- a/net-im/pidgin/Manifest
18 +++ b/net-im/pidgin/Manifest
19 @@ -2,6 +2,7 @@ AUX pidgin-2.10.0-gold.patch 1003 SHA256 26657c717f4e624b0b3af8746b61b0861ba4da6
20 AUX pidgin-2.10.0-networkmanager-0.9.patch 1994 SHA256 d91ce4a7236ea9b0bc730ec07a994bf5dc2c834e2df04e4615d9ada4a03af7ab SHA512 9925dec9f09642f441a732d8c229150469056d885410fecd3ce13a96e52b0320af6bb9910b2c5b8cdca526fae9ad6a0a2e764405c34dd3befa966c1f821158d9 WHIRLPOOL d33c52da786aad3993959d8bc3585627fe98e0f575e1714264e5c9cac183721bae059fab7c1eed16668464cee0b325504ed0ba839f73ca802cdb768a6a002b28
21 AUX pidgin-2.10.0-utf8-validation.patch 908 SHA256 288acd1f638fa1e21e216d48f308ef5f0397ddea2c1309e767391411ab02fbf4 SHA512 605f95955a7b813465607966dece36db7b8e91b27c8d73caeb29159f4b3de0b6906be718aab537dbab1f1f9fca8afc7b0ca7b5827122dd30503e19fae02e9bcd WHIRLPOOL 01b1985dd8b9985dd2331c316d74823eb7a0cf2bd7bdbac2a1da232bf96a363f89b2b6ccf0c20d6bd7eb67c9299ed5b27018b23e87154d90a33ebbd6c0ea9242
22 AUX pidgin-2.10.10-eds-3.6-configure.ac.patch 1088 SHA256 548d459f17970d963147db19a2959b19da7d1f6c1958ae3ed3b609cf6be8b775 SHA512 d6d0a925803484311fcb78aecc383f4f572886551edc326c7e34cf1376ee80e1f65a4c564c3473d64233120c20d8143b0d63c4af065a15bfde02d830c83ab2f0 WHIRLPOOL 55183fdb3057a79e367566196abfa368962202eca3f63676cb80d791e0c0baa9245d67733b88d6af523524ec9d0ed941fe284552fe1bdfd91daf1b33ca67ffed
23 +AUX pidgin-2.10.11-tinfo.patch 892 SHA256 f722ea593f2ec0d9061ca051519bbbb389f2056dbda4fd4e80df545af78a6a16 SHA512 019148522e6851e1e52cf52a3b855f0d5fb10dd5a3e7236e5abfe21f270b9feb1b998aaaa668768c85e855019eb69f7b7458c220ca06a189aba3e77947b158db WHIRLPOOL b5a3a5bd8c3d8428aac1e2fe20ec740a03cd397a5b79db2c2df593ed5ace7217871b27ad33bae0ab034f7d229526afc2688617b8fca666de26937b1575cb1a02
24 AUX pidgin-2.10.7-fix-cap.patch 692 SHA256 4dbf4e8123d7b7550f99fb5b8fb97e98b44551750436ca5327f8257438400dcd SHA512 0a1dc0ceaf78416ecd409a4bdcecef83a48cbdea50314d55a6cb1e1cad06775e1e8ac23f069ef4ed8ca8b4f3bb99f184804fddf7812adfcba8c8920a9c6efdbc WHIRLPOOL 8beca2bcb10380034ccd461559e7504922613de19649ca045e88c19de452bc4beb4b47c4b9976cf24854edf502ce11e74de00f5add86025c4bd066e17e85a962
25 AUX pidgin-2.10.7-link_sasl_in_irc_plugin.patch 642 SHA256 8f91df48549004c80d5989bfdcc11f7a7805f3770b6aa2a5676d86eb334cf5b8 SHA512 3bc39f994473e01ab532e804481a858b0e1ddc3252a27fc29cb32c550e207699ee39da0057b6e86f4a33870b29f44b701a1614e93ff223930208ef0e8061fed1 WHIRLPOOL 5d0ce684e06fbe8c507310947696fed1910f631f93b0e71fc44610e06c6b1d93b966af89d4def15d8fcaa1b11001ab7066e94c732f58423046bc9e645816a91e
26 AUX pidgin-2.10.9-fix-gtkmedia.patch 267 SHA256 c0bc25b05a5cfa8583d97533a9c052dc94bb186053ce11cb52b9e79ca3a0b11c SHA512 e78c95e1e4b86c4e702ed9e184de75940f4b93265cfce73d0d6b2145d4a07c79f41dbaa996cbb76e5ac19d9fd1a606d1dd31982e948ac58376b24c1ab866e6bd WHIRLPOOL 3cb215078dfbed61f3d49ecd3c3fc1f2739fc02787f2ef3fdf41cde371f5c91ade1d4a6fff28db69878f7ba1995eed14aa8c0b8eb4961650d33dfaa88a3cafe1
27 @@ -9,5 +10,7 @@ AUX pidgin-eds-3.6.patch 9895 SHA256 f7dcb08b14cbb2320a01afb59a815f8e11890cf9c41
28 AUX pidgin-gnome-keyring-2.patch 7680 SHA256 aae63e57a7dc50b1232a606f7824dc655f561ed5ff7ef36607e18a18c98aa221 SHA512 e6c93e4c5fc0ea283b8e5b9d660cfb5e8ab502ebda115a95d900f8d864d35098658b3b98b79e26e8aa26f60e63a89bc748778c5188d5c1013c861148b786d669 WHIRLPOOL 09104c9f2dde20e034272b940a92a9339a3fb5e253d265a489c68f27ccb6d9195835a97aefcb29db3f5f9553e3a230b9daf3c4dfa2be1cfb00787402b3406456
29 AUX pidgin-gnome-keyring-3.patch 8966 SHA256 4cf873682a4e2d7218f14f498a3c38d982b46175ef57fb8022b607528d2d844e SHA512 5786a0baa9d874fda882a7d9955e0b2c4234fef3db3957130c4b9ebc580412a6217fbb8da538c1451d7d34c3ce1d404eaa4037486e72e091c2bcc22c97bda30f WHIRLPOOL 72c23432a50837d78c9d7dceafe9a069a871e50750f4f7d194bb1818bc0aca99d9634c0c1d5c90a33cb375d48c837781f679b256de169de7018594b492108b80
30 DIST pidgin-2.10.11.tar.bz2 9458050 SHA256 f2ae211341fc77efb9945d40e9932aa535cdf3a6c8993fe7919fca8cc1c04007 SHA512 774710ab087cb56e349dc1d5e45dbfcbe06b9a8f792abe5d201b0860620d502009f31563cfe5316f4c815345427b6c273b8f9694deb600848957c825fd967029 WHIRLPOOL 24f31ee6ce40e69f644d55f2135644172e8314a64080384eb901ae2b7aba631fbde98cab6cb798f10dd870ecd96374b451cb3ad11d567dc48dcb25f5cf499223
31 +DIST pidgin-2.10.12.tar.bz2 9837598 SHA256 2c7523f0fefe89749c03b2b738ab9f7bd186da435be4762f1487eee31e77ffdd SHA512 4756bed3ae78b48bfeaa586def3c7a0014db76ce14ae8c6773c96bdca24b65e92b2805270af43960e2a11a600aeac35e030faa3f79dbe3301084ca9d970a5f03 WHIRLPOOL 52f16cdd76b1aa3e76a877136070e3c4875827df621757d35656eb79e7d9921635f9373d33f9bc87275200e91c25a2763b4a64d90953322fd82d03860ce6a0da
32 DIST pidgin-eds-3.6.patch.bz2 2352 SHA256 321185dd5f44e502f671b17e84fa1ca2e08a3f7c79ed211c0bb92710700bcc41 SHA512 a0195679ab55ed9c7ea18ace6dbf0fc994698f1f4eea9d8335dfdcdcd6a68975c0191bd22f150bf5a9a0a691ce7e9e73d79598e1e8be541efa1d9824a633d877 WHIRLPOOL 5c1d3e933bdfa4b1f20f98dbf8b5c1669eb857b9db60dacae488fa04331300618df2f1265e4fb2e58ed31b24229df0edb8c30970d8172fd65ca7fa03bc0e3805
33 EBUILD pidgin-2.10.11.ebuild 7541 SHA256 22226232e8f1c941cdf6769529cf11a137b31a25da87ac2e7ca7b38fe88563f3 SHA512 5f35cefb5012c73b0974ef019d1af56042cce35ab17f49e503bf00ac0b72c7a2869d28e837d1e5b3bda1984c511161de1bdc5c1f445f2db841ac40e5e07197e5 WHIRLPOOL 9c02539c1c0e8bec3ea0ee76c214dcf446976aaa58ff6b14452acf68cd906683fb9cce9525e080976603fa09639b2dca6adea133ea8bacd91cd27359b8307b93
34 +EBUILD pidgin-2.10.12.ebuild 7509 SHA256 7d6e936c8d33d367bac9f6d162cb35c8262ce34083c77dbda8abb9db53ad5778 SHA512 fe2fdd298f03a529a4c8864d9593055653553812f3f037f4e750521ef0cc39d72edb25dd9a50bb8fc9d2271dbccb33b342f30edcf119227657fee450f62a14ea WHIRLPOOL c61e6a9a41434a29b8dddb1f6fc5471901b8e1997e720ac31f53c7066aaf9f2855daa59f5850c2132fbd935dfc72dfd408a8bb0568f00bb5e13379749cc68089
35
36 diff --git a/net-im/pidgin/files/pidgin-2.10.11-tinfo.patch b/net-im/pidgin/files/pidgin-2.10.11-tinfo.patch
37 new file mode 100644
38 index 0000000..370ac62
39 --- /dev/null
40 +++ b/net-im/pidgin/files/pidgin-2.10.11-tinfo.patch
41 @@ -0,0 +1,24 @@
42 + configure.ac | 3 +++
43 + 1 file changed, 3 insertions(+)
44 +
45 +diff --git a/configure.ac b/configure.ac
46 +index 51471b1..81c57ff 100644
47 +--- a/configure.ac
48 ++++ b/configure.ac
49 +@@ -635,6 +635,8 @@ AC_ARG_WITH(ncurses-headers, [AC_HELP_STRING([--with-ncurses-headers=DIR],
50 + [compile finch against the ncurses includes in DIR])],
51 + [ac_ncurses_includes="$withval"], [ac_ncurses_includes=""])
52 + if test "x$enable_consoleui" = "xyes"; then
53 ++ PKG_CHECK_MODULES([GNT], [ncursesw panelw], [], [
54 ++ PKG_CHECK_MODULES([GNT], [ncurses panel], [], [
55 + AC_CHECK_LIB(ncursesw, initscr, [GNT_LIBS="-lncursesw"], [enable_consoleui=no])
56 + AC_CHECK_LIB(panelw, update_panels, [GNT_LIBS="$GNT_LIBS -lpanelw"],
57 + [enable_consoleui=no], [$GNT_LIBS])
58 +@@ -699,6 +701,7 @@ if test "x$enable_consoleui" = "xyes"; then
59 + fi
60 + fi
61 + fi
62 ++ ])])
63 + fi
64 +
65 + if test "x$force_finch" = "xyes" -a "x$enable_consoleui" != "xyes"; then
66
67 diff --git a/net-im/pidgin/pidgin-2.10.12.ebuild b/net-im/pidgin/pidgin-2.10.12.ebuild
68 new file mode 100644
69 index 0000000..ffa3823
70 --- /dev/null
71 +++ b/net-im/pidgin/pidgin-2.10.12.ebuild
72 @@ -0,0 +1,254 @@
73 +# Copyright 1999-2016 Gentoo Foundation
74 +# Distributed under the terms of the GNU General Public License v2
75 +# $Id$
76 +
77 +EAPI=5
78 +
79 +GENTOO_DEPEND_ON_PERL=no
80 +PYTHON_COMPAT=( python2_7 python3_{3,4} )
81 +
82 +inherit autotools flag-o-matic eutils toolchain-funcs multilib perl-app gnome2 python-single-r1
83 +
84 +DESCRIPTION="GTK Instant Messenger client"
85 +HOMEPAGE="http://pidgin.im/"
86 +SRC_URI="
87 + mirror://sourceforge/${PN}/${P}.tar.bz2
88 + https://dev.gentoo.org/~polynomial-c/${PN}-eds-3.6.patch.bz2"
89 +
90 +LICENSE="GPL-2"
91 +SLOT="0"
92 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos"
93 +IUSE="dbus debug doc eds gadu gnutls +gstreamer +gtk idn meanwhile mxit"
94 +IUSE+=" networkmanager nls perl silc tcl tk spell sasl ncurses"
95 +IUSE+=" groupwise prediction python +xscreensaver zephyr zeroconf" # mono"
96 +IUSE+=" aqua"
97 +IUSE+=" gnome-keyring"
98 +
99 +# dbus requires python to generate C code for dbus bindings (thus DEPEND only).
100 +# finch uses libgnt that links with libpython - {R,}DEPEND. But still there is
101 +# no way to build dbus and avoid libgnt linkage with python. If you want this
102 +# send patch upstream.
103 +# purple-url-handler and purple-remote require dbus-python thus in reality we
104 +# rdepend on python if dbus enabled. But it is possible to separate this dep.
105 +RDEPEND="
106 + gnome-keyring? ( gnome-base/gnome-keyring )
107 + >=dev-libs/glib-2.16
108 + >=dev-libs/libxml2-2.6.18
109 + ncurses? ( sys-libs/ncurses:0=[unicode]
110 + dbus? ( ${PYTHON_DEPS} )
111 + python? ( ${PYTHON_DEPS} ) )
112 + gtk? (
113 + >=x11-libs/gtk+-2.10:2[aqua=]
114 + x11-libs/libSM
115 + xscreensaver? ( x11-libs/libXScrnSaver )
116 + spell? ( >=app-text/gtkspell-2.0.2:2 )
117 + eds? ( >=gnome-extra/evolution-data-server-3.6:= )
118 + prediction? ( >=dev-db/sqlite-3.3:3 ) )
119 + gstreamer? ( media-libs/gstreamer:1.0
120 + media-libs/gst-plugins-base:1.0
121 + >=net-libs/farstream-0.2.7:0.2 )
122 + zeroconf? ( net-dns/avahi[dbus] )
123 + dbus? ( >=dev-libs/dbus-glib-0.71
124 + >=sys-apps/dbus-0.90
125 + dev-python/dbus-python )
126 + perl? ( >=dev-lang/perl-5.16:= )
127 + gadu? ( || ( >=net-libs/libgadu-1.11.0[ssl,gnutls]
128 + >=net-libs/libgadu-1.11.0[-ssl] ) )
129 + gnutls? ( net-libs/gnutls )
130 + !gnutls? (
131 + dev-libs/nspr
132 + dev-libs/nss
133 + )
134 + meanwhile? ( net-libs/meanwhile )
135 + silc? ( >=net-im/silc-toolkit-1.0.1 )
136 + tcl? ( dev-lang/tcl:0= )
137 + tk? ( dev-lang/tk:0= )
138 + sasl? ( dev-libs/cyrus-sasl:2 )
139 + networkmanager? ( net-misc/networkmanager )
140 + idn? ( net-dns/libidn )
141 + !<x11-plugins/pidgin-facebookchat-1.69-r1"
142 + # Mono support crashes pidgin
143 + #mono? ( dev-lang/mono )"
144 +
145 +# We want nls in case gtk is enabled, bug #
146 +NLS_DEPEND=">=dev-util/intltool-0.41.1 sys-devel/gettext"
147 +
148 +DEPEND="$RDEPEND
149 + dev-lang/perl
150 + dev-perl/XML-Parser
151 + virtual/pkgconfig
152 + gtk? ( x11-proto/scrnsaverproto
153 + ${NLS_DEPEND} )
154 + dbus? ( ${PYTHON_DEPS} )
155 + doc? ( app-doc/doxygen )
156 + !gtk? ( nls? ( ${NLS_DEPEND} ) )"
157 +
158 +DOCS="AUTHORS HACKING NEWS README ChangeLog"
159 +
160 +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )
161 + dbus? ( ${PYTHON_REQUIRED_USE} )"
162 +
163 +# Enable Default protocols
164 +DYNAMIC_PRPLS="irc,jabber,oscar,yahoo,simple,msn,myspace"
165 +
166 +# List of plugins
167 +# app-accessibility/pidgin-festival
168 +# net-im/librvp
169 +# x11-plugins/guifications
170 +# x11-plugins/msn-pecan
171 +# x11-plugins/pidgin-encryption
172 +# x11-plugins/pidgin-extprefs
173 +# x11-plugins/pidgin-hotkeys
174 +# x11-plugins/pidgin-latex
175 +# x11-plugins/pidgintex
176 +# x11-plugins/pidgin-libnotify
177 +# x11-plugins/pidgin-mbpurple
178 +# x11-plugins/pidgin-bot-sentry
179 +# x11-plugins/pidgin-otr
180 +# x11-plugins/pidgin-rhythmbox
181 +# x11-plugins/purple-plugin_pack
182 +# x11-themes/pidgin-smileys
183 +# x11-plugins/pidgin-knotify
184 +# Plugins in Sunrise:
185 +# x11-plugins/pidgin-audacious-remote
186 +# x11-plugins/pidgin-autoanswer
187 +# x11-plugins/pidgin-birthday-reminder
188 +# x11-plugins/pidgin-blinklight
189 +# x11-plugins/pidgin-convreverse
190 +# x11-plugins/pidgin-embeddedvideo
191 +# x11-plugins/pidgin-extended-blist-sort
192 +# x11-plugins/pidgin-gfire
193 +# x11-plugins/pidgin-lastfm
194 +# x11-plugins/pidgin-sendscreenshot
195 +# x11-plugins/pidgimpd
196 +
197 +pkg_setup() {
198 + if ! use gtk && ! use ncurses ; then
199 + elog "You did not pick the ncurses or gtk use flags, only libpurple"
200 + elog "will be built."
201 + fi
202 + if use python || use dbus ; then
203 + python-single-r1_pkg_setup
204 + fi
205 +
206 + # dbus is enabled, no way to disable linkage with python => python is enabled
207 + #REQUIRED_USE="gtk? ( nls ) dbus? ( python )"
208 + if use gtk && ! use nls; then
209 + ewarn "gtk build => nls is enabled!"
210 + fi
211 + if use dbus && ! use python; then
212 + elog "dbus is enabled, no way to disable linkage with python => python is enabled"
213 + fi
214 +}
215 +
216 +src_prepare() {
217 + epatch \
218 + "${FILESDIR}"/${PN}-2.10.0-gold.patch \
219 + "${WORKDIR}"/${PN}-eds-3.6.patch \
220 + "${FILESDIR}"/${PN}-2.10.9-fix-gtkmedia.patch \
221 + "${FILESDIR}"/${PN}-2.10.10-eds-3.6-configure.ac.patch \
222 + "${FILESDIR}"/${PN}-2.10.11-tinfo.patch
223 + epatch_user
224 + epatch "${FILESDIR}/pidgin-gnome-keyring-3.patch"
225 +
226 + eautoreconf
227 +}
228 +
229 +src_configure() {
230 + # Stabilize things, for your own good
231 + strip-flags
232 + replace-flags -O? -O2
233 +
234 + local myconf
235 +
236 + if use gadu; then
237 + DYNAMIC_PRPLS="${DYNAMIC_PRPLS},gg"
238 + myconf="${myconf} --with-gadu-includes=."
239 + myconf="${myconf} --with-gadu-libs=."
240 + fi
241 +
242 + use groupwise && DYNAMIC_PRPLS+=",novell"
243 + use silc && DYNAMIC_PRPLS+=",silc"
244 + use meanwhile && DYNAMIC_PRPLS+=",sametime"
245 + use mxit && DYNAMIC_PRPLS+=",mxit"
246 + use zephyr && DYNAMIC_PRPLS+=",zephyr"
247 + use zeroconf && DYNAMIC_PRPLS+=",bonjour"
248 +
249 + if use gnutls; then
250 + einfo "Disabling NSS, using GnuTLS"
251 + myconf+=" --enable-nss=no --enable-gnutls=yes"
252 + myconf+=" --with-gnutls-includes=${EPREFIX}/usr/include/gnutls"
253 + myconf+=" --with-gnutls-libs=${EPREFIX}/usr/$(get_libdir)"
254 + else
255 + einfo "Disabling GnuTLS, using NSS"
256 + myconf+=" --enable-gnutls=no --enable-nss=yes"
257 + fi
258 +
259 + if use dbus || { use ncurses && use python; }; then
260 + myconf+=" --with-python=${PYTHON}"
261 + else
262 + myconf+=" --without-python"
263 + fi
264 +
265 + econf \
266 + $(use_enable ncurses consoleui) \
267 + $(use_enable gtk gtkui) \
268 + $(use_enable gtk sm) \
269 + $(use gtk || use_enable nls) \
270 + $(use gtk && echo "--enable-nls") \
271 + $(use gtk && use_enable xscreensaver screensaver) \
272 + $(use gtk && use_enable prediction cap) \
273 + $(use gtk && use_enable eds gevolution) \
274 + $(use gtk && use_enable spell gtkspell) \
275 + $(use_enable perl) \
276 + $(use_enable tk) \
277 + $(use_enable tcl) \
278 + $(use_enable debug) \
279 + $(use_enable dbus) \
280 + $(use_enable meanwhile) \
281 + $(use_enable gstreamer) \
282 + $(use_with gstreamer gstreamer 1.0) \
283 + $(use_enable gnome-keyring) \
284 + $(use_enable gstreamer farstream) \
285 + $(use_enable gstreamer vv) \
286 + $(use_enable sasl cyrus-sasl ) \
287 + $(use_enable doc doxygen) \
288 + $(use_enable networkmanager nm) \
289 + $(use_enable zeroconf avahi) \
290 + $(use_enable idn) \
291 + --with-system-ssl-certs="${EPREFIX}/etc/ssl/certs/" \
292 + --with-dynamic-prpls="${DYNAMIC_PRPLS}" \
293 + --disable-mono \
294 + --x-includes="${EPREFIX}"/usr/include/X11 \
295 + ${myconf}
296 + #$(use_enable mono) \
297 +}
298 +
299 +src_install() {
300 + gnome2_src_install
301 + if use gtk; then
302 + # Fix tray pathes for kde-3.5, e16 (x11-wm/enlightenment) and other
303 + # implementations that are not complient with new hicolor theme yet, #323355
304 + local pixmapdir
305 + for d in 16 22 32 48; do
306 + pixmapdir=${ED}/usr/share/pixmaps/pidgin/tray/hicolor/${d}x${d}/actions
307 + mkdir "${pixmapdir}" || die
308 + pushd "${pixmapdir}" >/dev/null || die
309 + for f in ../status/*; do
310 + ln -s ${f} || die
311 + done
312 + popd >/dev/null
313 + done
314 + fi
315 + use perl && perl_delete_localpod
316 +
317 + if use python || use dbus ; then
318 + python_fix_shebang "${D}"
319 + python_optimize
320 + fi
321 +
322 + dodoc finch/plugins/pietray.py
323 + docompress -x /usr/share/doc/${PF}/pietray.py
324 +
325 + prune_libtool_files --all
326 +}