Gentoo Archives: gentoo-commits

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