Hello community, here is the log from the commit of package tumbler for openSUSE:Factory checked in at 2020-03-17 13:08:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tumbler (Old) and /work/SRC/openSUSE:Factory/.tumbler.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tumbler" Tue Mar 17 13:08:17 2020 rev:35 rq:785443 version:0.2.8 Changes: -------- --- /work/SRC/openSUSE:Factory/tumbler/tumbler.changes 2019-12-23 22:47:53.426077536 +0100 +++ /work/SRC/openSUSE:Factory/.tumbler.new.3160/tumbler.changes 2020-03-17 13:08:18.681714473 +0100 @@ -1,0 +2,8 @@ +Thu Mar 12 11:28:12 UTC 2020 - Marcel Kuehlhorn <[email protected]> + +- Add support for WebP and custom folder thumbnails + * Folder thumbnailer: + https://docs.xfce.org/xfce/thunar/tumbler#customized_thumbnailer_for_folders + * WebP thumbnailer: bxo#12528 + +------------------------------------------------------------------- New: ---- custom_thumbnailers.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tumbler.spec ++++++ --- /var/tmp/diff_new_pack.wNeoaw/_old 2020-03-17 13:08:19.345714983 +0100 +++ /var/tmp/diff_new_pack.wNeoaw/_new 2020-03-17 13:08:19.349714986 +0100 @@ -1,7 +1,7 @@ # # spec file for package tumbler # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,6 +28,7 @@ Group: Productivity/Graphics/Other URL: https://docs.xfce.org/xfce/thunar/tumbler Source: https://archive.xfce.org/src/xfce/%{name}/0.2/%{name}-%{version}.tar.bz2 +Source1: custom_thumbnailers.tar.gz BuildRequires: intltool BuildRequires: pkgconfig BuildRequires: pkgconfig(gio-2.0) >= 2.26.0 @@ -63,6 +64,8 @@ BuildRequires: xfce4-dev-tools %endif Requires: %libname = %{version} +Recommends: %{name}-folder-thumbnailer = %{version} +Recommends: %{name}-webp-thumbnailer = %{version} %description Tumbler is a D-Bus service for applications to request thumbnails for various @@ -71,6 +74,23 @@ extensible through a plugin interface or via specialized thumbnailer services implemented in accordance to the thumbnail management D-Bus specification. +%package -n %{name}-folder-thumbnailer +Summary: Thumbnailer for folders +Group: Productivity/Graphics/Other +Requires: ImageMagick +Requires: thunar >= 1.8.2 + +%description -n %{name}-folder-thumbnailer +A thumbnailer to show custom folder thumbnails in Thunar + +%package -n %{name}-webp-thumbnailer +Summary: Thumbnailer for WebP images +Group: Productivity/Graphics/Other +Requires: ImageMagick + +%description -n %{name}-webp-thumbnailer +A thumbnailer for WebP images + %package -n %{libname} Summary: Tumbler Library Group: System/Libraries @@ -112,6 +132,8 @@ %autosetup sed -i "s/libopenraw-gnome-1.0/libopenraw-gnome-0.1/g" acinclude.m4 +tar -xzf %SOURCE1 + %build %if %{with git} NOCONFIGURE=1 ./autogen.sh @@ -131,6 +153,11 @@ %find_lang %{name} %{?no_lang_C} +mkdir %{buildroot}%{_datadir}/thumbnailers +mv custom_thumbnailers/*.thumbnailer %{buildroot}%{_datadir}/thumbnailers/ +mkdir %{buildroot}%{_bindir} +mv custom_thumbnailers/folder-thumbnailer %{buildroot}%{_bindir}/ + %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig @@ -161,6 +188,14 @@ %dir %{_datadir}/dbus-1 %dir %{_datadir}/dbus-1/services %{_datadir}/dbus-1/services/*.service +%dir %{_datadir}/thumbnailers + +%files -n %{name}-folder-thumbnailer +%{_bindir}/folder-thumbnailer +%{_datadir}/thumbnailers/folder.thumbnailer + +%files -n %{name}-webp-thumbnailer +%{_datadir}/thumbnailers/webp.thumbnailer %files -n %{libname} %license COPYING
