Skip to contentSkip to conversation

gssdp: upgrade 1.6.3 -> 1.6.4

PATCH New [email protected] 1 participant 8 messages Dec 12, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/8 gssdp: upgrade 1.6.3 -> 1.6.4

From: Gyorgy Sarvari <[email protected]>

Drop patch that was incorporated in this release.

Shortlog (without CI-changes):
client: Format Since/Deprecated versions in a way gi-docgen can parse Fix template to use local mirror
gssdp-enums.c.template: use basename instead of filename
resource-browser: Make regex pattern static

(cherry picked from commit a78826db861060ac04a27ea5b388c48dd668c7a6)
---
 ...mplate-use-basename-instead-of-filen.patch | 32 -------------------
 .../gupnp/{gssdp_1.6.3.bb => gssdp_1.6.4.bb}  |  5 +--
 2 files changed, 1 insertion(+), 36 deletions(-)
 delete mode 100644 meta-multimedia/recipes-connectivity/gupnp/gssdp/0001-gssdp-enums.c.template-use-basename-instead-of-filen.patch
 rename meta-multimedia/recipes-connectivity/gupnp/{gssdp_1.6.3.bb => gssdp_1.6.4.bb} (82%)
meta-multimedia/recipes-connectivity/gupnp/gssdp/0001-gssdp-enums.c.template-use-basename-instead-of-filen.patch deleted +0 -32
deleted file mode 100644
index 63126520e9..0000000000
@@ -1,32 +0,0 @@
-From 78270f9159a9ec7284ca39a2fbb1774347942de1 Mon Sep 17 00:00:00 2001
-From: Markus Volk <[email protected]>
-Date: Wed, 24 Apr 2024 19:08:43 +0200
-Subject: [PATCH] gssdp-enums.c.template: use basename instead of filename
-
-This would prevent the build path from leaking into the source code.
-
-Signed-off-by: Markus Volk <[email protected]>
-
-Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/gssdp/-/merge_requests/13]
----
- libgssdp/gssdp-enums.c.template | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/libgssdp/gssdp-enums.c.template b/libgssdp/gssdp-enums.c.template
-index 600d426..2dfb859 100644
---- a/libgssdp/gssdp-enums.c.template
-+++ b/libgssdp/gssdp-enums.c.template
-@@ -3,8 +3,8 @@
- 
- /*** END file-header ***/
- /*** BEGIN file-production ***/
--/* enumerations from "@filename@" */
--#include "@filename@"
-+/* enumerations from "@basename@" */
-+#include "@basename@"
- /*** END file-production ***/
- /*** BEGIN value-header ***/
- GType
--- 
-2.44.0
-
meta-multimedia/recipes-connectivity/gupnp/gssdp_1.6.4.bb renamed from meta-multimedia/recipes-connectivity/gupnp/gssdp_1.6.3.bb +1 -4
similarity index 82%
rename from meta-multimedia/recipes-connectivity/gupnp/gssdp_1.6.3.bb
rename to meta-multimedia/recipes-connectivity/gupnp/gssdp_1.6.4.bb
index e6ea472709..b601037608 100644
@@ -6,10 +6,7 @@ BUGTRACKER = "https://gitlab.gnome.org/GNOME/gssdp/-/issues"
 LICENSE = "LGPL-2.1-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
 
-SRC_URI:append = " file://0001-gssdp-enums.c.template-use-basename-instead-of-filen.patch"
-SRC_URI[archive.sha256sum] = "2fedb5afdb22cf14d5498a39a773ca89788a250fcf70118783df821e1f3f3446"
-
-GTKDOC_MESON_OPTION = 'gtk_doc'
+SRC_URI[archive.sha256sum] = "ff97fdfb7f561d3e6813b4f6a2145259e7c2eff43cc0e63f3fd031d0b6266032"
 
 DEPENDS = " \
     glib-2.0 \
#1 lore raw

PATCH 2/8 gssdp: add ptest support

From: Gyorgy Sarvari <[email protected]>

It is quick, it finished under 20 seconds on my machine.

(cherry picked from commit 27865a96d576160a0e3a0fda6b7e604f19edbc6c)
---
 .../include/ptest-packagelists-meta-multimedia.inc   |  1 +
 .../recipes-connectivity/gupnp/gssdp/run-ptest       | 12 ++++++++++++
 .../recipes-connectivity/gupnp/gssdp_1.6.4.bb        |  9 ++++++++-
 3 files changed, 21 insertions(+), 1 deletion(-)
 create mode 100644 meta-multimedia/recipes-connectivity/gupnp/gssdp/run-ptest
