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.3.1.ebuild pidgin-2.3.0.ebuild
Date: Mon, 10 Dec 2007 16:26:29
Message-Id: E1J1lSZ-0005kx-Ut@stork.gentoo.org
1 tester 07/12/10 16:26:23
2
3 Modified: ChangeLog
4 Added: pidgin-2.3.1.ebuild
5 Removed: pidgin-2.3.0.ebuild
6 Log:
7 Version bump
8 (Portage version: 2.1.3.19)
9
10 Revision Changes Path
11 1.42 net-im/pidgin/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pidgin/ChangeLog?rev=1.42&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pidgin/ChangeLog?rev=1.42&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pidgin/ChangeLog?r1=1.41&r2=1.42
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-im/pidgin/ChangeLog,v
20 retrieving revision 1.41
21 retrieving revision 1.42
22 diff -u -r1.41 -r1.42
23 --- ChangeLog 6 Dec 2007 20:08:57 -0000 1.41
24 +++ ChangeLog 10 Dec 2007 16:26:22 -0000 1.42
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-im/pidgin
27 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/ChangeLog,v 1.41 2007/12/06 20:08:57 tester Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-im/pidgin/ChangeLog,v 1.42 2007/12/10 16:26:22 tester Exp $
30 +
31 +*pidgin-2.3.1 (10 Dec 2007)
32 +
33 + 10 Dec 2007; Olivier CrĂȘte <tester@g.o> -pidgin-2.3.0.ebuild,
34 + +pidgin-2.3.1.ebuild:
35 + Version bump
36
37 06 Dec 2007; <tester@g.o> pidgin-2.3.0.ebuild:
38 Remove the desktop file on USE=-gtk
39
40
41
42 1.1 net-im/pidgin/pidgin-2.3.1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pidgin/pidgin-2.3.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/pidgin/pidgin-2.3.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: pidgin-2.3.1.ebuild
48 ===================================================================
49 # Copyright 1999-2007 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.3.1.ebuild,v 1.1 2007/12/10 16:26:22 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 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,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. DO NOT report them"
127 ewarn "as bugs with pidgin's bug tracker, and by all means DO NOT"
128 ewarn "seek help in #pidgin."
129 ewarn
130 ewarn "Be sure to USE=\"debug\" and include a backtrace for any seg"
131 ewarn "faults, see http://developer.pidgin.im/wiki/GetABacktrace for details on"
132 ewarn "backtraces."
133 ewarn
134 ewarn "Please read the pidgin FAQ at http://developer.pidgin.im/wiki/FAQ"
135 ewarn
136 }
137
138 pkg_setup() {
139 print_pidgin_warning
140
141 if use gadu && built_with_use net-libs/libgadu ssl ; then
142 eerror
143 eerror "You need to rebuild net-libs/libgadu with USE=-ssl in order"
144 eerror "enable gadu gadu support in pidgin."
145 eerror
146 die "Configure failed"
147 fi
148
149 if use ncurses && ! built_with_use sys-libs/ncurses unicode; then
150 eerror
151 eerror "You need to rebuild sys-libs/ncurses with USE=unicode in order"
152 eerror "to build finch the console client of pidgin."
153 eerror
154 die "Configure failed"
155 fi
156
157 if ! use gtk && ! use ncurses ; then
158 einfo
159 elog "You did not pick the ncurses or gtk use flags, only libpurple"
160 elog "will be built."
161 einfo
162 fi
163
164 if use zephyr && ! built_with_use app-crypt/mit-krb5 krb4 ; then
165 eerror
166 eerror "You need to rebuild app-crypt/mit-krb5 with USE=krb4 in order to"
167 eerror "enable krb4 support for the zephyr protocol in pidgin"
168 eerror
169 die "Configure failed"
170 fi
171
172 }
173
174 src_compile() {
175 # Stabilize things, for your own good
176 strip-flags
177 replace-flags -O? -O2
178
179 # -msse2 doesn't play nice on gcc 3.2
180 [[ "`gcc-version`" == "3.2" ]] && filter-flags -msse2
181
182 local myconf
183
184 if use gadu; then
185 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},gg"
186 myconf="${myconf} --with-gadu-includes=."
187 myconf="${myconf} --with-gadu-libs=."
188 fi
189
190 if use silc; then
191 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},silc"
192 fi
193
194 if use qq; then
195 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},qq"
196 fi
197
198 if use meanwhile; then
199 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},sametime"
200 fi
201
202 if use bonjour; then
203 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},bonjour"
204 fi
205
206 if use groupwise; then
207 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},novell"
208 fi
209
210 if use zephyr; then
211 DYNAMIC_PRPLS="${DYNAMIC_PRPLS},zephyr"
212 fi
213
214 if use gnutls ; then
215 einfo "Disabling NSS, using GnuTLS"
216 myconf="${myconf} --enable-nss=no --enable-gnutls=yes"
217 myconf="${myconf} --with-gnutls-includes=/usr/include/gnutls"
218 myconf="${myconf} --with-gnutls-libs=/usr/$(get_libdir)"
219 else
220 einfo "Disabling GnuTLS, using NSS"
221 myconf="${myconf} --enable-gnutls=no --enable-nss=yes"
222 fi
223
224 econf \
225 $(use_enable ncurses consoleui) \
226 $(use_enable nls) \
227 $(use_enable perl) \
228 $(use_enable gtk gtkui) \
229 $(use_enable gtk startup-notification) \
230 $(use_enable gtk screensaver) \
231 $(use_enable gtk sm) \
232 $(use_enable tcl) \
233 $(use_enable spell gtkspell) \
234 $(use_enable tk) \
235 $(use_enable debug) \
236 $(use_enable dbus) \
237 $(use_enable meanwhile) \
238 $(use_enable eds gevolution) \
239 $(use_enable gstreamer) \
240 $(use_enable sasl cyrus-sasl ) \
241 $(use_enable doc doxygen) \
242 $(use_enable prediction cap) \
243 $(use_enable networkmanager nm) \
244 $(use_with zephyr krb4) \
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@g.o mailing list