Hello community,

here is the log from the commit of package caja-extensions for openSUSE:Factory 
checked in at 2015-07-05 18:02:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/caja-extensions (Old)
 and      /work/SRC/openSUSE:Factory/.caja-extensions.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "caja-extensions"

Changes:
--------
--- /work/SRC/openSUSE:Factory/caja-extensions/caja-extensions.changes  
2014-03-22 14:44:22.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.caja-extensions.new/caja-extensions.changes     
2015-07-05 18:02:08.000000000 +0200
@@ -1,0 +2,24 @@
+Tue May  5 13:47:23 UTC 2015 - [email protected]
+
+- Update to 1.10.0 (changes since 1.9.1):
+  * Update translations.
+- Enable caja-gksu and add a subpackage.
+- Add caja-extensions_use-xdgsu.patch for xdg-su usage in caja-gksu.
+- Spec cleanup.
+
+-------------------------------------------------------------------
+Thu Jan 22 20:35:24 UTC 2015 - [email protected]
+
+- Update to version 1.9.1 (unstable)
+  * wallpaper: Added new 'Set as wallpaper' extension
+- Add caja-wallpaper subpackage
+- Enable back gajim extenstion; now available on Factory
+
+-------------------------------------------------------------------
+Sun Jul 13 14:49:08 UTC 2014 - [email protected]
+
+- Update to version 1.9.0 (unstable)
+  + sendto: re-introduce the option to select plugins to build
+- Fix version requirements
+
+-------------------------------------------------------------------

Old:
----
  caja-extensions-1.8.0.tar.xz

New:
----
  caja-extensions-1.10.0.tar.xz
  caja-extensions_use-xdgsu.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ caja-extensions.spec ++++++
--- /var/tmp/diff_new_pack.DKep4K/_old  2015-07-05 18:02:09.000000000 +0200
+++ /var/tmp/diff_new_pack.DKep4K/_new  2015-07-05 18:02:09.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package caja-extensions
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -13,100 +13,125 @@
 # published by the Open Source Initiative.
 
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
+
 
+%define _version 1.10
 Name:           caja-extensions
-Summary:        Set of extensions for Caja, the MATE file manager 
-Version:        1.8.0
+Version:        1.10.0
 Release:        0
+Summary:        Set of extensions for Caja, the MATE file manager
 License:        GPL-2.0+
-Url:            http://mate-desktop.org/
 Group:          System/GUI/Other
-Source:         
http://pub.mate-desktop.org/releases/1.8/%{name}-%{version}.tar.xz
-Requires:       ImageMagick
-Requires:       caja >= 1.8.0
-
-BuildRequires:  libglade2-devel
-BuildRequires:  mate-common
+Url:            http://mate-desktop.org/
+Source:         
http://pub.mate-desktop.org/releases/%{_version}/%{name}-%{version}.tar.xz
+# PATCH-FEATURE-OPENSUSE caja-extensions_use-xdgsu.patch [email protected] 
-- Use xdg-su instead of direct gksu call in caja-gksu.
+Patch0:         %{name}_use-xdgsu.patch
+BuildRequires:  mate-common >= %{_version}
 BuildRequires:  pkgconfig(dbus-glib-1)
-BuildRequires:  pkgconfig(libcaja-extension) >= 1.8.0
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(gtk+-2.0)
 BuildRequires:  pkgconfig(gupnp-1.0)
-BuildRequires:  pkgconfig(mate-desktop-2.0)
+BuildRequires:  pkgconfig(libcaja-extension) >= %{_version}
+BuildRequires:  pkgconfig(libglade-2.0)
+BuildRequires:  pkgconfig(mate-desktop-2.0) >= %{_version}
+Requires:       ImageMagick
+Requires:       caja >= %{_version}
 
 %description
 Set of extensions for Caja, the MATE file manager.
 
+%package -n caja-gksu
+Summary:        Caja privilege granting plugin
+Group:          System/GUI/Other
+Requires:       ImageMagick
+Requires:       caja >= %{_version}
+
+%description -n caja-gksu
+This extension allows you to open files with administration
+privileges using the context menu when browsing your files with
+Caja file manager.
+
 %package -n caja-image-converter
-Summary:        MATE Desktop file manager image converter
+Summary:        Caja image converter
 Group:          System/GUI/Other
 Requires:       ImageMagick
