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