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: Fri, 04 Jun 2021 12:35:14
Message-Id: 1622810092.7e4c74ded76a0fd8ab98ada63f2ed468b3a0e868.polynomial-c@gentoo
1 commit: 7e4c74ded76a0fd8ab98ada63f2ed468b3a0e868
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 4 12:34:52 2021 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 4 12:34:52 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e4c74de
7
8 net-im/pidgin: Removed old
9
10 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
11
12 net-im/pidgin/Manifest | 1 -
13 net-im/pidgin/pidgin-2.14.1.ebuild | 295 -------------------------------------
14 2 files changed, 296 deletions(-)
15
16 diff --git a/net-im/pidgin/Manifest b/net-im/pidgin/Manifest
17 index 86fa9d7a2a0..7142d50801c 100644
18 --- a/net-im/pidgin/Manifest
19 +++ b/net-im/pidgin/Manifest
20 @@ -1,5 +1,4 @@
21 DIST pidgin-2.10.9-irc_join_sleep.patch 534 BLAKE2B 0215cebb93993e19e700e4d4974351ab5e9a00ea094775076d8f439569b34c0ec2faaed360965867df58bc42677516983ce11a2601dd322c1bdf2f288253a5b8 SHA512 8de0d6f05e48cd5a3e894576e06c7fb82e4bfc778cce8bb179fa22e2a05f5c2390a0e4c5b626ee4b910a18eab170d8f4be200f435ce408a86575af99e51e3bdf
22 -DIST pidgin-2.14.1.tar.bz2 8849275 BLAKE2B 27cd58a79f36c0176147c2e5bac7c4c18ec74c446c556e2326465c3607a95c3a58c1bdbbf9b4fb9741783ae982a6ce8fe0556ccff5b1608c9bba98626560412c SHA512 6ce5c58f32fa680d7f67e37a42b0f77c8253018cee21df2895d52166d9eb6ecaf0458b1610adbd46f337d00e75933db7578c2f9808654bd22838ba5db0a13030
23 DIST pidgin-2.14.3.tar.bz2 8688849 BLAKE2B 5d1f28ca5c452b13d2a6d6ab0c9101f14da3b5a291a838dab4b7cda99c76b3e411414b186ae493f08bd9764c65eab4b41eb9a45d340fe885f8bf9bf092911d43 SHA512 70f426900ce76afcdad76bcd06ebc320f562fe4089ec87c639d8d0d90823077f5e815932b62c3ff3da6270b3acfde3c8222d9b8c5cbb211421239c9dcc69b909
24 DIST pidgin-2.14.4.tar.bz2 8724096 BLAKE2B 674b8cc306b5179c95a546f13e7ec7c2a13a22ff2ab502460435e2449e1a9fdb9e33baf2d8b81867a40251e3fe004dce5a0a371deab70587c694a10c6419f89d SHA512 78550b7c4678242861bc0b0a3c32ab03c9fd6e4f509a9b83f872f2e201fe69617c8407d4cc90205e74598f1b8fdddfeddc8f59b47179524a7af7a241eaf1fa0b
25 DIST pidgin-2.14.5.tar.bz2 8696780 BLAKE2B 4563b6aabdaba8af7dd7a1f8978418bcdcc347fc10731606e44de537d2a451c9cec17d17c44d88e0eefda110927c471788ae6128a7e006666603bdc6d842c9b1 SHA512 3aa00156e73643c7a23bc3a1ff26ecd7ee89c0d91571a23bf00e54aa87f25d2b604990d33263e8f74f6499d8e08646aa524e14063e8000e60d1b49d74c5cc784
26
27 diff --git a/net-im/pidgin/pidgin-2.14.1.ebuild b/net-im/pidgin/pidgin-2.14.1.ebuild
28 deleted file mode 100644
29 index f90cd8e94cd..00000000000
30 --- a/net-im/pidgin/pidgin-2.14.1.ebuild
31 +++ /dev/null
32 @@ -1,295 +0,0 @@
33 -# Copyright 1999-2021 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -GENTOO_DEPEND_ON_PERL=no
39 -PYTHON_COMPAT=( python3_{7,8,9} )
40 -
41 -inherit autotools gnome2-utils flag-o-matic toolchain-funcs multilib perl-module python-single-r1 xdg
42 -
43 -DESCRIPTION="GTK Instant Messenger client"
44 -HOMEPAGE="https://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 ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
53 -IUSE="aqua dbus debug doc eds gadu gnutls groupwise +gstreamer +gtk idn
54 -meanwhile ncurses networkmanager nls perl pie prediction python sasl spell tcl
55 -tk +xscreensaver zephyr zeroconf"
56 -
57 -# dbus requires python to generate C code for dbus bindings (thus DEPEND only).
58 -# finch uses libgnt that links with libpython - {R,}DEPEND. But still there is
59 -# no way to build dbus and avoid libgnt linkage with python. If you want this
60 -# send patch upstream.
61 -# purple-url-handler and purple-remote require dbus-python thus in reality we
62 -# rdepend on python if dbus enabled. But it is possible to separate this dep.
63 -RDEPEND="
64 - >=dev-libs/glib-2.16
65 - >=dev-libs/libxml2-2.6.18
66 - ncurses? (
67 - >=dev-libs/libgnt-$(ver_cut 1-2)
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 - >=x11-libs/pango-1.4.0
76 - xscreensaver? ( x11-libs/libXScrnSaver )
77 - spell? ( >=app-text/gtkspell-2.0.2:2 )
78 - eds? ( >=gnome-extra/evolution-data-server-3.6:= )
79 - prediction? ( >=dev-db/sqlite-3.3:3 )
80 - )
81 - gstreamer? (
82 - media-libs/gstreamer:1.0
83 - media-libs/gst-plugins-base:1.0
84 - >=net-libs/farstream-0.2.7:0.2
85 - )
86 - zeroconf? ( net-dns/avahi[dbus] )
87 - dbus? (
88 - >=dev-libs/dbus-glib-0.71
89 - >=sys-apps/dbus-0.90
90 - $(python_gen_cond_dep '
91 - dev-python/dbus-python[${PYTHON_MULTI_USEDEP}]
92 - ')
93 - )
94 - perl? ( >=dev-lang/perl-5.16:= )
95 - gadu? ( >=net-libs/libgadu-1.11.0 )
96 - gnutls? ( net-libs/gnutls:= )
97 - !gnutls? (
98 - dev-libs/nspr
99 - dev-libs/nss
100 - )
101 - meanwhile? ( net-libs/meanwhile )
102 - tcl? ( dev-lang/tcl:0= )
103 - tk? ( dev-lang/tk:0= )
104 - sasl? ( dev-libs/cyrus-sasl:2 )
105 - networkmanager? ( net-misc/networkmanager )
106 - idn? ( net-dns/libidn:= )
107 - !<x11-plugins/pidgin-facebookchat-1.69-r1
108 -"
109 -
110 -# We want nls in case gtk is enabled, bug #
111 -NLS_DEPEND=">=dev-util/intltool-0.41.1 sys-devel/gettext"
112 -
113 -DEPEND="${RDEPEND}
114 - gtk? (
115 - x11-base/xorg-proto
116 - ${NLS_DEPEND}
117 - )
118 - dbus? ( ${PYTHON_DEPS} )
119 -"
120 -BDEPEND="
121 - dev-lang/perl
122 - dev-perl/XML-Parser
123 - virtual/pkgconfig
124 - doc? ( app-doc/doxygen )
125 - !gtk? ( nls? ( ${NLS_DEPEND} ) )
126 -"
127 -
128 -DOCS=( AUTHORS HACKING NEWS README ChangeLog )
129 -
130 -REQUIRED_USE="
131 - dbus? ( ${PYTHON_REQUIRED_USE} )
132 - networkmanager? ( dbus )
133 - python? ( ${PYTHON_REQUIRED_USE} )
134 -"
135 -
136 -# Enable Default protocols
137 -DYNAMIC_PRPLS="irc,jabber,oscar,simple"
138 -
139 -# List of plugins
140 -# app-accessibility/pidgin-festival
141 -# net-im/librvp
142 -# x11-plugins/guifications
143 -# x11-plugins/msn-pecan
144 -# x11-plugins/pidgin-encryption
145 -# x11-plugins/pidgin-extprefs
146 -# x11-plugins/pidgin-hotkeys
147 -# x11-plugins/pidgin-latex
148 -# x11-plugins/pidgintex
149 -# x11-plugins/pidgin-libnotify
150 -# x11-plugins/pidgin-mbpurple
151 -# x11-plugins/pidgin-bot-sentry
152 -# x11-plugins/pidgin-otr
153 -# x11-plugins/pidgin-rhythmbox
154 -# x11-plugins/purple-plugin_pack
155 -# x11-themes/pidgin-smileys
156 -# x11-plugins/pidgin-knotify
157 -# Plugins in Sunrise:
158 -# x11-plugins/pidgin-audacious-remote
159 -# x11-plugins/pidgin-autoanswer
160 -# x11-plugins/pidgin-birthday-reminder
161 -# x11-plugins/pidgin-blinklight
162 -# x11-plugins/pidgin-convreverse
163 -# x11-plugins/pidgin-embeddedvideo
164 -# x11-plugins/pidgin-extended-blist-sort
165 -# x11-plugins/pidgin-gfire
166 -# x11-plugins/pidgin-lastfm
167 -# x11-plugins/pidgin-sendscreenshot
168 -# x11-plugins/pidgimpd
169 -
170 -PATCHES=(
171 - "${FILESDIR}/${PN}-2.14.0-gold.patch"
172 - "${WORKDIR}/${PN}-eds-3.6.patch"
173 - "${FILESDIR}/${PN}-2.10.9-fix-gtkmedia.patch"
174 - "${FILESDIR}/${PN}-2.10.10-eds-3.6-configure.ac.patch"
175 - "${FILESDIR}/${PN}-2.10.11-tinfo.patch"
176 - "${DISTDIR}/${PN}-2.10.9-irc_join_sleep.patch" # 577286
177 - "${FILESDIR}/${PN}-2.13.0-disable-one-jid-test.patch" # 593338
178 - "${FILESDIR}/${PN}-2.13.0-metainfo.patch"
179 -)
180 -
181 -pkg_pretend() {
182 - if ! use gtk && ! use ncurses ; then
183 - elog "You did not pick the ncurses or gtk use flags, only libpurple"
184 - elog "will be built."
185 - fi
186 -
187 - # dbus is enabled, no way to disable linkage with python => python is enabled
188 - #REQUIRED_USE="gtk? ( nls ) dbus? ( python )"
189 - if use gtk && ! use nls ; then
190 - ewarn "gtk build => nls is enabled!"
191 - fi
192 - if use dbus && ! use python ; then
193 - elog "dbus is enabled, no way to disable linkage with python => python is enabled"
194 - fi
195 -}
196 -
197 -pkg_setup() {
198 - if use python || use dbus ; then
199 - python-single-r1_pkg_setup
200 - fi
201 -}
202 -
203 -src_prepare() {
204 - default
205 - eautoreconf
206 -}
207 -
208 -src_configure() {
209 - # Stabilize things, for your own good
210 - strip-flags
211 - replace-flags -O? -O2
212 - use pie && append-cflags -fPIE -pie
213 -
214 - use gadu && DYNAMIC_PRPLS+=",gg"
215 - use groupwise && DYNAMIC_PRPLS+=",novell"
216 - use meanwhile && DYNAMIC_PRPLS+=",sametime"
217 - use zephyr && DYNAMIC_PRPLS+=",zephyr"
218 - use zeroconf && DYNAMIC_PRPLS+=",bonjour"
219 -
220 - local myconf=(
221 - --disable-mono
222 - --with-dynamic-prpls="${DYNAMIC_PRPLS}"
223 - --with-system-ssl-certs="${EPREFIX}/etc/ssl/certs/"
224 - --x-includes="${EPREFIX}"/usr/include/X11
225 - $(use_enable ncurses consoleui)
226 - $(use_enable gtk gtkui)
227 - $(use_enable gtk sm)
228 - $(usex gtk '--enable-nls' "$(use_enable nls)")
229 - $(use gtk && use_enable xscreensaver screensaver)
230 - $(use gtk && use_enable prediction cap)
231 - $(use gtk && use_enable eds gevolution)
232 - $(use gtk && use_enable spell gtkspell)
233 - $(use_enable perl)
234 - $(use_enable tk)
235 - $(use_enable tcl)
236 - $(use_enable debug)
237 - $(use_enable dbus)
238 - $(use_enable meanwhile)
239 - $(use_enable gstreamer)
240 - $(use_with gstreamer gstreamer 1.0)
241 - $(use_enable gstreamer farstream)
242 - $(use_enable gstreamer vv)
243 - $(use_enable sasl cyrus-sasl )
244 - $(use_enable doc doxygen)
245 - $(use_enable networkmanager nm)
246 - $(use_enable zeroconf avahi)
247 - $(use_enable idn)
248 - )
249 -
250 - if use gnutls; then
251 - einfo "Disabling NSS, using GnuTLS"
252 - myconf+=(
253 - --enable-nss=no
254 - --enable-gnutls=yes
255 - --with-gnutls-includes="${EPREFIX}/usr/include/gnutls"
256 - --with-gnutls-libs="${EPREFIX}/usr/$(get_libdir)"
257 - )
258 - else
259 - einfo "Disabling GnuTLS, using NSS"
260 - myconf+=(
261 - --enable-gnutls=no
262 - --enable-nss=yes
263 - )
264 - fi
265 -
266 - if use dbus || { use ncurses && use python ; } ; then
267 - myconf+=( --with-python=${PYTHON} )
268 - else
269 - myconf+=( --without-python )
270 - fi
271 -
272 - econf "${myconf[@]}"
273 -}
274 -
275 -src_install() {
276 - # setting this here because gnome2.eclass is not EAPI-7 ready
277 - export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1"
278 - default
279 -
280 - if use gtk ; then
281 - # Fix tray paths for e16 (x11-wm/enlightenment) and other
282 - # implementations that are not compliant with new hicolor theme yet, #323355
283 - local pixmapdir
284 - for d in 16 22 32 48; do
285 - pixmapdir=${ED}/usr/share/pixmaps/pidgin/tray/hicolor/${d}x${d}/actions
286 - mkdir "${pixmapdir}" || die
287 - pushd "${pixmapdir}" >/dev/null || die
288 - for f in ../status/*; do
289 - ln -s ${f} || die
290 - done
291 - popd >/dev/null || die
292 - done
293 - fi
294 - use perl && perl_delete_localpod
295 -
296 - if use python && use dbus ; then
297 - python_fix_shebang "${ED}"
298 - python_optimize
299 - fi
300 -
301 - dodoc ${DOCS[@]} finch/plugins/pietray.py
302 - docompress -x /usr/share/doc/${PF}/pietray.py
303 -
304 - find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die
305 -}
306 -
307 -src_test() {
308 - # make default build logs slightly more useful
309 - emake check VERBOSE=1
310 -}
311 -
312 -pkg_preinst() {
313 - gnome2_gconf_savelist
314 - xdg_pkg_preinst
315 -}
316 -
317 -pkg_postinst() {
318 - gnome2_gconf_install
319 - gnome2_schemas_update
320 - xdg_pkg_postinst
321 -}
322 -
323 -pkg_postrm() {
324 - gnome2_gconf_uninstall
325 - gnome2_schemas_update
326 - xdg_pkg_postrm
327 -}