-Requires:       caja >= 1.8.0
+Requires:       caja >= %{_version}
+Recommends:     caja-image-converter-lang
 Provides:       mate-file-manager-image-converter = %{version}
 Obsoletes:      mate-file-manager-image-converter < %{version}
-Recommends:     caja-image-converter-lang
 
 %description -n caja-image-converter
-ImageResizer adds a "Resize Images..." menu item to the context menu of
-all images. This opens a dialog where you set the desired image size and
-file name. A click on "Resize" finally resizes the image(s) using
-ImageMagick's convert tool.
+ImageResizer adds a "Resize Images..." menu item to the context
+menu of all images. This opens a dialog where you set the desired
+image size and file name. A click on "Resize" finally resizes the
+image(s) using ImageMagick's convert tool.
 
 %package -n caja-open-terminal
-Summary:        Mate file manager Terminal plugin
+Summary:        Caja terminal plugin
 Group:          System/GUI/Other
-Requires:       caja >= 1.8.0
+Requires:       caja >= %{_version}
+Recommends:     caja-open-terminal-lang
 Provides:       mate-file-manager-open-terminal = %{version}
 Obsoletes:      mate-file-manager-open-terminal < %{version}
-Recommends:     caja-open-terminal-lang
 
 %description -n caja-open-terminal
-This extension allows to open a Terminal in arbitrary directories though
-mate file manager, caja. This is a fork of nautilus-open-terminal.
+This extension allows to open a Terminal in arbitrary directories
+through Caja file manager.
 
 %package -n caja-sendto
-Summary:        A collection of 'sendto' plugins for MATE file manager
+Summary:        A collection of 'sendto' plugins for Caja
 Group:          System/GUI/Other
-Requires:       caja >= 1.8.0
+Requires:       caja >= %{_version}
+Recommends:     caja-sendto-lang
 Provides:       mate-file-manager-sendto = %{version}
 Obsoletes:      mate-file-manager-sendto < %{version}
-Recommends:     caja-sendto-lang
 
 %description -n caja-sendto
-This package provides extra functionality to the MATE Desktop file
-manager, caja. The core package includes CD burner, archiving, email
-client links and devices.
+This package provides extra functionality to the Caja file manager.
+The core package includes CD burner, archiving, email client links
+and devices.
+
+%if 0%{?suse_version} > 1320
+%package -n  caja-sendto-gajim
+Summary:        Gajim integration for the Caja file manager
+Group:          System/GUI/Other
+Requires:       caja-sendto = %{version}
+Requires:       gajim
+
+%description -n  caja-sendto-gajim
+This package provides Gajim integration to the Caja file manager.
+%endif
 
 %package -n  caja-sendto-pidgin
-Summary:        Pidgin integration for the MATE Desktop file manager
+Summary:        Pidgin integration for the Caja file manager
 Group:          System/GUI/Other
+Requires:       caja-sendto = %{version}
 Requires:       pidgin
-Requires:       caja-sendto = %{version}-%{release}
 Provides:       mate-file-manager-sendto-pidgin = %{version}
 Obsoletes:      mate-file-manager-sendto-pidgin < %{version}
 
 %description -n  caja-sendto-pidgin
-This package provides pidgin integration to the MATE Desktop file
-manager, caja.
+This package provides Pidgin integration to the Caja file manager.
 
 %package -n  caja-sendto-upnp
 Summary:        UPnP integration for the MATE Desktop file manager
 Group:          System/GUI/Other
-Requires:       caja-sendto = %{version}-%{release}
+Requires:       caja-sendto = %{version}
 Provides:       mate-file-manager-sendto-upnp = %{version}
 Obsoletes:      mate-file-manager-sendto-upnp < %{version}
 
 %description -n caja-sendto-upnp
-This package provides the functionality to the caja file browser to
+This package provides the functionality to the Caja file manager to
 send files over e-mail or instant messaging protocols via Evolution,
 Empathy and Pidgin.
 
 %package -n caja-sendto-devel
 Summary:        Development files for caja-sendto
 Group:          Development/Libraries/X11
-Requires:       caja-sendto = %{version}-%{release}
-Requires:       caja-sendto-upnp = %{version}-%{release}
-Requires:       caja-sendto-pidgin = %{version}-%{release}
+Requires:       caja-sendto = %{version}
+Requires:       caja-sendto-pidgin = %{version}
+Requires:       caja-sendto-upnp = %{version}
 Provides:       mate-file-manager-sendto-devel = %{version}
 Obsoletes:      mate-file-manager-sendto-devel < %{version}
 
