[packages/loudmouth] - updated to 1.5.4; enhanced link patch to fix apidocs helper linking

qboosh qboosh at pld-linux.org
Fri Jun 2 21:44:45 CEST 2023


commit eccd983ff43e482826ba55f30665df581447cfef
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Jun 2 21:47:22 2023 +0200

    - updated to 1.5.4; enhanced link patch to fix apidocs helper linking

 loudmouth-link.patch | 34 ++++++++++++++++++++++++++++++++++
 loudmouth.spec       | 12 +++++++-----
 2 files changed, 41 insertions(+), 5 deletions(-)
---
diff --git a/loudmouth.spec b/loudmouth.spec
index f928e2b..7d11891 100644
--- a/loudmouth.spec
+++ b/loudmouth.spec
@@ -14,17 +14,17 @@
 Summary:	Loudmouth - a Jabber library written in C
 Summary(pl.UTF-8):	Loudmouth - biblioteka do obsługi protokołu Jabber napisana w C
 Name:		loudmouth
-Version:	1.5.3
+Version:	1.5.4
 Release:	1
 License:	LGPL v2+
 Group:		Libraries
 Source0:	https://mcabber.com/files/loudmouth/%{name}-%{version}.tar.bz2
-# Source0-md5:	0db0ce1c5a57f81b5736be8bd2217a82
+# Source0-md5:	59c9f9f8e6231f38e18876447c608620
 Patch0:		%{name}-link.patch
 URL:		https://github.com/mcabber/loudmouth/
 BuildRequires:	autoconf >= 2.60
 BuildRequires:	automake >= 1:1.9
-BuildRequires:	glib2-devel >= 1:2.12.4
+BuildRequires:	glib2-devel >= 1:2.38.0
 %{?with_gnutls:BuildRequires:	gnutls-devel >= 3.0.20}
 %{?with_apidocs:BuildRequires:	gtk-doc >= 1.14}
 BuildRequires:	heimdal-devel
@@ -33,7 +33,7 @@ BuildRequires:	libidn-devel
 BuildRequires:	libtool
 %{?with_openssl:BuildRequires:	openssl-devel}
 BuildRequires:	pkgconfig
-Requires:	glib2 >= 1:2.12.4
+Requires:	glib2 >= 1:2.38.0
 %{?with_gnutls:Requires:	gnutls >= 3.0.20}
 %{?with_asyncns:Requires:	libasyncns >= 0.3}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -54,7 +54,7 @@ Summary:	Header files and development documentation for Loudmouth library
 Summary(pl.UTF-8):	Pliki nagłówkowe Loudmouth, dokumentacja dla programistów
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
-Requires:	glib2-devel >= 1:2.12.4
+Requires:	glib2-devel >= 1:2.38.0
 %{?with_asyncns:Requires:	libasyncns-devel >= 0.3}
 Requires:	libidn-devel
 
@@ -102,8 +102,10 @@ Dokumentacja API biblioteki Loudmouth.
 %{__autoconf}
 %{__autoheader}
 %{__automake}
+# default value for with-compile-warnings is "error", which breaks build on glib deprecations
 %configure \
 	%{?with_asyncns:--with-asyncns} \
+	--with-compile-warnings=yes \
 	%{!?with_ssl:--without-ssl} \
 	%{?with_openssl:--with-ssl=openssl} \
 	--enable-gtk-doc%{!?with_apidocs:=no}
diff --git a/loudmouth-link.patch b/loudmouth-link.patch
index 6cbe635..60e0180 100644
--- a/loudmouth-link.patch
+++ b/loudmouth-link.patch
@@ -11,3 +11,37 @@
  AC_CHECK_LIB(resolv,__res_query)
  AC_CHECK_LIB(resolv,res_query)
  
+--- loudmouth-1.5.4/docs/reference/Makefile.am.orig	2021-01-25 21:16:20.000000000 +0100
++++ loudmouth-1.5.4/docs/reference/Makefile.am	2023-06-02 21:17:51.565646492 +0200
+@@ -77,7 +77,7 @@ AM_CPPFLAGS=					        \
+ 
+ GTKDOC_LIBS=						\
+ 	$(LOUDMOUTH_LIBS)				\
+-	$(top_builddir)/loudmouth/libloudmouth.la
++	$(top_builddir)/loudmouth/libloudmouth-1.la
+ 
+ 
+ # This includes the standard gtk-doc make rules, copied by gtkdocize.
+--- loudmouth-1.5.4/loudmouth/loudmouth.sym.orig	2021-01-25 21:16:20.000000000 +0100
++++ loudmouth-1.5.4/loudmouth/loudmouth.sym	2023-06-02 21:38:56.175462180 +0200
+@@ -1,3 +1,4 @@
++lm_asyncns_resolver_get_type
+ lm_blocking_resolver_get_type
+ lm_connection_authenticate
+ lm_connection_authenticate_and_block
+@@ -36,6 +37,7 @@ lm_connection_unregister_message_handler
+ lm_connection_unregister_reply_handler
+ lm_debug_init
+ lm_error_quark
++lm_feature_ping_get_type
+ lm_message_get_node
+ lm_message_get_sub_type
+ lm_message_get_type
+@@ -78,6 +80,7 @@ lm_proxy_set_server
+ lm_proxy_set_type
+ lm_proxy_set_username
+ lm_proxy_unref
++lm_resolver_get_type
+ lm_resolver_lookup
+ lm_resolver_new_for_host
+ lm_resolver_new_for_service
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/loudmouth.git/commitdiff/eccd983ff43e482826ba55f30665df581447cfef



More information about the pld-cvs-commit mailing list