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