@@ -116,19 +141,28 @@
 Empathy and Pidgin.
 
 %package -n caja-share
-Summary:        Share directory from caja via samba
+Summary:        Share directory from caja via Samba
 Group:          System/GUI/Other
-Requires:       caja >= 1.8.0
+Requires:       caja >= %{_version}
 Requires:       mate-icon-theme
 Requires:       samba >= 3.0.23
+Recommends:     caja-share-lang
 Provides:       mate-file-manager-share = %{version}
 Obsoletes:      mate-file-manager-share < %{version}
-Recommends:     caja-share-lang
 
 %description -n caja-share
-Mate-file-manager-share allows you to quickly share a folder from the MATE Caja
-file manager without requiring root access. It uses Samba, so your folders
-can be accessed by any operating system.
+Caja-share allows you to quickly share a folder from the Caja file
+manager without requiring root access. It uses Samba, so your
+directories can be accessed by any operating system.
+
+%package -n caja-wallpaper
+Summary:        Allows to quickly set desktop background
+Group:          System/GUI/Other
+Requires:       caja >= %{_version}
+Recommends:     caja-wallpaper-lang
+
+%description -n caja-wallpaper
+Caja-share allows you to quickly set desktop background wallpaper.
 
 %package common-lang
 Summary:        Languages for Caja extensions
@@ -137,13 +171,15 @@
 Provides:       caja-open-terminal-lang = %{version}
 Provides:       caja-sendto-lang = %{version}
 Provides:       caja-share-lang = %{version}
+Provides:       caja-wallpaper-lang = %{version}
 BuildArch:      noarch
 
 %description common-lang
-Provides common translations shared by Caja extensions
+Provides common translations shared by Caja file manager extensions.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure                         \
@@ -152,84 +188,101 @@
     --enable-image-convert         \
     --enable-open-terminal         \
     --enable-share                 \
-    --enable-sendto                
+  --enable-sendto        \
+  --enable-gksu
 make %{?_smp_mflags}
 
 %install
-%makeinstall
+%make_install
 find %{buildroot} -type f -name "*.la" -delete -print
 %find_lang %{name}
-# Remove unwanted caja-gksu library
-rm %{buildroot}%{_libdir}/caja/extensions-2.0/libcaja-gksu.so
-# openSUSE doesn't provide gajim anymore, so we're wiping it out
-if [ -f %{buildroot}%{_libdir}/caja-sendto/plugins/libnstgajim.so ]; then
-   rm -rf %{buildroot}%{_libdir}/caja-sendto/plugins/libnstgajim.so
-fi
 
-if [ -d %{buildroot}%{_datadir}/MateConf ]; then
-   rm -r %{buildroot}%{_datadir}/MateConf
+if [ -d %{buildroot}%{_datadir}/MateConf/ ]; then
+    rm -rf %{buildroot}%{_datadir}/MateConf/
 fi
 
 %post -n caja-open-terminal
 %glib2_gsettings_schema_post
 
-%post -n caja-sendto
-%glib2_gsettings_schema_post
-
 %postun -n caja-open-terminal
 %glib2_gsettings_schema_postun
 
+%post -n caja-sendto
+%glib2_gsettings_schema_post
+
 %postun -n caja-sendto
 %glib2_gsettings_schema_postun
 
+%files -n caja-gksu
+%defattr(-,root,root)
+%doc AUTHORS ChangeLog COPYING README
+%{_libdir}/caja/extensions-2.0/libcaja-gksu.so
+%{_datadir}/caja/extensions/libcaja-gksu.caja-extension
+
 %files -n caja-image-converter
-%defattr(-,root,root,-)
+%defattr(-,root,root)
 %doc AUTHORS ChangeLog COPYING README
 %{_libdir}/caja/extensions-2.0/libcaja-image-converter.so
 %{_datadir}/caja-extensions/caja-image-resize.ui
 %{_datadir}/caja-extensions/caja-image-rotate.ui
+%{_datadir}/caja/extensions/libcaja-image-converter.caja-extension
 
 %files -n caja-open-terminal
