Gentoo Archives: gentoo-commits

From: "Lars Wendler (polynomial-c)" <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-im/pidgin: ChangeLog pidgin-2.10.6.ebuild pidgin-2.10.5.ebuild
Date: Mon, 09 Jul 2012 14:01:57
Message-Id: 20120709140146.9E59F20063@flycatcher.gentoo.org
1 polynomial-c 12/07/09 14:01:46
2
3 Modified: ChangeLog
4 Added: pidgin-2.10.6.ebuild
5 Removed: pidgin-2.10.5.ebuild
6 Log:
7 Version bump. Removed "old".
8
9 (Portage version: 2.2.0_alpha116/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.287 net-im/pidgin/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/pidgin/ChangeLog?rev=1.287&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/pidgin/ChangeLog?rev=1.287&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/pidgin/ChangeLog?r1=1.286&r2=1.287
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-im/pidgin/ChangeLog,v
21 retrieving revision 1.286
22 retrieving revision 1.287
23 diff -u -r1.286 -r1.287
24 --- ChangeLog 6 Jul 2012 16:25:24 -0000 1.286
25 +++ ChangeLog 9 Jul 2012 14:01:44 -0000 1.287
26 @@ -1,6 +1,12 @@
27 # ChangeLog for net-im/pidgin
28 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/ChangeLog,v 1.286 2012/07/06 16:25:24 polynomial-c Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/ChangeLog,v 1.287 2012/07/09 14:01:44 polynomial-c Exp $
31 +
32 +*pidgin-2.10.6 (09 Jul 2012)
33 +
34 + 09 Jul 2012; Lars Wendler <polynomial-c@g.o> -pidgin-2.10.5.ebuild,
35 + +pidgin-2.10.6.ebuild:
36 + non-maintainer commit: Version bump. Removed "old".
37
38 *pidgin-2.10.5 (06 Jul 2012)
39
40
41
42
43 1.1 net-im/pidgin/pidgin-2.10.6.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/pidgin/pidgin-2.10.6.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/pidgin/pidgin-2.10.6.ebuild?rev=1.1&content-type=text/plain
47
48 Index: pidgin-2.10.6.ebuild
49 ===================================================================
50 # Copyright 1999-2012 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/pidgin-2.10.6.ebuild,v 1.1 2012/07/09 14:01:46 polynomial-c Exp $
53
54 EAPI=4
55
56 GENTOO_DEPEND_ON_PERL=no
57 inherit flag-o-matic eutils toolchain-funcs multilib perl-app gnome2 python
58
59 DESCRIPTION="GTK Instant Messenger client"
60 HOMEPAGE="http://pidgin.im/"
61 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
62
63 LICENSE="GPL-2"
64 SLOT="0"
65 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos"
66 IUSE="dbus debug doc eds gadu gnutls +gstreamer +gtk idn meanwhile"
67 IUSE+=" networkmanager nls perl silc tcl tk spell sasl ncurses"
68 IUSE+=" groupwise prediction python +xscreensaver zephyr zeroconf" # mono"
69 IUSE+=" aqua"
70
71 # dbus requires python to generate C code for dbus bindings (thus DEPEND only).
72 # finch uses libgnt that links with libpython - {R,}DEPEND. But still there is
73 # no way to build dbus and avoid libgnt linkage with python. If you want this
74 # send patch upstream.
75 # purple-url-handler and purple-remote require dbus-python thus in reality we
76 # rdepend on python if dbus enabled. But it is possible to separate this dep.
77 RDEPEND="
78 >=dev-libs/glib-2.16
79 >=dev-libs/libxml2-2.6.18
80 ncurses? ( sys-libs/ncurses[unicode]
81 dbus? ( <dev-lang/python-3 )
82 python? ( <dev-lang/python-3 ) )
83 gtk? (
84 >=x11-libs/gtk+-2.10:2[aqua=]
85 x11-libs/libSM
86 xscreensaver? ( x11-libs/libXScrnSaver )
87 spell? ( >=app-text/gtkspell-2.0.2:2 )
88 eds? ( gnome-extra/evolution-data-server )
89 prediction? ( >=dev-db/sqlite-3.3:3 ) )
90 gstreamer? ( =media-libs/gstreamer-0.10*
91 =media-libs/gst-plugins-good-0.10*
92 || ( net-libs/farstream net-libs/farsight2 )
93 media-plugins/gst-plugins-meta
94 media-plugins/gst-plugins-gconf )
95 zeroconf? ( net-dns/avahi[dbus] )
96 dbus? ( >=dev-libs/dbus-glib-0.71
97 >=sys-apps/dbus-0.90
98 dev-python/dbus-python )
99 perl? ( >=dev-lang/perl-5.8.2-r1[-build] )
100 gadu? ( || ( >=net-libs/libgadu-1.11.0[ssl,gnutls]
101 >=net-libs/libgadu-1.11.0[-ssl] ) )
102 gnutls? ( net-libs/gnutls )
103 !gnutls? ( >=dev-libs/nss-3.11 )
104 meanwhile? ( net-libs/meanwhile )
105 silc? ( >=net-im/silc-toolkit-1.0.1 )
106 tcl? ( dev-lang/tcl )
107 tk? ( dev-lang/tk )
108 sasl? ( dev-libs/cyrus-sasl:2 )
109 networkmanager? ( net-misc/networkmanager )
110 idn? ( net-dns/libidn )
111 !<x11-plugins/pidgin-facebookchat-1.69-r1"
112 # Mono support crashes pidgin
113 #mono? ( dev-lang/mono )"
114
115 # We want nls in case gtk is enabled, bug #
116 NLS_DEPEND=">=dev-util/intltool-0.41.1 sys-devel/gettext"
117
118 DEPEND="$RDEPEND
119 dev-lang/perl
120 dev-perl/XML-Parser
121 virtual/pkgconfig
122 gtk? ( x11-proto/scrnsaverproto
123 ${NLS_DEPEND} )
124 dbus? ( <dev-lang/python-3 )
125 doc? ( app-doc/doxygen )
126 !gtk? ( nls? ( ${NLS_DEPEND} ) )"
127
128 DOCS="AUTHORS HACKING NEWS README ChangeLog"
129
130 # Enable Default protocols
131 DYNAMIC_PRPLS="irc,jabber,oscar,yahoo,simple,msn,myspace"
132
133 # List of plugins
134 # app-accessibility/pidgin-festival
135 # net-im/librvp
136 # x11-plugins/guifications
137 # x11-plugins/msn-pecan
138 # x11-plugins/pidgin-encryption
139 # x11-plugins/pidgin-extprefs
140 # x11-plugins/pidgin-hotkeys
141 # x11-plugins/pidgin-latex
142 # x11-plugins/pidgintex
143 # x11-plugins/pidgin-libnotify
144 # x11-plugins/pidgin-mbpurple
145 # x11-plugins/pidgin-bot-sentry
146 # x11-plugins/pidgin-otr
147 # x11-plugins/pidgin-rhythmbox
148 # x11-plugins/purple-plugin_pack
149 # x11-themes/pidgin-smileys
150 # x11-plugins/pidgin-knotify
151 # Plugins in Sunrise:
152 # x11-plugins/pidgin-audacious-remote
153 # x11-plugins/pidgin-autoanswer
154 # x11-plugins/pidgin-birthday-reminder
155 # x11-plugins/pidgin-blinklight
156 # x11-plugins/pidgin-convreverse
157 # x11-plugins/pidgin-embeddedvideo
158 # x11-plugins/pidgin-extended-blist-sort
159 # x11-plugins/pidgin-gfire
160 # x11-plugins/pidgin-lastfm
161 # x11-plugins/pidgin-sendscreenshot
162 # x11-plugins/pidgimpd
163
164 pkg_setup() {
165 if ! use gtk && ! use ncurses ; then
166 elog "You did not pick the ncurses or gtk use flags, only libpurple"
167 elog "will be built."
168 fi
169 if use dbus || { use ncurses && use python; }; then
170 python_set_active_version 2
171 python_pkg_setup
172 fi
173
174 # dbus is enabled, no way to disable linkage with python => python is enabled
175 #REQUIRED_USE="gtk? ( nls ) dbus? ( python )"
176 if use gtk && ! use nls; then
177 ewarn "gtk build => nls is enabled!"
178 fi
179 if use dbus && ! use python; then
180 elog "dbus is enabled, no way to disable linkage with python => python is enabled"
181 fi
182 }
183
184 src_prepare() {
185 epatch "${FILESDIR}/${PN}-2.10.0-gold.patch"
186 }
187
188 src_configure() {
189 # Stabilize things, for your own good
190 strip-flags
191 replace-flags -O? -O2
192
193 local myconf
194
195 if use gadu; then
196 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},gg"
197 myconf="${myconf} --with-gadu-includes=."
198 myconf="${myconf} --with-gadu-libs=."
199 fi
200
201 use silc && DYNAMIC_PRPLS+=",silc"
202 use meanwhile && DYNAMIC_PRPLS+=",sametime"
203 use zeroconf && DYNAMIC_PRPLS+=",bonjour"
204 use groupwise && DYNAMIC_PRPLS+=",novell"
205 use zephyr && DYNAMIC_PRPLS+=",zephyr"
206
207 if use gnutls; then
208 einfo "Disabling NSS, using GnuTLS"
209 myconf+=" --enable-nss=no --enable-gnutls=yes"
210 myconf+=" --with-gnutls-includes=${EPREFIX}/usr/include/gnutls"
211 myconf+=" --with-gnutls-libs=${EPREFIX}/usr/$(get_libdir)"
212 else
213 einfo "Disabling GnuTLS, using NSS"
214 myconf+=" --enable-gnutls=no --enable-nss=yes"
215 fi
216
217 if use dbus || { use ncurses && use python; }; then
218 myconf+=" --with-python=$(PYTHON)"
219 else
220 myconf+=" --without-python"
221 fi
222
223 econf \
224 --disable-silent-rules \
225 $(use_enable ncurses consoleui) \
226 $(use_enable gtk gtkui) \
227 $(use_enable gtk sm) \
228 $(use gtk || use_enable nls) \
229 $(use gtk && echo "--enable-nls") \
230 $(use gtk && use_enable xscreensaver screensaver) \
231 $(use gtk && use_enable prediction cap) \
232 $(use gtk && use_enable eds gevolution) \
233 $(use gtk && use_enable spell gtkspell) \
234 $(use_enable perl) \
235 $(use_enable tk) \
236 $(use_enable tcl) \
237 $(use_enable debug) \
238 $(use_enable dbus) \
239 $(use_enable meanwhile) \
240 $(use_enable gstreamer) \
241 $(use_enable gstreamer farstream) \
242 $(use_enable gstreamer vv) \
243 $(use_enable sasl cyrus-sasl ) \
244 $(use_enable doc doxygen) \
245 $(use_enable networkmanager nm) \
246 $(use_enable zeroconf avahi) \
247 $(use_enable idn) \
248 --with-system-ssl-certs="${EPREFIX}/etc/ssl/certs/" \
249 --with-dynamic-prpls="${DYNAMIC_PRPLS}" \
250 --disable-mono \
251 --x-includes="${EPREFIX}"/usr/include/X11 \
252 ${myconf}
253 #$(use_enable mono) \
254 }
255
256 src_install() {
257 gnome2_src_install
258 if use gtk; then
259 # Fix tray pathes for kde-3.5, e16 (x11-wm/enlightenment) and other
260 # implementations that are not complient with new hicolor theme yet, #323355
261 local pixmapdir
262 for d in 16 22 32 48; do
263 pixmapdir=${ED}/usr/share/pixmaps/pidgin/tray/hicolor/${d}x${d}/actions
264 mkdir "${pixmapdir}" || die
265 pushd "${pixmapdir}" >/dev/null || die
266 for f in ../status/*; do
267 ln -s ${f} || die
268 done
269 popd >/dev/null
270 done
271 fi
272 use perl && fixlocalpod
273
274 dodoc finch/plugins/pietray.py
275 docompress -x /usr/share/doc/${PF}/pietray.py
276
277 find "${ED}" -type f -name '*.la' -exec rm -rf '{}' '+' || die "la removal failed"
278 }