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.7.0-r1.ebuild pidgin-2.6.5.ebuild pidgin-2.6.3.ebuild
Date: Wed, 26 May 2010 20:50:45
Message-Id: 20100526205038.F0F592CF11@corvid.gentoo.org
1 pva 10/05/26 20:50:38
2
3 Modified: metadata.xml ChangeLog
4 Added: pidgin-2.7.0-r1.ebuild
5 Removed: pidgin-2.6.5.ebuild pidgin-2.6.3.ebuild
6 Log:
7 Added upstream fixes, in particular, don't force gstreamer, bug 320167, thank Milan Nikolic for report and Polynomial-C for this fix. Drop old.
8 (Portage version: 2.1.8.3/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.4 net-im/pidgin/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/pidgin/metadata.xml?rev=1.4&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/pidgin/metadata.xml?rev=1.4&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/pidgin/metadata.xml?r1=1.3&r2=1.4
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-im/pidgin/metadata.xml,v
20 retrieving revision 1.3
21 retrieving revision 1.4
22 diff -u -r1.3 -r1.4
23 --- metadata.xml 20 Dec 2009 20:25:41 -0000 1.3
24 +++ metadata.xml 26 May 2010 20:50:38 -0000 1.4
25 @@ -9,6 +9,7 @@
26 <flag name='bonjour'>Enable bonjour (zeroconf) support</flag>
27 <flag name='gadu'>Enable Gadu Gadu protocol support</flag>
28 <flag name='groupwise'>Enable Novell Groupwise protocol support</flag>
29 + <flag name='krb4'>Compile Zephyr plugin with Kerberos 4 support</flag>
30 <flag name='meanwhile'>Enable meanwhile support for Sametime protocol</flag>
31 <flag name='prediction'>Enable Contact Availability Prediction plugin</flag>
32 <flag name='qq'>Enable QQ protocol support</flag>
33
34
35
36 1.164 net-im/pidgin/ChangeLog
37
38 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/pidgin/ChangeLog?rev=1.164&view=markup
39 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/pidgin/ChangeLog?rev=1.164&content-type=text/plain
40 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/pidgin/ChangeLog?r1=1.163&r2=1.164
41
42 Index: ChangeLog
43 ===================================================================
44 RCS file: /var/cvsroot/gentoo-x86/net-im/pidgin/ChangeLog,v
45 retrieving revision 1.163
46 retrieving revision 1.164
47 diff -u -r1.163 -r1.164
48 --- ChangeLog 17 May 2010 00:59:23 -0000 1.163
49 +++ ChangeLog 26 May 2010 20:50:38 -0000 1.164
50 @@ -1,6 +1,13 @@
51 # ChangeLog for net-im/pidgin
52 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
53 -# $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/ChangeLog,v 1.163 2010/05/17 00:59:23 tester Exp $
54 +# $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/ChangeLog,v 1.164 2010/05/26 20:50:38 pva Exp $
55 +
56 +*pidgin-2.7.0-r1 (26 May 2010)
57 +
58 + 26 May 2010; Peter Volkov <pva@g.o> -pidgin-2.6.3.ebuild,
59 + -pidgin-2.6.5.ebuild, +pidgin-2.7.0-r1.ebuild, metadata.xml:
60 + Added upstream fixes, in particular, don't force gstreamer, bug 320167,
61 + thank Milan Nikolic for report and Polynomial-C for this fix. Drop old.
62
63 17 May 2010; Olivier CrĂȘte <tester@g.o> pidgin-2.7.0.ebuild,
64 +files/pidgin-2.7.0-icq-fix.patch:
65
66
67
68 1.1 net-im/pidgin/pidgin-2.7.0-r1.ebuild
69
70 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/pidgin/pidgin-2.7.0-r1.ebuild?rev=1.1&view=markup
71 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/pidgin/pidgin-2.7.0-r1.ebuild?rev=1.1&content-type=text/plain
72
73 Index: pidgin-2.7.0-r1.ebuild
74 ===================================================================
75 # Copyright 1999-2010 Gentoo Foundation
76 # Distributed under the terms of the GNU General Public License v2
77 # $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/pidgin-2.7.0-r1.ebuild,v 1.1 2010/05/26 20:50:38 pva Exp $
78
79 EAPI=2
80
81 GENTOO_DEPEND_ON_PERL=no
82 inherit flag-o-matic eutils toolchain-funcs multilib perl-app gnome2 autotools
83
84 DESCRIPTION="GTK Instant Messenger client"
85 HOMEPAGE="http://pidgin.im/"
86 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2
87 mirror://gentoo/pidgin-2.7.0-mtn20100526.patch.bz2"
88
89 LICENSE="GPL-2"
90 SLOT="0"
91 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
92 IUSE="dbus debug doc eds gadu gnutls +gstreamer +gtk idn krb4 meanwhile"
93 IUSE+=" networkmanager nls perl silc tcl tk spell qq sasl +startup-notification"
94 IUSE+=" ncurses groupwise prediction +xscreensaver zephyr zeroconf" # mono"
95
96 RDEPEND="
97 >=dev-libs/glib-2.12
98 >=dev-libs/libxml2-2.6.18
99 ncurses? ( sys-libs/ncurses[unicode] )
100 gtk? (
101 >=x11-libs/gtk+-2.10:2
102 x11-libs/libSM
103 xscreensaver? ( x11-libs/libXScrnSaver )
104 startup-notification? ( >=x11-libs/startup-notification-0.5 )
105 spell? ( >=app-text/gtkspell-2.0.2 )
106 eds? ( <gnome-extra/evolution-data-server-2.30 )
107 prediction? ( >=dev-db/sqlite-3.3:3 ) )
108 gstreamer? ( =media-libs/gstreamer-0.10*
109 =media-libs/gst-plugins-good-0.10*
110 >=net-libs/farsight2-0.0.14
111 media-plugins/gst-plugins-meta
112 media-plugins/gst-plugins-gconf )
113 zeroconf? ( net-dns/avahi )
114 dbus? ( >=dev-libs/dbus-glib-0.71
115 >=dev-python/dbus-python-0.71
116 >=sys-apps/dbus-0.90
117 >=dev-lang/python-2.4 )
118 perl? ( >=dev-lang/perl-5.8.2-r1[-build] )
119 gadu? ( >=net-libs/libgadu-1.9.0[-ssl] )
120 gnutls? ( net-libs/gnutls )
121 !gnutls? ( >=dev-libs/nss-3.11 )
122 meanwhile? ( net-libs/meanwhile )
123 silc? ( >=net-im/silc-toolkit-1.0.1 )
124 zephyr? ( >=app-crypt/mit-krb5-1.3.6-r1[krb4?] )
125 tcl? ( dev-lang/tcl )
126 tk? ( dev-lang/tk )
127 sasl? ( dev-libs/cyrus-sasl:2 )
128 networkmanager? ( net-misc/networkmanager )
129 idn? ( net-dns/libidn )"
130 # Mono support crashes pidgin
131 #mono? ( dev-lang/mono )"
132
133 DEPEND="$RDEPEND
134 dev-lang/perl
135 dev-perl/XML-Parser
136 dev-util/pkgconfig
137 gtk? ( x11-proto/scrnsaverproto )
138 doc? ( app-doc/doxygen )
139 nls? ( >=dev-util/intltool-0.41.1
140 sys-devel/gettext )"
141
142 # Enable Default protocols
143 DYNAMIC_PRPLS="irc,jabber,oscar,yahoo,simple,msn,myspace"
144
145 # List of plugins
146 # app-accessibility/pidgin-festival
147 # net-im/librvp
148 # x11-plugins/guifications
149 # x11-plugins/msn-pecan
150 # x11-plugins/pidgin-encryption
151 # x11-plugins/pidgin-extprefs
152 # x11-plugins/pidgin-hotkeys
153 # x11-plugins/pidgin-latex
154 # x11-plugins/pidgintex
155 # x11-plugins/pidgin-libnotify
156 # x11-plugins/pidgin-otr
157 # x11-plugins/pidgin-rhythmbox
158 # x11-plugins/purple-plugin_pack
159 # x11-themes/pidgin-smileys
160 # x11-plugins/pidgin-knotify
161 # Plugins in Sunrise:
162 # x11-plugins/pidgimpd
163 # x11-plugins/pidgin-birthday
164 # x11-plugins/pidgin-botsentry
165 # x11-plugins/pidgin-convreverse
166 # x11-plugins/pidgin-extended-blist-sort
167 # x11-plugins/pidgin-lastfm
168 # x11-plugins/pidgin-mbpurple
169
170 pkg_setup() {
171 if ! use gtk && ! use ncurses ; then
172 einfo
173 elog "You did not pick the ncurses or gtk use flags, only libpurple"
174 elog "will be built."
175 einfo
176 fi
177 if ! use xscreensaver; then
178 elog "Note: xscreensaver USE flag is disabled. Thus pidgin will be unable"
179 elog "to monitor idle/active status based on mouse/keyboard events"
180 fi
181 }
182
183 src_prepare() {
184 # Fixes from upstream as of 20100526
185 epatch "${WORKDIR}/pidgin-2.7.0-mtn20100526.patch"
186 eautoreconf
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 qq && DYNAMIC_PRPLS+=",qq"
204 use meanwhile && DYNAMIC_PRPLS+=",sametime"
205 use zeroconf && DYNAMIC_PRPLS+=",bonjour"
206 use groupwise && DYNAMIC_PRPLS+=",novell"
207 use zephyr && DYNAMIC_PRPLS+=",zephyr"
208
209 if use gnutls ; then
210 einfo "Disabling NSS, using GnuTLS"
211 myconf="${myconf} --enable-nss=no --enable-gnutls=yes"
212 myconf="${myconf} --with-gnutls-includes=/usr/include/gnutls"
213 myconf="${myconf} --with-gnutls-libs=/usr/$(get_libdir)"
214 else
215 einfo "Disabling GnuTLS, using NSS"
216 myconf="${myconf} --enable-gnutls=no --enable-nss=yes"
217 fi
218
219 econf \
220 $(use_enable ncurses consoleui) \
221 $(use_enable nls) \
222 $(use_enable gtk gtkui) \
223 $(use_enable gtk sm) \
224 $(use gtk && use_enable startup-notification) \
225 $(use gtk && use_enable xscreensaver screensaver) \
226 $(use gtk && use_enable prediction cap) \
227 $(use gtk && use_enable eds gevolution) \
228 $(use gtk && use_enable spell gtkspell) \
229 $(use_enable perl) \
230 $(use_enable tk) \
231 $(use_enable tcl) \
232 $(use_enable debug) \
233 $(use_enable dbus) \
234 $(use_enable meanwhile) \
235 $(use_enable gstreamer) \
236 $(use_enable gstreamer farsight) \
237 $(use_enable gstreamer vv) \
238 $(use_enable sasl cyrus-sasl ) \
239 $(use_enable doc doxygen) \
240 $(use_enable networkmanager nm) \
241 $(use_with krb4) \
242 $(use_enable zeroconf avahi) \
243 $(use_enable idn) \
244 "--with-dynamic-prpls=${DYNAMIC_PRPLS}" \
245 --disable-mono \
246 --x-includes=/usr/include/X11 \
247 ${myconf}
248 #$(use_enable mono) \
249 }
250
251 src_install() {
252 gnome2_src_install
253 use perl && fixlocalpod
254 dodoc AUTHORS HACKING INSTALL NEWS README ChangeLog
255 }