-%defattr(-,root,root,-)
+%defattr(-,root,root)
 %doc AUTHORS ChangeLog COPYING README
+%{_datadir}/caja/extensions/libcaja-open-terminal.caja-extension
 %{_libdir}/caja/extensions-2.0/libcaja-open-terminal.so
 %{_datadir}/glib-2.0/schemas/org.mate.caja-open-terminal.gschema.xml
 
 %files -n caja-sendto
-%defattr(-,root,root,-)
+%defattr(-,root,root)
 %doc AUTHORS ChangeLog COPYING README
-%dir %{_libdir}/caja-sendto
-%dir %{_libdir}/caja-sendto/plugins
 %{_bindir}/caja-sendto
 %{_datadir}/caja-extensions/caja-sendto.ui
+%{_datadir}/caja/extensions/libcaja-sendto.caja-extension
 %{_datadir}/glib-2.0/schemas/org.mate.Caja.Sendto.gschema.xml
 %{_libdir}/caja/extensions-2.0/libcaja-sendto.so
+%dir %{_libdir}/caja-sendto/
+%dir %{_libdir}/caja-sendto/plugins/
 %{_libdir}/caja-sendto/plugins/libnstburn.so
 %{_libdir}/caja-sendto/plugins/libnstremovable_devices.so
 %{_libdir}/caja-sendto/plugins/libnstemailclient.so
-%{_mandir}/man1/caja-sendto.1.gz
+%{_mandir}/man?/caja-sendto.?%{?ext_man}
+
+%if 0%{?suse_version} > 1320
+%files -n caja-sendto-gajim
+%defattr(-,root,root)
+%{_libdir}/caja-sendto/plugins/libnstgajim.so
+%endif
 
 %files -n caja-sendto-pidgin
-%defattr(-,root,root,-)
+%defattr(-,root,root)
 %{_libdir}/caja-sendto/plugins/libnstpidgin.so
 
 %files -n caja-sendto-upnp
-%defattr(-,root,root,-)
+%defattr(-,root,root)
 %{_libdir}/caja-sendto/plugins/libnstupnp.so
 
 %files -n caja-sendto-devel
-%defattr(-,root,root,-)
-%{_includedir}/caja-sendto
+%defattr(-,root,root)
+%{_includedir}/caja-sendto/
 %{_libdir}/pkgconfig/caja-sendto.pc
-%{_datadir}/gtk-doc/html/caja-sendto
+%{_datadir}/gtk-doc/html/caja-sendto/
 
 %files -n caja-share
 %defattr(-,root,root) 
 %doc AUTHORS ChangeLog COPYING README
+%{_datadir}/caja/extensions/libcaja-share.caja-extension
 %{_datadir}/caja-extensions/share-dialog.ui
 %{_libdir}/caja/extensions-2.0/libcaja-share.so
 
+%files -n caja-wallpaper
+%defattr(-,root,root)
+%doc AUTHORS ChangeLog COPYING README
+%{_datadir}/caja/extensions/libcaja-wallpaper.caja-extension
+%{_libdir}/caja/extensions-2.0/libcaja-wallpaper.so
+
 %files common-lang -f %{name}.lang
-%defattr(-,root,root,-)
+%defattr(-,root,root)
 
 %changelog

++++++ caja-extensions-1.8.0.tar.xz -> caja-extensions-1.10.0.tar.xz ++++++
++++ 36147 lines of diff (skipped)

++++++ caja-extensions_use-xdgsu.patch ++++++
diff -aur a/gksu/libcaja-gksu.c b/gksu/libcaja-gksu.c
--- a/gksu/libcaja-gksu.c
+++ b/gksu/libcaja-gksu.c
@@ -156,12 +156,13 @@
 start_gksu_thread (void *data)
 {
   GPid pid;
-  gchar **argv = (gchar**) g_malloc (sizeof (gchar*) * 3);
+  gchar **argv = (gchar**) g_malloc (sizeof (gchar*) * 4);
   gchar *full_cmd = (gchar*) data;
 
-  argv[0] = g_strdup ("gksu");
-  argv[1] = full_cmd;
-  argv[2] = NULL;
+  argv[0] = g_strdup ("xdg-su");
+  argv[1] = "-c";
+  argv[2] = full_cmd;
+  argv[3] = NULL;
 
   g_spawn_async (NULL, argv, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL,
                 &pid, NULL);

Reply via email to