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