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