[packages/telepathy-salut] Rel 7
arekm
arekm at pld-linux.org
Tue Aug 19 00:04:55 CEST 2025
commit 939c1a6f5215e3835f023bbd3e4a7d7c20fa1723
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Aug 19 00:04:46 2025 +0200
Rel 7
build.patch | 42 ++++++++++++++++++++++++++++++++++++++++++
telepathy-salut.spec | 5 ++++-
2 files changed, 46 insertions(+), 1 deletion(-)
---
diff --git a/telepathy-salut.spec b/telepathy-salut.spec
index 65ff48e..d088836 100644
--- a/telepathy-salut.spec
+++ b/telepathy-salut.spec
@@ -2,12 +2,13 @@ Summary: Link-local XMPP connection manager for the Telepathy
Summary(pl.UTF-8): Zarządca połączeń XMPP link-local dla Telepathy
Name: telepathy-salut
Version: 0.8.1
-Release: 6
+Release: 7
License: LGPL v2.1+
Group: Libraries
Source0: https://telepathy.freedesktop.org/releases/telepathy-salut/%{name}-%{version}.tar.gz
# Source0-md5: 7516e6f6fa56a61054413a03642b938d
Patch0: %{name}-openssl-1.1.0.patch
+Patch1: build.patch
URL: https://telepathy.freedesktop.org/components/telepathy-salut/
BuildRequires: autoconf >= 2.59
BuildRequires: automake >= 1:1.9
@@ -46,6 +47,7 @@ Ten pakiet udostępnia funkcjonalność XMPP link-local dla Telepathy.
%prep
%setup -q
%patch -P0 -p1
+%patch -P1 -p1
%build
%{__libtoolize}
@@ -54,6 +56,7 @@ Ten pakiet udostępnia funkcjonalność XMPP link-local dla Telepathy.
%{__autoheader}
%{__automake}
%configure \
+ PYTHON=%{__python} \
--disable-avahi-tests \
--disable-static \
--with-tls=openssl
diff --git a/build.patch b/build.patch
new file mode 100644
index 0000000..a4e8068
--- /dev/null
+++ b/build.patch
@@ -0,0 +1,42 @@
+--- telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-meta-porter.c~ 2012-11-16 16:08:43.000000000 +0100
++++ telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-meta-porter.c 2025-08-18 23:52:21.934834761 +0200
+@@ -1268,7 +1268,7 @@ stanza_handler_new (WockyMetaPorter *sel
+ out->porters = g_hash_table_new (NULL, NULL);
+
+ if (contact != NULL)
+- out->contact = g_object_ref (contact);
++ out->contact = (WockyContact *) g_object_ref (contact);
+
+ out->type = type;
+ out->sub_type = sub_type;
+--- telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-xmpp-reader.c~ 2012-11-16 15:24:13.000000000 +0100
++++ telepathy-salut-0.8.1/lib/ext/wocky/wocky/wocky-xmpp-reader.c 2025-08-18 23:55:16.089177524 +0200
+@@ -67,7 +67,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,
+@@ -617,7 +617,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-salut-0.8.1/src/contact-manager.c~ 2012-11-16 15:04:54.000000000 +0100
++++ telepathy-salut-0.8.1/src/contact-manager.c 2025-08-19 00:00:47.137756963 +0200
+@@ -177,7 +177,7 @@ salut_contact_manager_constructed (GObje
+
+ base_connection = tp_base_contact_list_get_connection (
+ (TpBaseContactList *) self, NULL);
+- self->connection = g_object_ref (base_connection);
++ self->connection = (SalutConnection *) g_object_ref (base_connection);
+
+ contact_repo = tp_base_connection_get_handles (base_connection,
+ TP_HANDLE_TYPE_CONTACT);
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/telepathy-salut.git/commitdiff/939c1a6f5215e3835f023bbd3e4a7d7c20fa1723
More information about the pld-cvs-commit
mailing list