[gentoo-commits] repo/gentoo:master commit in: net-im/pidgin/files/, net-im/pidgin/

2023-01-28 Thread Joonas Niilola
commit: 4da3d5b5576fec686a3685ce94251aa6d4c8fab8
Author: Marco Scardovi  icloud  com>
AuthorDate: Thu Jan 12 10:37:08 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Jan 28 08:43:48 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4da3d5b5

net-im/pidgin: add 2.14.12

Closes: https://bugs.gentoo.org/890283
Signed-off-by: Marco Scardovi  icloud.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 net-im/pidgin/Manifest |   1 +
 .../files/pidgin-2.10.9-irc_join_sleep.patch   |  11 +
 net-im/pidgin/pidgin-2.14.12.ebuild| 292 +
 3 files changed, 304 insertions(+)

diff --git a/net-im/pidgin/Manifest b/net-im/pidgin/Manifest
index 5b9e90d9d95f..9a047483906d 100644
--- a/net-im/pidgin/Manifest
+++ b/net-im/pidgin/Manifest
@@ -1,2 +1,3 @@
 DIST pidgin-2.10.9-irc_join_sleep.patch 534 BLAKE2B 
0215cebb93993e19e700e4d4974351ab5e9a00ea094775076d8f439569b34c0ec2faaed360965867df58bc42677516983ce11a2601dd322c1bdf2f288253a5b8
 SHA512 
8de0d6f05e48cd5a3e894576e06c7fb82e4bfc778cce8bb179fa22e2a05f5c2390a0e4c5b626ee4b910a18eab170d8f4be200f435ce408a86575af99e51e3bdf
 DIST pidgin-2.14.10.tar.bz2 8229328 BLAKE2B 
9f004abda0f00b315e763e8b17e4e938b44b8a971d5411d775b9428363ab2ae071462d6d16654fcc09270123c434ef2d1f639d7f6d85c08a83b05c0ba4342c21
 SHA512 
53241e9f62170fe7a8ea27ac03176d442f8aad4ed16da0033164b0949b00c3d476539b182e761950e7d6c385f22a891524c5f40a9cf8fe543b3003c37693314d
+DIST pidgin-2.14.12.tar.bz2 8226145 BLAKE2B 
0f0bec301c196fb722b88998a2a420af4084aedb7563215bb44c2c74a670a20db030ac207f226cef7989477dba04a9655c71269564ccc3680b42946ee84fdb16
 SHA512 
ce016ab4c48448653ae22eead1ddc16f1d10f446c601f8abd2c85b4ea83a4e80092e1ce8182834d998b6587f42a92a9a91105b4db976e170ec7043bb6af3c54c

diff --git a/net-im/pidgin/files/pidgin-2.10.9-irc_join_sleep.patch 
b/net-im/pidgin/files/pidgin-2.10.9-irc_join_sleep.patch
new file mode 100644
index ..860a43a9551a
--- /dev/null
+++ b/net-im/pidgin/files/pidgin-2.10.9-irc_join_sleep.patch
@@ -0,0 +1,11 @@
+diff -ur ./pidgin-2.10.9.orig/libpurple/protocols/irc/irc.c 
pidgin-2.10.9/libpurple/protocols/irc/irc.c
+--- ./pidgin-2.10.9.orig/libpurple/protocols/irc/irc.c 2014-02-02 
15:29:18.0 -0600
 pidgin-2.10.9/libpurple/protocols/irc/irc.c2014-09-02 
10:30:24.830599697 -0500
+@@ -742,6 +742,7 @@
+   struct irc_conn *irc = gc->proto_data;
+   const char *args[2];
+ 
++g_usleep(50);
+   args[0] = g_hash_table_lookup(data, "channel");
+   args[1] = g_hash_table_lookup(data, "password");
+   irc_cmd_join(irc, "join", NULL, args);

