caja-extensions 1.26.1-2 (aarch64;znver1;x86_64) 2023-17217
9999

Status published
Submitter mandian [@T] tutanota.com
Platform rolling
Repository unsupported
URL https://abf.openmandriva.org/build_lists/287448
Packages
caja-extensions-1.26.1-2.aarch64.source
caja-extensions-common-1.26.1-2.aarch64.binary
caja-extensions-debuginfo-1.26.1-2.aarch64.debuginfo
caja-extensions-debugsource-1.26.1-2.aarch64.binary
caja-image-converter-1.26.1-2.aarch64.binary
caja-image-converter-debuginfo-1.26.1-2.aarch64.debuginfo
caja-open-terminal-1.26.1-2.aarch64.binary
caja-open-terminal-debuginfo-1.26.1-2.aarch64.debuginfo
caja-sendto-1.26.1-2.aarch64.binary
caja-sendto-debuginfo-1.26.1-2.aarch64.debuginfo
caja-sendto-devel-1.26.1-2.aarch64.binary
caja-sendto-pidgin-1.26.1-2.aarch64.binary
caja-sendto-pidgin-debuginfo-1.26.1-2.aarch64.debuginfo
caja-share-1.26.1-2.aarch64.binary
caja-share-debuginfo-1.26.1-2.aarch64.debuginfo
caja-wallpaper-1.26.1-2.aarch64.binary
caja-wallpaper-debuginfo-1.26.1-2.aarch64.debuginfo
caja-xattr-tags-1.26.1-2.aarch64.binary
caja-xattr-tags-debuginfo-1.26.1-2.aarch64.debuginfo
caja-extensions-1.26.1-2.znver1.source
caja-extensions-common-1.26.1-2.znver1.binary
caja-extensions-debuginfo-1.26.1-2.znver1.debuginfo
caja-extensions-debugsource-1.26.1-2.znver1.binary
caja-image-converter-1.26.1-2.znver1.binary
caja-image-converter-debuginfo-1.26.1-2.znver1.debuginfo
caja-open-terminal-1.26.1-2.znver1.binary
caja-open-terminal-debuginfo-1.26.1-2.znver1.debuginfo
caja-sendto-1.26.1-2.znver1.binary
caja-sendto-debuginfo-1.26.1-2.znver1.debuginfo
caja-sendto-devel-1.26.1-2.znver1.binary
caja-sendto-pidgin-1.26.1-2.znver1.binary
caja-sendto-pidgin-debuginfo-1.26.1-2.znver1.debuginfo
caja-share-1.26.1-2.znver1.binary
caja-share-debuginfo-1.26.1-2.znver1.debuginfo
caja-wallpaper-1.26.1-2.znver1.binary
caja-wallpaper-debuginfo-1.26.1-2.znver1.debuginfo
caja-xattr-tags-1.26.1-2.znver1.binary
caja-xattr-tags-debuginfo-1.26.1-2.znver1.debuginfo
caja-extensions-1.26.1-2.x86_64.source
caja-extensions-common-1.26.1-2.x86_64.binary
caja-extensions-debuginfo-1.26.1-2.x86_64.debuginfo
caja-extensions-debugsource-1.26.1-2.x86_64.binary
caja-image-converter-1.26.1-2.x86_64.binary
caja-image-converter-debuginfo-1.26.1-2.x86_64.debuginfo
caja-open-terminal-1.26.1-2.x86_64.binary
caja-open-terminal-debuginfo-1.26.1-2.x86_64.debuginfo
caja-sendto-1.26.1-2.x86_64.binary
caja-sendto-debuginfo-1.26.1-2.x86_64.debuginfo
caja-sendto-devel-1.26.1-2.x86_64.binary
caja-sendto-pidgin-1.26.1-2.x86_64.binary
caja-sendto-pidgin-debuginfo-1.26.1-2.x86_64.debuginfo
caja-share-1.26.1-2.x86_64.binary
caja-share-debuginfo-1.26.1-2.x86_64.debuginfo
caja-wallpaper-1.26.1-2.x86_64.binary
caja-wallpaper-debuginfo-1.26.1-2.x86_64.debuginfo
caja-xattr-tags-1.26.1-2.x86_64.binary
caja-xattr-tags-debuginfo-1.26.1-2.x86_64.debuginfo
Build Date 2023-01-21 23:58:19 +0000 UTC
Last Updated 2023-01-25 19:14:37.885329034 +0000 UTC
$ git diff --patch-with-stat --summary 41b595a93f8bfd5cfa005c666c78109ed694d938..068f3f17dcb81f730fe581014646384c9c5fa884

 caja-extensions-1.26.1-disable_gupnp.patch | 33 ++++++++++++++++++++++++++++++
 caja-extensions.spec                       | 29 ++++++++++++++++++--------
 2 files changed, 53 insertions(+), 9 deletions(-)
 create mode 100644 caja-extensions-1.26.1-disable_gupnp.patch

