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