Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/pidgin/
Date: Sat, 02 Jan 2016 23:54:12
Message-Id: 1451778838.be9e08214df9695d37bb875d4234aacdd42f9ca8.polynomial-c@gentoo
1 commit: be9e08214df9695d37bb875d4234aacdd42f9ca8
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 2 23:53:58 2016 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 2 23:53:58 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be9e0821
7
8 net-im/pidgin: Removed old.
9
10 Package-Manager: portage-2.2.26
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 net-im/pidgin/Manifest | 1 -
14 net-im/pidgin/pidgin-2.10.10.ebuild | 244 ------------------------------------
15 2 files changed, 245 deletions(-)
16
17 diff --git a/net-im/pidgin/Manifest b/net-im/pidgin/Manifest
18 index 29f83b4..789e031 100644
19 --- a/net-im/pidgin/Manifest
20 +++ b/net-im/pidgin/Manifest
21 @@ -1,4 +1,3 @@
22 -DIST pidgin-2.10.10.tar.bz2 9409485 SHA256 dc6b95512eaec75aef170aabce471491fc70584932599dfead20f1f1c45c822d SHA512 79c6e0b382b24b1f9208337afaf5a11de8701b7e4b84be94696df8f7d36d8126eba935144e9b764c50d98a2cc9cdcd7d26891f9d9f93924a8a7065b0540c5d37 WHIRLPOOL 5351bf6cadb3215c246dbabdc75e5f400600516bfa3864a48b647d280ba2736fb29c86717da229ff2a5fe12e57e9154ca60a3be4edda94481cdc98b0c3ec0647
23 DIST pidgin-2.10.11.tar.bz2 9458050 SHA256 f2ae211341fc77efb9945d40e9932aa535cdf3a6c8993fe7919fca8cc1c04007 SHA512 774710ab087cb56e349dc1d5e45dbfcbe06b9a8f792abe5d201b0860620d502009f31563cfe5316f4c815345427b6c273b8f9694deb600848957c825fd967029 WHIRLPOOL 24f31ee6ce40e69f644d55f2135644172e8314a64080384eb901ae2b7aba631fbde98cab6cb798f10dd870ecd96374b451cb3ad11d567dc48dcb25f5cf499223
24 DIST pidgin-2.10.12.tar.bz2 9837598 SHA256 2c7523f0fefe89749c03b2b738ab9f7bd186da435be4762f1487eee31e77ffdd SHA512 4756bed3ae78b48bfeaa586def3c7a0014db76ce14ae8c6773c96bdca24b65e92b2805270af43960e2a11a600aeac35e030faa3f79dbe3301084ca9d970a5f03 WHIRLPOOL 52f16cdd76b1aa3e76a877136070e3c4875827df621757d35656eb79e7d9921635f9373d33f9bc87275200e91c25a2763b4a64d90953322fd82d03860ce6a0da
25 DIST pidgin-eds-3.6.patch.bz2 2352 SHA256 321185dd5f44e502f671b17e84fa1ca2e08a3f7c79ed211c0bb92710700bcc41 SHA512 a0195679ab55ed9c7ea18ace6dbf0fc994698f1f4eea9d8335dfdcdcd6a68975c0191bd22f150bf5a9a0a691ce7e9e73d79598e1e8be541efa1d9824a633d877 WHIRLPOOL 5c1d3e933bdfa4b1f20f98dbf8b5c1669eb857b9db60dacae488fa04331300618df2f1265e4fb2e58ed31b24229df0edb8c30970d8172fd65ca7fa03bc0e3805
26
27 diff --git a/net-im/pidgin/pidgin-2.10.10.ebuild b/net-im/pidgin/pidgin-2.10.10.ebuild
28 deleted file mode 100644
29 index f1461a1..0000000
30 --- a/net-im/pidgin/pidgin-2.10.10.ebuild
31 +++ /dev/null
32 @@ -1,244 +0,0 @@
33 -# Copyright 1999-2015 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -# $Id$
36 -
37 -EAPI=5
38 -
39 -GENTOO_DEPEND_ON_PERL=no
40 -PYTHON_COMPAT=( python2_7 python3_3 )
41 -inherit autotools flag-o-matic eutils toolchain-funcs multilib perl-app gnome2 python-single-r1
42 -
43 -DESCRIPTION="GTK Instant Messenger client"
44 -HOMEPAGE="http://pidgin.im/"
45 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2
46 - https://dev.gentoo.org/~polynomial-c/${PN}-eds-3.6.patch.bz2"
47 -
48 -LICENSE="GPL-2"
49 -SLOT="0"
50 -KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos"
51 -IUSE="dbus debug doc eds gadu gnutls +gstreamer +gtk idn meanwhile mxit"
52 -IUSE+=" networkmanager nls perl silc tcl tk spell sasl ncurses"
53 -IUSE+=" groupwise prediction python +xscreensaver zephyr zeroconf" # mono"
54 -IUSE+=" aqua"
55 -
56 -# dbus requires python to generate C code for dbus bindings (thus DEPEND only).
57 -# finch uses libgnt that links with libpython - {R,}DEPEND. But still there is
58 -# no way to build dbus and avoid libgnt linkage with python. If you want this
59 -# send patch upstream.
60 -# purple-url-handler and purple-remote require dbus-python thus in reality we
61 -# rdepend on python if dbus enabled. But it is possible to separate this dep.
62 -RDEPEND="
63 - >=dev-libs/glib-2.16
64 - >=dev-libs/libxml2-2.6.18
65 - ncurses? ( sys-libs/ncurses[unicode]
66 - dbus? ( ${PYTHON_DEPS} )
67 - python? ( ${PYTHON_DEPS} ) )
68 - gtk? (
69 - >=x11-libs/gtk+-2.10:2[aqua=]
70 - x11-libs/libSM
71 - xscreensaver? ( x11-libs/libXScrnSaver )
72 - spell? ( >=app-text/gtkspell-2.0.2:2 )
73 - eds? ( >=gnome-extra/evolution-data-server-3.6:= )
74 - prediction? ( >=dev-db/sqlite-3.3:3 ) )
75 - gstreamer? ( =media-libs/gstreamer-0.10*
76 - =media-libs/gst-plugins-good-0.10*
77 - net-libs/farstream:0.1
78 - media-plugins/gst-plugins-meta:0.10
79 - media-plugins/gst-plugins-gconf:0.10 )
80 - zeroconf? ( net-dns/avahi[dbus] )
81 - dbus? ( >=dev-libs/dbus-glib-0.71
82 - >=sys-apps/dbus-0.90
83 - dev-python/dbus-python )
84 - perl? ( >=dev-lang/perl-5.16:= )
85 - gadu? ( || ( >=net-libs/libgadu-1.11.0[ssl,gnutls]
86 - >=net-libs/libgadu-1.11.0[-ssl] ) )
87 - gnutls? ( net-libs/gnutls )
88 - !gnutls? ( >=dev-libs/nss-3.15.4 )
89 - meanwhile? ( net-libs/meanwhile )
90 - silc? ( >=net-im/silc-toolkit-1.0.1 )
91 - tcl? ( dev-lang/tcl:0= )
92 - tk? ( dev-lang/tk:0= )
93 - sasl? ( dev-libs/cyrus-sasl:2 )
94 - networkmanager? ( net-misc/networkmanager )
95 - idn? ( net-dns/libidn )
96 - !<x11-plugins/pidgin-facebookchat-1.69-r1"
97 - # Mono support crashes pidgin
98 - #mono? ( dev-lang/mono )"
99 -
100 -# We want nls in case gtk is enabled, bug #
101 -NLS_DEPEND=">=dev-util/intltool-0.41.1 sys-devel/gettext"
102 -
103 -DEPEND="$RDEPEND
104 - dev-lang/perl
105 - dev-perl/XML-Parser
106 - virtual/pkgconfig
107 - gtk? ( x11-proto/scrnsaverproto
108 - ${NLS_DEPEND} )
109 - dbus? ( ${PYTHON_DEPS} )
110 - doc? ( app-doc/doxygen )
111 - !gtk? ( nls? ( ${NLS_DEPEND} ) )"
112 -
113 -DOCS="AUTHORS HACKING NEWS README ChangeLog"
114 -
115 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )
116 - dbus? ( ${PYTHON_REQUIRED_USE} )"
117 -
118 -# Enable Default protocols
119 -DYNAMIC_PRPLS="irc,jabber,oscar,yahoo,simple,msn,myspace"
120 -
121 -# List of plugins
122 -# app-accessibility/pidgin-festival
123 -# net-im/librvp
124 -# x11-plugins/guifications
125 -# x11-plugins/msn-pecan
126 -# x11-plugins/pidgin-encryption
127 -# x11-plugins/pidgin-extprefs
128 -# x11-plugins/pidgin-hotkeys
129 -# x11-plugins/pidgin-latex
130 -# x11-plugins/pidgintex
131 -# x11-plugins/pidgin-libnotify
132 -# x11-plugins/pidgin-mbpurple
133 -# x11-plugins/pidgin-bot-sentry
134 -# x11-plugins/pidgin-otr
135 -# x11-plugins/pidgin-rhythmbox
136 -# x11-plugins/purple-plugin_pack
137 -# x11-themes/pidgin-smileys
138 -# x11-plugins/pidgin-knotify
139 -# Plugins in Sunrise:
140 -# x11-plugins/pidgin-audacious-remote
141 -# x11-plugins/pidgin-autoanswer
142 -# x11-plugins/pidgin-birthday-reminder
143 -# x11-plugins/pidgin-blinklight
144 -# x11-plugins/pidgin-convreverse
145 -# x11-plugins/pidgin-embeddedvideo
146 -# x11-plugins/pidgin-extended-blist-sort
147 -# x11-plugins/pidgin-gfire
148 -# x11-plugins/pidgin-lastfm
149 -# x11-plugins/pidgin-sendscreenshot
150 -# x11-plugins/pidgimpd
151 -
152 -pkg_setup() {
153 - if ! use gtk && ! use ncurses ; then
154 - elog "You did not pick the ncurses or gtk use flags, only libpurple"
155 - elog "will be built."
156 - fi
157 - if use python || use dbus ; then
158 - python-single-r1_pkg_setup
159 - fi
160 -
161 - # dbus is enabled, no way to disable linkage with python => python is enabled
162 - #REQUIRED_USE="gtk? ( nls ) dbus? ( python )"
163 - if use gtk && ! use nls; then
164 - ewarn "gtk build => nls is enabled!"
165 - fi
166 - if use dbus && ! use python; then
167 - elog "dbus is enabled, no way to disable linkage with python => python is enabled"
168 - fi
169 -}
170 -
171 -src_prepare() {
172 - epatch "${FILESDIR}/${PN}-2.10.0-gold.patch" \
173 - "${WORKDIR}/${PN}-eds-3.6.patch" \
174 - "${FILESDIR}/${PN}-2.10.9-fix-gtkmedia.patch" \
175 - "${FILESDIR}/${PN}-2.10.10-eds-3.6-configure.ac.patch"
176 - epatch_user
177 -
178 - eautoreconf
179 -}
180 -
181 -src_configure() {
182 - # Stabilize things, for your own good
183 - strip-flags
184 - replace-flags -O? -O2
185 -
186 - local myconf
187 -
188 - if use gadu; then
189 - DYNAMIC_PRPLS="${DYNAMIC_PRPLS},gg"
190 - myconf="${myconf} --with-gadu-includes=."
191 - myconf="${myconf} --with-gadu-libs=."
192 - fi
193 -
194 - use groupwise && DYNAMIC_PRPLS+=",novell"
195 - use silc && DYNAMIC_PRPLS+=",silc"
196 - use meanwhile && DYNAMIC_PRPLS+=",sametime"
197 - use mxit && DYNAMIC_PRPLS+=",mxit"
198 - use zephyr && DYNAMIC_PRPLS+=",zephyr"
199 - use zeroconf && DYNAMIC_PRPLS+=",bonjour"
200 -
201 - if use gnutls; then
202 - einfo "Disabling NSS, using GnuTLS"
203 - myconf+=" --enable-nss=no --enable-gnutls=yes"
204 - myconf+=" --with-gnutls-includes=${EPREFIX}/usr/include/gnutls"
205 - myconf+=" --with-gnutls-libs=${EPREFIX}/usr/$(get_libdir)"
206 - else
207 - einfo "Disabling GnuTLS, using NSS"
208 - myconf+=" --enable-gnutls=no --enable-nss=yes"
209 - fi
210 -
211 - if use dbus || { use ncurses && use python; }; then
212 - myconf+=" --with-python=${PYTHON}"
213 - else
214 - myconf+=" --without-python"
215 - fi
216 -
217 - econf \
218 - $(use_enable ncurses consoleui) \
219 - $(use_enable gtk gtkui) \
220 - $(use_enable gtk sm) \
221 - $(use gtk || use_enable nls) \
222 - $(use gtk && echo "--enable-nls") \
223 - $(use gtk && use_enable xscreensaver screensaver) \
224 - $(use gtk && use_enable prediction cap) \
225 - $(use gtk && use_enable eds gevolution) \
226 - $(use gtk && use_enable spell gtkspell) \
227 - $(use_enable perl) \
228 - $(use_enable tk) \
229 - $(use_enable tcl) \
230 - $(use_enable debug) \
231 - $(use_enable dbus) \
232 - $(use_enable meanwhile) \
233 - $(use_enable gstreamer) \
234 - $(use_enable gstreamer farstream) \
235 - $(use_enable gstreamer vv) \
236 - $(use_enable sasl cyrus-sasl ) \
237 - $(use_enable doc doxygen) \
238 - $(use_enable networkmanager nm) \
239 - $(use_enable zeroconf avahi) \
240 - $(use_enable idn) \
241 - --with-system-ssl-certs="${EPREFIX}/etc/ssl/certs/" \
242 - --with-dynamic-prpls="${DYNAMIC_PRPLS}" \
243 - --disable-mono \
244 - --x-includes="${EPREFIX}"/usr/include/X11 \
245 - ${myconf}
246 - #$(use_enable mono) \
247 -}
248 -
249 -src_install() {
250 - gnome2_src_install
251 - if use gtk; then
252 - # Fix tray pathes for kde-3.5, e16 (x11-wm/enlightenment) and other
253 - # implementations that are not complient with new hicolor theme yet, #323355
254 - local pixmapdir
255 - for d in 16 22 32 48; do
256 - pixmapdir=${ED}/usr/share/pixmaps/pidgin/tray/hicolor/${d}x${d}/actions
257 - mkdir "${pixmapdir}" || die
258 - pushd "${pixmapdir}" >/dev/null || die
259 - for f in ../status/*; do
260 - ln -s ${f} || die
261 - done
262 - popd >/dev/null
263 - done
264 - fi
265 - use perl && perl_delete_localpod
266 -
267 - if use python || use dbus ; then
268 - python_fix_shebang "${D}"
269 - python_optimize
270 - fi
271 -
272 - dodoc finch/plugins/pietray.py
273 - docompress -x /usr/share/doc/${PF}/pietray.py
274 -
275 - prune_libtool_files --all
276 -}