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, 09 Jul 2021 06:08:33
Message-Id: 1625810891.7f171685b425daa79b841294328496f59e98862e.polynomial-c@gentoo
1 commit: 7f171685b425daa79b841294328496f59e98862e
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 9 06:08:11 2021 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 9 06:08:11 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f171685
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.4.ebuild | 289 -------------------------------------
14 2 files changed, 290 deletions(-)
15
16 diff --git a/net-im/pidgin/Manifest b/net-im/pidgin/Manifest
17 index 74ee9ab83df..40ebb60e511 100644
18 --- a/net-im/pidgin/Manifest
19 +++ b/net-im/pidgin/Manifest
20 @@ -1,6 +1,5 @@
21 DIST pidgin-2.10.9-irc_join_sleep.patch 534 BLAKE2B 0215cebb93993e19e700e4d4974351ab5e9a00ea094775076d8f439569b34c0ec2faaed360965867df58bc42677516983ce11a2601dd322c1bdf2f288253a5b8 SHA512 8de0d6f05e48cd5a3e894576e06c7fb82e4bfc778cce8bb179fa22e2a05f5c2390a0e4c5b626ee4b910a18eab170d8f4be200f435ce408a86575af99e51e3bdf
22 DIST pidgin-2.14.3.tar.bz2 8688849 BLAKE2B 5d1f28ca5c452b13d2a6d6ab0c9101f14da3b5a291a838dab4b7cda99c76b3e411414b186ae493f08bd9764c65eab4b41eb9a45d340fe885f8bf9bf092911d43 SHA512 70f426900ce76afcdad76bcd06ebc320f562fe4089ec87c639d8d0d90823077f5e815932b62c3ff3da6270b3acfde3c8222d9b8c5cbb211421239c9dcc69b909
23 -DIST pidgin-2.14.4.tar.bz2 8724096 BLAKE2B 674b8cc306b5179c95a546f13e7ec7c2a13a22ff2ab502460435e2449e1a9fdb9e33baf2d8b81867a40251e3fe004dce5a0a371deab70587c694a10c6419f89d SHA512 78550b7c4678242861bc0b0a3c32ab03c9fd6e4f509a9b83f872f2e201fe69617c8407d4cc90205e74598f1b8fdddfeddc8f59b47179524a7af7a241eaf1fa0b
24 DIST pidgin-2.14.5.tar.bz2 8696780 BLAKE2B 4563b6aabdaba8af7dd7a1f8978418bcdcc347fc10731606e44de537d2a451c9cec17d17c44d88e0eefda110927c471788ae6128a7e006666603bdc6d842c9b1 SHA512 3aa00156e73643c7a23bc3a1ff26ecd7ee89c0d91571a23bf00e54aa87f25d2b604990d33263e8f74f6499d8e08646aa524e14063e8000e60d1b49d74c5cc784
25 DIST pidgin-2.14.6.tar.bz2 8672222 BLAKE2B d2e6428728f18096c957b10d7cc5e79704c0fbb403967e3968f59393db125307fc6fc84c90d66788b4a27bd9707b126c1f0df532c2a1e7d1b62356127e87371c SHA512 19ea12b6c9e99b6215a7d955f02d52ad19de8c4beb00806276c8c184d5cc338db119197e0cc9f4685705bd8b83f35c8f63565095b49a319f9696aab37735951b
26 DIST pidgin-eds-3.6.patch.bz2 2352 BLAKE2B 1d69dc55f43b9efe5d5278a017642702d67a297fe2587467ec0fdca7f9888e26640efe9ac2a18f77ae9c523bf125a2cec6d0bf621f0b2b16f55d30df1bf470df SHA512 a0195679ab55ed9c7ea18ace6dbf0fc994698f1f4eea9d8335dfdcdcd6a68975c0191bd22f150bf5a9a0a691ce7e9e73d79598e1e8be541efa1d9824a633d877
27
28 diff --git a/net-im/pidgin/pidgin-2.14.4.ebuild b/net-im/pidgin/pidgin-2.14.4.ebuild
29 deleted file mode 100644
30 index 0dacd39bee8..00000000000
31 --- a/net-im/pidgin/pidgin-2.14.4.ebuild
32 +++ /dev/null
33 @@ -1,289 +0,0 @@
34 -# Copyright 1999-2021 Gentoo Authors
35 -# Distributed under the terms of the GNU General Public License v2
36 -
37 -EAPI=7
38 -
39 -GENTOO_DEPEND_ON_PERL=no
40 -PYTHON_COMPAT=( python3_{7..9} )
41 -
42 -inherit autotools gnome2-utils flag-o-matic toolchain-funcs multilib perl-module python-single-r1 xdg
43 -
44 -DESCRIPTION="GTK Instant Messenger client"
45 -HOMEPAGE="https://pidgin.im/"
46 -SRC_URI="
47 - mirror://sourceforge/${PN}/${P}.tar.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 -"
108 -
109 -# We want nls in case gtk is enabled, bug #
110 -NLS_DEPEND=">=dev-util/intltool-0.41.1 sys-devel/gettext"
111 -
112 -DEPEND="${RDEPEND}
113 - gtk? (
114 - x11-base/xorg-proto
115 - ${NLS_DEPEND}
116 - )
117 - dbus? ( ${PYTHON_DEPS} )
118 -"
119 -BDEPEND="
120 - dev-lang/perl
121 - dev-perl/XML-Parser
122 - virtual/pkgconfig
123 - doc? ( app-doc/doxygen )
124 - !gtk? ( nls? ( ${NLS_DEPEND} ) )
125 -"
126 -
127 -DOCS=( AUTHORS HACKING NEWS README ChangeLog )
128 -
129 -REQUIRED_USE="
130 - dbus? ( ${PYTHON_REQUIRED_USE} )
131 - networkmanager? ( dbus )
132 - python? ( ${PYTHON_REQUIRED_USE} )
133 -"
134 -
135 -# Enable Default protocols
136 -DYNAMIC_PRPLS="irc,jabber,simple"
137 -
138 -# List of plugins
139 -# app-accessibility/pidgin-festival
140 -# net-im/librvp
141 -# x11-plugins/guifications
142 -# x11-plugins/msn-pecan
143 -# x11-plugins/pidgin-encryption
144 -# x11-plugins/pidgin-extprefs
145 -# x11-plugins/pidgin-hotkeys
146 -# x11-plugins/pidgin-latex
147 -# x11-plugins/pidgintex
148 -# x11-plugins/pidgin-libnotify
149 -# x11-plugins/pidgin-mbpurple
150 -# x11-plugins/pidgin-bot-sentry
151 -# x11-plugins/pidgin-otr
152 -# x11-plugins/pidgin-rhythmbox
153 -# x11-plugins/purple-plugin_pack
154 -# x11-themes/pidgin-smileys
155 -# x11-plugins/pidgin-knotify
156 -# Plugins in Sunrise:
157 -# x11-plugins/pidgin-audacious-remote
158 -# x11-plugins/pidgin-autoanswer
159 -# x11-plugins/pidgin-birthday-reminder
160 -# x11-plugins/pidgin-blinklight
161 -# x11-plugins/pidgin-convreverse
162 -# x11-plugins/pidgin-embeddedvideo
163 -# x11-plugins/pidgin-extended-blist-sort
164 -# x11-plugins/pidgin-gfire
165 -# x11-plugins/pidgin-lastfm
166 -# x11-plugins/pidgin-sendscreenshot
167 -# x11-plugins/pidgimpd
168 -
169 -PATCHES=(
170 - "${FILESDIR}/${PN}-2.10.11-tinfo.patch"
171 - "${DISTDIR}/${PN}-2.10.9-irc_join_sleep.patch" # 577286
172 - "${FILESDIR}/${PN}-2.13.0-disable-one-jid-test.patch" # 593338
173 -)
174 -
175 -pkg_pretend() {
176 - if ! use gtk && ! use ncurses ; then
177 - elog "You did not pick the ncurses or gtk use flags, only libpurple"
178 - elog "will be built."
179 - fi
180 -
181 - # dbus is enabled, no way to disable linkage with python => python is enabled
182 - #REQUIRED_USE="gtk? ( nls ) dbus? ( python )"
183 - if use gtk && ! use nls ; then
184 - ewarn "gtk build => nls is enabled!"
185 - fi
186 - if use dbus && ! use python ; then
187 - elog "dbus is enabled, no way to disable linkage with python => python is enabled"
188 - fi
189 -}
190 -
191 -pkg_setup() {
192 - if use python || use dbus ; then
193 - python-single-r1_pkg_setup
194 - fi
195 -}
196 -
197 -src_prepare() {
198 - default
199 - eautoreconf
200 -}
201 -
202 -src_configure() {
203 - # Stabilize things, for your own good
204 - strip-flags
205 - replace-flags -O? -O2
206 - use pie && append-cflags -fPIE -pie
207 -
208 - use gadu && DYNAMIC_PRPLS+=",gg"
209 - use groupwise && DYNAMIC_PRPLS+=",novell"
210 - use meanwhile && DYNAMIC_PRPLS+=",sametime"
211 - use zephyr && DYNAMIC_PRPLS+=",zephyr"
212 - use zeroconf && DYNAMIC_PRPLS+=",bonjour"
213 -
214 - local myconf=(
215 - --disable-mono
216 - --disable-static
217 - --with-dynamic-prpls="${DYNAMIC_PRPLS}"
218 - --with-system-ssl-certs="${EPREFIX}/etc/ssl/certs/"
219 - --x-includes="${EPREFIX}"/usr/include/X11
220 - $(use_enable ncurses consoleui)
221 - $(use_enable gtk gtkui)
222 - $(use_enable gtk sm)
223 - $(usex gtk '--enable-nls' "$(use_enable nls)")
224 - $(use gtk && use_enable xscreensaver screensaver)
225 - $(use gtk && use_enable prediction cap)
226 - $(use gtk && use_enable eds gevolution)
227 - $(use gtk && use_enable spell gtkspell)
228 - $(use_enable perl)
229 - $(use_enable tk)
230 - $(use_enable tcl)
231 - $(use_enable debug)
232 - $(use_enable dbus)
233 - $(use_enable meanwhile)
234 - $(use_enable gstreamer)
235 - $(use_with gstreamer gstreamer 1.0)
236 - $(use_enable gstreamer farstream)
237 - $(use_enable gstreamer vv)
238 - $(use_enable sasl cyrus-sasl )
239 - $(use_enable doc doxygen)
240 - $(use_enable networkmanager nm)
241 - $(use_enable zeroconf avahi)
242 - $(use_enable idn)
243 - )
244 -
245 - if use gnutls; then
246 - einfo "Disabling NSS, using GnuTLS"
247 - myconf+=(
248 - --enable-nss=no
249 - --enable-gnutls=yes
250 - --with-gnutls-includes="${EPREFIX}/usr/include/gnutls"
251 - --with-gnutls-libs="${EPREFIX}/usr/$(get_libdir)"
252 - )
253 - else
254 - einfo "Disabling GnuTLS, using NSS"
255 - myconf+=(
256 - --enable-gnutls=no
257 - --enable-nss=yes
258 - )
259 - fi
260 -
261 - if use dbus || { use ncurses && use python ; } ; then
262 - myconf+=( --with-python3=${PYTHON} )
263 - else
264 - myconf+=( --without-python3 )
265 - fi
266 -
267 - econf "${myconf[@]}"
268 -}
269 -
270 -src_install() {
271 - # setting this here because gnome2.eclass is not EAPI-7 ready
272 - export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1"
273 - default
274 -
275 - if use gtk ; then
276 - # Fix tray paths for e16 (x11-wm/enlightenment) and other
277 - # implementations that are not compliant with new hicolor theme yet, #323355
278 - local d f pixmapdir
279 - for d in 16 22 32 48 ; do
280 - pixmapdir="${ED}/usr/share/pixmaps/pidgin/tray/hicolor/${d}x${d}/actions"
281 - mkdir "${pixmapdir}" || die
282 - pushd "${pixmapdir}" >/dev/null || die
283 - for f in ../status/*; do
284 - ln -s ${f} || die
285 - done
286 - popd >/dev/null || die
287 - done
288 - fi
289 - use perl && perl_delete_localpod
290 -
291 - if use python || use dbus ; then
292 - python_fix_shebang "${ED}"
293 - python_optimize
294 - fi
295 -
296 - dodoc ${DOCS[@]} finch/plugins/pietray.py
297 - docompress -x /usr/share/doc/${PF}/pietray.py
298 -
299 - find "${ED}" -type f -name "*.la" -delete || die
300 -}
301 -
302 -src_test() {
303 - # make default build logs slightly more useful
304 - emake check VERBOSE=1
305 -}
306 -
307 -pkg_preinst() {
308 - gnome2_gconf_savelist
309 - xdg_pkg_preinst
310 -}
311 -
312 -pkg_postinst() {
313 - gnome2_gconf_install
314 - gnome2_schemas_update
315 - xdg_pkg_postinst
316 -}
317 -
318 -pkg_postrm() {
319 - gnome2_gconf_uninstall
320 - gnome2_schemas_update
321 - xdg_pkg_postrm
322 -}