diff --git a/caja-extensions-1.26.1-disable_gupnp.patch b/caja-extensions-1.26.1-disable_gupnp.patch
new file mode 100644
index 0000000..475bf11
--- /dev/null
+++ b/caja-extensions-1.26.1-disable_gupnp.patch
@@ -0,0 +1,33 @@
+From d390cb9d6db7ffd97573ec7f0f90f2ac56d3c9a7 Mon Sep 17 00:00:00 2001
+From: raveit65 <mate@raveit.de>
+Date: Wed, 23 Nov 2022 21:38:26 +0100
+Subject: [PATCH] build without gupnp
+
+---
+ configure.ac | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index c8fb513..bdb4575 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -119,7 +119,7 @@ if test "x$enable_sendto" = "xyes"; then
+         GTHREAD_REQUIRED=2.6.0
+         DBUS_REQUIRED=1.0
+         DBUS_GLIB_REQUIRED=0.60
+-        GUPNP_REQUIRED=0.13
++#        GUPNP_REQUIRED=0.13
+         PKG_CHECK_MODULES(SENDTO,
+                 glib-2.0    >= $GLIB_REQUIRED
+                 gthread-2.0 >= $GTHREAD_REQUIRED
+@@ -130,7 +130,7 @@ if test "x$enable_sendto" = "xyes"; then
+         AC_SUBST(SENDTO_LIBS)
+ 
+     # The full list of plugins
+-    allowed_sendto_plugins="emailclient gajim caja-burn pidgin removable-devices upnp"
++    allowed_sendto_plugins="emailclient gajim caja-burn pidgin removable-devices"
+ 
+     sendto_plugin_error_or_ignore()
+     {
+-- 
+2.38.1
diff --git a/caja-extensions.spec b/caja-extensions.spec
index c13a888..2585b46 100644
--- a/caja-extensions.spec
+++ b/caja-extensions.spec
@@ -4,17 +4,24 @@
 # gksu support disabled. It doesn't work with our gksu-polkit
 # and beesu has been abandoned
 %bcond_with gksu
+#  incompatilbe with gupnp 1.6
+%bcond_with upnp
 
 Summary:	Set of extensions for caja file manager
 Name:		caja-extensions
 Version:	1.26.1
-Release:	1
+Release:	2
 Group:		Graphical desktop/Other
 License:	GPLv2+
 Url:		https://mate-desktop.org
 Source0:	https://pub.mate-desktop.org/releases/%{url_ver}/%{name}-%{version}.tar.xz
 Source1:	caja-share-setup-instructions
 Source2:	caja-share-smb.conf.example
+# (upstream)
+# https://github.com/mate-desktop/caja-extensions/issues/110
+%if !%{with upnp}
+Patch0:		caja-extensions-1.26.1-disable_gupnp.patch
+%endif
 
 BuildRequires:  autoconf-archive
 BuildRequires:  gtk-doc	
@@ -29,7 +36,9 @@ BuildRequires:	pkgconfig(gthread-2.0)
 BuildRequires:	pkgconfig(gmodule-2.0)
 BuildRequires:	pkgconfig(gtk+-3.0)
 BuildRequires:	pkgconfig(gobject-2.0)
-BuildRequires:	pkgconfig(gupnp-1.2)
+%if %{with upnp}
+BuildRequires:	pkgconfig(gupnp-1.6)
+%endif
 BuildRequires:	pkgconfig(libcaja-extension)
 BuildRequires:	pkgconfig(mate-desktop-2.0)
 
@@ -166,6 +175,7 @@ dialog for insert the IM account which you want to send the file/files.
 
 #---------------------------------------------------------------------------
 
+%if %{with upnp}
 %package -n caja-sendto-upnp
 Summary:	Caja extension to send files from nautilus via UPNP
 Group:		Graphical desktop/Other
@@ -180,6 +190,7 @@ files to UPNP media servers.
 
 %files -n caja-sendto-upnp
 %{_libdir}/caja-sendto/plugins/libnstupnp.so
+%endif
 
 #---------------------------------------------------------------------------
 
@@ -254,17 +265,17 @@ Caja xattr-tags extension, allows to quickly set xattr-tags.
 #---------------------------------------------------------------------------
 
 %prep
-%setup -q
+%autosetup -p1
 cp %{SOURCE1} SETUP
-%autopatch -p1
 
-# temporaty fix because we already pacakged gupnp v1.2
-sed -i -e "s|gupnp-1.0|gupnp-1.2|g" configure.ac
-aclocal -I m4
-automake -a
-autoconf
+# temporaty fix because we already pacakged gupnp v1.6
+sed -i -e "s|gupnp-1.0|gupnp-1.6|g" configure.ac
+#aclocal -I m4
+#automake -a
+#autoconf
 
 %build
+%config_update
 %configure \
 	--disable-schemas-compile \
 	--enable-image-converter \
Not Available

benbullard79 [@T] cox.netNo Comment.6d 17hrs
benbullard79 [@T] cox.netNo Comment.3d 17hrs
benbullard79 [@T] cox.netNo Comment.3d 17hrs