Gentoo Archives: gentoo-commits

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