1 |
commit: 40201b3a3a36ddcc89fa37c40372b6f770b84f23 |
2 |
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 29 03:46:59 2016 +0000 |
4 |
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 29 03:46:59 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/dev/chutzpah.git/commit/?id=40201b3a |
7 |
|
8 |
net-im/pidgin: version bump |
9 |
|
10 |
net-im/pidgin/Manifest | 1 + |
11 |
net-im/pidgin/pidgin-2.10.12-r1.ebuild | 255 +++++++++++++++++++++++++++++++++ |
12 |
2 files changed, 256 insertions(+) |
13 |
|
14 |
diff --git a/net-im/pidgin/Manifest b/net-im/pidgin/Manifest |
15 |
index 7941f7b..614c702 100644 |
16 |
--- a/net-im/pidgin/Manifest |
17 |
+++ b/net-im/pidgin/Manifest |
18 |
@@ -13,4 +13,5 @@ DIST pidgin-2.10.11.tar.bz2 9458050 SHA256 f2ae211341fc77efb9945d40e9932aa535cdf |
19 |
DIST pidgin-2.10.12.tar.bz2 9837598 SHA256 2c7523f0fefe89749c03b2b738ab9f7bd186da435be4762f1487eee31e77ffdd SHA512 4756bed3ae78b48bfeaa586def3c7a0014db76ce14ae8c6773c96bdca24b65e92b2805270af43960e2a11a600aeac35e030faa3f79dbe3301084ca9d970a5f03 WHIRLPOOL 52f16cdd76b1aa3e76a877136070e3c4875827df621757d35656eb79e7d9921635f9373d33f9bc87275200e91c25a2763b4a64d90953322fd82d03860ce6a0da |
20 |
DIST pidgin-eds-3.6.patch.bz2 2352 SHA256 321185dd5f44e502f671b17e84fa1ca2e08a3f7c79ed211c0bb92710700bcc41 SHA512 a0195679ab55ed9c7ea18ace6dbf0fc994698f1f4eea9d8335dfdcdcd6a68975c0191bd22f150bf5a9a0a691ce7e9e73d79598e1e8be541efa1d9824a633d877 WHIRLPOOL 5c1d3e933bdfa4b1f20f98dbf8b5c1669eb857b9db60dacae488fa04331300618df2f1265e4fb2e58ed31b24229df0edb8c30970d8172fd65ca7fa03bc0e3805 |
21 |
EBUILD pidgin-2.10.11.ebuild 7541 SHA256 22226232e8f1c941cdf6769529cf11a137b31a25da87ac2e7ca7b38fe88563f3 SHA512 5f35cefb5012c73b0974ef019d1af56042cce35ab17f49e503bf00ac0b72c7a2869d28e837d1e5b3bda1984c511161de1bdc5c1f445f2db841ac40e5e07197e5 WHIRLPOOL 9c02539c1c0e8bec3ea0ee76c214dcf446976aaa58ff6b14452acf68cd906683fb9cce9525e080976603fa09639b2dca6adea133ea8bacd91cd27359b8307b93 |
22 |
+EBUILD pidgin-2.10.12-r1.ebuild 7555 SHA256 dbb93b226ed1575f2ef9ab30d7944c7f6411c6626c8f7fc951f3829becd55874 SHA512 620c9289aaeca1c2abe7fd52aab1477bbd85442470690a95f00b2875d4f5cb899855488ea9ba2e1ce5ccb709b067356166c219afaf5595a81e92e9ab8c6a60d7 WHIRLPOOL 5b94524db77ce93191e91cfb2891c11ef51146224230543cff0a6e23086e55c6524d2a2de429df443d4c603fff2a3146289be4eb4b4def6a7608da9e060d2f40 |
23 |
EBUILD pidgin-2.10.12.ebuild 7509 SHA256 7d6e936c8d33d367bac9f6d162cb35c8262ce34083c77dbda8abb9db53ad5778 SHA512 fe2fdd298f03a529a4c8864d9593055653553812f3f037f4e750521ef0cc39d72edb25dd9a50bb8fc9d2271dbccb33b342f30edcf119227657fee450f62a14ea WHIRLPOOL c61e6a9a41434a29b8dddb1f6fc5471901b8e1997e720ac31f53c7066aaf9f2855daa59f5850c2132fbd935dfc72dfd408a8bb0568f00bb5e13379749cc68089 |
24 |
|
25 |
diff --git a/net-im/pidgin/pidgin-2.10.12-r1.ebuild b/net-im/pidgin/pidgin-2.10.12-r1.ebuild |
26 |
new file mode 100644 |
27 |
index 0000000..38152ce |
28 |
--- /dev/null |
29 |
+++ b/net-im/pidgin/pidgin-2.10.12-r1.ebuild |
30 |
@@ -0,0 +1,255 @@ |
31 |
+# Copyright 1999-2016 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+# $Id$ |
34 |
+ |
35 |
+EAPI=5 |
36 |
+ |
37 |
+GENTOO_DEPEND_ON_PERL=no |
38 |
+PYTHON_COMPAT=( python2_7 python3_{3,4} ) |
39 |
+ |
40 |
+inherit autotools flag-o-matic eutils toolchain-funcs multilib perl-app gnome2 python-single-r1 |
41 |
+ |
42 |
+DESCRIPTION="GTK Instant Messenger client" |
43 |
+HOMEPAGE="http://pidgin.im/" |
44 |
+SRC_URI=" |
45 |
+ mirror://sourceforge/${PN}/${P}.tar.bz2 |
46 |
+ https://dev.gentoo.org/~polynomial-c/${PN}-eds-3.6.patch.bz2" |
47 |
+ |
48 |
+LICENSE="GPL-2" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos" |
51 |
+IUSE="dbus debug doc eds gadu gnutls +gstreamer +gtk idn meanwhile mxit pie" |
52 |
+IUSE+=" networkmanager nls perl silc tcl tk spell sasl ncurses" |
53 |
+IUSE+=" groupwise prediction python +xscreensaver zephyr zeroconf" # mono" |
54 |
+IUSE+=" aqua" |
55 |
+IUSE+=" gnome-keyring" |
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 |
+ gnome-keyring? ( gnome-base/gnome-keyring ) |
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:1.0 |
78 |
+ media-libs/gst-plugins-base:1.0 |
79 |
+ >=net-libs/farstream-0.2.7:0.2 ) |
80 |
+ zeroconf? ( net-dns/avahi[dbus] ) |
81 |
+ dbus? ( >=dev-libs/dbus-glib-0.71 |
82 |
+ >=sys-apps/dbus-0.90 |
83 |
+ dev-python/dbus-python ) |
84 |
+ perl? ( >=dev-lang/perl-5.16:= ) |
85 |
+ gadu? ( || ( >=net-libs/libgadu-1.11.0[ssl,gnutls] |
86 |
+ >=net-libs/libgadu-1.11.0[-ssl] ) ) |
87 |
+ gnutls? ( net-libs/gnutls ) |
88 |
+ !gnutls? ( |
89 |
+ dev-libs/nspr |
90 |
+ dev-libs/nss |
91 |
+ ) |
92 |
+ meanwhile? ( net-libs/meanwhile ) |
93 |
+ silc? ( >=net-im/silc-toolkit-1.0.1 ) |
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? ( x11-proto/scrnsaverproto |
111 |
+ ${NLS_DEPEND} ) |
112 |
+ dbus? ( ${PYTHON_DEPS} ) |
113 |
+ doc? ( app-doc/doxygen ) |
114 |
+ !gtk? ( nls? ( ${NLS_DEPEND} ) )" |
115 |
+ |
116 |
+DOCS="AUTHORS HACKING NEWS README ChangeLog" |
117 |
+ |
118 |
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} ) |
119 |
+ dbus? ( ${PYTHON_REQUIRED_USE} )" |
120 |
+ |
121 |
+# Enable Default protocols |
122 |
+DYNAMIC_PRPLS="irc,jabber,oscar,yahoo,simple,msn,myspace" |
123 |
+ |
124 |
+# List of plugins |
125 |
+# app-accessibility/pidgin-festival |
126 |
+# net-im/librvp |
127 |
+# x11-plugins/guifications |
128 |
+# x11-plugins/msn-pecan |
129 |
+# x11-plugins/pidgin-encryption |
130 |
+# x11-plugins/pidgin-extprefs |
131 |
+# x11-plugins/pidgin-hotkeys |
132 |
+# x11-plugins/pidgin-latex |
133 |
+# x11-plugins/pidgintex |
134 |
+# x11-plugins/pidgin-libnotify |
135 |
+# x11-plugins/pidgin-mbpurple |
136 |
+# x11-plugins/pidgin-bot-sentry |
137 |
+# x11-plugins/pidgin-otr |
138 |
+# x11-plugins/pidgin-rhythmbox |
139 |
+# x11-plugins/purple-plugin_pack |
140 |
+# x11-themes/pidgin-smileys |
141 |
+# x11-plugins/pidgin-knotify |
142 |
+# Plugins in Sunrise: |
143 |
+# x11-plugins/pidgin-audacious-remote |
144 |
+# x11-plugins/pidgin-autoanswer |
145 |
+# x11-plugins/pidgin-birthday-reminder |
146 |
+# x11-plugins/pidgin-blinklight |
147 |
+# x11-plugins/pidgin-convreverse |
148 |
+# x11-plugins/pidgin-embeddedvideo |
149 |
+# x11-plugins/pidgin-extended-blist-sort |
150 |
+# x11-plugins/pidgin-gfire |
151 |
+# x11-plugins/pidgin-lastfm |
152 |
+# x11-plugins/pidgin-sendscreenshot |
153 |
+# x11-plugins/pidgimpd |
154 |
+ |
155 |
+pkg_setup() { |
156 |
+ if ! use gtk && ! use ncurses ; then |
157 |
+ elog "You did not pick the ncurses or gtk use flags, only libpurple" |
158 |
+ elog "will be built." |
159 |
+ fi |
160 |
+ if use python || use dbus ; then |
161 |
+ python-single-r1_pkg_setup |
162 |
+ fi |
163 |
+ |
164 |
+ # dbus is enabled, no way to disable linkage with python => python is enabled |
165 |
+ #REQUIRED_USE="gtk? ( nls ) dbus? ( python )" |
166 |
+ if use gtk && ! use nls; then |
167 |
+ ewarn "gtk build => nls is enabled!" |
168 |
+ fi |
169 |
+ if use dbus && ! use python; then |
170 |
+ elog "dbus is enabled, no way to disable linkage with python => python is enabled" |
171 |
+ fi |
172 |
+} |
173 |
+ |
174 |
+src_prepare() { |
175 |
+ epatch \ |
176 |
+ "${FILESDIR}"/${PN}-2.10.0-gold.patch \ |
177 |
+ "${WORKDIR}"/${PN}-eds-3.6.patch \ |
178 |
+ "${FILESDIR}"/${PN}-2.10.9-fix-gtkmedia.patch \ |
179 |
+ "${FILESDIR}"/${PN}-2.10.10-eds-3.6-configure.ac.patch \ |
180 |
+ "${FILESDIR}"/${PN}-2.10.11-tinfo.patch |
181 |
+ epatch_user |
182 |
+ epatch "${FILESDIR}/pidgin-gnome-keyring-3.patch" |
183 |
+ |
184 |
+ eautoreconf |
185 |
+} |
186 |
+ |
187 |
+src_configure() { |
188 |
+ # Stabilize things, for your own good |
189 |
+ strip-flags |
190 |
+ replace-flags -O? -O2 |
191 |
+ use pie && CFLAGS="${CFLAGS} -fPIE -pie" |
192 |
+ |
193 |
+ local myconf |
194 |
+ |
195 |
+ if use gadu; then |
196 |
+ DYNAMIC_PRPLS="${DYNAMIC_PRPLS},gg" |
197 |
+ myconf="${myconf} --with-gadu-includes=." |
198 |
+ myconf="${myconf} --with-gadu-libs=." |
199 |
+ fi |
200 |
+ |
201 |
+ use groupwise && DYNAMIC_PRPLS+=",novell" |
202 |
+ use silc && DYNAMIC_PRPLS+=",silc" |
203 |
+ use meanwhile && DYNAMIC_PRPLS+=",sametime" |
204 |
+ use mxit && DYNAMIC_PRPLS+=",mxit" |
205 |
+ use zephyr && DYNAMIC_PRPLS+=",zephyr" |
206 |
+ use zeroconf && DYNAMIC_PRPLS+=",bonjour" |
207 |
+ |
208 |
+ if use gnutls; then |
209 |
+ einfo "Disabling NSS, using GnuTLS" |
210 |
+ myconf+=" --enable-nss=no --enable-gnutls=yes" |
211 |
+ myconf+=" --with-gnutls-includes=${EPREFIX}/usr/include/gnutls" |
212 |
+ myconf+=" --with-gnutls-libs=${EPREFIX}/usr/$(get_libdir)" |
213 |
+ else |
214 |
+ einfo "Disabling GnuTLS, using NSS" |
215 |
+ myconf+=" --enable-gnutls=no --enable-nss=yes" |
216 |
+ fi |
217 |
+ |
218 |
+ if use dbus || { use ncurses && use python; }; then |
219 |
+ myconf+=" --with-python=${PYTHON}" |
220 |
+ else |
221 |
+ myconf+=" --without-python" |
222 |
+ fi |
223 |
+ |
224 |
+ econf \ |
225 |
+ $(use_enable ncurses consoleui) \ |
226 |
+ $(use_enable gtk gtkui) \ |
227 |
+ $(use_enable gtk sm) \ |
228 |
+ $(use gtk || use_enable nls) \ |
229 |
+ $(use gtk && echo "--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 gnome-keyring) \ |
243 |
+ $(use_enable gstreamer farstream) \ |
244 |
+ $(use_enable gstreamer vv) \ |
245 |
+ $(use_enable sasl cyrus-sasl ) \ |
246 |
+ $(use_enable doc doxygen) \ |
247 |
+ $(use_enable networkmanager nm) \ |
248 |
+ $(use_enable zeroconf avahi) \ |
249 |
+ $(use_enable idn) \ |
250 |
+ --with-system-ssl-certs="${EPREFIX}/etc/ssl/certs/" \ |
251 |
+ --with-dynamic-prpls="${DYNAMIC_PRPLS}" \ |
252 |
+ --disable-mono \ |
253 |
+ --x-includes="${EPREFIX}"/usr/include/X11 \ |
254 |
+ ${myconf} |
255 |
+ #$(use_enable mono) \ |
256 |
+} |
257 |
+ |
258 |
+src_install() { |
259 |
+ gnome2_src_install |
260 |
+ if use gtk; then |
261 |
+ # Fix tray pathes for kde-3.5, e16 (x11-wm/enlightenment) and other |
262 |
+ # implementations that are not complient with new hicolor theme yet, #323355 |
263 |
+ local pixmapdir |
264 |
+ for d in 16 22 32 48; do |
265 |
+ pixmapdir=${ED}/usr/share/pixmaps/pidgin/tray/hicolor/${d}x${d}/actions |
266 |
+ mkdir "${pixmapdir}" || die |
267 |
+ pushd "${pixmapdir}" >/dev/null || die |
268 |
+ for f in ../status/*; do |
269 |
+ ln -s ${f} || die |
270 |
+ done |
271 |
+ popd >/dev/null |
272 |
+ done |
273 |
+ fi |
274 |
+ use perl && perl_delete_localpod |
275 |
+ |
276 |
+ if use python || use dbus ; then |
277 |
+ python_fix_shebang "${D}" |
278 |
+ python_optimize |
279 |
+ fi |
280 |
+ |
281 |
+ dodoc finch/plugins/pietray.py |
282 |
+ docompress -x /usr/share/doc/${PF}/pietray.py |
283 |
+ |
284 |
+ prune_libtool_files --all |
285 |
+} |