diff --git a/srcpkgs/gupnp/patches/fix-tests.patch b/srcpkgs/gupnp/patches/fix-tests.patch new file mode 100644 index 00000000000..14ae7057d9b --- /dev/null +++ b/srcpkgs/gupnp/patches/fix-tests.patch @@ -0,0 +1,44 @@ +Don't call g_thread_unref after g_thread_join, g_thread_join already calls g_thread_unref. +https://docs.gtk.org/glib/struct.Thread.html + +From 3990212ac5e22ed8f9f6f83c76de0ec3651564c9 Mon Sep 17 00:00:00 2001 +From: Jens Georg +Date: Sat, 29 Mar 2025 12:29:48 +0100 +Subject: [PATCH] tests: Remove unnecessary g_thread_unref + +--- + tests/test-service-proxy.c | 4 ---- + 1 file changed, 4 deletions(-) + +diff --git a/tests/test-service-proxy.c b/tests/test-service-proxy.c +index cc3c613..988e0e6 100644 +--- a/tests/test-service-proxy.c ++++ b/tests/test-service-proxy.c +@@ -517,8 +517,6 @@ test_sync_call (ProxyTestFixture *tf, gconstpointer user_data) + // Spin the loop for a bit... + g_timeout_add (500, (GSourceFunc) delayed_loop_quitter, tf->loop); + g_main_loop_run (tf->loop); +- +- g_thread_unref (t); + } + + gboolean +@@ -562,7 +560,6 @@ test_cancel_sync_call (ProxyTestFixture *tf, gconstpointer user_data) + // Spin the loop for a bit... + g_timeout_add (500, (GSourceFunc) delayed_loop_quitter, tf->loop); + g_main_loop_run (tf->loop); +- g_thread_unref (t); + g_object_unref (d.cancellable); + } + +@@ -642,7 +639,6 @@ test_finish_soap_error_sync (ProxyTestFixture *tf, gconstpointer user_data) + // Spin the loop for a bit... + g_timeout_add (500, (GSourceFunc) delayed_loop_quitter, tf->loop); + g_main_loop_run (tf->loop); +- g_thread_unref (t); + } + + void +-- +GitLab + diff --git a/srcpkgs/gupnp/template b/srcpkgs/gupnp/template index ce9c2efbac2..231d203b132 100644 --- a/srcpkgs/gupnp/template +++ b/srcpkgs/gupnp/template @@ -1,6 +1,6 @@ # Template file for 'gupnp' pkgname=gupnp -version=1.6.6 +version=1.6.8 revision=1 build_style=meson build_helper="gir" @@ -14,7 +14,7 @@ license="LGPL-2.1-or-later" homepage="https://wiki.gnome.org/Projects/GUPnP" changelog="https://gitlab.gnome.org/GNOME/gupnp/-/raw/master/NEWS" distfiles="${GNOME_SITE}/gupnp/${version%.*}/gupnp-${version}.tar.xz" -checksum=c9dc50e8c78b3792d1b0e6c5c5f52c93e9345d3dae2891e311a993a574f5a04f +checksum=70a003cebd68577293fb3e6af49ff902203bf8768b2fc5d651ddc1f0fa1e11e9 build_options="gir" build_options_default="gir"