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