[packages/telepathy-gabble] Rel 7
arekm
arekm at pld-linux.org
Tue Aug 19 00:21:34 CEST 2025
commit 976ee238f7a8085e84004b57b0683b107661e7ad
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Aug 19 00:21:24 2025 +0200
Rel 7
build.patch | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
telepathy-gabble.spec | 5 ++++-
2 files changed, 53 insertions(+), 1 deletion(-)
---
diff --git a/telepathy-gabble.spec b/telepathy-gabble.spec
index d119e7f..8e0163d 100644
--- a/telepathy-gabble.spec
+++ b/telepathy-gabble.spec
@@ -2,12 +2,13 @@ Summary: A Telepathy connection manager for Jabber/XMPP
Summary(pl.UTF-8): Zarządca połączeń Telepathy dla Jabbera/XMPP
Name: telepathy-gabble
Version: 0.18.4
-Release: 6
+Release: 7
License: LGPL v2.1+
Group: Libraries
Source0: https://telepathy.freedesktop.org/releases/telepathy-gabble/%{name}-%{version}.tar.gz
# Source0-md5: 64334f42b1822dbc22b823f22f9e968f
Patch0: %{name}-openssl-1.1.0.patch
+Patch1: build.patch
URL: https://telepathy.freedesktop.org/components/telepathy-gabble/
BuildRequires: autoconf >= 2.59
BuildRequires: automake >= 1:1.11
@@ -44,6 +45,7 @@ Zarządca połączeń pozwalający połączyć się Telepathy z Jabberem/XMPP.
%prep
%setup -q
%patch -P0 -p1
+%patch -P1 -p1
%{__sed} -i -e '1s,/usr/bin/env python$,%{__python},' plugins/telepathy-gabble-xmpp-console
@@ -54,6 +56,7 @@ Zarządca połączeń pozwalający połączyć się Telepathy z Jabberem/XMPP.
%{__autoheader}
%{__automake}
%configure \
+ PYTHON=%{__python} \
--disable-silent-rules \
--disable-static \
--with-ca-certificates=%{_sysconfdir}/certs/ca-certificates.crt \
diff --git a/build.patch b/build.patch
new file mode 100644
index 0000000..0a9f56c
--- /dev/null
+++ b/build.patch
@@ -0,0 +1,49 @@
+--- telepathy-gabble-0.18.4/lib/ext/wocky/wocky/wocky-xmpp-reader.c~ 2016-07-02 10:35:49.000000000 +0200
++++ telepathy-gabble-0.18.4/lib/ext/wocky/wocky/wocky-xmpp-reader.c 2025-08-19 00:14:03.765698914 +0200
+@@ -72,7 +72,7 @@ static void _end_element_ns (void *user_
+
+ static void _characters (void *user_data, const xmlChar *ch, int len);
+
+-static void _error (void *user_data, xmlErrorPtr error);
++static void _error (void *user_data, const xmlError *error);
+
+ static xmlSAXHandler parser_handler = {
+ /* internalSubset */ NULL,
+@@ -668,7 +668,7 @@ _end_element_ns (void *user_data, const
+ }
+
+ static void
+-_error (void *user_data, xmlErrorPtr error)
++_error (void *user_data, const xmlError *error)
+ {
+ WockyXmppReader *self = WOCKY_XMPP_READER (user_data);
+ WockyXmppReaderPrivate *priv = self->priv;
+--- telepathy-gabble-0.18.4/src/media-channel.c~ 2016-11-15 10:03:24.000000000 +0100
++++ telepathy-gabble-0.18.4/src/media-channel.c 2025-08-19 00:20:00.767772076 +0200
+@@ -2964,7 +2964,7 @@ gabble_media_channel_ready (TpSvcMediaSe
+
+ static void
+ gabble_media_channel_error (TpSvcMediaSessionHandler *iface,
+- guint errno,
++ guint errno_code,
+ const gchar *message,
+ DBusGMethodInvocation *context)
+ {
+@@ -2995,7 +2995,7 @@ gabble_media_channel_error (TpSvcMediaSe
+ }
+
+ DEBUG ("Media.SessionHandler::Error called, error %u (%s) -- "
+- "emitting error on each stream", errno, message);
++ "emitting error on each stream", errno_code, message);
+
+ g_object_get (priv->session, "state", &state, NULL);
+
+@@ -3024,7 +3024,7 @@ gabble_media_channel_error (TpSvcMediaSe
+ {
+ GabbleMediaStream *stream = g_ptr_array_index (tmp, i);
+
+- gabble_media_stream_error (stream, errno, message, NULL);
++ gabble_media_stream_error (stream, errno_code, message, NULL);
+ }
+
+ g_ptr_array_unref (tmp);
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/telepathy-gabble.git/commitdiff/976ee238f7a8085e84004b57b0683b107661e7ad
More information about the pld-cvs-commit
mailing list