Gentoo Archives: gentoo-commits

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