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.4.0.ebuild pidgin-2.2.2.ebuild pidgin-2.2.1.ebuild
Date: Wed, 05 Mar 2008 19:32:34
Message-Id: E1JWzLp-00047j-Pu@stork.gentoo.org
1 tester 08/03/05 19:32:29
2
3 Modified: ChangeLog
4 Added: pidgin-2.4.0.ebuild
5 Removed: pidgin-2.2.2.ebuild pidgin-2.2.1.ebuild
6 Log:
7 Version bump
8 (Portage version: 2.1.4.4)
9
10 Revision Changes Path
11 1.49 net-im/pidgin/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pidgin/ChangeLog?rev=1.49&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pidgin/ChangeLog?rev=1.49&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pidgin/ChangeLog?r1=1.48&r2=1.49
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-im/pidgin/ChangeLog,v
20 retrieving revision 1.48
21 retrieving revision 1.49
22 diff -u -r1.48 -r1.49
23 --- ChangeLog 19 Feb 2008 19:54:52 -0000 1.48
24 +++ ChangeLog 5 Mar 2008 19:32:29 -0000 1.49
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.48 2008/02/19 19:54:52 angelos Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/ChangeLog,v 1.49 2008/03/05 19:32:29 tester Exp $
30 +
31 +*pidgin-2.4.0 (01 Mar 2008)
32 +
33 + 01 Mar 2008; <tester@g.o> -pidgin-2.2.1.ebuild,
34 + -pidgin-2.2.2.ebuild, +pidgin-2.4.0.ebuild:
35 + Version bump
36
37 19 Feb 2008; Christoph Mende <angelos@g.o> pidgin-2.3.1.ebuild:
38 Stable on amd64, bug #210396
39
40
41
42 1.1 net-im/pidgin/pidgin-2.4.0.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pidgin/pidgin-2.4.0.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pidgin/pidgin-2.4.0.ebuild?rev=1.1&content-type=text/plain
46
47 Index: pidgin-2.4.0.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.4.0.ebuild,v 1.1 2008/03/05 19:32:29 tester Exp $
52
53 inherit flag-o-matic eutils toolchain-funcs multilib perl-app gnome2
54
55 MY_PV=${P/_beta/beta}
56
57 DESCRIPTION="GTK Instant Messenger client"
58 HOMEPAGE="http://pidgin.im/"
59 SRC_URI="mirror://sourceforge/${PN}/${MY_PV}.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 networkmanager nls perl silc tcl tk spell qq gadu"
65 IUSE="${IUSE} gtk sasl ncurses groupwise prediction zephyr" # mono"
66
67 RDEPEND="
68 bonjour? ( net-dns/avahi )
69 dbus? ( >=dev-libs/dbus-glib-0.71
70 >=dev-python/dbus-python-0.71
71 >=sys-apps/dbus-0.90
72 >=dev-lang/python-2.4 )
73 gtk? (
74 spell? ( >=app-text/gtkspell-2.0.2 )
75 >=x11-libs/gtk+-2.0
76 >=x11-libs/startup-notification-0.5
77 x11-libs/libXScrnSaver
78 eds? ( gnome-extra/evolution-data-server ) )
79 >=dev-libs/glib-2.0
80 gstreamer? ( =media-libs/gstreamer-0.10*
81 =media-libs/gst-plugins-good-0.10* )
82 perl? ( >=dev-lang/perl-5.8.2-r1 )
83 gadu? ( net-libs/libgadu )
84 gnutls? ( net-libs/gnutls )
85 !gnutls? ( >=dev-libs/nss-3.11 )
86 meanwhile? ( net-libs/meanwhile )
87 silc? ( >=net-im/silc-toolkit-0.9.12-r3 )
88 zephyr? ( >=app-crypt/mit-krb5-1.3.6-r1 )
89 tcl? ( dev-lang/tcl )
90 tk? ( dev-lang/tk )
91 sasl? ( >=dev-libs/cyrus-sasl-2 )
92 dev-libs/libxml2
93 networkmanager? ( net-misc/networkmanager )
94 prediction? ( =dev-db/sqlite-3* )"
95 #mono? ( dev-lang/mono )"
96
97 DEPEND="$RDEPEND
98 dev-lang/perl
99 dev-perl/XML-Parser
100 dev-util/pkgconfig
101 doc? ( app-doc/doxygen )
102 nls? ( sys-devel/gettext )"
103
104 S="${WORKDIR}/${MY_PV}"
105
106 # Enable Default protocols
107 DYNAMIC_PRPLS="irc,jabber,oscar,yahoo,simple,msn,myspace"
108
109 # List of plugins
110 # app-accessibility/pidgin-festival
111 # net-im/librvp
112 # x11-plugins/guifications
113 # x11-plugins/pidgin-encryption
114 # x11-plugins/pidgin-extprefs
115 # x11-plugins/pidgin-hotkeys
116 # x11-plugins/pidgin-latex
117 # x11-plugins/pidgin-libnotify
118 # x11-plugins/pidgin-otr
119 # x11-plugins/pidgin-rhythmbox
120 # x11-plugins/purple-plugin_pack
121 # x11-themes/pidgin-smileys
122
123 print_pidgin_warning() {
124 ewarn
125 ewarn "If you experience problems with pidgin, file them as bugs with"
126 ewarn "Gentoo's bugzilla, http://bugs.gentoo.org"
127 ewarn
128 ewarn "Be sure to USE=\"debug\" and include a backtrace for any seg"
129 ewarn "faults, see http://developer.pidgin.im/wiki/GetABacktrace for details on"
130 ewarn "backtraces."
131 ewarn
132 ewarn "Please read the pidgin FAQ at http://developer.pidgin.im/wiki/FAQ"
133 ewarn
134 }
135
136 pkg_setup() {
137 print_pidgin_warning
138
139 if use gadu && built_with_use net-libs/libgadu ssl ; then
140 eerror
141 eerror "You need to rebuild net-libs/libgadu with USE=-ssl in order"
142 eerror "enable gadu gadu support in pidgin."
143 eerror
144 die "Configure failed"
145 fi
146
147 if use ncurses && ! built_with_use sys-libs/ncurses unicode; then
148 eerror
149 eerror "You need to rebuild sys-libs/ncurses with USE=unicode in order"
150 eerror "to build finch the console client of pidgin."
151 eerror
152 die "Configure failed"
153 fi
154
155 if ! use gtk && ! use ncurses ; then
156 einfo
157 elog "You did not pick the ncurses or gtk use flags, only libpurple"
158 elog "will be built."
159 einfo
160 fi
161
162 if use zephyr && ! built_with_use app-crypt/mit-krb5 krb4 ; then
163 eerror
164 eerror "You need to rebuild app-crypt/mit-krb5 with USE=krb4 in order to"
165 eerror "enable krb4 support for the zephyr protocol in pidgin"
166 eerror
167 die "Configure failed"
168 fi
169
170 }
171
172 src_compile() {
173 # Stabilize things, for your own good
174 strip-flags
175 replace-flags -O? -O2
176
177 # -msse2 doesn't play nice on gcc 3.2
178 [[ "`gcc-version`" == "3.2" ]] && filter-flags -msse2
179
180 local myconf
181
182 if use gadu; then
183 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},gg"
184 myconf="${myconf} --with-gadu-includes=."
185 myconf="${myconf} --with-gadu-libs=."
186 fi
187
188 if use silc; then
189 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},silc"
190 fi
191
192 if use qq; then
193 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},qq"
194 fi
195
196 if use meanwhile; then
197 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},sametime"
198 fi
199
200 if use bonjour; then
201 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},bonjour"
202 fi
203
204 if use groupwise; then
205 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},novell"
206 fi
207
208 if use zephyr; then
209 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},zephyr"
210 fi
211
212 if use gnutls ; then
213 einfo "Disabling NSS, using GnuTLS"
214 myconf="${myconf} --enable-nss=no --enable-gnutls=yes"
215 myconf="${myconf} --with-gnutls-includes=/usr/include/gnutls"
216 myconf="${myconf} --with-gnutls-libs=/usr/$(get_libdir)"
217 else
218 einfo "Disabling GnuTLS, using NSS"
219 myconf="${myconf} --enable-gnutls=no --enable-nss=yes"
220 fi
221
222 econf \
223 $(use_enable ncurses consoleui) \
224 $(use_enable nls) \
225 $(use_enable perl) \
226 $(use_enable gtk gtkui) \
227 $(use_enable gtk startup-notification) \
228 $(use_enable gtk screensaver) \
229 $(use_enable gtk sm) \
230 $(use_enable tcl) \
231 $(use_enable spell gtkspell) \
232 $(use_enable tk) \
233 $(use_enable debug) \
234 $(use_enable dbus) \
235 $(use_enable meanwhile) \
236 $(use_enable eds gevolution) \
237 $(use_enable gstreamer) \
238 $(use_enable sasl cyrus-sasl ) \
239 $(use_enable doc doxygen) \
240 $(use_enable prediction cap) \
241 $(use_enable networkmanager nm) \
242 $(use_with zephyr krb4) \
243 "--with-dynamic-prpls=${DYNAMIC_PRPLS}" \
244 --disable-mono \
245 --x-includes=/usr/include/X11 \
246 ${myconf} || die "Configuration failed"
247 #$(use_enable mono) \
248
249 emake || die "make failed"
250 }
251
252 src_install() {
253 gnome2_src_install
254 use perl && fixlocalpod
255 dodoc AUTHORS HACKING INSTALL NEWS README ChangeLog
256
257 # Remove superfluous desktop file
258 use gtk || rm -rf "${D}/usr/share/applications"
259 }
260
261 pkg_postinst() {
262 gnome2_pkg_postinst
263 print_pidgin_warning
264 }
265
266
267
268 --
269 gentoo-commits@l.g.o mailing list