[packages/gupnp] - updated to 1.4.2 - added man patch to unblock man building

qboosh qboosh at pld-linux.org
Sun Jan 9 19:55:38 CET 2022


commit 9d51683b23de2fd5fecb794d7ce9c2d56b1e5727
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Jan 9 19:56:40 2022 +0100

    - updated to 1.4.2
    - added man patch to unblock man building

 gupnp-man.patch | 12 ++++++++++++
 gupnp.spec      |  8 ++++++--
 2 files changed, 18 insertions(+), 2 deletions(-)
---
diff --git a/gupnp.spec b/gupnp.spec
index 5e967c6..4e38df0 100644
--- a/gupnp.spec
+++ b/gupnp.spec
@@ -7,15 +7,17 @@ Summary:	UPnP library based on GObject and libsoup
 Summary(pl.UTF-8):	Biblioteka UPnP oparta na bibliotekach GObject i libsoup
 Name:		gupnp
 # note: 1.4.x is stable, 1.5.x unstable
-Version:	1.4.1
+Version:	1.4.2
 Release:	1
 License:	LGPL v2+
 Group:		Libraries
 Source0:	https://download.gnome.org/sources/gupnp/1.4/%{name}-%{version}.tar.xz
-# Source0-md5:	0d99c1e9ee88d43f4b72a7f9d5c8e55e
+# Source0-md5:	2b0bc9200a221905a32357edec12e5e2
+Patch0:		%{name}-man.patch
 URL:		https://wiki.gnome.org/Projects/GUPnP
 BuildRequires:	docbook-dtd412-xml
 BuildRequires:	docbook-dtd44-xml
+BuildRequires:	docbook-style-xsl
 BuildRequires:	glib2-devel >= 1:2.66
 BuildRequires:	gobject-introspection-devel >= 1.36.0
 BuildRequires:	gssdp-devel >= 1.3.0
@@ -23,6 +25,7 @@ BuildRequires:	gssdp-devel >= 1.3.0
 BuildRequires:	libsoup-devel >= 2.48.0
 BuildRequires:	libuuid-devel >= 1.36
 BuildRequires:	libxml2-devel >= 1:2.6.30
+BuildRequires:	libxslt-progs
 BuildRequires:	meson >= 0.54.0
 BuildRequires:	ninja >= 1.5
 BuildRequires:	pkgconfig
@@ -112,6 +115,7 @@ API języka Vala dla biblioteki gupnp.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %{__sed} -i -e '1s,/usr/bin/env python3,%{__python3},' tools/gupnp-binding-tool-1.2
 
diff --git a/gupnp-man.patch b/gupnp-man.patch
new file mode 100644
index 0000000..026463a
--- /dev/null
+++ b/gupnp-man.patch
@@ -0,0 +1,12 @@
+`xsltproc --nowrite` exists with code 9, thus failing check
+
+--- gupnp-1.4.2/doc/meson.build.orig	2022-01-08 11:01:21.196516000 +0100
++++ gupnp-1.4.2/doc/meson.build	2022-01-09 19:53:11.985709784 +0100
+@@ -66,7 +66,6 @@ if xsltproc.found()
+             xsltproc,
+             xlstproc_flags,
+             '--noout',
+-            '--nowrite',
+             stylesheet,
+             'gupnp-binding-tool.xml'
+         ]
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gupnp.git/commitdiff/9d51683b23de2fd5fecb794d7ce9c2d56b1e5727



More information about the pld-cvs-commit mailing list