[packages/caja-extensions] - added gupnp patch (prepare for gupnp-1.2)

qboosh qboosh at pld-linux.org
Mon May 20 20:57:53 CEST 2019


commit 20b30299c0758b6b4a8ac38981d3d03ded559cd8
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon May 20 20:58:36 2019 +0200

    - added gupnp patch (prepare for gupnp-1.2)

 caja-extensions-gupnp.patch | 13 +++++++++++++
 caja-extensions.spec        |  2 ++
 2 files changed, 15 insertions(+)
---
diff --git a/caja-extensions.spec b/caja-extensions.spec
index cb7c6bf..44da951 100644
--- a/caja-extensions.spec
+++ b/caja-extensions.spec
@@ -7,6 +7,7 @@ License:	GPL v2+
 Group:		X11/Applications
 Source0:	http://pub.mate-desktop.org/releases/1.22/%{name}-%{version}.tar.xz
 # Source0-md5:	7090545d9cd493681b656ea566fb392a
+Patch0:		%{name}-gupnp.patch
 URL:		http://mate-desktop.org/
 BuildRequires:	autoconf >= 2.53
 BuildRequires:	automake >= 1:1.9
@@ -270,6 +271,7 @@ Rozszerzenie xattr tags dla zarządcy plików Caja ze środowiska MATE.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__gtkdocize}
diff --git a/caja-extensions-gupnp.patch b/caja-extensions-gupnp.patch
new file mode 100644
index 0000000..2d1887b
--- /dev/null
+++ b/caja-extensions-gupnp.patch
@@ -0,0 +1,13 @@
+--- caja-extensions-1.22.0/configure.ac.orig	2019-02-25 14:25:14.000000000 +0100
++++ caja-extensions-1.22.0/configure.ac	2019-05-20 20:57:04.237355843 +0200
+@@ -196,8 +196,10 @@
+             fi
+             ;;
+             upnp)
++                PKG_CHECK_MODULES(UPNP, gupnp-1.2 >= $GUPNP_REQUIRED, enable_upnp=yes, [
+                 PKG_CHECK_MODULES(UPNP, gupnp-1.0 >= $GUPNP_REQUIRED,
+                     enable_upnp=yes, enable_upnp=no)
++		])
+                 if test "${enable_upnp}" != "yes" ; then
+                     sendto_plugin_error_or_ignore "you need gupnp installed to build the upnp plugin"
+                     add_sendto_plugin="0"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/caja-extensions.git/commitdiff/20b30299c0758b6b4a8ac38981d3d03ded559cd8



More information about the pld-cvs-commit mailing list