[packages/gupnp-ui] - added gupnp patch (adjust for gupnp-1.2); release 2

qboosh qboosh at pld-linux.org
Wed Apr 17 12:19:20 CEST 2019


commit 34dee0f654da5f1929486c85456d6c3787114ad6
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Apr 17 12:19:15 2019 +0200

    - added gupnp patch (adjust for gupnp-1.2); release 2

 gupnp-ui-gupnp.patch | 33 +++++++++++++++++++++++++++++++++
 gupnp-ui.spec        | 10 ++++++----
 2 files changed, 39 insertions(+), 4 deletions(-)
---
diff --git a/gupnp-ui.spec b/gupnp-ui.spec
index 7014e7f..0fb9346 100644
--- a/gupnp-ui.spec
+++ b/gupnp-ui.spec
@@ -6,21 +6,22 @@ Summary:	GUPnP-UI - a collection of GTK+ widgets on top of GUPnP
 Summary(pl.UTF-8):	GUPnP-UI - widgety GTK+ dla biblioteki GUPnP
 Name:		gupnp-ui
 Version:	0.1.1
-Release:	1
+Release:	2
 License:	LGPL v2+
 Group:		X11/Libraries
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/gupnp-ui/0.1/%{name}-%{version}.tar.gz
 # Source0-md5:	5ca6b3f6740d0295066b0b533289aa4c
+Patch0:		%{name}-gupnp.patch
 URL:		http://gupnp.org/
 BuildRequires:	autoconf >= 2.53
 BuildRequires:	automake
 BuildRequires:	docbook-dtd412-xml
 BuildRequires:	gtk-doc >= 1.0
 BuildRequires:	gtk+2-devel >= 2.0
-BuildRequires:	gupnp-devel >= 0.3
+BuildRequires:	gupnp-devel >= 1.2
 BuildRequires:	libtool
 BuildRequires:	pkgconfig
-Requires:	gupnp >= 0.3
+Requires:	gupnp >= 1.2
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -36,7 +37,7 @@ Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki GUPnP-UI
 Group:		X11/Development/Libraries
 Requires:	%{name} = %{version}-%{release}
 Requires:	gtk+2-devel >= 2.0
-Requires:	gupnp-devel >= 0.3
+Requires:	gupnp-devel >= 1.2
 
 %description devel
 Header files for GUPnP-UI library.
@@ -70,6 +71,7 @@ Dokumentacja API biblioteki GUPnP-UI.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__gtkdocize}
diff --git a/gupnp-ui-gupnp.patch b/gupnp-ui-gupnp.patch
new file mode 100644
index 0000000..9a93308
--- /dev/null
+++ b/gupnp-ui-gupnp.patch
@@ -0,0 +1,33 @@
+--- gupnp-ui-0.1.1/configure.ac.orig	2008-09-27 20:41:49.000000000 +0200
++++ gupnp-ui-0.1.1/configure.ac	2019-04-17 11:26:52.301643276 +0200
+@@ -10,7 +10,7 @@
+ AC_STDC_HEADERS
+ AC_PROG_LIBTOOL
+ 
+-PKG_CHECK_MODULES(LIBGUPNP_UI, gupnp-1.0 >= 0.3 gtk+-2.0)
++PKG_CHECK_MODULES(LIBGUPNP_UI, gupnp-1.2 >= 0.3 gssdp-1.2 gtk+-2.0)
+ 
+ PKG_CHECK_MODULES(GTHREAD, gthread-2.0)
+ 
+--- gupnp-ui-0.1.1/gupnp-ui-1.0.pc.in.orig	2007-08-15 09:49:00.000000000 +0200
++++ gupnp-ui-0.1.1/gupnp-ui-1.0.pc.in	2019-04-17 11:27:08.411556002 +0200
+@@ -8,4 +8,4 @@
+ Version: @VERSION@
+ Libs: -L${libdir} -lgupnp-ui-1.0
+ Cflags: -I${includedir}/gupnp-ui-1.0
+-Requires: gupnp-1.0 gtk+-2.0
++Requires: gupnp-1.2 gtk+-2.0
+--- gupnp-ui-0.1.1/tests/test-view.c.orig	2008-09-27 19:40:21.000000000 +0200
++++ gupnp-ui-0.1.1/tests/test-view.c	2019-04-17 11:32:25.969835641 +0200
+@@ -43,9 +43,9 @@
+ 
+         /* Create UPnP-related objects */
+         error = NULL;
+-        context = gupnp_context_new (NULL, NULL, 0, &error);
++        context = gupnp_context_new (NULL, 0, &error);
+         if (error) {
+-                g_error (error->message);
++                g_error ("%s", error->message);
+                 g_error_free (error);
+ 
+                 return 1;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gupnp-ui.git/commitdiff/34dee0f654da5f1929486c85456d6c3787114ad6



More information about the pld-cvs-commit mailing list