1 |
commit: efdd0e86257939c78f5f509fc0e6b3b004dcd575 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 2 23:52:42 2016 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 2 23:52:42 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efdd0e86 |
7 |
|
8 |
net-im/pidgin: Bump to version 2.10.12 |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
net-im/pidgin/Manifest | 1 + |
14 |
net-im/pidgin/pidgin-2.10.12.ebuild | 248 ++++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 249 insertions(+) |
16 |
|
17 |
diff --git a/net-im/pidgin/Manifest b/net-im/pidgin/Manifest |
18 |
index 4f9c38f..29f83b4 100644 |
19 |
--- a/net-im/pidgin/Manifest |
20 |
+++ b/net-im/pidgin/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST pidgin-2.10.10.tar.bz2 9409485 SHA256 dc6b95512eaec75aef170aabce471491fc70584932599dfead20f1f1c45c822d SHA512 79c6e0b382b24b1f9208337afaf5a11de8701b7e4b84be94696df8f7d36d8126eba935144e9b764c50d98a2cc9cdcd7d26891f9d9f93924a8a7065b0540c5d37 WHIRLPOOL 5351bf6cadb3215c246dbabdc75e5f400600516bfa3864a48b647d280ba2736fb29c86717da229ff2a5fe12e57e9154ca60a3be4edda94481cdc98b0c3ec0647 |
23 |
DIST pidgin-2.10.11.tar.bz2 9458050 SHA256 f2ae211341fc77efb9945d40e9932aa535cdf3a6c8993fe7919fca8cc1c04007 SHA512 774710ab087cb56e349dc1d5e45dbfcbe06b9a8f792abe5d201b0860620d502009f31563cfe5316f4c815345427b6c273b8f9694deb600848957c825fd967029 WHIRLPOOL 24f31ee6ce40e69f644d55f2135644172e8314a64080384eb901ae2b7aba631fbde98cab6cb798f10dd870ecd96374b451cb3ad11d567dc48dcb25f5cf499223 |
24 |
+DIST pidgin-2.10.12.tar.bz2 9837598 SHA256 2c7523f0fefe89749c03b2b738ab9f7bd186da435be4762f1487eee31e77ffdd SHA512 4756bed3ae78b48bfeaa586def3c7a0014db76ce14ae8c6773c96bdca24b65e92b2805270af43960e2a11a600aeac35e030faa3f79dbe3301084ca9d970a5f03 WHIRLPOOL 52f16cdd76b1aa3e76a877136070e3c4875827df621757d35656eb79e7d9921635f9373d33f9bc87275200e91c25a2763b4a64d90953322fd82d03860ce6a0da |
25 |
DIST pidgin-eds-3.6.patch.bz2 2352 SHA256 321185dd5f44e502f671b17e84fa1ca2e08a3f7c79ed211c0bb92710700bcc41 SHA512 a0195679ab55ed9c7ea18ace6dbf0fc994698f1f4eea9d8335dfdcdcd6a68975c0191bd22f150bf5a9a0a691ce7e9e73d79598e1e8be541efa1d9824a633d877 WHIRLPOOL 5c1d3e933bdfa4b1f20f98dbf8b5c1669eb857b9db60dacae488fa04331300618df2f1265e4fb2e58ed31b24229df0edb8c30970d8172fd65ca7fa03bc0e3805 |
26 |
|
27 |
diff --git a/net-im/pidgin/pidgin-2.10.12.ebuild b/net-im/pidgin/pidgin-2.10.12.ebuild |
28 |
new file mode 100644 |
29 |
index 0000000..ca07948 |
30 |
--- /dev/null |
31 |
+++ b/net-im/pidgin/pidgin-2.10.12.ebuild |
32 |
@@ -0,0 +1,248 @@ |
33 |
+# Copyright 1999-2016 Gentoo Foundation |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+# $Id$ |
36 |
+ |
37 |
+EAPI=5 |
38 |
+ |
39 |
+GENTOO_DEPEND_ON_PERL=no |
40 |
+PYTHON_COMPAT=( python2_7 python3_{3,4} ) |
41 |
+ |
42 |
+inherit autotools flag-o-matic eutils toolchain-funcs multilib perl-app gnome2 python-single-r1 |
43 |
+ |
44 |
+DESCRIPTION="GTK Instant Messenger client" |
45 |
+HOMEPAGE="http://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 |
+ |
50 |
+LICENSE="GPL-2" |
51 |
+SLOT="0" |
52 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos" |
53 |
+IUSE="dbus debug doc eds gadu gnutls +gstreamer +gtk idn meanwhile mxit" |
54 |
+IUSE+=" networkmanager nls perl silc tcl tk spell sasl ncurses" |
55 |
+IUSE+=" groupwise prediction python +xscreensaver zephyr zeroconf" # mono" |
56 |
+IUSE+=" aqua" |
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? ( sys-libs/ncurses:0=[unicode] |
68 |
+ dbus? ( ${PYTHON_DEPS} ) |
69 |
+ python? ( ${PYTHON_DEPS} ) ) |
70 |
+ gtk? ( |
71 |
+ >=x11-libs/gtk+-2.10:2[aqua=] |
72 |
+ x11-libs/libSM |
73 |
+ xscreensaver? ( x11-libs/libXScrnSaver ) |
74 |
+ spell? ( >=app-text/gtkspell-2.0.2:2 ) |
75 |
+ eds? ( >=gnome-extra/evolution-data-server-3.6:= ) |
76 |
+ prediction? ( >=dev-db/sqlite-3.3:3 ) ) |
77 |
+ gstreamer? ( =media-libs/gstreamer-0.10* |
78 |
+ =media-libs/gst-plugins-good-0.10* |
79 |
+ net-libs/farstream:0.1 |
80 |
+ media-plugins/gst-plugins-meta:0.10 |
81 |
+ media-plugins/gst-plugins-gconf:0.10 ) |
82 |
+ zeroconf? ( net-dns/avahi[dbus] ) |
83 |
+ dbus? ( >=dev-libs/dbus-glib-0.71 |
84 |
+ >=sys-apps/dbus-0.90 |
85 |
+ dev-python/dbus-python ) |
86 |
+ perl? ( >=dev-lang/perl-5.16:= ) |
87 |
+ gadu? ( || ( >=net-libs/libgadu-1.11.0[ssl,gnutls] |
88 |
+ >=net-libs/libgadu-1.11.0[-ssl] ) ) |
89 |
+ gnutls? ( net-libs/gnutls ) |
90 |
+ !gnutls? ( >=dev-libs/nss-3.15.4 ) |
91 |
+ meanwhile? ( net-libs/meanwhile ) |
92 |
+ silc? ( >=net-im/silc-toolkit-1.0.1 ) |
93 |
+ tcl? ( dev-lang/tcl:0= ) |
94 |
+ tk? ( dev-lang/tk:0= ) |
95 |
+ sasl? ( dev-libs/cyrus-sasl:2 ) |
96 |
+ networkmanager? ( net-misc/networkmanager ) |
97 |
+ idn? ( net-dns/libidn ) |
98 |
+ !<x11-plugins/pidgin-facebookchat-1.69-r1" |
99 |
+ # Mono support crashes pidgin |
100 |
+ #mono? ( dev-lang/mono )" |
101 |
+ |
102 |
+# We want nls in case gtk is enabled, bug # |
103 |
+NLS_DEPEND=">=dev-util/intltool-0.41.1 sys-devel/gettext" |
104 |
+ |
105 |
+DEPEND="$RDEPEND |
106 |
+ dev-lang/perl |
107 |
+ dev-perl/XML-Parser |
108 |
+ virtual/pkgconfig |
109 |
+ gtk? ( x11-proto/scrnsaverproto |
110 |
+ ${NLS_DEPEND} ) |
111 |
+ dbus? ( ${PYTHON_DEPS} ) |
112 |
+ doc? ( app-doc/doxygen ) |
113 |
+ !gtk? ( nls? ( ${NLS_DEPEND} ) )" |
114 |
+ |
115 |
+DOCS="AUTHORS HACKING NEWS README ChangeLog" |
116 |
+ |
117 |
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) |
118 |
+ dbus? ( ${PYTHON_REQUIRED_USE} )" |
119 |
+ |
120 |
+# Enable Default protocols |
121 |
+DYNAMIC_PRPLS="irc,jabber,oscar,yahoo,simple,msn,myspace" |
122 |
+ |
123 |
+# List of plugins |
124 |
+# app-accessibility/pidgin-festival |
125 |
+# net-im/librvp |
126 |
+# x11-plugins/guifications |
127 |
+# x11-plugins/msn-pecan |
128 |
+# x11-plugins/pidgin-encryption |
129 |
+# x11-plugins/pidgin-extprefs |
130 |
+# x11-plugins/pidgin-hotkeys |
131 |
+# x11-plugins/pidgin-latex |
132 |
+# x11-plugins/pidgintex |
133 |
+# x11-plugins/pidgin-libnotify |
134 |
+# x11-plugins/pidgin-mbpurple |
135 |
+# x11-plugins/pidgin-bot-sentry |
136 |
+# x11-plugins/pidgin-otr |
137 |
+# x11-plugins/pidgin-rhythmbox |
138 |
+# x11-plugins/purple-plugin_pack |
139 |
+# x11-themes/pidgin-smileys |
140 |
+# x11-plugins/pidgin-knotify |
141 |
+# Plugins in Sunrise: |
142 |
+# x11-plugins/pidgin-audacious-remote |
143 |
+# x11-plugins/pidgin-autoanswer |
144 |
+# x11-plugins/pidgin-birthday-reminder |
145 |
+# x11-plugins/pidgin-blinklight |
146 |
+# x11-plugins/pidgin-convreverse |
147 |
+# x11-plugins/pidgin-embeddedvideo |
148 |
+# x11-plugins/pidgin-extended-blist-sort |
149 |
+# x11-plugins/pidgin-gfire |
150 |
+# x11-plugins/pidgin-lastfm |
151 |
+# x11-plugins/pidgin-sendscreenshot |
152 |
+# x11-plugins/pidgimpd |
153 |
+ |
154 |
+pkg_setup() { |
155 |
+ if ! use gtk && ! use ncurses ; then |
156 |
+ elog "You did not pick the ncurses or gtk use flags, only libpurple" |
157 |
+ elog "will be built." |
158 |
+ fi |
159 |
+ if use python || use dbus ; then |
160 |
+ python-single-r1_pkg_setup |
161 |
+ fi |
162 |
+ |
163 |
+ # dbus is enabled, no way to disable linkage with python => python is enabled |
164 |
+ #REQUIRED_USE="gtk? ( nls ) dbus? ( python )" |
165 |
+ if use gtk && ! use nls; then |
166 |
+ ewarn "gtk build => nls is enabled!" |
167 |
+ fi |
168 |
+ if use dbus && ! use python; then |
169 |
+ elog "dbus is enabled, no way to disable linkage with python => python is enabled" |
170 |
+ fi |
171 |
+} |
172 |
+ |
173 |
+src_prepare() { |
174 |
+ epatch \ |
175 |
+ "${FILESDIR}"/${PN}-2.10.0-gold.patch \ |
176 |
+ "${WORKDIR}"/${PN}-eds-3.6.patch \ |
177 |
+ "${FILESDIR}"/${PN}-2.10.9-fix-gtkmedia.patch \ |
178 |
+ "${FILESDIR}"/${PN}-2.10.10-eds-3.6-configure.ac.patch \ |
179 |
+ "${FILESDIR}"/${PN}-2.10.11-tinfo.patch |
180 |
+ epatch_user |
181 |
+ |
182 |
+ eautoreconf |
183 |
+} |
184 |
+ |
185 |
+src_configure() { |
186 |
+ # Stabilize things, for your own good |
187 |
+ strip-flags |
188 |
+ replace-flags -O? -O2 |
189 |
+ |
190 |
+ local myconf |
191 |
+ |
192 |
+ if use gadu; then |
193 |
+ DYNAMIC_PRPLS="${DYNAMIC_PRPLS},gg" |
194 |
+ myconf="${myconf} --with-gadu-includes=." |
195 |
+ myconf="${myconf} --with-gadu-libs=." |
196 |
+ fi |
197 |
+ |
198 |
+ use groupwise && DYNAMIC_PRPLS+=",novell" |
199 |
+ use silc && DYNAMIC_PRPLS+=",silc" |
200 |
+ use meanwhile && DYNAMIC_PRPLS+=",sametime" |
201 |
+ use mxit && DYNAMIC_PRPLS+=",mxit" |
202 |
+ use zephyr && DYNAMIC_PRPLS+=",zephyr" |
203 |
+ use zeroconf && DYNAMIC_PRPLS+=",bonjour" |
204 |
+ |
205 |
+ if use gnutls; then |
206 |
+ einfo "Disabling NSS, using GnuTLS" |
207 |
+ myconf+=" --enable-nss=no --enable-gnutls=yes" |
208 |
+ myconf+=" --with-gnutls-includes=${EPREFIX}/usr/include/gnutls" |
209 |
+ myconf+=" --with-gnutls-libs=${EPREFIX}/usr/$(get_libdir)" |
210 |
+ else |
211 |
+ einfo "Disabling GnuTLS, using NSS" |
212 |
+ myconf+=" --enable-gnutls=no --enable-nss=yes" |
213 |
+ fi |
214 |
+ |
215 |
+ if use dbus || { use ncurses && use python; }; then |
216 |
+ myconf+=" --with-python=${PYTHON}" |
217 |
+ else |
218 |
+ myconf+=" --without-python" |
219 |
+ fi |
220 |
+ |
221 |
+ econf \ |
222 |
+ $(use_enable ncurses consoleui) \ |
223 |
+ $(use_enable gtk gtkui) \ |
224 |
+ $(use_enable gtk sm) \ |
225 |
+ $(use gtk || use_enable nls) \ |
226 |
+ $(use gtk && echo "--enable-nls") \ |
227 |
+ $(use gtk && use_enable xscreensaver screensaver) \ |
228 |
+ $(use gtk && use_enable prediction cap) \ |
229 |
+ $(use gtk && use_enable eds gevolution) \ |
230 |
+ $(use gtk && use_enable spell gtkspell) \ |
231 |
+ $(use_enable perl) \ |
232 |
+ $(use_enable tk) \ |
233 |
+ $(use_enable tcl) \ |
234 |
+ $(use_enable debug) \ |
235 |
+ $(use_enable dbus) \ |
236 |
+ $(use_enable meanwhile) \ |
237 |
+ $(use_enable gstreamer) \ |
238 |
+ $(use_enable gstreamer farstream) \ |
239 |
+ $(use_enable gstreamer vv) \ |
240 |
+ $(use_enable sasl cyrus-sasl ) \ |
241 |
+ $(use_enable doc doxygen) \ |
242 |
+ $(use_enable networkmanager nm) \ |
243 |
+ $(use_enable zeroconf avahi) \ |
244 |
+ $(use_enable idn) \ |
245 |
+ --with-system-ssl-certs="${EPREFIX}/etc/ssl/certs/" \ |
246 |
+ --with-dynamic-prpls="${DYNAMIC_PRPLS}" \ |
247 |
+ --disable-mono \ |
248 |
+ --x-includes="${EPREFIX}"/usr/include/X11 \ |
249 |
+ ${myconf} |
250 |
+ #$(use_enable mono) \ |
251 |
+} |
252 |
+ |
253 |
+src_install() { |
254 |
+ gnome2_src_install |
255 |
+ if use gtk; then |
256 |
+ # Fix tray pathes for kde-3.5, e16 (x11-wm/enlightenment) and other |
257 |
+ # implementations that are not complient with new hicolor theme yet, #323355 |
258 |
+ local pixmapdir |
259 |
+ for d in 16 22 32 48; do |
260 |
+ pixmapdir=${ED}/usr/share/pixmaps/pidgin/tray/hicolor/${d}x${d}/actions |
261 |
+ mkdir "${pixmapdir}" || die |
262 |
+ pushd "${pixmapdir}" >/dev/null || die |
263 |
+ for f in ../status/*; do |
264 |
+ ln -s ${f} || die |
265 |
+ done |
266 |
+ popd >/dev/null |
267 |
+ done |
268 |
+ fi |
269 |
+ use perl && perl_delete_localpod |
270 |
+ |
271 |
+ if use python || use dbus ; then |
272 |
+ python_fix_shebang "${D}" |
273 |
+ python_optimize |
274 |
+ fi |
275 |
+ |
276 |
+ dodoc finch/plugins/pietray.py |
277 |
+ docompress -x /usr/share/doc/${PF}/pietray.py |
278 |
+ |
279 |
+ prune_libtool_files --all |
280 |
+} |