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.3.ebuild pidgin-2.4.1.ebuild
Date: Wed, 02 Jul 2008 04:33:24
Message-Id: E1KDu1d-0007aF-Pd@stork.gentoo.org
1 tester 08/07/02 04:33:01
2
3 Modified: ChangeLog
4 Added: pidgin-2.4.3.ebuild
5 Removed: pidgin-2.4.1.ebuild
6 Log:
7 Version bump
8 (Portage version: 2.1.4.4)
9
10 Revision Changes Path
11 1.55 net-im/pidgin/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pidgin/ChangeLog?rev=1.55&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pidgin/ChangeLog?rev=1.55&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pidgin/ChangeLog?r1=1.54&r2=1.55
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-im/pidgin/ChangeLog,v
20 retrieving revision 1.54
21 retrieving revision 1.55
22 diff -u -r1.54 -r1.55
23 --- ChangeLog 26 May 2008 17:26:14 -0000 1.54
24 +++ ChangeLog 2 Jul 2008 04:33:01 -0000 1.55
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.54 2008/05/26 17:26:14 tester Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/ChangeLog,v 1.55 2008/07/02 04:33:01 tester Exp $
30 +
31 +*pidgin-2.4.3 (02 Jul 2008)
32 +
33 + 02 Jul 2008; Olivier CrĂȘte <tester@g.o> -pidgin-2.4.1.ebuild,
34 + +pidgin-2.4.3.ebuild:
35 + Version bump
36
37 26 May 2008; Olivier CrĂȘte <tester@g.o>
38 +files/pidgin-2.4.2-jabber_crash_fix.patch, pidgin-2.4.2.ebuild:
39
40
41
42 1.1 net-im/pidgin/pidgin-2.4.3.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pidgin/pidgin-2.4.3.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pidgin/pidgin-2.4.3.ebuild?rev=1.1&content-type=text/plain
46
47 Index: pidgin-2.4.3.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.3.ebuild,v 1.1 2008/07/02 04:33:01 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 gtk? ( x11-proto/scrnsaverproto )
102 doc? ( app-doc/doxygen )
103 nls? ( sys-devel/gettext )"
104
105 S="${WORKDIR}/${MY_PV}"
106
107 # Enable Default protocols
108 DYNAMIC_PRPLS="irc,jabber,oscar,yahoo,simple,msn,myspace"
109
110 # List of plugins
111 # app-accessibility/pidgin-festival
112 # net-im/librvp
113 # x11-plugins/guifications
114 # x11-plugins/pidgin-encryption
115 # x11-plugins/pidgin-extprefs
116 # x11-plugins/pidgin-hotkeys
117 # x11-plugins/pidgin-latex
118 # x11-plugins/pidgin-libnotify
119 # x11-plugins/pidgin-otr
120 # x11-plugins/pidgin-rhythmbox
121 # x11-plugins/purple-plugin_pack
122 # x11-themes/pidgin-smileys
123
124 print_pidgin_warning() {
125 ewarn
126 ewarn "If you experience problems with pidgin, file them as bugs with"
127 ewarn "Gentoo's bugzilla, http://bugs.gentoo.org"
128 ewarn
129 ewarn "Be sure to USE=\"debug\" and include a backtrace for any seg"
130 ewarn "faults, see http://developer.pidgin.im/wiki/GetABacktrace for details on"
131 ewarn "backtraces."
132 ewarn
133 ewarn "Please read the pidgin FAQ at http://developer.pidgin.im/wiki/FAQ"
134 ewarn
135 }
136
137 pkg_setup() {
138 print_pidgin_warning
139
140 if use gadu && built_with_use net-libs/libgadu ssl ; then
141 eerror
142 eerror "You need to rebuild net-libs/libgadu with USE=-ssl in order"
143 eerror "enable gadu gadu support in pidgin."
144 eerror
145 die "Configure failed"
146 fi
147
148 if use ncurses && ! built_with_use sys-libs/ncurses unicode; then
149 eerror
150 eerror "You need to rebuild sys-libs/ncurses with USE=unicode in order"
151 eerror "to build finch the console client of pidgin."
152 eerror
153 die "Configure failed"
154 fi
155
156 if ! use gtk && ! use ncurses ; then
157 einfo
158 elog "You did not pick the ncurses or gtk use flags, only libpurple"
159 elog "will be built."
160 einfo
161 fi
162
163 if use zephyr && ! built_with_use app-crypt/mit-krb5 krb4 ; then
164 eerror
165 eerror "You need to rebuild app-crypt/mit-krb5 with USE=krb4 in order to"
166 eerror "enable krb4 support for the zephyr protocol in pidgin"
167 eerror
168 die "Configure failed"
169 fi
170
171 }
172
173 src_compile() {
174 # Stabilize things, for your own good
175 strip-flags
176 replace-flags -O? -O2
177
178 # -msse2 doesn't play nice on gcc 3.2
179 [[ "`gcc-version`" == "3.2" ]] && filter-flags -msse2
180
181 local myconf
182
183 if use gadu; then
184 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},gg"
185 myconf="${myconf} --with-gadu-includes=."
186 myconf="${myconf} --with-gadu-libs=."
187 fi
188
189 if use silc; then
190 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},silc"
191 fi
192
193 if use qq; then
194 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},qq"
195 fi
196
197 if use meanwhile; then
198 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},sametime"
199 fi
200
201 if use bonjour; then
202 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},bonjour"
203 fi
204
205 if use groupwise; then
206 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},novell"
207 fi
208
209 if use zephyr; then
210 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},zephyr"
211 fi
212
213 if use gnutls ; then
214 einfo "Disabling NSS, using GnuTLS"
215 myconf="${myconf} --enable-nss=no --enable-gnutls=yes"
216 myconf="${myconf} --with-gnutls-includes=/usr/include/gnutls"
217 myconf="${myconf} --with-gnutls-libs=/usr/$(get_libdir)"
218 else
219 einfo "Disabling GnuTLS, using NSS"
220 myconf="${myconf} --enable-gnutls=no --enable-nss=yes"
221 fi
222
223 econf \
224 $(use_enable ncurses consoleui) \
225 $(use_enable nls) \
226 $(use_enable perl) \
227 $(use_enable gtk gtkui) \
228 $(use_enable gtk startup-notification) \
229 $(use_enable gtk screensaver) \
230 $(use_enable gtk sm) \
231 $(use_enable tcl) \
232 $(use_enable spell gtkspell) \
233 $(use_enable tk) \
234 $(use_enable debug) \
235 $(use_enable dbus) \
236 $(use_enable meanwhile) \
237 $(use_enable eds gevolution) \
238 $(use_enable gstreamer) \
239 $(use_enable sasl cyrus-sasl ) \
240 $(use_enable doc doxygen) \
241 $(use_enable prediction cap) \
242 $(use_enable networkmanager nm) \
243 $(use_with zephyr krb4) \
244 $(use_enable bonjour avahi) \
245 "--with-dynamic-prpls=${DYNAMIC_PRPLS}" \
246 --disable-mono \
247 --x-includes=/usr/include/X11 \
248 ${myconf} || die "Configuration failed"
249 #$(use_enable mono) \
250
251 emake || die "make failed"
252 }
253
254 src_install() {
255 gnome2_src_install
256 use perl && fixlocalpod
257 dodoc AUTHORS HACKING INSTALL NEWS README ChangeLog
258
259 # Remove superfluous desktop file
260 use gtk || rm -rf "${D}/usr/share/applications"
261 }
262
263 pkg_postinst() {
264 gnome2_pkg_postinst
265 print_pidgin_warning
266 }
267
268
269
270 --
271 gentoo-commits@l.g.o mailing list