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: ChangeLog pidgin-2.2.2.ebuild pidgin-2.3.0.ebuild
Date: Fri, 30 Nov 2007 16:42:32
Message-Id: E1Iy8wa-0003Ba-3X@stork.gentoo.org
1 tester 07/11/30 16:42:24
2
3 Modified: ChangeLog pidgin-2.2.2.ebuild
4 Added: pidgin-2.3.0.ebuild
5 Log:
6 Version bump, now allow building libpurple without a UI, in preparation for telepathy-haze
7 (Portage version: 2.1.3.19)
8
9 Revision Changes Path
10 1.40 net-im/pidgin/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pidgin/ChangeLog?rev=1.40&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pidgin/ChangeLog?rev=1.40&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pidgin/ChangeLog?r1=1.39&r2=1.40
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-im/pidgin/ChangeLog,v
19 retrieving revision 1.39
20 retrieving revision 1.40
21 diff -u -r1.39 -r1.40
22 --- ChangeLog 26 Oct 2007 01:27:49 -0000 1.39
23 +++ ChangeLog 30 Nov 2007 16:42:23 -0000 1.40
24 @@ -1,6 +1,13 @@
25 # ChangeLog for net-im/pidgin
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/ChangeLog,v 1.39 2007/10/26 01:27:49 tester Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/ChangeLog,v 1.40 2007/11/30 16:42:23 tester Exp $
29 +
30 +*pidgin-2.3.0 (30 Nov 2007)
31 +
32 + 30 Nov 2007; Olivier CrĂȘte <tester@g.o> pidgin-2.2.2.ebuild,
33 + +pidgin-2.3.0.ebuild:
34 + Version bump, now allow building libpurple without a UI, in preparation for
35 + telepathy-haze
36
37 *pidgin-2.2.2 (26 Oct 2007)
38
39
40
41
42 1.2 net-im/pidgin/pidgin-2.2.2.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pidgin/pidgin-2.2.2.ebuild?rev=1.2&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pidgin/pidgin-2.2.2.ebuild?rev=1.2&content-type=text/plain
46 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pidgin/pidgin-2.2.2.ebuild?r1=1.1&r2=1.2
47
48 Index: pidgin-2.2.2.ebuild
49 ===================================================================
50 RCS file: /var/cvsroot/gentoo-x86/net-im/pidgin/pidgin-2.2.2.ebuild,v
51 retrieving revision 1.1
52 retrieving revision 1.2
53 diff -u -r1.1 -r1.2
54 --- pidgin-2.2.2.ebuild 26 Oct 2007 01:27:49 -0000 1.1
55 +++ pidgin-2.2.2.ebuild 30 Nov 2007 16:42:23 -0000 1.2
56 @@ -1,6 +1,6 @@
57 # Copyright 1999-2007 Gentoo Foundation
58 # Distributed under the terms of the GNU General Public License v2
59 -# $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/pidgin-2.2.2.ebuild,v 1.1 2007/10/26 01:27:49 tester Exp $
60 +# $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/pidgin-2.2.2.ebuild,v 1.2 2007/11/30 16:42:23 tester Exp $
61
62 inherit flag-o-matic eutils toolchain-funcs multilib perl-app gnome2
63
64 @@ -63,23 +63,21 @@
65 # x11-plugins/autoprofile
66 # x11-plugins/gaim-xfire
67 # x11-plugins/gaim-galago
68 -# x11-themes/gaim-smileys (get liquidx to fix it)
69
70 # Abandonned
71 -# x11-plugins/ignorance
72 -# x11-plugins/bangexec
73 # x11-plugins/gaim-assistant
74 # Last release in 2004
75 # net-im/gaim-blogger
76 # x11-plugins/gaimosd
77 -# Last release in 2005
78 -# app-accessibility/festival-gaim
79 # Merged into something else
80 # net-im/gaim-meanwhile (integrated in gaim)
81 # net-im/gaim-snpp (merged into the plugin pack)
82 # x11-plugins/gaim-slashexec (integrated into plugin pack)
83 +# x11-plugins/ignorance (into plugin pack)
84 +# x11-plugins/bangexec (into slashexec into plugin pack)
85
86 # List of plugins
87 +# app-accessibility/pidgin-festival
88 # net-im/librvp
89 # x11-plugins/guifications
90 # x11-plugins/pidgin-encryption
91 @@ -90,6 +88,7 @@
92 # x11-plugins/pidgin-otr
93 # x11-plugins/pidgin-rhythmbox
94 # x11-plugins/purple-plugin_pack
95 +# x11-themes/pidgin-smileys
96
97 print_pidgin_warning() {
98 ewarn
99
100
101
102 1.1 net-im/pidgin/pidgin-2.3.0.ebuild
103
104 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pidgin/pidgin-2.3.0.ebuild?rev=1.1&view=markup
105 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pidgin/pidgin-2.3.0.ebuild?rev=1.1&content-type=text/plain
106
107 Index: pidgin-2.3.0.ebuild
108 ===================================================================
109 # Copyright 1999-2007 Gentoo Foundation
110 # Distributed under the terms of the GNU General Public License v2
111 # $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/pidgin-2.3.0.ebuild,v 1.1 2007/11/30 16:42:23 tester Exp $
112
113 inherit flag-o-matic eutils toolchain-funcs multilib perl-app gnome2
114
115 MY_PV=${P/_beta/beta}
116
117 DESCRIPTION="GTK Instant Messenger client"
118 HOMEPAGE="http://pidgin.im/"
119 SRC_URI="mirror://sourceforge/${PN}/${MY_PV}.tar.bz2"
120
121 LICENSE="GPL-2"
122 SLOT="0"
123 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
124 IUSE="bonjour dbus debug doc eds gadu gnutls gstreamer meanwhile networkmanager nls perl silc tcl tk spell qq gadu"
125 IUSE="${IUSE} gtk sasl ncurses groupwise prediction zephyr" # mono"
126
127 RDEPEND="
128 bonjour? ( net-dns/avahi )
129 dbus? ( >=dev-libs/dbus-glib-0.71
130 >=dev-python/dbus-python-0.71
131 >=sys-apps/dbus-0.90
132 >=dev-lang/python-2.4 )
133 gtk? (
134 spell? ( >=app-text/gtkspell-2.0.2 )
135 >=x11-libs/gtk+-2.0
136 >=x11-libs/startup-notification-0.5
137 x11-libs/libXScrnSaver
138 eds? ( gnome-extra/evolution-data-server ) )
139 >=dev-libs/glib-2.0
140 gstreamer? ( =media-libs/gstreamer-0.10*
141 =media-libs/gst-plugins-good-0.10* )
142 perl? ( >=dev-lang/perl-5.8.2-r1 )
143 gadu? ( net-libs/libgadu )
144 gnutls? ( net-libs/gnutls )
145 !gnutls? ( >=dev-libs/nss-3.11 )
146 meanwhile? ( net-libs/meanwhile )
147 silc? ( >=net-im/silc-toolkit-0.9.12-r3 )
148 zephyr? ( >=app-crypt/mit-krb5-1.3.6-r1 )
149 tcl? ( dev-lang/tcl )
150 tk? ( dev-lang/tk )
151 sasl? ( >=dev-libs/cyrus-sasl-2 )
152 doc? ( app-doc/doxygen )
153 dev-libs/libxml2
154 networkmanager? ( net-misc/networkmanager )
155 prediction? ( =dev-db/sqlite-3* )"
156 #mono? ( dev-lang/mono )"
157
158 DEPEND="$RDEPEND
159 dev-lang/perl
160 dev-perl/XML-Parser
161 dev-util/pkgconfig
162 nls? ( sys-devel/gettext )"
163
164 S="${WORKDIR}/${MY_PV}"
165
166 # Enable Default protocols
167 DYNAMIC_PRPLS="irc,jabber,oscar,yahoo,zephyr,simple,msn,myspace"
168
169 # List of plugins yet to be ported (will be removed at some point)
170 # net-im/gaim-bnet
171 # x11-plugins/autoprofile
172 # x11-plugins/gaim-xfire
173 # x11-plugins/gaim-galago
174
175 # Abandonned
176 # x11-plugins/gaim-assistant
177 # Last release in 2004
178 # net-im/gaim-blogger
179 # x11-plugins/gaimosd
180 # Merged into something else
181 # net-im/gaim-meanwhile (integrated in gaim)
182 # net-im/gaim-snpp (merged into the plugin pack)
183 # x11-plugins/gaim-slashexec (integrated into plugin pack)
184 # x11-plugins/ignorance (into plugin pack)
185 # x11-plugins/bangexec (into slashexec into plugin pack)
186
187 # List of plugins
188 # app-accessibility/pidgin-festival
189 # net-im/librvp
190 # x11-plugins/guifications
191 # x11-plugins/pidgin-encryption
192 # x11-plugins/pidgin-extprefs
193 # x11-plugins/pidgin-hotkeys
194 # x11-plugins/pidgin-latex
195 # x11-plugins/pidgin-libnotify
196 # x11-plugins/pidgin-otr
197 # x11-plugins/pidgin-rhythmbox
198 # x11-plugins/purple-plugin_pack
199 # x11-themes/pidgin-smileys
200
201 print_pidgin_warning() {
202 ewarn
203 ewarn "We strongly recommend that you backup your ~/.gaim directory"
204 ewarn "before running Pidgin for the first time. Things you should be"
205 ewarn "on the lookout for include problems with preferences being lost"
206 ewarn "or forgotten, buddy icons not working as you expect, plugins or"
207 ewarn "other external files not properly being found."
208 ewarn
209 ewarn "If you experience problems with pidgin, file them as bugs with"
210 ewarn "Gentoo's bugzilla, http://bugs.gentoo.org. DO NOT report them"
211 ewarn "as bugs with pidgin's bug tracker, and by all means DO NOT"
212 ewarn "seek help in #pidgin."
213 ewarn
214 ewarn "Be sure to USE=\"debug\" and include a backtrace for any seg"
215 ewarn "faults, see http://developer.pidgin.im/wiki/GetABacktrace for details on"
216 ewarn "backtraces."
217 ewarn
218 ewarn "Please read the pidgin FAQ at http://developer.pidgin.im/wiki/FAQ"
219 ewarn
220 }
221
222 pkg_setup() {
223 print_pidgin_warning
224
225 if use gadu && built_with_use net-libs/libgadu ssl ; then
226 eerror
227 eerror "You need to rebuild net-libs/libgadu with USE=-ssl in order"
228 eerror "enable gadu gadu support in pidgin."
229 eerror
230 die "Configure failed"
231 fi
232
233 if use ncurses && ! built_with_use sys-libs/ncurses unicode; then
234 eerror
235 eerror "You need to rebuild sys-libs/ncurses with USE=unicode in order"
236 eerror "to build finch the console client of pidgin."
237 eerror
238 die "Configure failed"
239 fi
240
241 if ! use gtk && ! use ncurses ; then
242 einfo
243 elog "You did not pick the ncurses or gtk use flags, only libpurple"
244 elog "will be built."
245 einfo
246 fi
247
248 if use zephyr && ! built_with_use app-crypt/mit-krb5 krb4 ; then
249 eerror
250 eerror "You need to rebuild app-crypt/mit-krb5 with USE=krb4 in order to"
251 eerror "enable krb4 support for the zephyr protocol in pidgin"
252 eerror
253 die "Configure failed"
254 fi
255
256 }
257
258 src_compile() {
259 # Stabilize things, for your own good
260 strip-flags
261 replace-flags -O? -O2
262
263 # -msse2 doesn't play nice on gcc 3.2
264 [[ "`gcc-version`" == "3.2" ]] && filter-flags -msse2
265
266 local myconf
267
268 if use gadu; then
269 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},gg"
270 myconf="${myconf} --with-gadu-includes=."
271 myconf="${myconf} --with-gadu-libs=."
272 fi
273
274 if use silc; then
275 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},silc"
276 fi
277
278 if use qq; then
279 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},qq"
280 fi
281
282 if use meanwhile; then
283 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},sametime"
284 fi
285
286 if use bonjour; then
287 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},bonjour"
288 fi
289
290 if use groupwise; then
291 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},novell"
292 fi
293
294 if use zephyr; then
295 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},zephyr"
296 fi
297
298 if use gnutls ; then
299 einfo "Disabling NSS, using GnuTLS"
300 myconf="${myconf} --enable-nss=no --enable-gnutls=yes"
301 myconf="${myconf} --with-gnutls-includes=/usr/include/gnutls"
302 myconf="${myconf} --with-gnutls-libs=/usr/$(get_libdir)"
303 else
304 einfo "Disabling GnuTLS, using NSS"
305 myconf="${myconf} --enable-gnutls=no --enable-nss=yes"
306 fi
307
308 econf \
309 $(use_enable ncurses consoleui) \
310 $(use_enable nls) \
311 $(use_enable perl) \
312 $(use_enable gtk gtkui) \
313 $(use_enable gtk startup-notification) \
314 $(use_enable gtk screensaver) \
315 $(use_enable gtk sm) \
316 $(use_enable tcl) \
317 $(use_enable spell gtkspell) \
318 $(use_enable tk) \
319 $(use_enable debug) \
320 $(use_enable dbus) \
321 $(use_enable meanwhile) \
322 $(use_enable eds gevolution) \
323 $(use_enable gstreamer) \
324 $(use_enable sasl cyrus-sasl ) \
325 $(use_enable doc doxygen) \
326 $(use_enable prediction cap) \
327 $(use_enable networkmanager nm) \
328 $(use_with zephyr krb4) \
329 "--with-dynamic-prpls=${DYNAMIC_PRPLS}" \
330 --disable-mono \
331 --x-includes=/usr/include/X11 \
332 ${myconf} || die "Configuration failed"
333 #$(use_enable mono) \
334
335 emake || die "make failed"
336 }
337
338 src_install() {
339 gnome2_src_install
340 use perl && fixlocalpod
341 dodoc AUTHORS COPYING HACKING INSTALL NEWS README ChangeLog
342 }
343
344 pkg_postinst() {
345 gnome2_pkg_postinst
346 print_pidgin_warning
347 }
348
349
350
351 --
352 gentoo-commits@g.o mailing list