public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Gilles Dartiguelongue" <eva@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-voip/telepathy-gabble/, net-voip/telepathy-gabble/files/
Date: Sat,  2 Sep 2017 18:00:52 +0000 (UTC)	[thread overview]
Message-ID: <1504375247.1bafad73070bcd30a41c5a96c1dad04ea840f866.eva@gentoo> (raw)

commit:     1bafad73070bcd30a41c5a96c1dad04ea840f866
Author:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Sat Sep  2 16:32:07 2017 +0000
Commit:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Sat Sep  2 18:00:47 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bafad73

net-voip/telepathy-gabble: fix build with USE=-jingle, bug #523230

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 ...lepathy-gabble-0.18.4-build-fix-no-jingle.patch | 29 ++++++++++++++++++++++
 .../telepathy-gabble-0.18.4.ebuild                 |  9 ++++++-
 2 files changed, 37 insertions(+), 1 deletion(-)

diff --git a/net-voip/telepathy-gabble/files/telepathy-gabble-0.18.4-build-fix-no-jingle.patch b/net-voip/telepathy-gabble/files/telepathy-gabble-0.18.4-build-fix-no-jingle.patch
new file mode 100644
index 00000000000..6d25cde8f52
--- /dev/null
+++ b/net-voip/telepathy-gabble/files/telepathy-gabble-0.18.4-build-fix-no-jingle.patch
@@ -0,0 +1,29 @@
+From 8801beb5b64952fad15ff0c316bf1eddbde20ba9 Mon Sep 17 00:00:00 2001
+From: Gilles Dartiguelongue <eva@gentoo.org>
+Date: Sat, 2 Sep 2017 18:23:10 +0200
+Subject: [PATCH] Add missing VOIP ifdef guards
+
+Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=523230
+---
+ src/muc-channel.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/src/muc-channel.c b/src/muc-channel.c
+index c0a27a490..9f6e01167 100644
+--- a/src/muc-channel.c
++++ b/src/muc-channel.c
+@@ -1647,9 +1647,11 @@ gabble_muc_channel_can_be_closed (GabbleMucChannel *chan)
+   if (g_hash_table_size (priv->tubes) > 0)
+     return FALSE;
+ 
++#ifdef ENABLE_VOIP
+   if (priv->calls != NULL || priv->call_requests != NULL
+       || priv->call_initiating)
+     return FALSE;
++#endif
+ 
+   return TRUE;
+ }
+-- 
+2.14.1
+

diff --git a/net-voip/telepathy-gabble/telepathy-gabble-0.18.4.ebuild b/net-voip/telepathy-gabble/telepathy-gabble-0.18.4.ebuild
index d9f8cb96c3c..434def47dfb 100644
--- a/net-voip/telepathy-gabble/telepathy-gabble-0.18.4.ebuild
+++ b/net-voip/telepathy-gabble/telepathy-gabble-0.18.4.ebuild
@@ -44,7 +44,9 @@ RDEPEND="
 DEPEND="${RDEPEND}
 	${PYTHON_DEPS}
 	>=dev-util/gtk-doc-am-1.17
-	dev-libs/libxslt"
+	dev-libs/libxslt
+	virtual/pkgconfig
+"
 # Twisted tests fail if bad ipv6 setup, upstream bug #30565
 # Random twisted tests fail with org.freedesktop.DBus.Error.NoReply for some reason
 # pygobject:2 is needed by twisted-17 for gtk2reactor usage by gabble
@@ -58,6 +60,11 @@ DEPEND="${RDEPEND}
 #	) )
 #)
 
+PATCHES=(
+	# Fix build with USE=-jingle, bug #523230
+	"${FILESDIR}"/${P}-build-fix-no-jingle.patch
+)
+
 pkg_setup() {
 	python-any-r1_pkg_setup
 }


             reply	other threads:[~2017-09-02 18:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-02 18:00 Gilles Dartiguelongue [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-12-02 20:41 [gentoo-commits] repo/gentoo:master commit in: net-voip/telepathy-gabble/, net-voip/telepathy-gabble/files/ Andreas Sturmlechner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1504375247.1bafad73070bcd30a41c5a96c1dad04ea840f866.eva@gentoo \
    --to=eva@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox