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.5.2.ebuild pidgin-2.4.3.ebuild pidgin-2.5.0.ebuild
Date: Fri, 24 Oct 2008 16:22:21
Message-Id: E1KtPQZ-0001JT-10@stork.gentoo.org
1 tester 08/10/24 16:22:19
2
3 Modified: ChangeLog
4 Added: pidgin-2.5.2.ebuild
5 Removed: pidgin-2.4.3.ebuild pidgin-2.5.0.ebuild
6 Log:
7 Version bump, bug #243264
8 (Portage version: 2.1.4.5)
9
10 Revision Changes Path
11 1.71 net-im/pidgin/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pidgin/ChangeLog?rev=1.71&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pidgin/ChangeLog?rev=1.71&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pidgin/ChangeLog?r1=1.70&r2=1.71
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-im/pidgin/ChangeLog,v
20 retrieving revision 1.70
21 retrieving revision 1.71
22 diff -u -r1.70 -r1.71
23 --- ChangeLog 8 Sep 2008 03:12:04 -0000 1.70
24 +++ ChangeLog 24 Oct 2008 16:22:18 -0000 1.71
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-im/pidgin
27 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/ChangeLog,v 1.70 2008/09/08 03:12:04 jer Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/ChangeLog,v 1.71 2008/10/24 16:22:18 tester Exp $
30 +
31 +*pidgin-2.5.2 (24 Oct 2008)
32 +
33 + 24 Oct 2008; Olivier CrĂȘte <tester@g.o> -pidgin-2.4.3.ebuild,
34 + -pidgin-2.5.0.ebuild, +pidgin-2.5.2.ebuild:
35 + Version bump, bug #243264
36
37 08 Sep 2008; Jeroen Roovers <jer@g.o> pidgin-2.5.1.ebuild:
38 Stable for HPPA (bug #234135).
39
40
41
42 1.1 net-im/pidgin/pidgin-2.5.2.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pidgin/pidgin-2.5.2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pidgin/pidgin-2.5.2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: pidgin-2.5.2.ebuild
48 ===================================================================
49 # Copyright 1999-2008 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.5.2.ebuild,v 1.1 2008/10/24 16:22:18 tester Exp $
52
53 inherit flag-o-matic eutils toolchain-funcs multilib perl-app gnome2
54
55 DESCRIPTION="GTK Instant Messenger client"
56 HOMEPAGE="http://pidgin.im/"
57 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
62 IUSE="bonjour dbus debug doc eds gadu gnutls gstreamer meanwhile networkmanager nls perl silc tcl tk spell qq gadu"
63 IUSE="${IUSE} gtk sasl ncurses groupwise prediction zephyr" # mono"
64
65 RDEPEND="
66 bonjour? ( net-dns/avahi )
67 dbus? ( >=dev-libs/dbus-glib-0.71
68 >=dev-python/dbus-python-0.71
69 >=sys-apps/dbus-0.90
70 >=dev-lang/python-2.4 )
71 gtk? (
72 spell? ( >=app-text/gtkspell-2.0.2 )
73 >=x11-libs/gtk+-2.0
74 >=x11-libs/startup-notification-0.5
75 x11-libs/libXScrnSaver
76 eds? ( gnome-extra/evolution-data-server ) )
77 >=dev-libs/glib-2.0
78 gstreamer? ( =media-libs/gstreamer-0.10*
79 =media-libs/gst-plugins-good-0.10* )
80 perl? ( >=dev-lang/perl-5.8.2-r1 )
81 gadu? ( net-libs/libgadu )
82 gnutls? ( net-libs/gnutls )
83 !gnutls? ( >=dev-libs/nss-3.11 )
84 meanwhile? ( net-libs/meanwhile )
85 silc? ( >=net-im/silc-toolkit-0.9.12-r3 )
86 zephyr? ( >=app-crypt/mit-krb5-1.3.6-r1 )
87 tcl? ( dev-lang/tcl )
88 tk? ( dev-lang/tk )
89 sasl? ( >=dev-libs/cyrus-sasl-2 )
90 dev-libs/libxml2
91 networkmanager? ( net-misc/networkmanager )
92 prediction? ( =dev-db/sqlite-3* )"
93 # Mono support crashes pidgin
94 #mono? ( dev-lang/mono )"
95
96 DEPEND="$RDEPEND
97 dev-lang/perl
98 dev-perl/XML-Parser
99 dev-util/pkgconfig
100 gtk? ( x11-proto/scrnsaverproto )
101 doc? ( app-doc/doxygen )
102 nls? ( sys-devel/gettext )"
103
104 # Enable Default protocols
105 DYNAMIC_PRPLS="irc,jabber,oscar,yahoo,simple,msn,myspace"
106
107 # List of plugins
108 # app-accessibility/pidgin-festival
109 # net-im/librvp
110 # x11-plugins/guifications
111 # x11-plugins/pidgin-encryption
112 # x11-plugins/pidgin-extprefs
113 # x11-plugins/pidgin-hotkeys
114 # x11-plugins/pidgin-latex
115 # x11-plugins/pidgin-libnotify
116 # x11-plugins/pidgin-otr
117 # x11-plugins/pidgin-rhythmbox
118 # x11-plugins/purple-plugin_pack
119 # x11-themes/pidgin-smileys
120
121 pkg_setup() {
122 if use gadu && built_with_use net-libs/libgadu ssl ; then
123 eerror
124 eerror "You need to rebuild net-libs/libgadu with USE=-ssl in order"
125 eerror "enable gadu gadu support in pidgin."
126 eerror
127 die "Configure failed"
128 fi
129
130 if use ncurses && ! built_with_use sys-libs/ncurses unicode; then
131 eerror
132 eerror "You need to rebuild sys-libs/ncurses with USE=unicode in order"
133 eerror "to build finch the console client of pidgin."
134 eerror
135 die "Configure failed"
136 fi
137
138 if ! use gtk && ! use ncurses ; then
139 einfo
140 elog "You did not pick the ncurses or gtk use flags, only libpurple"
141 elog "will be built."
142 einfo
143 fi
144
145 if use zephyr && ! built_with_use app-crypt/mit-krb5 krb4 ; then
146 eerror
147 eerror "You need to rebuild app-crypt/mit-krb5 with USE=krb4 in order to"
148 eerror "enable krb4 support for the zephyr protocol in pidgin"
149 eerror
150 die "Configure failed"
151 fi
152
153 }
154
155 src_compile() {
156 # Stabilize things, for your own good
157 strip-flags
158 replace-flags -O? -O2
159
160 # -msse2 doesn't play nice on gcc 3.2
161 [[ "`gcc-version`" == "3.2" ]] && filter-flags -msse2
162
163 local myconf
164
165 if use gadu; then
166 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},gg"
167 myconf="${myconf} --with-gadu-includes=."
168 myconf="${myconf} --with-gadu-libs=."
169 fi
170
171 if use silc; then
172 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},silc"
173 fi
174
175 if use qq; then
176 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},qq"
177 fi
178
179 if use meanwhile; then
180 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},sametime"
181 fi
182
183 if use bonjour; then
184 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},bonjour"
185 fi
186
187 if use groupwise; then
188 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},novell"
189 fi
190
191 if use zephyr; then
192 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},zephyr"
193 fi
194
195 if use gnutls ; then
196 einfo "Disabling NSS, using GnuTLS"
197 myconf="${myconf} --enable-nss=no --enable-gnutls=yes"
198 myconf="${myconf} --with-gnutls-includes=/usr/include/gnutls"
199 myconf="${myconf} --with-gnutls-libs=/usr/$(get_libdir)"
200 else
201 einfo "Disabling GnuTLS, using NSS"
202 myconf="${myconf} --enable-gnutls=no --enable-nss=yes"
203 fi
204
205 econf \
206 $(use_enable ncurses consoleui) \
207 $(use_enable nls) \
208 $(use_enable perl) \
209 $(use_enable gtk gtkui) \
210 $(use_enable gtk startup-notification) \
211 $(use_enable gtk screensaver) \
212 $(use_enable gtk sm) \
213 $(use_enable tcl) \
214 $(use_enable spell gtkspell) \
215 $(use_enable tk) \
216 $(use_enable debug) \
217 $(use_enable dbus) \
218 $(use_enable meanwhile) \
219 $(use_enable eds gevolution) \
220 $(use_enable gstreamer) \
221 $(use_enable sasl cyrus-sasl ) \
222 $(use_enable doc doxygen) \
223 $(use_enable prediction cap) \
224 $(use_enable networkmanager nm) \
225 $(use_with zephyr krb4) \
226 $(use_enable bonjour avahi) \
227 "--with-dynamic-prpls=${DYNAMIC_PRPLS}" \
228 --disable-mono \
229 --x-includes=/usr/include/X11 \
230 ${myconf} || die "Configuration failed"
231 #$(use_enable mono) \
232
233 emake || die "make failed"
234 }
235
236 src_install() {
237 gnome2_src_install
238 use perl && fixlocalpod
239 dodoc AUTHORS HACKING INSTALL NEWS README ChangeLog
240
241 # Remove superfluous desktop file
242 use gtk || rm -rf "${D}/usr/share/applications"
243 }