meta-multimedia/conf/include/ptest-packagelists-meta-multimedia.inc +1 -0
index be347286fb..7eb06f98ba 100644
@@ -7,6 +7,7 @@
 # ptests which take less than ~30s each
 
 PTESTS_FAST_META_MULTIMEDIA = "\
+    gssdp \
     libopenmpt\
 "
 
meta-multimedia/recipes-connectivity/gupnp/gssdp/run-ptest new file +12 -0
new file mode 100644
index 0000000000..71693c56b2
@@ -0,0 +1,12 @@
+#!/bin/sh
+RET=0
+cd tests
+for t in *; do
+    if ./$t; then
+        echo PASS: $t
+    else
+        echo FAIL: $t
+        RET=1
+    fi
+done
+exit $RET
meta-multimedia/recipes-connectivity/gupnp/gssdp_1.6.4.bb +8 -1
index b601037608..94679ce28b 100644
@@ -6,6 +6,8 @@ BUGTRACKER = "https://gitlab.gnome.org/GNOME/gssdp/-/issues"
 LICENSE = "LGPL-2.1-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
 
+inherit gnomebase pkgconfig gobject-introspection vala gi-docgen features_check ptest
+SRC_URI += "file://run-ptest"
 SRC_URI[archive.sha256sum] = "ff97fdfb7f561d3e6813b4f6a2145259e7c2eff43cc0e63f3fd031d0b6266032"
 
 DEPENDS = " \
@@ -13,7 +15,6 @@ DEPENDS = " \
     libsoup-3.0 \
 "
 
-inherit gnomebase pkgconfig gobject-introspection vala gi-docgen features_check
 
 # manpages require pandoc-native
 EXTRA_OEMESON += "-Dmanpages=false"
@@ -27,4 +28,10 @@ REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('PACKAGECONFIG', 'sniffer', 'op
 
 PACKAGES =+ "gssdp-tools"
 
+do_install_ptest(){
+    install -d ${D}${PTEST_PATH}/tests
+    find ${B}/tests -type f -executable -exec install {} ${D}${PTEST_PATH}/tests \;
+}
+
 FILES:gssdp-tools = "${bindir}/gssdp* ${datadir}/gssdp/*.glade"
+
#2 lore raw

PATCH 3/8 gupnp: upgrade 1.6.6 -> 1.6.9

In reply to [email protected]

From: Gyorgy Sarvari <[email protected]>

Drop patch that was incorporated in this release.

Changelog:

1.6.9:
- Linux-CM: Fix a potential memory leak
- Fix documentation link for libsoup
- Fix unnecessary g_thread_unref in tests
- Fix issues with Since: in documentation
1.6.8:
- ServiceProxyAction: Remove some left-over debug output
- ServiceProxyAction: Stop leaking the HTTP response
- Docs: Fix various issues
- ServiceProxyAction: Add get_value_as()
- Linux-CM: Silence a false-positive with scan-build
1.6.7:
- Fix compatiblity with libxml2 2.12.x
- Improve reproducability
- ControlPoint: Fix re-scan
- ContextManager: Fix boot-id update
- Context: Fix crash if served URI is not an IP address

(cherry picked from commit dd108a46f88102a998a71c41f14ee6aec1ea90ea)
---
 ...mplate-use-basename-instead-of-filen.patch | 32 -------------------
 .../gupnp/{gupnp_1.6.6.bb => gupnp_1.6.9.bb}  |  5 +--
 2 files changed, 1 insertion(+), 36 deletions(-)
 delete mode 100644 meta-multimedia/recipes-connectivity/gupnp/gupnp/0001-gupnp-enums.c.template-use-basename-instead-of-filen.patch
 rename meta-multimedia/recipes-connectivity/gupnp/{gupnp_1.6.6.bb => gupnp_1.6.9.bb} (83%)
meta-multimedia/recipes-connectivity/gupnp/gupnp/0001-gupnp-enums.c.template-use-basename-instead-of-filen.patch deleted +0 -32
deleted file mode 100644
index 373eb4548e..0000000000
@@ -1,32 +0,0 @@
-From f875a0afe24fdebdefc46d132f6722dfcb55115a Mon Sep 17 00:00:00 2001
-From: Markus Volk <[email protected]>
-Date: Wed, 24 Apr 2024 18:52:45 +0200
-Subject: [PATCH] gupnp-enums.c.template: use @basename@ instead of @filename@
-
-This would prevent the build path from leaking into the source code.
-
-Signed-off-by: Markus Volk <[email protected]>
-
-Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/gupnp/-/merge_requests/36]
----
- libgupnp/gupnp-enums.c.template | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/libgupnp/gupnp-enums.c.template b/libgupnp/gupnp-enums.c.template
-index 3ce5fa4..a7ff89c 100644
---- a/libgupnp/gupnp-enums.c.template
-+++ b/libgupnp/gupnp-enums.c.template
-@@ -3,8 +3,8 @@
- 
- /*** END file-header ***/
- /*** BEGIN file-production ***/
--/* enumerations from "@filename@" */
--#include "@filename@"
-+/* enumerations from "@basename@" */
-+#include "@basename@"
- /*** END file-production ***/
- /*** BEGIN value-header ***/
- GType
--- 
-2.44.0
-
meta-multimedia/recipes-connectivity/gupnp/gupnp_1.6.9.bb renamed from meta-multimedia/recipes-connectivity/gupnp/gupnp_1.6.6.bb +1 -4
similarity index 83%
rename from meta-multimedia/recipes-connectivity/gupnp/gupnp_1.6.6.bb
rename to meta-multimedia/recipes-connectivity/gupnp/gupnp_1.6.9.bb
index 7d9b8a477f..ee980cd382 100644
@@ -6,10 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
 DEPENDS = "e2fsprogs gssdp libsoup-3.0 libxml2"
 
 inherit gnomebase pkgconfig vala gobject-introspection
