summaryrefslogtreecommitdiff
path: root/net-voip/telepathy-haze
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-voip/telepathy-haze
reinit the tree, so we can have metadata
Diffstat (limited to 'net-voip/telepathy-haze')
-rw-r--r--net-voip/telepathy-haze/Manifest9
-rw-r--r--net-voip/telepathy-haze/files/telepathy-haze-0.8.0-crash.patch28
-rw-r--r--net-voip/telepathy-haze/files/telepathy-haze-0.8.0-pidgin-2.10.12-compat.patch22
-rw-r--r--net-voip/telepathy-haze/metadata.xml12
-rw-r--r--net-voip/telepathy-haze/telepathy-haze-0.8.0-r1.ebuild41
-rw-r--r--net-voip/telepathy-haze/telepathy-haze-0.8.0-r2.ebuild57
-rw-r--r--net-voip/telepathy-haze/telepathy-haze-0.8.0.ebuild32
7 files changed, 201 insertions, 0 deletions
diff --git a/net-voip/telepathy-haze/Manifest b/net-voip/telepathy-haze/Manifest
new file mode 100644
index 000000000000..914f3a4b09d5
--- /dev/null
+++ b/net-voip/telepathy-haze/Manifest
@@ -0,0 +1,9 @@
+AUX telepathy-haze-0.8.0-crash.patch 878 SHA256 6e1f59cc9e09b2b4dcd63cd5d4f4fa0bc52f72572c0408b733b0305be70018bc SHA512 d771595854732754352c9b740678d9bfcaa1a34e0096b7ce51ac42b1f022ae836809f3aeefddf6bf09e03c9c742ee21c2974e6cd2e662b88ab102b280c72e468 WHIRLPOOL beef3a63ba75d203d214553ffa99785f8b089458fd67354d407be5504641988f39c0cd6456e0b4bd64cea230cbee1df3b39a58de8de94ad31a37d31fe2b02205
+AUX telepathy-haze-0.8.0-pidgin-2.10.12-compat.patch 707 SHA256 9efff2e72b0752ab0ac35cfbc0186bf0b2e6781a5cd68901c14131e7817cc5f9 SHA512 bfe7a8a443ed832c2db33a5d69ae29e489b2f697256f4698224378aad2f103b7a4babe7c1d150c8561b47e999325065b7cdb35b1a696a67aeddf58fdbf321543 WHIRLPOOL 9929d2d99bffec00ff21a01c16ba00f9c09583f62dc24dbb2be622e6b7d4063040757ba43d83620c1d4105c5f7f9e819f21a677af2b2ce365caa4c19b518ede8
+DIST telepathy-haze-0.8.0.tar.gz 580929 SHA256 3e76049c05f2cd5900c5c0c1cfebdf7ae79eec987a599f1090946673c5b8f9c9 SHA512 2739b37b1f95f0996b423c0883f369e1283363e39cb1b0566e2573f3cebdab0530ffd1d4d515202e300407029227b75b4e8c459167d584000405fda2d070699d WHIRLPOOL 671e6959c2c2584663ebc50cb5232f1c4d64fa26505fe0c83fb85f82143c43c40185c7c1c0a00ba8e65ab47bcadb45fdd502ffc0c9d86831196d55404c13739a
+EBUILD telepathy-haze-0.8.0-r1.ebuild 1105 SHA256 597d5a99ebe7898644b491c115a4efe1cf9ca5a2e789154da30bdc4b969046ea SHA512 50c2ca808c55e750751f3c8c7b418927d84dc49f0c936378f3d4aa90d3a9a25e34c7a367c31fcdddfc5ebe3479b58419424012c75d9fe0128aeeb603012c721e WHIRLPOOL 04de9221abda3848fc7ad28fc69c7ec7a0f4f79c26b3581557aed47d08617467f8745deb5879c11a723458d393a1fac1925565435250f6aaebf6d97e403900dd
+EBUILD telepathy-haze-0.8.0-r2.ebuild 1353 SHA256 d640aac01739a7caa28d62f550147b9da4e5b47b07dc1fd7f19a9ead36ec66b9 SHA512 3f06dc96608c8b2f502656747644ea1b580d97f5c2bbf310beb5da2995455e7ef14b00b89bdc6d87ebe0318c557053b0fc35d4ceb7bd985f8f4cd4175abccab0 WHIRLPOOL 6f0d4af34e82d5d72619165891663f038bb181cdfd28b5df46b6814502270296f29862f9dc1cf750ab62f879b3eb8a11ec82281ca98a903eb0b9cf8eaa1e18ae
+EBUILD telepathy-haze-0.8.0.ebuild 836 SHA256 c54586fc5e35c7c55a060659625ecfdbdb949fd91a8dcd12e90735b37a35137f SHA512 2a2c9b0f9d6fcad2b213607a9f2faf14607b38fad04643420d77c6e3a7668f149b575464efc04a84b3de06d9c597363c52630754a1f8874bb5b0c474606c727b WHIRLPOOL 15204af94c3be7fc1c94e07820be337d47aeca239e46bc82f3b3729fbcd8f642306cc478ec0239db4ec54f05628e96877f95bda5d5953b897d8214e88cd950e5
+MISC ChangeLog 3982 SHA256 7fc6d0bac0628713bc1ab45982e3928aacba03359c50a74725e4058af9b28172 SHA512 85af97a160eba26c8b33c46b4a34af163cbb1a7bdcecd761bbbef37374ac3056aa632cc6395bd39da5682a615d42ace9cbf6cb4be33d899f33876c175838b063 WHIRLPOOL 2a9cc28876f5df699c66c8f5e4173c062143e49ebef726b3d2befa454cfd57afecc7db8cdd65ecd634d6c739b231d94e88af1f8512fd8eaf175afb57933169f1
+MISC ChangeLog-2015 7194 SHA256 dc6090d5ec3938b77cf246d619aef7f013b8a718185dc56f55fdfc8f2e94400d SHA512 dee29490138882cbb8a0eaa992c016cc271ca8d66ac6ad01de02df5c148fc3fe81c2303d10d01ca0118d58be75923788029f6df109c2a72f05a80eea669b6cca WHIRLPOOL 292aa4f9bab1857619650497a3a80af5889d5eee7f302e3b67e381aaa3092e4f4bde6831ca048c3045e4c9f0e169e2f66390807ea6fa110c01a27cb640492823
+MISC metadata.xml 397 SHA256 2fad1c5d8200ce1a205a1a59f274328e4e375be6e3c94f5111cf9d9c6395113e SHA512 c66690b8c7673833eff4cc785e913e16c26eeaaf23bf7cc946f6022e548e24ecc0ee14a1ca14c54b9e15b301dcf25b472e5dbbc406ed614fabea9962f928c3d0 WHIRLPOOL 2c7266f9eac19b1dfb66a3aa7d6321a3174c6de7e5c771ad81902503d823450700796da302b1dbf486d75a8baa2a27fecef43473a28d200555a4ae1e573ebcab
diff --git a/net-voip/telepathy-haze/files/telepathy-haze-0.8.0-crash.patch b/net-voip/telepathy-haze/files/telepathy-haze-0.8.0-crash.patch
new file mode 100644
index 000000000000..2c480bbd746c
--- /dev/null
+++ b/net-voip/telepathy-haze/files/telepathy-haze-0.8.0-crash.patch
@@ -0,0 +1,28 @@
+From 83589722731dde63118104f75c9ab89f66b21c21 Mon Sep 17 00:00:00 2001
+From: Debarshi Ray <debarshir@freedesktop.org>
+Date: Tue, 28 Apr 2015 19:13:39 +0200
+Subject: [PATCH] contact-list: Don't crash if a contact is already in the
+ roster
+
+Bug: https://bugs.freedesktop.org/show_bug.cgi?id=47005
+---
+ src/contact-list.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/src/contact-list.c b/src/contact-list.c
+index fc46de8..710ed19 100644
+--- a/src/contact-list.c
++++ b/src/contact-list.c
+@@ -532,7 +532,8 @@ haze_contact_list_request_subscription (HazeContactList *self,
+ /* If the buddy already exists, then it should already be on the
+ * subscribe list.
+ */
+- g_assert (purple_find_buddy (account, bname) == NULL);
++ if (purple_find_buddy (account, bname) != NULL)
++ return;
+
+ buddy = purple_buddy_new (account, bname, NULL);
+
+--
+2.1.0
+
diff --git a/net-voip/telepathy-haze/files/telepathy-haze-0.8.0-pidgin-2.10.12-compat.patch b/net-voip/telepathy-haze/files/telepathy-haze-0.8.0-pidgin-2.10.12-compat.patch
new file mode 100644
index 000000000000..9785debec9ab
--- /dev/null
+++ b/net-voip/telepathy-haze/files/telepathy-haze-0.8.0-pidgin-2.10.12-compat.patch
@@ -0,0 +1,22 @@
+--- a/src/media-stream.c
++++ b/src/media-stream.c
+@@ -23,6 +23,7 @@
+ #include "config.h"
+ #include "media-stream.h"
+
++#include <libpurple/version.h>
+ #include <libpurple/media/backend-iface.h>
+ #include <string.h>
+ #include <telepathy-glib/dbus.h>
+@@ -1076,7 +1077,11 @@ haze_media_stream_new_native_candidate (
+ if (proto == TP_MEDIA_STREAM_BASE_PROTO_UDP)
+ protocol = PURPLE_MEDIA_NETWORK_PROTOCOL_UDP;
+ else if (proto == TP_MEDIA_STREAM_BASE_PROTO_TCP)
++#if PURPLE_VERSION_CHECK (2, 10, 12)
++ protocol = PURPLE_MEDIA_NETWORK_PROTOCOL_TCP_PASSIVE;
++#else
+ protocol = PURPLE_MEDIA_NETWORK_PROTOCOL_TCP;
++#endif
+ else
+ DEBUG ("Unknown network protocol");
+
diff --git a/net-voip/telepathy-haze/metadata.xml b/net-voip/telepathy-haze/metadata.xml
new file mode 100644
index 000000000000..ecb2f47e0c3d
--- /dev/null
+++ b/net-voip/telepathy-haze/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>gnome@gentoo.org</email>
+ <name>Gentoo GNOME Desktop</name>
+ </maintainer>
+ <longdescription lang="en">
+ Telepathy connection manager for protocols supported by
+ libpurple (pidgin's core library).
+ </longdescription>
+</pkgmetadata>
diff --git a/net-voip/telepathy-haze/telepathy-haze-0.8.0-r1.ebuild b/net-voip/telepathy-haze/telepathy-haze-0.8.0-r1.ebuild
new file mode 100644
index 000000000000..f1129cbc8855
--- /dev/null
+++ b/net-voip/telepathy-haze/telepathy-haze-0.8.0-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit eutils python-single-r1
+
+DESCRIPTION="Telepathy connection manager providing libpurple supported protocols"
+HOMEPAGE="http://developer.pidgin.im/wiki/TelepathyHaze"
+SRC_URI="https://telepathy.freedesktop.org/releases/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86"
+#IUSE="test"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# Tests failing, see upstream: https://bugs.freedesktop.org/34577
+RESTRICT="test"
+
+RDEPEND="${PYTHON_DEPS}
+ >=net-im/pidgin-2.7
+ >=net-libs/telepathy-glib-0.15.1[${PYTHON_USEDEP}]
+ >=dev-libs/glib-2.30:2
+ >=dev-libs/dbus-glib-0.73
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+# test? ( dev-python/twisted-words )"
+
+src_prepare() {
+ # contact-list: Don't crash if a contact is already in the roster
+ # (fixed in next version)
+ epatch "${FILESDIR}"/${P}-crash.patch
+
+ # Fix compat with newer pidgin versions, bug #572296
+ epatch "${FILESDIR}"/${P}-pidgin-2.10.12-compat.patch
+}
diff --git a/net-voip/telepathy-haze/telepathy-haze-0.8.0-r2.ebuild b/net-voip/telepathy-haze/telepathy-haze-0.8.0-r2.ebuild
new file mode 100644
index 000000000000..73c85e8f10e9
--- /dev/null
+++ b/net-voip/telepathy-haze/telepathy-haze-0.8.0-r2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit python-any-r1
+
+DESCRIPTION="Telepathy connection manager providing libpurple supported protocols"
+HOMEPAGE="https://telepathy.freedesktop.org/"
+SRC_URI="https://telepathy.freedesktop.org/releases/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="test"
+
+RDEPEND="
+ >=net-im/pidgin-2.7[dbus]
+ >=net-libs/telepathy-glib-0.15.1
+ >=dev-libs/glib-2.30:2
+ >=dev-libs/dbus-glib-0.73
+"
+DEPEND="${RDEPEND}
+ ${PYTHON_DEPS}
+ dev-libs/libxslt
+ virtual/pkgconfig
+ test? (
+ || (
+ $(python_gen_any_dep 'dev-python/twisted[${PYTHON_USEDEP}]')
+ $(python_gen_any_dep 'dev-python/twisted-words[${PYTHON_USEDEP}]')
+ )
+ )
+"
+
+PATCHES=(
+ # contact-list: Don't crash if a contact is already in the roster
+ # (fixed in next version)
+ "${FILESDIR}"/${P}-crash.patch
+
+ # Fix compat with newer pidgin versions, bug #572296
+ "${FILESDIR}"/${P}-pidgin-2.10.12-compat.patch
+)
+
+python_check_deps() {
+ if use test ; then
+ has_version "dev-python/twisted[${PYTHON_USEDEP}]" \
+ || has_version "dev-python/twisted-words[${PYTHON_USEDEP}]"
+ fi
+}
+
+src_prepare() {
+ default
+ # Disable failing test
+ sed -i 's|simple-caps.py||' -i tests/twisted/Makefile.{am,in} || die
+}
diff --git a/net-voip/telepathy-haze/telepathy-haze-0.8.0.ebuild b/net-voip/telepathy-haze/telepathy-haze-0.8.0.ebuild
new file mode 100644
index 000000000000..88570dc6ca76
--- /dev/null
+++ b/net-voip/telepathy-haze/telepathy-haze-0.8.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit python-single-r1
+
+DESCRIPTION="Telepathy connection manager providing libpurple supported protocols"
+HOMEPAGE="http://developer.pidgin.im/wiki/TelepathyHaze"
+SRC_URI="https://telepathy.freedesktop.org/releases/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc x86"
+#IUSE="test"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+# Tests failing, see upstream: https://bugs.freedesktop.org/34577
+RESTRICT="test"
+
+RDEPEND="${PYTHON_DEPS}
+ >=net-im/pidgin-2.7
+ >=net-libs/telepathy-glib-0.15.1[${PYTHON_USEDEP}]
+ >=dev-libs/glib-2.30:2
+ >=dev-libs/dbus-glib-0.73
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+# test? ( dev-python/twisted-words )"