upgrade to 0.3.1 for xfce 4.16
This commit is contained in:
parent
62691b7110
commit
3273ec98a5
@ -1,16 +1,7 @@
|
||||
From: Yves-Alexis Perez <corsac@debian.org>
|
||||
Date: Fri, 23 Mar 2018 14:56:32 +0100
|
||||
Subject: multithread using the number of processors on the system
|
||||
|
||||
---
|
||||
tumblerd/tumbler-group-scheduler.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tumblerd/tumbler-group-scheduler.c b/tumblerd/tumbler-group-scheduler.c
|
||||
index c1a78c4..809577e 100644
|
||||
--- a/tumblerd/tumbler-group-scheduler.c
|
||||
+++ b/tumblerd/tumbler-group-scheduler.c
|
||||
@@ -164,7 +164,7 @@ tumbler_group_scheduler_init (TumblerGroupScheduler *scheduler)
|
||||
diff -uNr tumbler-0.3.1.orig/tumblerd/tumbler-group-scheduler.c tumbler-0.3.1/tumblerd/tumbler-group-scheduler.c
|
||||
--- tumbler-0.3.1.orig/tumblerd/tumbler-group-scheduler.c 2020-11-16 00:19:23.000000000 +0800
|
||||
+++ tumbler-0.3.1/tumblerd/tumbler-group-scheduler.c 2021-06-15 20:05:33.748518520 +0800
|
||||
@@ -164,7 +164,7 @@
|
||||
|
||||
/* allocate a pool with one thread for all requests */
|
||||
scheduler->pool = g_thread_pool_new (tumbler_group_scheduler_thread,
|
||||
|
||||
Binary file not shown.
BIN
tumbler-0.3.1.tar.bz2
Normal file
BIN
tumbler-0.3.1.tar.bz2
Normal file
Binary file not shown.
31
tumbler.spec
31
tumbler.spec
@ -1,14 +1,16 @@
|
||||
%global xfceversion 4.16
|
||||
|
||||
Name: tumbler
|
||||
Version: 0.2.8
|
||||
Release: 3
|
||||
Version: 0.3.1
|
||||
Release: 1
|
||||
Summary: D-Bus service for applications to request thumbnails
|
||||
#Group: Development/Libraries
|
||||
|
||||
License: GPLv2+ and LGPLv2+
|
||||
URL: http://git.xfce.org/xfce/tumbler/
|
||||
Source0: https://archive.xfce.org/src/xfce/tumbler/0.2/%{name}-%{version}.tar.bz2
|
||||
Patch1: 0001-multithread-using-the-number-of-processors-on-the-sy.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
#BuildArch: noarch
|
||||
#VCS git:git://git.xfce.org/xfce/tumbler
|
||||
Source0: https://archive.xfce.org/src/xfce/%{name}/0.3/%{name}-%{version}.tar.bz2
|
||||
Patch1: 0001-multithread-using-the-number-of-processors-on-the-sy.patch
|
||||
BuildRequires: make
|
||||
BuildRequires: gcc
|
||||
BuildRequires: freetype-devel
|
||||
BuildRequires: gettext
|
||||
@ -17,8 +19,12 @@ BuildRequires: intltool
|
||||
BuildRequires: libpng-devel
|
||||
BuildRequires: libjpeg-devel
|
||||
BuildRequires: poppler-glib-devel
|
||||
|
||||
# extra thumbnailers
|
||||
BuildRequires: gstreamer1-plugins-base-devel
|
||||
BuildRequires: libgsf-devel
|
||||
BuildRequires: libopenraw-gnome-devel
|
||||
|
||||
|
||||
%description
|
||||
Tumbler is a D-Bus service for applications to request thumbnails for various
|
||||
@ -77,17 +83,18 @@ find %{buildroot} -type f -name "*.la" -delete
|
||||
|
||||
%files -f %{name}.lang
|
||||
%license COPYING
|
||||
%doc AUTHORS ChangeLog NEWS README TODO
|
||||
%doc AUTHORS ChangeLog NEWS TODO
|
||||
%config(noreplace) %{_sysconfdir}/xdg/tumbler/
|
||||
%{_datadir}/dbus-1/services/org.xfce.Tumbler.*.service
|
||||
%{_libdir}/libtumbler-*.so.*
|
||||
%{_libdir}/tumbler-*/
|
||||
%{_datadir}/icons/hicolor/*/*/org.xfce*%{name}*
|
||||
%exclude %{_libdir}/tumbler-*/plugins/tumbler-gst-thumbnailer.so
|
||||
|
||||
%exclude %{_libdir}/tumbler-*/plugins/tumbler-raw-thumbnailer.so
|
||||
|
||||
%files extras
|
||||
%{_libdir}/tumbler-*/plugins/tumbler-gst-thumbnailer.so
|
||||
|
||||
%{_libdir}/tumbler-*/plugins/tumbler-raw-thumbnailer.so
|
||||
|
||||
%files devel
|
||||
%{_libdir}/libtumbler-*.so
|
||||
@ -98,7 +105,9 @@ find %{buildroot} -type f -name "*.la" -delete
|
||||
%dir %{_includedir}/%{name}-1
|
||||
%{_includedir}/%{name}-1/tumbler
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jun 18 2021 zhanglin <lin.zhang@turbolinux.com.cn> - 0.3.1-1
|
||||
- Update to 0.3.1
|
||||
|
||||
* Thu Jul 9 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 0.2.8-1
|
||||
- Init package
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user