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