Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=kde5.git;a=commitdiff;h=24fbfb90eefdb1327dddc5b7a525667d6a32fd30
commit 24fbfb90eefdb1327dddc5b7a525667d6a32fd30 Author: crazy <[email protected]> Date: Thu Mar 31 20:47:39 2016 +0200 telepathy-haze-0.8.0-3-x86_64 * rebuild * added patches to fix the build diff --git a/source/xlib-extra/telepathy-haze/FrugalBuild b/source/xlib-extra/telepathy-haze/FrugalBuild index 7105b5c..3795a9d 100644 --- a/source/xlib-extra/telepathy-haze/FrugalBuild +++ b/source/xlib-extra/telepathy-haze/FrugalBuild @@ -5,15 +5,18 @@ pkgname=telepathy-haze pkgver=0.8.0 -pkgrel=2 +pkgrel=3 pkgdesc="A telepathy connection manager that use libpurple" url="http://telepathy.freedesktop.org/releases/$pkgname" _F_archive_grepv="99." up2date="Flasttar $url" -source=("http://telepathy.freedesktop.org/releases/$pkgname/$pkgname-$pkgver.tar.gz") -depends=('telepathy-glib' 'libpurple') +source=(http://telepathy.freedesktop.org/releases/$pkgname/$pkgname-$pkgver.tar.gz \ + telepathy-haze-0.8.0-crash.patch telepathy-haze-0.8.0-pidgin-2.10.12-compat.patch) +depends=('telepathy-glib>=0.24.1-5' 'libpurple') groups=('xlib-extra') archs=('i686' 'x86_64') -sha1sums=('e985b4553a5499470df14a0bf60a91fda09bc37d') +sha1sums=('e985b4553a5499470df14a0bf60a91fda09bc37d' \ + '052841f483101539a5945ff5cbe51573b633a220' \ + '97b058770bd9d301d5e876e822fc915c8205da8c') # optimization OK diff --git a/source/xlib-extra/telepathy-haze/telepathy-haze-0.8.0-crash.patch b/source/xlib-extra/telepathy-haze/telepathy-haze-0.8.0-crash.patch new file mode 100644 index 0000000..2c480bb --- /dev/null +++ b/source/xlib-extra/telepathy-haze/telepathy-haze-0.8.0-crash.patch @@ -0,0 +1,28 @@ +From 83589722731dde63118104f75c9ab89f66b21c21 Mon Sep 17 00:00:00 2001 +From: Debarshi Ray <[email protected]> +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/source/xlib-extra/telepathy-haze/telepathy-haze-0.8.0-pidgin-2.10.12-compat.patch b/source/xlib-extra/telepathy-haze/telepathy-haze-0.8.0-pidgin-2.10.12-compat.patch new file mode 100644 index 0000000..9785deb --- /dev/null +++ b/source/xlib-extra/telepathy-haze/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"); + _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
