Gentoo Archives: gentoo-commits

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