summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGyorgy Sarvari <skandigraun@gmail.com>2025-12-02 21:44:06 +0100
committerKhem Raj <raj.khem@gmail.com>2025-12-02 15:54:06 -0800
commitb8d9e45b6912800c0d78f3cc6b53160cec79f28c (patch)
tree76a66a49aaa0f7b535273a93b7b43ad4c9a937c4
parente7878d69abd4d1cfaad3f5e5ba9cf7ad00f136bd (diff)
downloadmeta-openembedded-b8d9e45b6912800c0d78f3cc6b53160cec79f28c.tar.gz
gupnp-av: upgrade 0.14.1 -> 0.14.4
Drop patch that is included in this release. Changelog: 0.14.4: - Move documentation to gi-docgen 0.14.3: - CI fixes 0.14.2: - xml: Fix compatibility with libxml2 2.12.x - Add missing array annotation - build: Fix Requires: line of pkg-config file - Loosen restriction on dc:date verification Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-multimedia/recipes-connectivity/gupnp/gupnp-av/0001-all-Drop-xmlRecoverMemory.patch44
-rw-r--r--meta-multimedia/recipes-connectivity/gupnp/gupnp-av_0.14.4.bb (renamed from meta-multimedia/recipes-connectivity/gupnp/gupnp-av_0.14.1.bb)8
2 files changed, 3 insertions, 49 deletions
diff --git a/meta-multimedia/recipes-connectivity/gupnp/gupnp-av/0001-all-Drop-xmlRecoverMemory.patch b/meta-multimedia/recipes-connectivity/gupnp/gupnp-av/0001-all-Drop-xmlRecoverMemory.patch
deleted file mode 100644
index 92b52ad98a..0000000000
--- a/meta-multimedia/recipes-connectivity/gupnp/gupnp-av/0001-all-Drop-xmlRecoverMemory.patch
+++ /dev/null
@@ -1,44 +0,0 @@
1From d99f71a4a52da7582d5e26992a1ab303b280d28a Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 30 Jun 2023 03:23:12 -0700
4Subject: [PATCH] Drop xmlRecoverMemory
5
6newer libxml has deprecated xmlRecoverMemory therefore replace it with xmlReadMemory
7
8Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/gupnp/-/commit/80e68995b745a5900eaaa1d0c424d3a9d354e42d]
9
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 gupnp-didl-lite-parser.c | 2 +-
13 gupnp-feature-list-parser.c | 2 +-
14 2 files changed, 2 insertions(+), 2 deletions(-)
15
16diff --git a/gupnp-didl-lite-parser.c b/gupnp-didl-lite-parser.c
17index 3a5727f..840d718 100644
18--- a/libgupnp-av/gupnp-didl-lite-parser.c
19+++ b/libgupnp-av/gupnp-didl-lite-parser.c
20@@ -230,7 +230,7 @@ gupnp_didl_lite_parser_parse_didl_recursive (GUPnPDIDLLiteParser *parser,
21 GUPnPAVXMLDoc *xml_doc = NULL;
22 gboolean result;
23
24- doc = xmlRecoverMemory (didl, strlen (didl));
25+ doc = xmlReadMemory (didl, strlen (didl), NULL, NULL, XML_PARSE_NONET | XML_PARSE_RECOVER);
26 if (doc == NULL) {
27 g_set_error (error,
28 G_MARKUP_ERROR,
29diff --git a/gupnp-feature-list-parser.c b/gupnp-feature-list-parser.c
30index 16208b5..f804fe7 100644
31--- a/libgupnp-av/gupnp-feature-list-parser.c
32+++ b/libgupnp-av/gupnp-feature-list-parser.c
33@@ -114,7 +114,7 @@ gupnp_feature_list_parser_parse_text
34 xmlNode *element;
35 GList *feature_list = NULL;
36
37- doc = xmlRecoverMemory (text, strlen (text));
38+ doc = xmlReadMemory (text, strlen (text), NULL, NULL, XML_PARSE_NONET | XML_PARSE_RECOVER);
39 if (doc == NULL) {
40 g_set_error (error,
41 G_MARKUP_ERROR,
42--
432.41.0
44
diff --git a/meta-multimedia/recipes-connectivity/gupnp/gupnp-av_0.14.1.bb b/meta-multimedia/recipes-connectivity/gupnp/gupnp-av_0.14.4.bb
index 2a5c0808ee..21f0449762 100644
--- a/meta-multimedia/recipes-connectivity/gupnp/gupnp-av_0.14.1.bb
+++ b/meta-multimedia/recipes-connectivity/gupnp/gupnp-av_0.14.4.bb
@@ -6,9 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
6 6
7DEPENDS = "gupnp" 7DEPENDS = "gupnp"
8 8
9inherit meson pkgconfig gobject-introspection vala 9inherit gi-docgen meson pkgconfig gobject-introspection vala
10 10
11SRC_URI = "${GNOME_MIRROR}/${BPN}/0.14/${BPN}-${PV}.tar.xz \ 11SRC_URI = "${GNOME_MIRROR}/${BPN}/0.14/${BPN}-${PV}.tar.xz"
12 file://0001-all-Drop-xmlRecoverMemory.patch \ 12SRC_URI[sha256sum] = "21d974b3275cb5dcf5b8aa1d9a3fc80e7edca706935f6fbd004c79787138f8c7"
13 "
14SRC_URI[sha256sum] = "b79ce0cc4b0c66d9c54bc22183a10e5709a0011d2af272025948efcab33a3e4f"