-
-SRC_URI[archive.sha256sum] = "c9dc50e8c78b3792d1b0e6c5c5f52c93e9345d3dae2891e311a993a574f5a04f"
-SRC_URI += "file://0001-gupnp-enums.c.template-use-basename-instead-of-filen.patch"
-
+SRC_URI[archive.sha256sum] = "2edb6ee3613558e62f538735368aee27151b7e09d4e2e2c51606833da801869b"
 
 SYSROOT_PREPROCESS_FUNCS += "gupnp_sysroot_preprocess"
 
#3 lore raw

PATCH 4/8 gupnp: add ptest support

In reply to [email protected]

From: Gyorgy Sarvari <[email protected]>

It takes almost 50 seconds on my machine to execute.

(cherry picked from commit e7878d69abd4d1cfaad3f5e5ba9cf7ad00f136bd)
---
 .../include/ptest-packagelists-meta-multimedia.inc |  1 +
 .../recipes-connectivity/gupnp/gupnp/run-ptest     | 12 ++++++++++++
 .../recipes-connectivity/gupnp/gupnp_1.6.9.bb      | 14 +++++++++++++-
 3 files changed, 26 insertions(+), 1 deletion(-)
 create mode 100644 meta-multimedia/recipes-connectivity/gupnp/gupnp/run-ptest
meta-multimedia/conf/include/ptest-packagelists-meta-multimedia.inc +1 -0
index 7eb06f98ba..081ace6d22 100644
@@ -12,6 +12,7 @@ PTESTS_FAST_META_MULTIMEDIA = "\
 "
 
 PTESTS_SLOW_META_MULTIMEDIA = "\
+    gupnp \
 "
 
 PTESTS_PROBLEMS_META_MULTIMEDIA = "\
meta-multimedia/recipes-connectivity/gupnp/gupnp/run-ptest new file +12 -0
new file mode 100644
index 0000000000..2efcbcb773
@@ -0,0 +1,12 @@
+#!/bin/sh
+RET=0
+cd tests
+for t in $(find . -type f -executable -maxdepth 1); do
+    if ./$t; then
+        echo PASS: $t
+    else
+        echo FAIL: $t
+        RET=1
+    fi
+done
+exit $RET
meta-multimedia/recipes-connectivity/gupnp/gupnp_1.6.9.bb +13 -1
index ee980cd382..e2bfcb5ed7 100644
@@ -5,7 +5,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
 
 DEPENDS = "e2fsprogs gssdp libsoup-3.0 libxml2"
 
-inherit gnomebase pkgconfig vala gobject-introspection
+inherit gnomebase pkgconfig vala gobject-introspection ptest
+SRC_URI += "file://run-ptest"
 SRC_URI[archive.sha256sum] = "2edb6ee3613558e62f538735368aee27151b7e09d4e2e2c51606833da801869b"
 
 SYSROOT_PREPROCESS_FUNCS += "gupnp_sysroot_preprocess"
