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, 30 Apr 2021 06:31:57
Message-Id: 1619764306.29e998c03ce3404f327da66ba5a23b3e0b2c7672.polynomial-c@gentoo
1 commit: 29e998c03ce3404f327da66ba5a23b3e0b2c7672
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 30 06:31:32 2021 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 30 06:31:46 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29e998c0
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.2.ebuild | 295 -------------------------------------
14 2 files changed, 296 deletions(-)
15
16 diff --git a/net-im/pidgin/Manifest b/net-im/pidgin/Manifest
17 index af195517eab..298dd3907ee 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.1.tar.bz2 8849275 BLAKE2B 27cd58a79f36c0176147c2e5bac7c4c18ec74c446c556e2326465c3607a95c3a58c1bdbbf9b4fb9741783ae982a6ce8fe0556ccff5b1608c9bba98626560412c SHA512 6ce5c58f32fa680d7f67e37a42b0f77c8253018cee21df2895d52166d9eb6ecaf0458b1610adbd46f337d00e75933db7578c2f9808654bd22838ba5db0a13030
23 -DIST pidgin-2.14.2.tar.bz2 8933924 BLAKE2B 8ca40cb9398f9f2e55b3dbb6aff12a55bfc27974c959476af8a7c779fa46df616e91474512b632658b280bf520eb43c9ddf62270b1553e17566b5c6a173bc88f SHA512 f1048644f39c37e210560f876412c0c63039c6045ba8e9477a00f05841078f6c9f6f97806e0c7824a8e60d2477dc835670920f5df58c5b434be76e6603e0005c
24 DIST pidgin-2.14.3.tar.bz2 8688849 BLAKE2B 5d1f28ca5c452b13d2a6d6ab0c9101f14da3b5a291a838dab4b7cda99c76b3e411414b186ae493f08bd9764c65eab4b41eb9a45d340fe885f8bf9bf092911d43 SHA512 70f426900ce76afcdad76bcd06ebc320f562fe4089ec87c639d8d0d90823077f5e815932b62c3ff3da6270b3acfde3c8222d9b8c5cbb211421239c9dcc69b909
25 DIST pidgin-2.14.4.tar.bz2 8724096 BLAKE2B 674b8cc306b5179c95a546f13e7ec7c2a13a22ff2ab502460435e2449e1a9fdb9e33baf2d8b81867a40251e3fe004dce5a0a371deab70587c694a10c6419f89d SHA512 78550b7c4678242861bc0b0a3c32ab03c9fd6e4f509a9b83f872f2e201fe69617c8407d4cc90205e74598f1b8fdddfeddc8f59b47179524a7af7a241eaf1fa0b
26 DIST pidgin-eds-3.6.patch.bz2 2352 BLAKE2B 1d69dc55f43b9efe5d5278a017642702d67a297fe2587467ec0fdca7f9888e26640efe9ac2a18f77ae9c523bf125a2cec6d0bf621f0b2b16f55d30df1bf470df SHA512 a0195679ab55ed9c7ea18ace6dbf0fc994698f1f4eea9d8335dfdcdcd6a68975c0191bd22f150bf5a9a0a691ce7e9e73d79598e1e8be541efa1d9824a633d877
27
28 diff --git a/net-im/pidgin/pidgin-2.14.2.ebuild b/net-im/pidgin/pidgin-2.14.2.ebuild
29 deleted file mode 100644
30 index 4f3358fca71..00000000000
31 --- a/net-im/pidgin/pidgin-2.14.2.ebuild
32 +++ /dev/null
33 @@ -1,295 +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://dev.gentoo.org/~polynomial-c/${PN}-eds-3.6.patch.bz2
49 - https://gist.githubusercontent.com/imcleod/77f38d11af11b2413ada/raw/46e9d6cb4d2f839832dad2d697bb141a88028e04/pidgin-irc-join-sleep.patch -> ${PN}-2.10.9-irc_join_sleep.patch"
50 -
51 -LICENSE="GPL-2"
52 -SLOT="0/2" # libpurple version
53 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
54 -IUSE="aqua dbus debug doc eds gadu gnutls groupwise +gstreamer +gtk idn
55 -meanwhile ncurses networkmanager nls perl pie prediction python sasl spell tcl
56 -tk +xscreensaver zephyr zeroconf"
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 - >=dev-libs/libgnt-$(ver_cut 1-2)
69 - sys-libs/ncurses:0=[unicode]
70 - dbus? ( ${PYTHON_DEPS} )
71 - python? ( ${PYTHON_DEPS} )
72 - )
73 - gtk? (
74 - >=x11-libs/gtk+-2.10:2[aqua=]
75 - x11-libs/libSM
76 - >=x11-libs/pango-1.4.0
77 - xscreensaver? ( x11-libs/libXScrnSaver )
78 - spell? ( >=app-text/gtkspell-2.0.2:2 )
79 - eds? ( >=gnome-extra/evolution-data-server-3.6:= )
80 - prediction? ( >=dev-db/sqlite-3.3:3 )
81 - )
82 - gstreamer? (
83 - media-libs/gstreamer:1.0
84 - media-libs/gst-plugins-base:1.0
85 - >=net-libs/farstream-0.2.7:0.2
86 - )
87 - zeroconf? ( net-dns/avahi[dbus] )
88 - dbus? (
89 - >=dev-libs/dbus-glib-0.71
90 - >=sys-apps/dbus-0.90
91 - $(python_gen_cond_dep '
92 - dev-python/dbus-python[${PYTHON_MULTI_USEDEP}]
93 - ')
94 - )
95 - perl? ( >=dev-lang/perl-5.16:= )
96 - gadu? ( >=net-libs/libgadu-1.11.0 )
97 - gnutls? ( net-libs/gnutls:= )
98 - !gnutls? (
99 - dev-libs/nspr
100 - dev-libs/nss
101 - )
102 - meanwhile? ( net-libs/meanwhile )
103 - tcl? ( dev-lang/tcl:0= )
104 - tk? ( dev-lang/tk:0= )
105 - sasl? ( dev-libs/cyrus-sasl:2 )
106 - networkmanager? ( net-misc/networkmanager )
107 - idn? ( net-dns/libidn:= )
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 - --disable-static
223 - --with-dynamic-prpls="${DYNAMIC_PRPLS}"
224 - --with-system-ssl-certs="${EPREFIX}/etc/ssl/certs/"
225 - --x-includes="${EPREFIX}"/usr/include/X11
226 - $(use_enable ncurses consoleui)
227 - $(use_enable gtk gtkui)
228 - $(use_enable gtk sm)
229 - $(usex gtk '--enable-nls' "$(use_enable nls)")
230 - $(use gtk && use_enable xscreensaver screensaver)
231 - $(use gtk && use_enable prediction cap)
232 - $(use gtk && use_enable eds gevolution)
233 - $(use gtk && use_enable spell gtkspell)
234 - $(use_enable perl)
235 - $(use_enable tk)
236 - $(use_enable tcl)
237 - $(use_enable debug)
238 - $(use_enable dbus)
239 - $(use_enable meanwhile)
240 - $(use_enable gstreamer)
241 - $(use_with gstreamer gstreamer 1.0)
242 - $(use_enable gstreamer farstream)
243 - $(use_enable gstreamer vv)
244 - $(use_enable sasl cyrus-sasl )
245 - $(use_enable doc doxygen)
246 - $(use_enable networkmanager nm)
247 - $(use_enable zeroconf avahi)
248 - $(use_enable idn)
249 - )
250 -
251 - if use gnutls; then
252 - einfo "Disabling NSS, using GnuTLS"
253 - myconf+=(
254 - --enable-nss=no
255 - --enable-gnutls=yes
256 - --with-gnutls-includes="${EPREFIX}/usr/include/gnutls"
257 - --with-gnutls-libs="${EPREFIX}/usr/$(get_libdir)"
258 - )
259 - else
260 - einfo "Disabling GnuTLS, using NSS"
261 - myconf+=(
262 - --enable-gnutls=no
263 - --enable-nss=yes
264 - )
265 - fi
266 -
267 - if use dbus || { use ncurses && use python ; } ; then
268 - myconf+=( --with-python3=${PYTHON} )
269 - else
270 - myconf+=( --without-python3 )
271 - fi
272 -
273 - econf "${myconf[@]}"
274 -}
275 -
276 -src_install() {
277 - # setting this here because gnome2.eclass is not EAPI-7 ready
278 - export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1"
279 - default
280 -
281 - if use gtk ; then
282 - # Fix tray paths for e16 (x11-wm/enlightenment) and other
283 - # implementations that are not compliant with new hicolor theme yet, #323355
284 - local d f pixmapdir
285 - for d in 16 22 32 48 ; do
286 - pixmapdir="${ED}/usr/share/pixmaps/pidgin/tray/hicolor/${d}x${d}/actions"
287 - mkdir "${pixmapdir}" || die
288 - pushd "${pixmapdir}" >/dev/null || die
289 - for f in ../status/*; do
290 - ln -s ${f} || die
291 - done
292 - popd >/dev/null || die
293 - done
294 - fi
295 - use perl && perl_delete_localpod
296 -
297 - if use python && use dbus ; then
298 - python_fix_shebang "${ED}"
299 - python_optimize
300 - fi
301 -
302 - dodoc ${DOCS[@]} finch/plugins/pietray.py
303 - docompress -x /usr/share/doc/${PF}/pietray.py
304 -
305 - find "${ED}" -type f -name "*.la" -delete || die
306 -}
307 -
308 -src_test() {
309 - # make default build logs slightly more useful
310 - emake check VERBOSE=1
311 -}
312 -
313 -pkg_preinst() {
314 - gnome2_gconf_savelist
315 - xdg_pkg_preinst
316 -}
317 -
318 -pkg_postinst() {
319 - gnome2_gconf_install
320 - gnome2_schemas_update
321 - xdg_pkg_postinst
322 -}
323 -
324 -pkg_postrm() {
325 - gnome2_gconf_uninstall
326 - gnome2_schemas_update
327 - xdg_pkg_postrm
328 -}