Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gupnp-av for openSUSE:Factory checked in at 2023-05-08 17:23:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gupnp-av (Old) and /work/SRC/openSUSE:Factory/.gupnp-av.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gupnp-av" Mon May 8 17:23:49 2023 rev:44 rq:1085303 version:0.14.1 Changes: -------- --- /work/SRC/openSUSE:Factory/gupnp-av/gupnp-av.changes 2022-06-18 22:05:53.835631168 +0200 +++ /work/SRC/openSUSE:Factory/.gupnp-av.new.1533/gupnp-av.changes 2023-05-08 17:23:53.084553622 +0200 @@ -1,0 +2,8 @@ +Thu May 4 12:19:02 UTC 2023 - David Anes <david.a...@suse.com> + +- Add patch "gupnp-av-libxml2.11-support.patch": Use xmlReadMemory + instead of xmlRecoverMemory, as it's been deprecated in libxml2 + 2.11.0. +- Use autosetup and ldconfig_scriptlets macros. + +------------------------------------------------------------------- New: ---- gupnp-av-libxml2.11-support.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gupnp-av.spec ++++++ --- /var/tmp/diff_new_pack.wUwvlx/_old 2023-05-08 17:23:53.676557122 +0200 +++ /var/tmp/diff_new_pack.wUwvlx/_new 2023-05-08 17:23:53.680557145 +0200 @@ -1,7 +1,7 @@ # # spec file for package gupnp-av # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -24,6 +24,8 @@ Group: Development/Libraries/C and C++ URL: http://www.gupnp.org/ Source: https://download.gnome.org/sources/gupnp-av/0.14/%{name}-%{version}.tar.xz +# PATCH-FIX-UPSTREAM gupnp-av-libxml2.11-support.patch david.a...@suse.com -- use xmlReadMemory instead of xmlRecoverMemory +Patch0: gupnp-av-libxml2.11-support.patch BuildRequires: meson BuildRequires: pkgconfig BuildRequires: pkgconfig(gobject-2.0) >= 2.58 @@ -67,7 +69,7 @@ implementation of UPnP A/V profiles. %prep -%setup -q +%autosetup -p1 %build %meson @@ -79,8 +81,7 @@ %check %meson_test -%post -n libgupnp-av-1_0-3 -p /sbin/ldconfig -%postun -n libgupnp-av-1_0-3 -p /sbin/ldconfig +%ldconfig_scriptlets -n libgupnp-av-1_0-3 %files %{_datadir}/gupnp-av/ ++++++ gupnp-av-libxml2.11-support.patch ++++++ >From 4dbc4c1da2a033c497d84a1291c46f416a9cac51 Mon Sep 17 00:00:00 2001 From: David Anes <david.a...@suse.com> Date: Thu, 4 May 2023 11:54:02 +0200 Subject: use xmlReadMemory instead of xmlRecoverMemory, as it's been deprecated in libxml2 2.11.0 Since version 2.11.0, some private symbols have been removed. --- Index: gupnp-av-0.14.1/libgupnp-av/gupnp-didl-lite-parser.c =================================================================== --- gupnp-av-0.14.1.orig/libgupnp-av/gupnp-didl-lite-parser.c +++ gupnp-av-0.14.1/libgupnp-av/gupnp-didl-lite-parser.c @@ -230,7 +230,7 @@ gupnp_didl_lite_parser_parse_didl_recurs GUPnPAVXMLDoc *xml_doc = NULL; gboolean result; - doc = xmlRecoverMemory (didl, strlen (didl)); + doc = xmlReadMemory (didl, strlen (didl), NULL, NULL, XML_PARSE_RECOVER); if (doc == NULL) { g_set_error (error, G_MARKUP_ERROR, Index: gupnp-av-0.14.1/libgupnp-av/gupnp-feature-list-parser.c =================================================================== --- gupnp-av-0.14.1.orig/libgupnp-av/gupnp-feature-list-parser.c +++ gupnp-av-0.14.1/libgupnp-av/gupnp-feature-list-parser.c @@ -114,7 +114,7 @@ gupnp_feature_list_parser_parse_text xmlNode *element; GList *feature_list = NULL; - doc = xmlRecoverMemory (text, strlen (text)); + doc = xmlReadMemory (text, strlen (text), NULL, NULL, XML_PARSE_RECOVER); if (doc == NULL) { g_set_error (error, G_MARKUP_ERROR,