@@ -18,3 +19,14 @@ gupnp_sysroot_preprocess () {
 FILES:${PN}-dev += "${bindir}/gupnp-binding-tool*"
 
 RDEPENDS:${PN}-dev += "python3-core python3-xml"
+
+do_configure:prepend(){
+    # change the test-datadir from source-folder to ptest-folder
+    sed -i "s!\(-DDATA_PATH=\"\).*!\1${PTEST_PATH}/tests/data\"',!" ${S}/tests/meson.build
+}
+
+do_install_ptest(){
+    install -d ${D}${PTEST_PATH}/tests
+    find ${B}/tests -type f -executable -exec install {} ${D}${PTEST_PATH}/tests/ \;
+    cp -r ${S}/tests/data ${D}${PTEST_PATH}/tests/
+}
#4 lore raw

PATCH 5/8 gupnp-av: upgrade 0.14.1 -> 0.14.4

In reply to [email protected]

From: Gyorgy Sarvari <[email protected]>

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

(cherry picked from commit b8d9e45b6912800c0d78f3cc6b53160cec79f28c)
---
 .../0001-all-Drop-xmlRecoverMemory.patch      | 44 -------------------
 ...{gupnp-av_0.14.1.bb => gupnp-av_0.14.4.bb} |  8 ++--
 2 files changed, 3 insertions(+), 49 deletions(-)
 delete mode 100644 meta-multimedia/recipes-connectivity/gupnp/gupnp-av/0001-all-Drop-xmlRecoverMemory.patch
 rename meta-multimedia/recipes-connectivity/gupnp/{gupnp-av_0.14.1.bb => gupnp-av_0.14.4.bb} (51%)
meta-multimedia/recipes-connectivity/gupnp/gupnp-av/0001-all-Drop-xmlRecoverMemory.patch deleted +0 -44
deleted file mode 100644
index 92b52ad98a..0000000000
@@ -1,44 +0,0 @@
-From d99f71a4a52da7582d5e26992a1ab303b280d28a Mon Sep 17 00:00:00 2001
-From: Khem Raj <[email protected]>
-Date: Fri, 30 Jun 2023 03:23:12 -0700
-Subject: [PATCH] Drop xmlRecoverMemory
-
-newer libxml has deprecated xmlRecoverMemory therefore replace it with xmlReadMemory
-
-Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/gupnp/-/commit/80e68995b745a5900eaaa1d0c424d3a9d354e42d]
-
-Signed-off-by: Khem Raj <[email protected]>
----
- gupnp-didl-lite-parser.c    | 2 +-
- gupnp-feature-list-parser.c | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/gupnp-didl-lite-parser.c b/gupnp-didl-lite-parser.c
-index 3a5727f..840d718 100644
---- a/libgupnp-av/gupnp-didl-lite-parser.c
-+++ b/libgupnp-av/gupnp-didl-lite-parser.c
-@@ -230,7 +230,7 @@ gupnp_didl_lite_parser_parse_didl_recursive (GUPnPDIDLLiteParser *parser,
-         GUPnPAVXMLDoc *xml_doc = NULL;
-         gboolean       result;
- 
--        doc = xmlRecoverMemory (didl, strlen (didl));
-+        doc = xmlReadMemory (didl, strlen (didl), NULL, NULL, XML_PARSE_NONET | XML_PARSE_RECOVER);
-         if (doc == NULL) {
-                 g_set_error (error,
-                              G_MARKUP_ERROR,
-diff --git a/gupnp-feature-list-parser.c b/gupnp-feature-list-parser.c
-index 16208b5..f804fe7 100644
---- a/libgupnp-av/gupnp-feature-list-parser.c
-+++ b/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_NONET | XML_PARSE_RECOVER);
-         if (doc == NULL) {
-                 g_set_error (error,
-                              G_MARKUP_ERROR,
--- 
-2.41.0
-
meta-multimedia/recipes-connectivity/gupnp/gupnp-av_0.14.4.bb renamed from meta-multimedia/recipes-connectivity/gupnp/gupnp-av_0.14.1.bb +3 -5
similarity index 51%
rename from meta-multimedia/recipes-connectivity/gupnp/gupnp-av_0.14.1.bb
rename to meta-multimedia/recipes-connectivity/gupnp/gupnp-av_0.14.4.bb
index 2a5c0808ee..21f0449762 100644
@@ -6,9 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
 
 DEPENDS = "gupnp"
 
-inherit meson pkgconfig gobject-introspection vala
+inherit gi-docgen meson pkgconfig gobject-introspection vala
 
-SRC_URI = "${GNOME_MIRROR}/${BPN}/0.14/${BPN}-${PV}.tar.xz \
-           file://0001-all-Drop-xmlRecoverMemory.patch \
-          "
-SRC_URI[sha256sum] = "b79ce0cc4b0c66d9c54bc22183a10e5709a0011d2af272025948efcab33a3e4f"
+SRC_URI = "${GNOME_MIRROR}/${BPN}/0.14/${BPN}-${PV}.tar.xz"
+SRC_URI[sha256sum] = "21d974b3275cb5dcf5b8aa1d9a3fc80e7edca706935f6fbd004c79787138f8c7"
#5 lore raw

PATCH 6/8 gupnp-av: add ptest support

In reply to [email protected]

From: Gyorgy Sarvari <[email protected]>

It takes around a second to execute the suite.

(cherry picked from commit 65c2f6de55fa662bce0281046ed3f291c414ff82)
---
 .../ptest-packagelists-meta-multimedia.inc    |  1 +
 .../gupnp/gupnp-av/run-ptest                  | 12 +++++++++++
 .../gupnp/gupnp-av_0.14.4.bb                  | 21 +++++++++++++++++--
 3 files changed, 32 insertions(+), 2 deletions(-)
 create mode 100644 meta-multimedia/recipes-connectivity/gupnp/gupnp-av/run-ptest
meta-multimedia/conf/include/ptest-packagelists-meta-multimedia.inc +1 -0
index 081ace6d22..ec10edfb83 100644
@@ -8,6 +8,7 @@
 
 PTESTS_FAST_META_MULTIMEDIA = "\
     gssdp \
+    gupnp-av \
     libopenmpt\
 "
 
meta-multimedia/recipes-connectivity/gupnp/gupnp-av/run-ptest new file +12 -0
new file mode 100644
index 0000000000..0f7504cd3b
@@ -0,0 +1,12 @@
+#!/bin/sh
+RET=0
+cd tests
+for t in $(find . -type f -executable); do
+    if ./$t; then
+        echo PASS: $t
+    else
+        echo FAIL: $t
+        RET=1
+    fi
+done
+exit $RET
meta-multimedia/recipes-connectivity/gupnp/gupnp-av_0.14.4.bb +19 -2
index 21f0449762..28e65e1bfa 100644
@@ -6,7 +6,24 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
 
 DEPENDS = "gupnp"
 
-inherit gi-docgen meson pkgconfig gobject-introspection vala
+inherit gi-docgen meson pkgconfig gobject-introspection vala ptest
 
-SRC_URI = "${GNOME_MIRROR}/${BPN}/0.14/${BPN}-${PV}.tar.xz"
+SRC_URI = "${GNOME_MIRROR}/${BPN}/0.14/${BPN}-${PV}.tar.xz \
+           file://run-ptest"
 SRC_URI[sha256sum] = "21d974b3275cb5dcf5b8aa1d9a3fc80e7edca706935f6fbd004c79787138f8c7"
+
+do_configure:prepend(){
+    # set ABS_TOP_SRCDIR to ${PTEST_PATH instead of the source-dir on the host}
+    sed -i "s!\(-DABS_TOP_SRCDIR=\"\).*!\1${PTEST_PATH}/tests\"'],!" ${S}/tests/meson.build
+    # same for DATA_PATH in the other test folder
+    sed -i "s!\(-DDATA_PATH=\"\).*!\1${PTEST_PATH}/tests\"']!" ${S}/tests/gtest/meson.build
+}
+
+do_install_ptest(){
+    cd ${B}/tests
+    find . -type f -executable -exec install -D {} ${D}${PTEST_PATH}/tests/{} \;
+    cp -r ${S}/tests/gtest/data ${D}${PTEST_PATH}/tests
+
+    # this test is not enabled for execution in 0.14.4 in meson.build
+    rm ${D}${PTEST_PATH}/tests/test-search-criteria-parser
+}
#6 lore raw

PATCH 7/8 gupnp-igd: add ptest support

In reply to [email protected]

From: Gyorgy Sarvari <[email protected]>

Execution takes around 10 seconds.

(cherry picked from commit 8353697d83bc8d916c440950f9dfcf4c49ff9d42)
---
 .../include/ptest-packagelists-meta-multimedia.inc  |  1 +
 .../recipes-connectivity/gupnp/gupnp-igd/run-ptest  | 13 +++++++++++++
 .../recipes-connectivity/gupnp/gupnp-igd_1.6.0.bb   | 11 ++++++++++-
 3 files changed, 24 insertions(+), 1 deletion(-)
 create mode 100644 meta-multimedia/recipes-connectivity/gupnp/gupnp-igd/run-ptest
meta-multimedia/conf/include/ptest-packagelists-meta-multimedia.inc +1 -0
index ec10edfb83..eb8d4ffe89 100644
@@ -9,6 +9,7 @@
 PTESTS_FAST_META_MULTIMEDIA = "\
     gssdp \
     gupnp-av \
+    gupnp-igd \
     libopenmpt\
 "
 
meta-multimedia/recipes-connectivity/gupnp/gupnp-igd/run-ptest new file +13 -0
new file mode 100644
index 0000000000..05aa2a9b3a
@@ -0,0 +1,13 @@
+#!/bin/sh
+RET=0
+
+cd test
+for t in $(find . -type f -executable); do
+    if ./$t; then
+        echo PASS: $t
+    else
+        echo FAIL: $t
+        RET=1
+    fi
+done
+exit $RET
meta-multimedia/recipes-connectivity/gupnp/gupnp-igd_1.6.0.bb +10 -1
index d8dbc262cd..307d912483 100644
@@ -5,8 +5,17 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
 
 DEPENDS = "glib-2.0 gssdp gupnp"
 
-inherit gnomebase pkgconfig gtk-doc gobject-introspection
+inherit gnomebase pkgconfig gtk-doc gobject-introspection ptest
 
+SRC_URI += "file://run-ptest"
 SRC_URI[archive.sha256sum] = "4099978339ab22126d4968f2a332b6d094fc44c78797860781f1fc2f11771b74"
 
 GTKDOC_MESON_OPTION = "gtk_doc"
+
+do_install_ptest(){
+    cd ${B}/tests/gtest
+    for t in $(find . -type f -executable); do
+        install -D $t ${D}${PTEST_PATH}/test/$t
+    done
+    install -m 0644 ${S}/tests/gtest/*.xml ${D}${PTEST_PATH}/test/
+}
#7 lore raw

PATCH 8/8 gupnp-tools: upgrade 0.12.1 -> 0.12.2

In reply to [email protected]

From: Gyorgy Sarvari <[email protected]>

Changelog:
- Common:
- Remove deprecated libxml calls
- AV CP:
- Remove some stray debug output
- EventDumper:
- Code cleanup
- Uploader:
- Fix parsing the Browse result

(cherry picked from commit 25540bf356b601a4fa6f49c6f935f49f899c616a)
---
 .../gupnp/{gupnp-tools_0.12.1.bb => gupnp-tools_0.12.2.bb}      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-multimedia/recipes-connectivity/gupnp/{gupnp-tools_0.12.1.bb => gupnp-tools_0.12.2.bb} (84%)
meta-multimedia/recipes-connectivity/gupnp/gupnp-tools_0.12.2.bb renamed from meta-multimedia/recipes-connectivity/gupnp/gupnp-tools_0.12.1.bb +1 -1
similarity index 84%
rename from meta-multimedia/recipes-connectivity/gupnp/gupnp-tools_0.12.1.bb
rename to meta-multimedia/recipes-connectivity/gupnp/gupnp-tools_0.12.2.bb
index 4f6ff3fb97..739e3885c2 100644
@@ -8,7 +8,7 @@ inherit gnomebase features_check pkgconfig gettext gtk-icon-cache
 
 ANY_OF_DISTRO_FEATURES = "x11 wayland"
 
-SRC_URI[archive.sha256sum] = "53cf93123f397e8f8f0b8e9e4364c86a7502a5334f4c0be2e054a824478bd5ba"
+SRC_URI[archive.sha256sum] = "4c92f2d1a3d454ec1f5fb05ef08ca34df9c743af64c8b5965c35884d46cb005c"
 
 PACKAGECONFIG ??= "av-tools"
 PACKAGECONFIG[av-tools] = "-Dav-tools=true,-Dav-tools=false,gupnp-av"