From 4ad0b6b1cfbeb32a9ace2e1879891880242e992f Mon Sep 17 00:00:00 2001 From: suvari Date: Fri, 19 May 2017 20:48:13 +0300 Subject: [PATCH] telepathy-haze: patched --- network/chat/telepathy-haze/actions.py | 4 +++- ...thy-haze-0.8.0-pidgin-2.10.12-compat.patch | 22 +++++++++++++++++++ network/chat/telepathy-haze/pspec.xml | 16 ++++++++++++-- 3 files changed, 39 insertions(+), 3 deletions(-) create mode 100644 network/chat/telepathy-haze/files/telepathy-haze-0.8.0-pidgin-2.10.12-compat.patch diff --git a/network/chat/telepathy-haze/actions.py b/network/chat/telepathy-haze/actions.py index 4042d9c30e..51f4c7a875 100644 --- a/network/chat/telepathy-haze/actions.py +++ b/network/chat/telepathy-haze/actions.py @@ -6,10 +6,12 @@ from pisi.actionsapi import autotools from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools from pisi.actionsapi import get def setup(): - autotools.configure("--disable-static") + autotools.configure("--disable-static --libexecdir=/usr/lib") + shelltools.export("PYTHON", "/usr/bin/python2.7") def build(): autotools.make() diff --git a/network/chat/telepathy-haze/files/telepathy-haze-0.8.0-pidgin-2.10.12-compat.patch b/network/chat/telepathy-haze/files/telepathy-haze-0.8.0-pidgin-2.10.12-compat.patch new file mode 100644 index 0000000000..9785debec9 --- /dev/null +++ b/network/chat/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 + #include + #include + #include +@@ -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/network/chat/telepathy-haze/pspec.xml b/network/chat/telepathy-haze/pspec.xml index ece66d9034..17f555a71c 100644 --- a/network/chat/telepathy-haze/pspec.xml +++ b/network/chat/telepathy-haze/pspec.xml @@ -20,7 +20,11 @@ libpurple-devel telepathy-glib-devel libxslt-devel + python-devel + + telepathy-haze-0.8.0-pidgin-2.10.12-compat.patch + @@ -33,14 +37,22 @@ telepathy-glib - /usr/libexec + /usr/share /usr/share/doc /usr/share/man + /usr/lib + + 2017-05-19 + 0.8.0 + Release Bump + Kamil Atlı + suvari@pisilinux.org + 2016-06-09 0.8.0 @@ -56,4 +68,4 @@ alihan@pisilinux.org - + \ No newline at end of file