diff --git a/net-im/pidgin/pidgin-2.14.12.ebuild 
b/net-im/pidgin/pidgin-2.14.12.ebuild
new file mode 100644
index ..3f2e59459b9a
--- /dev/null
+++ b/net-im/pidgin/pidgin-2.14.12.ebuild
@@ -0,0 +1,292 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+GENTOO_DEPEND_ON_PERL=no
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit autotools gnome2-utils flag-o-matic perl-module python-single-r1 xdg
+
+DESCRIPTION="GTK Instant Messenger client"
+HOMEPAGE="https://pidgin.im/;
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0/2" # libpurple version
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc 
~x86 ~amd64-linux ~x86-linux"
+IUSE="aqua dbus debug doc eds gadu gnutls groupwise +gstreamer +gtk idn
+meanwhile ncurses networkmanager nls perl pie prediction python sasl spell tcl
+test tk v4l +xscreensaver zephyr zeroconf"
+RESTRICT="!test? ( test )"
+
+# dbus requires python to generate C code for dbus bindings (thus DEPEND only).
+# finch uses libgnt that links with libpython - {R,}DEPEND. But still there is
+# no way to build dbus and avoid libgnt linkage with python. If you want this
+# send patch upstream.
+# purple-url-handler and purple-remote require dbus-python thus in reality we
+# rdepend on python if dbus enabled. But it is possible to separate this dep.
+RDEPEND="
+   >=dev-libs/glib-2.16
+   >=dev-libs/libxml2-2.6.18
+   dbus? (
+   >=dev-libs/dbus-glib-0.71
+   >=sys-apps/dbus-0.90
+   $(python_gen_cond_dep '
+   dev-python/dbus-python[${PYTHON_USEDEP}]
+   ')
+   )
+   gadu? ( >=net-libs/libgadu-1.11.0 )
+   gnutls? ( net-libs/gnutls:= )
+   !gnutls? (
+   dev-libs/nspr
+   dev-libs/nss
+   )
+   gstreamer? (
+   media-libs/gstreamer:1.0
+   media-libs/gst-plugins-base:1.0
+   >=net-libs/farstream-0.2.7:0.2
+   )
+   gtk? (
+   >=x11-libs/gtk+-2.10:2[aqua=]
+   x11-libs/libSM
+   >=x11-libs/pango-1.4.0
+   xscreensaver? ( x11-libs/libXScrnSaver )
+   spell? ( >=app-text/gtkspell-2.0.2:2 )
+   eds? ( 

[gentoo-commits] repo/gentoo:master commit in: net-im/pidgin/files/, net-im/pidgin/

2021-07-27 Thread Lars Wendler
commit: 1e3e7401f60f3f6be6f8b6c0d60b470cf3768278
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Jul 27 09:12:50 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Jul 27 09:24:21 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e3e7401

net-im/pidgin: Removed old

Signed-off-by: Lars Wendler  gentoo.org>

 net-im/pidgin/Manifest |   2 -
 .../pidgin-2.10.10-eds-3.6-configure.ac.patch  |  22 --
 .../pidgin/files/pidgin-2.10.9-fix-gtkmedia.patch  |  10 -
 net-im/pidgin/files/pidgin-2.13.0-metainfo.patch   |  11 -
 net-im/pidgin/files/pidgin-2.14.0-gold.patch   |  11 -
 .../files/pidgin-2.14.3-remove_oscar_tests.patch   |  10 -
 net-im/pidgin/pidgin-2.14.3-r2.ebuild  | 296 -
 7 files changed, 362 deletions(-)

diff --git a/net-im/pidgin/Manifest b/net-im/pidgin/Manifest
index 40ebb60e511..4cba9a44dc5 100644
--- a/net-im/pidgin/Manifest
+++ b/net-im/pidgin/Manifest
@@ -1,5 +1,3 @@
 DIST pidgin-2.10.9-irc_join_sleep.patch 534 BLAKE2B 
0215cebb93993e19e700e4d4974351ab5e9a00ea094775076d8f439569b34c0ec2faaed360965867df58bc42677516983ce11a2601dd322c1bdf2f288253a5b8
 SHA512 
8de0d6f05e48cd5a3e894576e06c7fb82e4bfc778cce8bb179fa22e2a05f5c2390a0e4c5b626ee4b910a18eab170d8f4be200f435ce408a86575af99e51e3bdf
-DIST pidgin-2.14.3.tar.bz2 8688849 BLAKE2B 
5d1f28ca5c452b13d2a6d6ab0c9101f14da3b5a291a838dab4b7cda99c76b3e411414b186ae493f08bd9764c65eab4b41eb9a45d340fe885f8bf9bf092911d43
 SHA512 
70f426900ce76afcdad76bcd06ebc320f562fe4089ec87c639d8d0d90823077f5e815932b62c3ff3da6270b3acfde3c8222d9b8c5cbb211421239c9dcc69b909
 DIST pidgin-2.14.5.tar.bz2 8696780 BLAKE2B 
4563b6aabdaba8af7dd7a1f8978418bcdcc347fc10731606e44de537d2a451c9cec17d17c44d88e0eefda110927c471788ae6128a7e00603bdc6d842c9b1
 SHA512 
3aa00156e73643c7a23bc3a1ff26ecd7ee89c0d91571a23bf00e54aa87f25d2b604990d33263e8f74f6499d8e08646aa524e14063e8000e60d1b49d74c5cc784
 DIST pidgin-2.14.6.tar.bz2 867 BLAKE2B 
d2e6428728f18096c957b10d7cc5e79704c0fbb403967e3968f59393db125307fc6fc84c90d66788b4a27bd9707b126c1f0df532c2a1e7d1b62356127e87371c
 SHA512 
19ea12b6c9e99b6215a7d955f02d52ad19de8c4beb00806276c8c184d5cc338db119197e0cc9f4685705bd8b83f35c8f63565095b49a319f9696aab37735951b
-DIST pidgin-eds-3.6.patch.bz2 2352 BLAKE2B 
1d69dc55f43b9efe5d5278a017642702d67a297fe2587467ec0fdca7f9888e26640efe9ac2a18f77ae9c523bf125a2cec6d0bf621f0b2b16f55d30df1bf470df
 SHA512 
a0195679ab55ed9c7ea18ace6dbf0fc994698f1f4eea9d8335dfdcdcd6a68975c0191bd22f150bf5a9a0a691ce7e9e73d79598e1e8be541efa1d9824a633d877

diff --git a/net-im/pidgin/files/pidgin-2.10.10-eds-3.6-configure.ac.patch 
b/net-im/pidgin/files/pidgin-2.10.10-eds-3.6-configure.ac.patch
deleted file mode 100644
index dc60b147e8e..000
--- a/net-im/pidgin/files/pidgin-2.10.10-eds-3.6-configure.ac.patch
+++ /dev/null
@@ -1,22 +0,0 @@
 pidgin-2.10.10/configure.ac
-+++ pidgin-2.10.10/configure.ac
-@@ -569,18 +569,10 @@
-   dnl # Check for stuff needed by the Evolution integration plugin.
-   dnl 
###
-   if test "x$enable_gevolution" = "xyes"; then
--  evo_deps="libebook-1.2 libedata-book-1.2 
evolution-data-server-1.2 < 3.6"
-+  evo_deps="libebook-1.2 libedata-book-1.2 
evolution-data-server-1.2 >= 3.6"
-   PKG_CHECK_MODULES(EVOLUTION_ADDRESSBOOK, $evo_deps, , [
-   enable_gevolution="no"
-   ])
--  if test "x$enable_gevolution" = "xno"; then
--  evo_deps="libebook-1.0 libedata-book-1.0"
--  PKG_CHECK_MODULES(EVOLUTION_ADDRESSBOOK, $evo_deps, [
--  enable_gevolution="yes"
--  ], [
--  enable_gevolution="no"
--  ])
--  fi
-   if test "x$enable_gevolution" = "xyes"; then
-   AC_DEFINE(HAVE_EVOLUTION_ADDRESSBOOK, 1, [Define if 
we're using evolution addressbook.])
-   AC_SUBST(EVOLUTION_ADDRESSBOOK_CFLAGS)

diff --git a/net-im/pidgin/files/pidgin-2.10.9-fix-gtkmedia.patch 
b/net-im/pidgin/files/pidgin-2.10.9-fix-gtkmedia.patch
deleted file mode 100644
index 74b30021d48..000
--- a/net-im/pidgin/files/pidgin-2.10.9-fix-gtkmedia.patch
+++ /dev/null
@@ -1,10 +0,0 @@
 a/pidgin/Makefile.am
-+++ b/pidgin/Makefile.am
-@@ -154,6 +154,7 @@
-   $(GSTREAMER_LIBS) \
-   $(XSS_LIBS) \
-   $(SM_LIBS) \
-+  $(X11_LIBS) \
-   $(INTLLIBS) \
-   $(GTKSPELL_LIBS) \
-   $(LIBXML_LIBS) \

diff --git a/net-im/pidgin/files/pidgin-2.13.0-metainfo.patch 
b/net-im/pidgin/files/pidgin-2.13.0-metainfo.patch
deleted file mode 100644
index 34d1dc16044..000
--- a/net-im/pidgin/files/pidgin-2.13.0-metainfo.patch
+++ /dev/null
@@ -1,11 +0,0 @@
 pidgin-2.13.0/pidgin/Makefile.am
-+++ pidgin-2.13.0/pidgin/Makefile.am
-@@ -191,7 +191,7 @@
- 

[gentoo-commits] repo/gentoo:master commit in: net-im/pidgin/files/, net-im/pidgin/

2021-04-09 Thread Lars Wendler
commit: 41d8877166bf75081374f9b97d81531b7b822507
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Apr  9 08:02:38 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Apr  9 08:05:16 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41d88771

net-im/pidgin: Bump to version 2.14.3

Signed-off-by: Lars Wendler  gentoo.org>

 net-im/pidgin/Manifest |   1 +
 .../files/pidgin-2.14.3-remove_oscar_tests.patch   |  10 +
 net-im/pidgin/pidgin-2.14.3.ebuild | 296 +
 3 files changed, 307 insertions(+)

diff --git a/net-im/pidgin/Manifest b/net-im/pidgin/Manifest
index e7fc4168a81..947068956d6 100644
--- a/net-im/pidgin/Manifest
+++ b/net-im/pidgin/Manifest
@@ -1,4 +1,5 @@
 DIST pidgin-2.10.9-irc_join_sleep.patch 534 BLAKE2B 
0215cebb93993e19e700e4d4974351ab5e9a00ea094775076d8f439569b34c0ec2faaed360965867df58bc42677516983ce11a2601dd322c1bdf2f288253a5b8
 SHA512 
8de0d6f05e48cd5a3e894576e06c7fb82e4bfc778cce8bb179fa22e2a05f5c2390a0e4c5b626ee4b910a18eab170d8f4be200f435ce408a86575af99e51e3bdf
 DIST pidgin-2.14.1.tar.bz2 8849275 BLAKE2B 
27cd58a79f36c0176147c2e5bac7c4c18ec74c446c556e2326465c3607a95c3a58c1bdbbf9b4fb9741783ae982a6ce8fe0556ccff5b1608c9bba98626560412c
 SHA512 
6ce5c58f32fa680d7f67e37a42b0f77c8253018cee21df2895d52166d9eb6ecaf0458b1610adbd46f337d00e75933db7578c2f9808654bd22838ba5db0a13030
 DIST pidgin-2.14.2.tar.bz2 8933924 BLAKE2B 
8ca40cb9398f9f2e55b3dbb6aff12a55bfc27974c959476af8a7c779fa46df616e91474512b632658b280bf520eb43c9ddf62270b1553e17566b5c6a173bc88f
 SHA512 
f1048644f39c37e210560f876412c0c63039c6045ba8e9477a00f05841078f6c9f6f97806e0c7824a8e60d2477dc835670920f5df58c5b434be76e6603e0005c
+DIST pidgin-2.14.3.tar.bz2 8688849 BLAKE2B 
5d1f28ca5c452b13d2a6d6ab0c9101f14da3b5a291a838dab4b7cda99c76b3e411414b186ae493f08bd9764c65eab4b41eb9a45d340fe885f8bf9bf092911d43
 SHA512 
70f426900ce76afcdad76bcd06ebc320f562fe4089ec87c639d8d0d90823077f5e815932b62c3ff3da6270b3acfde3c8222d9b8c5cbb211421239c9dcc69b909
 DIST pidgin-eds-3.6.patch.bz2 2352 BLAKE2B 
1d69dc55f43b9efe5d5278a017642702d67a297fe2587467ec0fdca7f9888e26640efe9ac2a18f77ae9c523bf125a2cec6d0bf621f0b2b16f55d30df1bf470df
 SHA512 
a0195679ab55ed9c7ea18ace6dbf0fc994698f1f4eea9d8335dfdcdcd6a68975c0191bd22f150bf5a9a0a691ce7e9e73d79598e1e8be541efa1d9824a633d877

diff --git a/net-im/pidgin/files/pidgin-2.14.3-remove_oscar_tests.patch 
b/net-im/pidgin/files/pidgin-2.14.3-remove_oscar_tests.patch
new file mode 100644
index 000..c20b1a00e87
--- /dev/null
+++ b/net-im/pidgin/files/pidgin-2.14.3-remove_oscar_tests.patch
@@ -0,0 +1,10 @@
+--- pidgin-2.14.3/libpurple/tests/check_libpurple.c
 pidgin-2.14.3/libpurple/tests/check_libpurple.c
+@@ -91,7 +91,6 @@
+   srunner_add_suite(sr, jabber_digest_md5_suite());
+   srunner_add_suite(sr, jabber_jutil_suite());
+   srunner_add_suite(sr, jabber_scram_suite());
+-  srunner_add_suite(sr, oscar_util_suite());
+   srunner_add_suite(sr, util_suite());
+   srunner_add_suite(sr, xmlnode_suite());
+ 

diff --git a/net-im/pidgin/pidgin-2.14.3.ebuild 
b/net-im/pidgin/pidgin-2.14.3.ebuild
new file mode 100644
index 000..e1cb616174a
--- /dev/null
+++ b/net-im/pidgin/pidgin-2.14.3.ebuild
@@ -0,0 +1,296 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+GENTOO_DEPEND_ON_PERL=no
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit autotools gnome2-utils flag-o-matic toolchain-funcs multilib 
perl-module python-single-r1 xdg
+
+DESCRIPTION="GTK Instant Messenger client"
+HOMEPAGE="https://pidgin.im/;
+SRC_URI="
+   mirror://sourceforge/${PN}/${P}.tar.bz2
+   https://dev.gentoo.org/~polynomial-c/${PN}-eds-3.6.patch.bz2
+   
https://gist.githubusercontent.com/imcleod/77f38d11af11b2413ada/raw/46e9d6cb4d2f839832dad2d697bb141a88028e04/pidgin-irc-join-sleep.patch
 -> ${PN}-2.10.9-irc_join_sleep.patch"
+
+LICENSE="GPL-2"
+SLOT="0/2" # libpurple version
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux"
+IUSE="aqua dbus debug doc eds gadu gnutls groupwise +gstreamer +gtk idn
+meanwhile ncurses networkmanager nls perl pie prediction python sasl spell tcl
+tk +xscreensaver zephyr zeroconf"
+
+# dbus requires python to generate C code for dbus bindings (thus DEPEND only).
+# finch uses libgnt that links with libpython - {R,}DEPEND. But still there is
+# no way to build dbus and avoid libgnt linkage with python. If you want this
+# send patch upstream.
+# purple-url-handler and purple-remote require dbus-python thus in reality we
+# rdepend on python if dbus enabled. But it is possible to separate this dep.
+RDEPEND="
+   >=dev-libs/glib-2.16
+   >=dev-libs/libxml2-2.6.18
+   ncurses? (
+   >=dev-libs/libgnt-$(ver_cut 1-2)
+   sys-libs/ncurses:0=[unicode]
+   dbus? ( ${PYTHON_DEPS} )
+   python? ( ${PYTHON_DEPS} )
+   )
+

[gentoo-commits] repo/gentoo:master commit in: net-im/pidgin/files/, net-im/pidgin/

2021-04-02 Thread Lars Wendler
commit: 9361b380da6f515a73fca873d56de7b86defc56b
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Apr  2 14:18:50 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Apr  2 14:24:57 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9361b380

net-im/pidgin: Bump to version 2.14.2

Signed-off-by: Lars Wendler  gentoo.org>

 net-im/pidgin/Manifest |   1 +
 .../pidgin-2.10.10-eds-3.6-configure.ac.patch  |   5 +-
 .../pidgin/files/pidgin-2.10.9-fix-gtkmedia.patch  |   4 +-
 net-im/pidgin/pidgin-2.14.2.ebuild | 295 +
 4 files changed, 300 insertions(+), 5 deletions(-)

diff --git a/net-im/pidgin/Manifest b/net-im/pidgin/Manifest
index d5ad48d94d0..e7fc4168a81 100644
--- a/net-im/pidgin/Manifest
+++ b/net-im/pidgin/Manifest
@@ -1,3 +1,4 @@
 DIST pidgin-2.10.9-irc_join_sleep.patch 534 BLAKE2B 
0215cebb93993e19e700e4d4974351ab5e9a00ea094775076d8f439569b34c0ec2faaed360965867df58bc42677516983ce11a2601dd322c1bdf2f288253a5b8
 SHA512 
8de0d6f05e48cd5a3e894576e06c7fb82e4bfc778cce8bb179fa22e2a05f5c2390a0e4c5b626ee4b910a18eab170d8f4be200f435ce408a86575af99e51e3bdf
 DIST pidgin-2.14.1.tar.bz2 8849275 BLAKE2B 
27cd58a79f36c0176147c2e5bac7c4c18ec74c446c556e2326465c3607a95c3a58c1bdbbf9b4fb9741783ae982a6ce8fe0556ccff5b1608c9bba98626560412c
 SHA512 
6ce5c58f32fa680d7f67e37a42b0f77c8253018cee21df2895d52166d9eb6ecaf0458b1610adbd46f337d00e75933db7578c2f9808654bd22838ba5db0a13030
+DIST pidgin-2.14.2.tar.bz2 8933924 BLAKE2B 
8ca40cb9398f9f2e55b3dbb6aff12a55bfc27974c959476af8a7c779fa46df616e91474512b632658b280bf520eb43c9ddf62270b1553e17566b5c6a173bc88f
 SHA512 
f1048644f39c37e210560f876412c0c63039c6045ba8e9477a00f05841078f6c9f6f97806e0c7824a8e60d2477dc835670920f5df58c5b434be76e6603e0005c
 DIST pidgin-eds-3.6.patch.bz2 2352 BLAKE2B 
1d69dc55f43b9efe5d5278a017642702d67a297fe2587467ec0fdca7f9888e26640efe9ac2a18f77ae9c523bf125a2cec6d0bf621f0b2b16f55d30df1bf470df
 SHA512 
a0195679ab55ed9c7ea18ace6dbf0fc994698f1f4eea9d8335dfdcdcd6a68975c0191bd22f150bf5a9a0a691ce7e9e73d79598e1e8be541efa1d9824a633d877

diff --git a/net-im/pidgin/files/pidgin-2.10.10-eds-3.6-configure.ac.patch 
b/net-im/pidgin/files/pidgin-2.10.10-eds-3.6-configure.ac.patch
index 555ef8c1ab1..dc60b147e8e 100644
--- a/net-im/pidgin/files/pidgin-2.10.10-eds-3.6-configure.ac.patch
+++ b/net-im/pidgin/files/pidgin-2.10.10-eds-3.6-configure.ac.patch
@@ -1,6 +1,5 @@
-diff -urN pidgin-2.10.10.orig/configure.ac pidgin-2.10.10/configure.ac
 pidgin-2.10.10.orig/configure.ac   2014-10-17 04:19:33.0 +0400
-+++ pidgin-2.10.10/configure.ac2014-10-28 15:56:27.853702740 +0300
+--- pidgin-2.10.10/configure.ac
 pidgin-2.10.10/configure.ac
 @@ -569,18 +569,10 @@
dnl # Check for stuff needed by the Evolution integration plugin.
dnl 
###

diff --git a/net-im/pidgin/files/pidgin-2.10.9-fix-gtkmedia.patch 
b/net-im/pidgin/files/pidgin-2.10.9-fix-gtkmedia.patch
index 4cec3266380..74b30021d48 100644
--- a/net-im/pidgin/files/pidgin-2.10.9-fix-gtkmedia.patch
+++ b/net-im/pidgin/files/pidgin-2.10.9-fix-gtkmedia.patch
@@ -1,5 +1,5 @@
 a/pidgin/Makefile.am   2014-02-02 22:29:20.0 +0100
-+++ b/pidgin/Makefile.am   2014-02-14 19:35:24.347547795 +0100
+--- a/pidgin/Makefile.am
 b/pidgin/Makefile.am
 @@ -154,6 +154,7 @@
$(GSTREAMER_LIBS) \
$(XSS_LIBS) \

diff --git a/net-im/pidgin/pidgin-2.14.2.ebuild 
b/net-im/pidgin/pidgin-2.14.2.ebuild
new file mode 100644
index 000..6a72b74271c
--- /dev/null
+++ b/net-im/pidgin/pidgin-2.14.2.ebuild
@@ -0,0 +1,295 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+GENTOO_DEPEND_ON_PERL=no
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit autotools gnome2-utils flag-o-matic toolchain-funcs multilib 
perl-module python-single-r1 xdg
+
+DESCRIPTION="GTK Instant Messenger client"
+HOMEPAGE="https://pidgin.im/;
+SRC_URI="
+   mirror://sourceforge/${PN}/${P}.tar.bz2
+   https://dev.gentoo.org/~polynomial-c/${PN}-eds-3.6.patch.bz2
+   
https://gist.githubusercontent.com/imcleod/77f38d11af11b2413ada/raw/46e9d6cb4d2f839832dad2d697bb141a88028e04/pidgin-irc-join-sleep.patch
 -> ${PN}-2.10.9-irc_join_sleep.patch"
+
+LICENSE="GPL-2"
+SLOT="0/2" # libpurple version
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux"
+IUSE="aqua dbus debug doc eds gadu gnutls groupwise +gstreamer +gtk idn
+meanwhile ncurses networkmanager nls perl pie prediction python sasl spell tcl
+tk +xscreensaver zephyr zeroconf"
+
+# dbus requires python to generate C code for dbus bindings (thus DEPEND only).
+# finch uses libgnt that links with libpython - {R,}DEPEND. But still there is
+# no way to build dbus and avoid libgnt linkage with python. If you want this
+# send patch upstream.
+# purple-url-handler and purple-remote 

[gentoo-commits] repo/gentoo:master commit in: net-im/pidgin/files/, net-im/pidgin/

2020-02-11 Thread Lars Wendler
commit: 55f5d8938ea10bd15797d263d9dd132c74c5cc4d
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Feb 11 13:16:02 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Feb 11 13:16:49 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55f5d893

net-im/pidgin: Revbump to fix gnutls plugin

Thanks-to: Phil Stracchino (Unix Ronin)  caerllewys.net>
Closes: https://bugs.gentoo.org/708226
Package-Manager: Portage-2.3.88, Repoman-2.3.20
Signed-off-by: Lars Wendler  gentoo.org>

 .../files/pidgin-2.13.0-gnutls_sni_support.patch   | 33 ++
 ...in-2.13.0-r5.ebuild => pidgin-2.13.0-r6.ebuild} |  1 +
 2 files changed, 34 insertions(+)

diff --git a/net-im/pidgin/files/pidgin-2.13.0-gnutls_sni_support.patch 
b/net-im/pidgin/files/pidgin-2.13.0-gnutls_sni_support.patch
new file mode 100644
index 000..df6b8e5cd03
--- /dev/null
+++ b/net-im/pidgin/files/pidgin-2.13.0-gnutls_sni_support.patch
@@ -0,0 +1,33 @@
+# HG changeset patch
+# User Mihai Moldovan 
+# Date 1576498301 -3600
+# Branch release-2.x.y
+# Node ID 6dba8046e1b120c506e1d911c6aa8757d7774c57
+# Parent  7a975763d3b64bdd8dd5371d711a4add647ed726
+Implement SNI support for the gnutls SSL plugin.
+
+Note that gnutls is picky in regard to what it accepts as the server name - it
+MUST be a domain name. IP addresses are not supported according to the
+documentation.
+
+Hence, filter out IP addresses and hope that whatever is not recognized as
+such an address is actually a domain name. This will probably fail for more
+exotic addresses (especially in IPv6 realm), but wiring up a full-blown parser
+is too much effort and SSL plugins are not part of purple-3 anyway.
+
+Fixes #17300
+
+diff --git a/libpurple/plugins/ssl/ssl-gnutls.c 
b/libpurple/plugins/ssl/ssl-gnutls.c
+--- a/libpurple/plugins/ssl/ssl-gnutls.c
 b/libpurple/plugins/ssl/ssl-gnutls.c
+@@ -403,6 +403,10 @@
+ 
+   gnutls_transport_set_ptr(gnutls_data->session, 
GINT_TO_POINTER(gsc->fd));
+ 
++  /* SNI support. */
++  if (gsc->host && !g_hostname_is_ip_address(gsc->host))
++  gnutls_server_name_set(gnutls_data->session, GNUTLS_NAME_DNS, 
gsc->host, strlen(gsc->host));
++
+   gnutls_data->handshake_handler = purple_input_add(gsc->fd,
+   PURPLE_INPUT_READ, ssl_gnutls_handshake_cb, gsc);
+ 

diff --git a/net-im/pidgin/pidgin-2.13.0-r5.ebuild 
b/net-im/pidgin/pidgin-2.13.0-r6.ebuild
similarity index 99%
rename from net-im/pidgin/pidgin-2.13.0-r5.ebuild
rename to net-im/pidgin/pidgin-2.13.0-r6.ebuild
index b6fa6ecd077..aee1ccb0a4b 100644
--- a/net-im/pidgin/pidgin-2.13.0-r5.ebuild
+++ b/net-im/pidgin/pidgin-2.13.0-r6.ebuild
@@ -144,6 +144,7 @@ PATCHES=(
"${DISTDIR}/${PN}-2.10.9-irc_join_sleep.patch" # 577286
"${FILESDIR}/${PN}-2.13.0-disable-one-jid-test.patch" # 593338
"${FILESDIR}/${PN}-2.13.0-python3_support.patch" #459996
+   "${FILESDIR}/${PN}-2.13.0-gnutls_sni_support.patch" #708226
 )
 
 pkg_pretend() {



[gentoo-commits] repo/gentoo:master commit in: net-im/pidgin/files/, net-im/pidgin/

2019-04-02 Thread Lars Wendler
commit: edc73a669e7ef0525ffad215fea70cb24876d6cf
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Apr  2 12:27:42 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Apr  2 12:29:04 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edc73a66

net-im/pidgin: Revbump adding python3 support

and use [${PYTHON_USEDEP}] for dev-python/dbus-python package

Closes: https://bugs.gentoo.org/459996
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Lars Wendler  gentoo.org>

 .../files/pidgin-2.13.0-python3_support.patch  |  37 +++
 net-im/pidgin/pidgin-2.13.0-r1.ebuild  | 285 +
 2 files changed, 322 insertions(+)

diff --git a/net-im/pidgin/files/pidgin-2.13.0-python3_support.patch 
b/net-im/pidgin/files/pidgin-2.13.0-python3_support.patch
new file mode 100644
index 000..19ece4a9a22
--- /dev/null
+++ b/net-im/pidgin/files/pidgin-2.13.0-python3_support.patch
@@ -0,0 +1,37 @@
+# HG changeset patch
+# User John Bailey 
+# Date 1527918187 14400
+#  Sat Jun 02 01:43:07 2018 -0400
+# Branch upstream-fedora-patches
+# Node ID ab3a54cf9afbd2a1cb6736c7ee424d8fc82e7b14
+# Parent  de18cefddad5ffe593a192f3a20f6f91165ab516
+Modified Jan Synacek's purple-remote python3 compatibility patch to make it
+compatible with both python2 and python3.
+
+diff --git a/COPYRIGHT b/COPYRIGHT
+--- a/COPYRIGHT
 b/COPYRIGHT
+@@ -544,6 +544,7 @@
+ Sun Microsystems
+ Marcus Sundberg
+ Mårten Svantesson (fursten)
++Jan Synacek 
+ Amir Szekely (kichik)
+ Gábor Szuromi (kukkerman)
+ Jakub Szypulka
+diff --git a/libpurple/purple-remote b/libpurple/purple-remote
+--- a/libpurple/purple-remote
 b/libpurple/purple-remote
+@@ -14,7 +14,11 @@
+ import xml.dom.minidom 
+ 
+ sys.stdin = codecs.getwriter('utf-8')(sys.stdin);
+-sys.stdout = codecs.getwriter('utf-8')(sys.stdout);
++
++if(sys.version_info > (3,0)):
++sys.stdout = codecs.getwriter('utf-8')(sys.stdout.detach());
++else:
++sys.stdout = codecs.getwriter('utf-8')(sys.stdout);
+ 
+ xml.dom.minidom.Element.all   = xml.dom.minidom.Element.getElementsByTagName
+ 

diff --git a/net-im/pidgin/pidgin-2.13.0-r1.ebuild 
b/net-im/pidgin/pidgin-2.13.0-r1.ebuild
new file mode 100644
index 000..68c1f9e981a
--- /dev/null
+++ b/net-im/pidgin/pidgin-2.13.0-r1.ebuild
@@ -0,0 +1,285 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+GENTOO_DEPEND_ON_PERL=no
+PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
+
+inherit autotools flag-o-matic gnome2 toolchain-funcs multilib perl-module 
python-single-r1 xdg-utils
+
+DESCRIPTION="GTK Instant Messenger client"
+HOMEPAGE="http://pidgin.im/;
+SRC_URI="
+   mirror://sourceforge/${PN}/${P}.tar.bz2
+   https://dev.gentoo.org/~polynomial-c/${PN}-eds-3.6.patch.bz2
+   
https://gist.githubusercontent.com/imcleod/77f38d11af11b2413ada/raw/46e9d6cb4d2f839832dad2d697bb141a88028e04/pidgin-irc-join-sleep.patch
 -> ${PN}-2.10.9-irc_join_sleep.patch"
+
+LICENSE="GPL-2"
+SLOT="0/2" # libpurple version
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 
~amd64-linux ~x86-linux ~x86-macos"
+IUSE="dbus debug doc eds gadu gnutls +gstreamer +gtk idn meanwhile pie"
+IUSE+=" networkmanager nls perl silc tcl tk spell sasl ncurses"
+IUSE+=" groupwise prediction python +xscreensaver zephyr zeroconf" # mono"
+IUSE+=" aqua"
+
+# dbus requires python to generate C code for dbus bindings (thus DEPEND only).
+# finch uses libgnt that links with libpython - {R,}DEPEND. But still there is
+# no way to build dbus and avoid libgnt linkage with python. If you want this
+# send patch upstream.
+# purple-url-handler and purple-remote require dbus-python thus in reality we
+# rdepend on python if dbus enabled. But it is possible to separate this dep.
+RDEPEND="
+   >=dev-libs/glib-2.16
+   >=dev-libs/libxml2-2.6.18
+   ncurses? (
+   sys-libs/ncurses:0=[unicode]
+   dbus? ( ${PYTHON_DEPS} )
+   python? ( ${PYTHON_DEPS} )
+   )
+   gtk? (
+   >=x11-libs/gtk+-2.10:2[aqua=]
+   x11-libs/libSM
+   >=x11-libs/pango-1.4.0
+   xscreensaver? ( x11-libs/libXScrnSaver )
+   spell? ( >=app-text/gtkspell-2.0.2:2 )
+   eds? ( >=gnome-extra/evolution-data-server-3.6:= )
+   prediction? ( >=dev-db/sqlite-3.3:3 )
+   )
+   gstreamer? (
+   media-libs/gstreamer:1.0
+   media-libs/gst-plugins-base:1.0
+   >=net-libs/farstream-0.2.7:0.2
+   )
+   zeroconf? ( net-dns/avahi[dbus] )
+   dbus? (
+   >=dev-libs/dbus-glib-0.71
+   >=sys-apps/dbus-0.90
+   dev-python/dbus-python[${PYTHON_USEDEP}]
+   )
+   perl? ( >=dev-lang/perl-5.16:= )
+   gadu? (
+   || (
+   >=net-libs/libgadu-1.11.0[ssl,gnutls]
+