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.2.0.ebuild
Date: Sun, 16 Sep 2007 16:39:40
Message-Id: E1IWugF-00071K-Hs@stork.gentoo.org
1 tester 07/09/16 14:00:59
2
3 Modified: ChangeLog
4 Added: pidgin-2.2.0.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.1.3.9)
8
9 Revision Changes Path
10 1.29 net-im/pidgin/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pidgin/ChangeLog?rev=1.29&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pidgin/ChangeLog?rev=1.29&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pidgin/ChangeLog?r1=1.28&r2=1.29
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-im/pidgin/ChangeLog,v
19 retrieving revision 1.28
20 retrieving revision 1.29
21 diff -u -r1.28 -r1.29
22 --- ChangeLog 28 Aug 2007 14:42:04 -0000 1.28
23 +++ ChangeLog 16 Sep 2007 14:00:59 -0000 1.29
24 @@ -1,6 +1,11 @@
25 # ChangeLog for net-im/pidgin
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/ChangeLog,v 1.28 2007/08/28 14:42:04 nixnut Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/ChangeLog,v 1.29 2007/09/16 14:00:59 tester Exp $
29 +
30 +*pidgin-2.2.0 (16 Sep 2007)
31 +
32 + 16 Sep 2007; Olivier CrĂȘte <tester@g.o> +pidgin-2.2.0.ebuild:
33 + Version bump
34
35 28 Aug 2007; nixnut <nixnut@g.o> pidgin-2.1.0.ebuild:
36 Stable on ppc wrt bug 189781
37
38
39
40 1.1 net-im/pidgin/pidgin-2.2.0.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pidgin/pidgin-2.2.0.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pidgin/pidgin-2.2.0.ebuild?rev=1.1&content-type=text/plain
44
45 Index: pidgin-2.2.0.ebuild
46 ===================================================================
47 # Copyright 1999-2007 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.2.0.ebuild,v 1.1 2007/09/16 14:00:59 tester Exp $
50
51 WANT_AUTOMAKE=1.9
52
53 inherit flag-o-matic eutils toolchain-funcs multilib autotools 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 doc? ( app-doc/doxygen )
93 dev-libs/libxml2
94 networkmanager? ( net-misc/networkmanager )
95 prediction? ( =dev-db/sqlite-3* )"
96 #mono? ( dev-lang/mono )"
97
98 DEPEND="$RDEPEND
99 dev-lang/perl
100 dev-perl/XML-Parser
101 dev-util/pkgconfig
102 nls? ( sys-devel/gettext )"
103
104 S="${WORKDIR}/${MY_PV}"
105
106 # Enable Default protocols
107 DYNAMIC_PRPLS="irc,jabber,oscar,yahoo,zephyr,simple,msn"
108
109 # List of plugins yet to be ported (will be removed at some point)
110 # net-im/gaim-bnet
111 # x11-plugins/autoprofile
112 # x11-plugins/gaim-xfire
113 # x11-plugins/gaim-galago
114 # x11-themes/gaim-smileys (get liquidx to fix it)
115
116 # Abandonned
117 # x11-plugins/ignorance
118 # x11-plugins/bangexec
119 # x11-plugins/gaim-assistant
120 # Last release in 2004
121 # net-im/gaim-blogger
122 # x11-plugins/gaimosd
123 # Last release in 2005
124 # app-accessibility/festival-gaim
125 # Merged into something else
126 # net-im/gaim-meanwhile (integrated in gaim)
127 # net-im/gaim-snpp (merged into the plugin pack)
128 # x11-plugins/gaim-slashexec (integrated into plugin pack)
129
130 # List of plugins
131 # net-im/librvp
132 # x11-plugins/guifications
133 # x11-plugins/pidgin-encryption
134 # x11-plugins/pidgin-extprefs
135 # x11-plugins/pidgin-hotkeys
136 # x11-plugins/pidgin-latex
137 # x11-plugins/pidgin-libnotify
138 # x11-plugins/pidgin-otr
139 # x11-plugins/pidgin-rhythmbox
140 # x11-plugins/purple-plugin_pack
141
142 print_pidgin_warning() {
143 ewarn
144 ewarn "We strongly recommend that you backup your ~/.gaim directory"
145 ewarn "before running Pidgin for the first time. Things you should be"
146 ewarn "on the lookout for include problems with preferences being lost"
147 ewarn "or forgotten, buddy icons not working as you expect, plugins or"
148 ewarn "other external files not properly being found."
149 ewarn
150 ewarn "If you are merging ${MY_P} from an earlier version of gaim,"
151 ewarn "you may need to re-merge any plugins like gaim-encryption."
152 ewarn
153 ewarn "If you experience problems with pidgin, file them as bugs with"
154 ewarn "Gentoo's bugzilla, http://bugs.gentoo.org. DO NOT report them"
155 ewarn "as bugs with pidgin's bug tracker, and by all means DO NOT"
156 ewarn "seek help in #pidgin."
157 ewarn
158 ewarn "Be sure to USE=\"debug\" and include a backtrace for any seg"
159 ewarn "faults, see http://developer.pidgin.im/wiki/GetABacktrace for details on"
160 ewarn "backtraces."
161 ewarn
162 ewarn "Please read the pidgin FAQ at http://developer.pidgin.im/wiki/FAQ"
163 ewarn
164 }
165
166 pkg_setup() {
167 print_pidgin_warning
168
169 if use gadu && built_with_use net-libs/libgadu ssl ; then
170 eerror
171 eerror "You need to rebuild net-libs/libgadu with USE=-ssl in order"
172 eerror "enable gadu gadu support in pidgin."
173 eerror
174 die "Configure failed"
175 fi
176
177 if use ncurses && ! built_with_use sys-libs/ncurses unicode; then
178 eerror
179 eerror "You need to rebuild sys-libs/ncurses with USE=unicode in order"
180 eerror "to build finch the console client of pidgin."
181 eerror
182 die "Configure failed"
183 fi
184
185 if ! use gtk && ! use ncurses ; then
186 einfo
187 elog "As you did not pick gtk or ncurses use flag, building"
188 elog "console only."
189 einfo
190 fi
191
192 if use zephyr && ! built_with_use app-crypt/mit-krb5 krb4 ; then
193 eerror
194 eerror "You need to rebuild app-crypt/mit-krb5 with USE=krb4 in order to"
195 eerror "enable krb4 support for the zephyr protocol in pidgin"
196 eerror
197 die "Configure failed"
198 fi
199
200 }
201
202 src_compile() {
203 # Stabilize things, for your own good
204 strip-flags
205 replace-flags -O? -O2
206
207 # -msse2 doesn't play nice on gcc 3.2
208 [[ "`gcc-version`" == "3.2" ]] && filter-flags -msse2
209
210 local myconf
211
212 if use gadu; then
213 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},gg"
214 myconf="${myconf} --with-gadu-includes=."
215 myconf="${myconf} --with-gadu-libs=."
216 fi
217
218 if use silc; then
219 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},silc"
220 fi
221
222 if use qq; then
223 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},qq"
224 fi
225
226 if use meanwhile; then
227 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},sametime"
228 fi
229
230 if use bonjour; then
231 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},bonjour"
232 fi
233
234 if use groupwise; then
235 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},novell"
236 fi
237
238 if use zephyr; then
239 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},zephyr"
240 fi
241
242 if use gnutls ; then
243 einfo "Disabling NSS, using GnuTLS"
244 myconf="${myconf} --enable-nss=no --enable-gnutls=yes"
245 myconf="${myconf} --with-gnutls-includes=/usr/include/gnutls"
246 myconf="${myconf} --with-gnutls-libs=/usr/$(get_libdir)"
247 else
248 einfo "Disabling GnuTLS, using NSS"
249 myconf="${myconf} --enable-gnutls=no --enable-nss=yes"
250 fi
251
252 if ! use ncurses && ! use gtk; then
253 myconf="${myconf} --enable-consoleui --disable-gtkui"
254 else
255 myconf="${myconf} $(use_enable ncurses consoleui) $(use_enable gtk gtkui)"
256 fi
257
258 econf \
259 $(use_enable nls) \
260 $(use_enable perl) \
261 $(use_enable gtk startup-notification) \
262 $(use_enable gtk screensaver) \
263 $(use_enable gtk sm) \
264 $(use_enable tcl) \
265 $(use_enable spell gtkspell) \
266 $(use_enable tk) \
267 $(use_enable debug) \
268 $(use_enable dbus) \
269 $(use_enable meanwhile) \
270 $(use_enable eds gevolution) \
271 $(use_enable gstreamer) \
272 $(use_enable sasl cyrus-sasl ) \
273 $(use_enable doc doxygen) \
274 $(use_enable prediction cap) \
275 $(use_enable networkmanager nm) \
276 $(use_with zephyr krb4) \
277 "--with-dynamic-prpls=${DYNAMIC_PRPLS}" \
278 --disable-mono \
279 --x-includes=/usr/include/X11 \
280 ${myconf} || die "Configuration failed"
281 #$(use_enable mono) \
282
283 emake || die "make failed"
284 }
285
286 src_install() {
287 gnome2_src_install
288 use perl && fixlocalpod
289 dodoc AUTHORS COPYING HACKING INSTALL NEWS README ChangeLog
290 }
291
292 pkg_postinst() {
293 gnome2_pkg_postinst
294 print_pidgin_warning
295 }
296
297
298
299 --
300 gentoo-commits@g.o mailing list