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/
Date: Tue, 28 Jan 2014 18:57:46
Message-Id: 1390935418.a0fc05a2ffc9c36dc85f6fa127d8930dc3e0867f.chutzpah@gentoo
1 commit: a0fc05a2ffc9c36dc85f6fa127d8930dc3e0867f
2 Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 28 18:56:58 2014 +0000
4 Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 28 18:56:58 2014 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=dev/chutzpah.git;a=commit;h=a0fc05a2
7
8 net-im/pidgin: version bump
9
10 ---
11 net-im/pidgin/Manifest | 2 +
12 net-im/pidgin/pidgin-2.10.8-r1.ebuild | 241 ++++++++++++++++++++++++++++++++++
13 2 files changed, 243 insertions(+)
14
15 diff --git a/net-im/pidgin/Manifest b/net-im/pidgin/Manifest
16 index 0144d09..76b5937 100644
17 --- a/net-im/pidgin/Manifest
18 +++ b/net-im/pidgin/Manifest
19 @@ -6,7 +6,9 @@ AUX pidgin-2.10.7-link_sasl_in_irc_plugin.patch 642 SHA256 8f91df48549004c80d598
20 AUX pidgin-eds-3.6.patch 9895 SHA256 f7dcb08b14cbb2320a01afb59a815f8e11890cf9c4134e59f5551d60950b0feb SHA512 a936ef9c92f90ae6f82b41637bfb5434aaec459b5ebaf679676e1a5035a84ff88edad9a55aa09e8939c47b8634018036a62457b5dee6db821c63aba104b938a0 WHIRLPOOL 89b915ca597a44af6775c40a99e0cdd169c3e2737e356d6ecaf1eefb82439062ba2c902650c8fa82efbbce1fb6d14086204bd52abdf6da29de8d11576f1b26dd
21 AUX pidgin-gnome-keyring-2.patch 7680 SHA256 aae63e57a7dc50b1232a606f7824dc655f561ed5ff7ef36607e18a18c98aa221 SHA512 e6c93e4c5fc0ea283b8e5b9d660cfb5e8ab502ebda115a95d900f8d864d35098658b3b98b79e26e8aa26f60e63a89bc748778c5188d5c1013c861148b786d669 WHIRLPOOL 09104c9f2dde20e034272b940a92a9339a3fb5e253d265a489c68f27ccb6d9195835a97aefcb29db3f5f9553e3a230b9daf3c4dfa2be1cfb00787402b3406456
22 DIST pidgin-2.10.7.tar.bz2 10069279 SHA256 eba32994eca20d1cf24a4261b059b2de71a1ec2dd0926e904074b0db49f7f192 SHA512 0f0d421f91be3b1577527f3609bff164d7c57a94338e18dca5d8b7d911634a98b9c0e8860f3e62026eba09a6afb3112a8cd6770a90c89afdb9fb40f83dd6f3e4 WHIRLPOOL 025a392ab069817e2fea07d0e9e7efeee006eaf4ce2e6571c49b851735309f3346bfdbf34c874f55b440b71fbbba0ac55029da727b1f731175d72efb2e74f3b4
23 +DIST pidgin-2.10.8.tar.bz2 10050465 SHA256 b633367e3588ff3e615d68e812302dfdbe32e73693cbe42a0d827b7aed7a8227 SHA512 68ec93c6f7b5f98519e58796929cc3d7064125cee2ff41ea7582d368fee210a2799eac48ba2caf4faaf21a8932ca62328781c2bfc6a6fe8bd3023b725bacd93b WHIRLPOOL fbcc978a19a0178527d37cbced468c34e21fcebd7430fdaa89ea8e5d9473f78be42fa255d537d620f2ddbde08729178b366505ec9d0717c281a5ea0cd14f4929
24 DIST pidgin-eds-3.6.patch.bz2 2352 SHA256 321185dd5f44e502f671b17e84fa1ca2e08a3f7c79ed211c0bb92710700bcc41 SHA512 a0195679ab55ed9c7ea18ace6dbf0fc994698f1f4eea9d8335dfdcdcd6a68975c0191bd22f150bf5a9a0a691ce7e9e73d79598e1e8be541efa1d9824a633d877 WHIRLPOOL 5c1d3e933bdfa4b1f20f98dbf8b5c1669eb857b9db60dacae488fa04331300618df2f1265e4fb2e58ed31b24229df0edb8c30970d8172fd65ca7fa03bc0e3805
25 EBUILD pidgin-2.10.7-r2.ebuild 7449 SHA256 b55f944b2ce88ab2e2221a6d13186ca75efe47cee1fb06bc45ea1f519605dfaa SHA512 fb5a8ecbaae054aa4440156bcc926e27210161cf7cade128664b90bdafb7ede32f17ee191c4348bcba95f9fdf739c015a815ad0ffcdec13af6d9477b577895c9 WHIRLPOOL 457bc547c4498b527f05ba17a2c54b5a97c7a99bec45af69d5b813d9e3d98556a6f87a8364365ca2493d2ae8d4fcb8db069a37ded65e6be1f97dc8dd7571f424
26 EBUILD pidgin-2.10.7-r3.ebuild 7484 SHA256 795114bf7178f7892c7e54c7c526ea8838d4b18640df77190754af15b2da5f7d SHA512 2aaa2040a9797c4d93db9b6a0bf7fba2ab03ad93e1c414361e1021c2043f746b98bb9a2a02128c450e4aacfb7d781792282ae6a39b6396355cce6d737b3638d0 WHIRLPOOL 19982016e0d70c007eaa41610e3bd5b8b323ca8b43ee0472bf4179f63f8d21648bea6a3d8e93dc27d874ebae52d39bc2005cf155697ffff767aba6e9bdf4581a
27 EBUILD pidgin-2.10.7-r5.ebuild 7488 SHA256 10161c24d7d991f489087ebd758c4c6d6744017946cb7d3da6a966dda9d1d538 SHA512 ca16bdd784bc7a34fa05c769a811543c635627f4e6ad012dd6481ecd4a57f383d18ee7b5e435bc24a82ce8d650e7e8b89019cb55b92f826bd50e3fca1ec331b7 WHIRLPOOL be73a7a9a98a981da9ee1f02c7e974f99cc00d6ca1ef74b7a0ea641ab2b60b7c23530618ee559a2a51436a96f461f886cda1fb2130ea69bb1949b6192aba1d9f
28 +EBUILD pidgin-2.10.8-r1.ebuild 7397 SHA256 e8a6dc0195716b5ec9b1fffe6819e53a8a08a048c121996c0842733390d45108 SHA512 4fe6a19721f1f772786a544c8c39e1d9a6c4a2c9b1656f4d3d975d029b6cd4511885af082e809908e202c4aa681a5903384dd710c4fa21caedcb8bfdf2b4bffe WHIRLPOOL 555430c9e40a80e62109a8b847c97bc240d5e42ce5e4a0e6fb9fcfdac3eb9456196a690f212585367fff3aab51c8b6548d915dc6ad07c9808f938e320898a02d
29
30 diff --git a/net-im/pidgin/pidgin-2.10.8-r1.ebuild b/net-im/pidgin/pidgin-2.10.8-r1.ebuild
31 new file mode 100644
32 index 0000000..8beea0b
33 --- /dev/null
34 +++ b/net-im/pidgin/pidgin-2.10.8-r1.ebuild
35 @@ -0,0 +1,241 @@
36 +# Copyright 1999-2014 Gentoo Foundation
37 +# Distributed under the terms of the GNU General Public License v2
38 +# $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/pidgin-2.10.8-r1.ebuild,v 1.1 2014/01/28 17:05:37 polynomial-c Exp $
39 +
40 +EAPI=5
41 +
42 +GENTOO_DEPEND_ON_PERL=no
43 +PYTHON_COMPAT=( python2_7 )
44 +inherit autotools flag-o-matic eutils toolchain-funcs multilib perl-app gnome2 python-single-r1
45 +
46 +DESCRIPTION="GTK Instant Messenger client"
47 +HOMEPAGE="http://pidgin.im/"
48 +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2
49 + http://dev.gentoo.org/~polynomial-c/${PN}-eds-3.6.patch.bz2"
50 +
51 +LICENSE="GPL-2"
52 +SLOT="0"
53 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos"
54 +IUSE="dbus debug doc eds gadu gnutls +gstreamer +gtk idn meanwhile mxit"
55 +IUSE+=" networkmanager nls perl silc tcl tk spell sasl ncurses"
56 +IUSE+=" groupwise prediction python +xscreensaver zephyr zeroconf" # mono"
57 +IUSE+=" aqua"
58 +IUSE+=" gnome-keyring"
59 +
60 +# dbus requires python to generate C code for dbus bindings (thus DEPEND only).
61 +# finch uses libgnt that links with libpython - {R,}DEPEND. But still there is
62 +# no way to build dbus and avoid libgnt linkage with python. If you want this
63 +# send patch upstream.
64 +# purple-url-handler and purple-remote require dbus-python thus in reality we
65 +# rdepend on python if dbus enabled. But it is possible to separate this dep.
66 +RDEPEND="
67 + >=dev-libs/glib-2.16
68 + >=dev-libs/libxml2-2.6.18
69 + ncurses? ( sys-libs/ncurses[unicode]
70 + dbus? ( ${PYTHON_DEPS} )
71 + python? ( ${PYTHON_DEPS} ) )
72 + gtk? (
73 + >=x11-libs/gtk+-2.10:2[aqua=]
74 + x11-libs/libSM
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 + gstreamer? ( =media-libs/gstreamer-0.10*
80 + =media-libs/gst-plugins-good-0.10*
81 + || ( net-libs/farstream:0.1 net-libs/farsight2 )
82 + media-plugins/gst-plugins-meta:0.10
83 + media-plugins/gst-plugins-gconf:0.10 )
84 + zeroconf? ( net-dns/avahi[dbus] )
85 + dbus? ( >=dev-libs/dbus-glib-0.71
86 + >=sys-apps/dbus-0.90
87 + dev-python/dbus-python )
88 + perl? ( || ( >=dev-lang/perl-5.16 <dev-lang/perl-5.16[-build] ) )
89 + gadu? ( || ( >=net-libs/libgadu-1.11.0[ssl,gnutls]
90 + >=net-libs/libgadu-1.11.0[-ssl] ) )
91 + gnutls? ( net-libs/gnutls )
92 + !gnutls? ( >=dev-libs/nss-3.11 )
93 + meanwhile? ( net-libs/meanwhile )
94 + silc? ( >=net-im/silc-toolkit-1.0.1 )
95 + tcl? ( dev-lang/tcl )
96 + tk? ( dev-lang/tk )
97 + sasl? ( dev-libs/cyrus-sasl:2 )
98 + networkmanager? ( net-misc/networkmanager )
99 + idn? ( net-dns/libidn )
100 + !<x11-plugins/pidgin-facebookchat-1.69-r1"
101 + # Mono support crashes pidgin
102 + #mono? ( dev-lang/mono )"
103 +
104 +# We want nls in case gtk is enabled, bug #
105 +NLS_DEPEND=">=dev-util/intltool-0.41.1 sys-devel/gettext"
106 +
107 +DEPEND="$RDEPEND
108 + dev-lang/perl
109 + dev-perl/XML-Parser
110 + virtual/pkgconfig
111 + gtk? ( x11-proto/scrnsaverproto
112 + ${NLS_DEPEND} )
113 + dbus? ( ${PYTHON_DEPS} )
114 + doc? ( app-doc/doxygen )
115 + !gtk? ( nls? ( ${NLS_DEPEND} ) )"
116 +
117 +DOCS="AUTHORS HACKING NEWS README ChangeLog"
118 +
119 +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )
120 + dbus? ( ${PYTHON_REQUIRED_USE} )"
121 +
122 +# Enable Default protocols
123 +DYNAMIC_PRPLS="irc,jabber,oscar,yahoo,simple,msn,myspace"
124 +
125 +# List of plugins
126 +# app-accessibility/pidgin-festival
127 +# net-im/librvp
128 +# x11-plugins/guifications
129 +# x11-plugins/msn-pecan
130 +# x11-plugins/pidgin-encryption
131 +# x11-plugins/pidgin-extprefs
132 +# x11-plugins/pidgin-hotkeys
133 +# x11-plugins/pidgin-latex
134 +# x11-plugins/pidgintex
135 +# x11-plugins/pidgin-libnotify
136 +# x11-plugins/pidgin-mbpurple
137 +# x11-plugins/pidgin-bot-sentry
138 +# x11-plugins/pidgin-otr
139 +# x11-plugins/pidgin-rhythmbox
140 +# x11-plugins/purple-plugin_pack
141 +# x11-themes/pidgin-smileys
142 +# x11-plugins/pidgin-knotify
143 +# Plugins in Sunrise:
144 +# x11-plugins/pidgin-audacious-remote
145 +# x11-plugins/pidgin-autoanswer
146 +# x11-plugins/pidgin-birthday-reminder
147 +# x11-plugins/pidgin-blinklight
148 +# x11-plugins/pidgin-convreverse
149 +# x11-plugins/pidgin-embeddedvideo
150 +# x11-plugins/pidgin-extended-blist-sort
151 +# x11-plugins/pidgin-gfire
152 +# x11-plugins/pidgin-lastfm
153 +# x11-plugins/pidgin-sendscreenshot
154 +# x11-plugins/pidgimpd
155 +
156 +pkg_setup() {
157 + if ! use gtk && ! use ncurses ; then
158 + elog "You did not pick the ncurses or gtk use flags, only libpurple"
159 + elog "will be built."
160 + fi
161 + if use dbus || { use ncurses && use python; }; then
162 + python-single-r1_pkg_setup
163 + fi
164 +
165 + # dbus is enabled, no way to disable linkage with python => python is enabled
166 + #REQUIRED_USE="gtk? ( nls ) dbus? ( python )"
167 + if use gtk && ! use nls; then
168 + ewarn "gtk build => nls is enabled!"
169 + fi
170 + if use dbus && ! use python; then
171 + elog "dbus is enabled, no way to disable linkage with python => python is enabled"
172 + fi
173 +}
174 +
175 +src_prepare() {
176 + epatch "${FILESDIR}/${PN}-2.10.0-gold.patch" \
177 + "${WORKDIR}/${PN}-eds-3.6.patch"
178 +
179 + epatch_user
180 + epatch "${FILESDIR}"/pidgin-gnome-keyring-2.patch
181 +
182 + eautoreconf
183 +}
184 +
185 +src_configure() {
186 + # Stabilize things, for your own good
187 + strip-flags
188 + replace-flags -O? -O2
189 +
190 + local myconf
191 +
192 + if use gadu; then
193 + DYNAMIC_PRPLS="${DYNAMIC_PRPLS},gg"
194 + myconf="${myconf} --with-gadu-includes=."
195 + myconf="${myconf} --with-gadu-libs=."
196 + fi
197 +
198 + use groupwise && DYNAMIC_PRPLS+=",novell"
199 + use silc && DYNAMIC_PRPLS+=",silc"
200 + use meanwhile && DYNAMIC_PRPLS+=",sametime"
201 + use mxit && DYNAMIC_PRPLS+=",mxit"
202 + use zephyr && DYNAMIC_PRPLS+=",zephyr"
203 + use zeroconf && DYNAMIC_PRPLS+=",bonjour"
204 +
205 + if use gnutls; then
206 + einfo "Disabling NSS, using GnuTLS"
207 + myconf+=" --enable-nss=no --enable-gnutls=yes"
208 + myconf+=" --with-gnutls-includes=${EPREFIX}/usr/include/gnutls"
209 + myconf+=" --with-gnutls-libs=${EPREFIX}/usr/$(get_libdir)"
210 + else
211 + einfo "Disabling GnuTLS, using NSS"
212 + myconf+=" --enable-gnutls=no --enable-nss=yes"
213 + fi
214 +
215 + if use dbus || { use ncurses && use python; }; then
216 + myconf+=" --with-python=${PYTHON}"
217 + else
218 + myconf+=" --without-python"
219 + fi
220 +
221 + econf \
222 + $(use_enable ncurses consoleui) \
223 + $(use_enable gtk gtkui) \
224 + $(use_enable gtk sm) \
225 + $(use gtk || use_enable nls) \
226 + $(use gtk && echo "--enable-nls") \
227 + $(use gtk && use_enable xscreensaver screensaver) \
228 + $(use gtk && use_enable prediction cap) \
229 + $(use gtk && use_enable eds gevolution) \
230 + $(use gtk && use_enable spell gtkspell) \
231 + $(use_enable perl) \
232 + $(use_enable tk) \
233 + $(use_enable tcl) \
234 + $(use_enable debug) \
235 + $(use_enable dbus) \
236 + $(use_enable meanwhile) \
237 + $(use_enable gstreamer) \
238 + $(use_enable gnome-keyring) \
239 + $(use_enable gstreamer farstream) \
240 + $(use_enable gstreamer vv) \
241 + $(use_enable sasl cyrus-sasl ) \
242 + $(use_enable doc doxygen) \
243 + $(use_enable networkmanager nm) \
244 + $(use_enable zeroconf avahi) \
245 + $(use_enable idn) \
246 + --with-system-ssl-certs="${EPREFIX}/etc/ssl/certs/" \
247 + --with-dynamic-prpls="${DYNAMIC_PRPLS}" \
248 + --disable-mono \
249 + --x-includes="${EPREFIX}"/usr/include/X11 \
250 + ${myconf}
251 + #$(use_enable mono) \
252 +}
253 +
254 +src_install() {
255 + gnome2_src_install
256 + if use gtk; then
257 + # Fix tray pathes for kde-3.5, e16 (x11-wm/enlightenment) and other
258 + # implementations that are not complient with new hicolor theme yet, #323355
259 + local pixmapdir
260 + for d in 16 22 32 48; do
261 + pixmapdir=${ED}/usr/share/pixmaps/pidgin/tray/hicolor/${d}x${d}/actions
262 + mkdir "${pixmapdir}" || die
263 + pushd "${pixmapdir}" >/dev/null || die
264 + for f in ../status/*; do
265 + ln -s ${f} || die
266 + done
267 + popd >/dev/null
268 + done
269 + fi
270 + use perl && fixlocalpod
271 +
272 + dodoc finch/plugins/pietray.py
273 + docompress -x /usr/share/doc/${PF}/pietray.py
274 +
275 + prune_libtool_files --all
276 +}