[packages/gupnp] Rel 4; build fixes
arekm
arekm at pld-linux.org
Tue Jul 15 16:04:03 CEST 2025
commit e7b0c432632c35fe2f0b6efbbac6f105887b46cf
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Jul 15 16:03:44 2025 +0200
Rel 4; build fixes
gupnp.spec | 4 +++-
meson.patch | 21 +++++++++++++++++++++
2 files changed, 24 insertions(+), 1 deletion(-)
---
diff --git a/gupnp.spec b/gupnp.spec
index 8201f06..2891bd4 100644
--- a/gupnp.spec
+++ b/gupnp.spec
@@ -8,11 +8,12 @@ Summary(pl.UTF-8): Biblioteka UPnP oparta na bibliotekach GObject i libsoup
Name: gupnp
# note: 1.4.x is stable libsoup 2.x based version; for libsoup3 based 1.6+ see gupnp1.6.spec
Version: 1.4.4
-Release: 3
+Release: 4
License: LGPL v2+
Group: Libraries
Source0: https://download.gnome.org/sources/gupnp/1.4/%{name}-%{version}.tar.xz
# Source0-md5: f73c965454a5a37c1b18ca8a11bebbbf
+Patch0: meson.patch
URL: https://wiki.gnome.org/Projects/GUPnP
BuildRequires: docbook-dtd412-xml
BuildRequires: docbook-dtd44-xml
@@ -115,6 +116,7 @@ API języka Vala dla biblioteki gupnp.
%prep
%setup -q
+%patch -P0 -p1
%{__sed} -i -e '1s,/usr/bin/env python3,%{__python3},' tools/gupnp-binding-tool-1.2
diff --git a/meson.patch b/meson.patch
new file mode 100644
index 0000000..5da35c9
--- /dev/null
+++ b/meson.patch
@@ -0,0 +1,21 @@
+diff -ur gupnp-1.4.4.org/subprojects/gssdp-1.2.wrap gupnp-1.4.4/subprojects/gssdp-1.2.wrap
+--- gupnp-1.4.4.org/subprojects/gssdp-1.2.wrap 2022-11-09 12:25:35.000000000 +0100
++++ gupnp-1.4.4/subprojects/gssdp-1.2.wrap 2025-07-15 16:00:38.242911829 +0200
+@@ -3,6 +3,4 @@
+ revision = gssdp-1.4
+ depth = 1
+
+-[provides]
+-dependency_name = gssdp-1.2
+
+Only in gupnp-1.4.4/subprojects: gssdp-1.2.wrap~
+--- gupnp-1.4.4.org/meson.build 2022-11-09 12:25:35.000000000 +0100
++++ gupnp-1.4.4/meson.build 2025-07-15 16:03:04.326616033 +0200
+@@ -25,7 +25,6 @@ conf.set('HAVE_LINUX_WIRELESS_H', cc.has
+ conf.set('HAVE_IFA_FLAGS', ifa_flags_exists)
+
+ glib_version = '2.66'
+-add_project_arguments(cc.get_supported_arguments('-Werror=deprecated-declarations'), language: 'c')
+ conf.set('GLIB_VERSION_MIN_REQUIRED', 'GLIB_VERSION_' + glib_version.underscorify())
+ conf.set('GLIB_VERSION_MAX_ALLOWED', 'GLIB_VERSION_' + glib_version.underscorify())
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gupnp.git/commitdiff/e7b0c432632c35fe2f0b6efbbac6f105887b46cf
More information about the pld-cvs-commit
mailing list