Skip to contentSkip to conversation

gupnp-igd: add ptest support

PATCH Superseded Gyorgy Sarvari 1 participant 3 messages Dec 5, 2025

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 gupnp-igd: add ptest support

Execution takes around 10 seconds.

---
 .../include/ptest-packagelists-meta-multimedia.inc  |  1 +
 .../recipes-connectivity/gupnp/gupnp-igd/run-ptest  | 13 +++++++++++++
 .../recipes-connectivity/gupnp/gupnp-igd_1.6.0.bb   |  8 +++++++-
 3 files changed, 21 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 +7 -1
index d8dbc262cd..f6cbb82352 100644
@@ -5,8 +5,14 @@ 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(){
+    find ${B}/tests/gtest -type f -executable -exec install -D {} ${D}${PTEST_PATH}/test/$(basename {}) \;
+    install -m 0644 ${S}/tests/gtest/*.xml ${D}${PTEST_PATH}/test/
+}
#1 lore raw

PATCH 2/3 gupnp-tools: upgrade 0.12.1 -> 0.12.2

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

---
 .../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"
#2 lore raw

PATCH 3/3 libupnp: upgrade 1.14.18 -> 1.14.25

In reply to Gyorgy Sarvari

Changelogs:
https://github.com/pupnp/pupnp/releases/tag/release-1.14.25
https://github.com/pupnp/pupnp/releases/tag/release-1.14.24
https://github.com/pupnp/pupnp/releases/tag/release-1.14.23
https://github.com/pupnp/pupnp/releases/tag/release-1.14.22
https://github.com/pupnp/pupnp/releases/tag/release-1.14.21
https://github.com/pupnp/pupnp/releases/tag/release-1.14.20
https://github.com/pupnp/pupnp/releases/tag/release-1.14.19

---
 .../libupnp/{libupnp_1.14.18.bb => libupnp_1.14.25.bb}        | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-multimedia/recipes-connectivity/libupnp/{libupnp_1.14.18.bb => libupnp_1.14.25.bb} (90%)
meta-multimedia/recipes-connectivity/libupnp/libupnp_1.14.25.bb renamed from meta-multimedia/recipes-connectivity/libupnp/libupnp_1.14.18.bb +2 -2
similarity index 90%
rename from meta-multimedia/recipes-connectivity/libupnp/libupnp_1.14.18.bb
rename to meta-multimedia/recipes-connectivity/libupnp/libupnp_1.14.25.bb
index 5a42fc760c..bcecfd3b8e 100644
@@ -8,8 +8,8 @@ HOMEPAGE = "http://pupnp.sourceforge.net/"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://COPYING;md5=394a0f17b97f33426275571e15920434"
 
-SRCREV = "c540ce2431bdeac73359029d4592b45790e1d154"
-SRC_URI = "git://github.com/pupnp/pupnp.git;protocol=https;branch=branch-1.14.x \
+SRCREV = "da7cf950f22357545061961b7e5610e08690b0cf"
+SRC_URI = "git://github.com/pupnp/pupnp.git;protocol=https;branch=branch-1.14.x;tag=release-${PV} \
           "