Compare commits
13 Commits
5198b4bac3
...
fcfea5bd61
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fcfea5bd61 | ||
|
|
80c73d716e | ||
|
|
404d152896 | ||
|
|
2668bbd273 | ||
|
|
334f92a386 | ||
|
|
3273ec98a5 | ||
|
|
62691b7110 | ||
|
|
c1d34179e1 | ||
|
|
e298ba1404 | ||
|
|
7bc0e7c659 | ||
|
|
a3903e9867 | ||
|
|
8844f9dce6 | ||
|
|
bca3f03b32 |
@ -1,21 +0,0 @@
|
|||||||
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)
|
|
||||||
|
|
||||||
/* allocate a pool with one thread for all requests */
|
|
||||||
scheduler->pool = g_thread_pool_new (tumbler_group_scheduler_thread,
|
|
||||||
- scheduler, 1, TRUE, NULL);
|
|
||||||
+ scheduler, g_get_num_processors(), TRUE, NULL);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
36
README.en.md
36
README.en.md
@ -1,36 +0,0 @@
|
|||||||
# tumbler
|
|
||||||
|
|
||||||
#### Description
|
|
||||||
D-Bus service for applications to request thumbnails
|
|
||||||
|
|
||||||
#### Software Architecture
|
|
||||||
Software architecture description
|
|
||||||
|
|
||||||
#### Installation
|
|
||||||
|
|
||||||
1. xxxx
|
|
||||||
2. xxxx
|
|
||||||
3. xxxx
|
|
||||||
|
|
||||||
#### Instructions
|
|
||||||
|
|
||||||
1. xxxx
|
|
||||||
2. xxxx
|
|
||||||
3. xxxx
|
|
||||||
|
|
||||||
#### Contribution
|
|
||||||
|
|
||||||
1. Fork the repository
|
|
||||||
2. Create Feat_xxx branch
|
|
||||||
3. Commit your code
|
|
||||||
4. Create Pull Request
|
|
||||||
|
|
||||||
|
|
||||||
#### Gitee Feature
|
|
||||||
|
|
||||||
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
|
|
||||||
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
|
|
||||||
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
|
|
||||||
4. The most valuable open source project [GVP](https://gitee.com/gvp)
|
|
||||||
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
|
|
||||||
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
|
||||||
37
README.md
37
README.md
@ -1,37 +0,0 @@
|
|||||||
# tumbler
|
|
||||||
|
|
||||||
#### 介绍
|
|
||||||
D-Bus service for applications to request thumbnails
|
|
||||||
|
|
||||||
#### 软件架构
|
|
||||||
软件架构说明
|
|
||||||
|
|
||||||
|
|
||||||
#### 安装教程
|
|
||||||
|
|
||||||
1. xxxx
|
|
||||||
2. xxxx
|
|
||||||
3. xxxx
|
|
||||||
|
|
||||||
#### 使用说明
|
|
||||||
|
|
||||||
1. xxxx
|
|
||||||
2. xxxx
|
|
||||||
3. xxxx
|
|
||||||
|
|
||||||
#### 参与贡献
|
|
||||||
|
|
||||||
1. Fork 本仓库
|
|
||||||
2. 新建 Feat_xxx 分支
|
|
||||||
3. 提交代码
|
|
||||||
4. 新建 Pull Request
|
|
||||||
|
|
||||||
|
|
||||||
#### 码云特技
|
|
||||||
|
|
||||||
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
|
|
||||||
2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com)
|
|
||||||
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目
|
|
||||||
4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目
|
|
||||||
5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
|
|
||||||
6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
|
|
||||||
Binary file not shown.
BIN
tumbler-4.18.0.tar.bz2
Normal file
BIN
tumbler-4.18.0.tar.bz2
Normal file
Binary file not shown.
41
tumbler.spec
41
tumbler.spec
@ -1,14 +1,15 @@
|
|||||||
|
%global xfceversion 4.18
|
||||||
|
|
||||||
Name: tumbler
|
Name: tumbler
|
||||||
Version: 0.2.8
|
Version: 4.18.0
|
||||||
Release: 1%{?dist}
|
Release: 1
|
||||||
Summary: D-Bus service for applications to request thumbnails
|
Summary: D-Bus service for applications to request thumbnails
|
||||||
#Group: Development/Libraries
|
|
||||||
License: GPLv2+ and LGPLv2+
|
License: GPLv2+ and LGPLv2+
|
||||||
URL: http://git.xfce.org/xfce/tumbler/
|
URL: http://git.xfce.org/xfce/tumbler/
|
||||||
Source0: https://archive.xfce.org/src/xfce/tumbler/0.2/%{name}-%{version}.tar.bz2
|
#VCS git:git://git.xfce.org/xfce/tumbler
|
||||||
Patch1: 0001-multithread-using-the-number-of-processors-on-the-sy.patch
|
Source0: https://archive.xfce.org/src/xfce/%{name}/4.16/%{name}-%{version}.tar.bz2
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRequires: make
|
||||||
#BuildArch: noarch
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: freetype-devel
|
BuildRequires: freetype-devel
|
||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
@ -17,8 +18,13 @@ BuildRequires: intltool
|
|||||||
BuildRequires: libpng-devel
|
BuildRequires: libpng-devel
|
||||||
BuildRequires: libjpeg-devel
|
BuildRequires: libjpeg-devel
|
||||||
BuildRequires: poppler-glib-devel
|
BuildRequires: poppler-glib-devel
|
||||||
|
BuildRequires: libxfce4util-devel
|
||||||
|
|
||||||
# extra thumbnailers
|
# extra thumbnailers
|
||||||
BuildRequires: gstreamer1-plugins-base-devel
|
BuildRequires: gstreamer1-plugins-base-devel
|
||||||
|
BuildRequires: libgsf-devel
|
||||||
|
BuildRequires: libopenraw-gnome-devel
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Tumbler is a D-Bus service for applications to request thumbnails for various
|
Tumbler is a D-Bus service for applications to request thumbnails for various
|
||||||
@ -49,7 +55,6 @@ that use %{name}.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch1 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static
|
%configure --disable-static
|
||||||
@ -77,19 +82,19 @@ find %{buildroot} -type f -name "*.la" -delete
|
|||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc AUTHORS ChangeLog NEWS README TODO
|
%doc AUTHORS ChangeLog NEWS
|
||||||
%config(noreplace) %{_sysconfdir}/xdg/tumbler/
|
%config(noreplace) %{_sysconfdir}/xdg/tumbler/
|
||||||
%{_datadir}/dbus-1/services/org.xfce.Tumbler.*.service
|
%{_datadir}/dbus-1/services/org.xfce.Tumbler.*.service
|
||||||
%{_libdir}/libtumbler-*.so.*
|
%{_libdir}/libtumbler-*.so.*
|
||||||
%{_libdir}/tumbler-*/
|
%{_libdir}/tumbler-*/
|
||||||
|
%{_datadir}/icons/hicolor/*/*/org.xfce*%{name}*
|
||||||
%exclude %{_libdir}/tumbler-*/plugins/tumbler-gst-thumbnailer.so
|
%exclude %{_libdir}/tumbler-*/plugins/tumbler-gst-thumbnailer.so
|
||||||
%exclude %{?fedora: %{_libdir}/tumbler-*/plugins/tumbler-raw-thumbnailer.so}
|
%exclude %{_libdir}/tumbler-*/plugins/tumbler-raw-thumbnailer.so
|
||||||
|
%{_prefix}/lib/systemd/user/tumblerd.service
|
||||||
|
|
||||||
%files extras
|
%files extras
|
||||||
%{_libdir}/tumbler-*/plugins/tumbler-gst-thumbnailer.so
|
%{_libdir}/tumbler-*/plugins/tumbler-gst-thumbnailer.so
|
||||||
%{?fedora:%{_libdir}/tumbler-*/plugins/tumbler-raw-thumbnailer.so}
|
%{_libdir}/tumbler-*/plugins/tumbler-raw-thumbnailer.so
|
||||||
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_libdir}/libtumbler-*.so
|
%{_libdir}/libtumbler-*.so
|
||||||
@ -100,7 +105,15 @@ find %{buildroot} -type f -name "*.la" -delete
|
|||||||
%dir %{_includedir}/%{name}-1
|
%dir %{_includedir}/%{name}-1
|
||||||
%{_includedir}/%{name}-1/tumbler
|
%{_includedir}/%{name}-1/tumbler
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jan 04 2023 misaka00251 <liuxin@iscas.ac.cn> - 4.18.0-1
|
||||||
|
- Update to 4.18.0
|
||||||
|
|
||||||
|
* Thu Jun 23 2022 Dillon Chen <dillon.chen@gmail.com> - 4.16.0-1
|
||||||
|
- Update to 4.16.0
|
||||||
|
|
||||||
|
* 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
|
* Thu Jul 9 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 0.2.8-1
|
||||||
- Init package
|
- Init package
|
||||||
|
|||||||
4
tumbler.yaml
Normal file
4
tumbler.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: git
|
||||||
|
src_repo: https://gitlab.xfce.org/xfce/tumbler.git
|
||||||
|
tag_prefix: "tumbler-"
|
||||||
|
seperator: "."
|
||||||
Loading…
x
Reference in New Issue
Block a user