Gentoo Archives: gentoo-commits

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