Compare commits
No commits in common. "fcfea5bd61f07ff0cc5cb996166297040f3ee135" and "5198b4bac37aa5ebdec5ea24c2abd18324f7c557" have entirely different histories.
fcfea5bd61
...
5198b4bac3
@ -0,0 +1,21 @@
|
|||||||
|
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
Normal file
36
README.en.md
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
# 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
Normal file
37
README.md
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
# 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/)
|
||||||
BIN
tumbler-0.2.8.tar.bz2
Normal file
BIN
tumbler-0.2.8.tar.bz2
Normal file
Binary file not shown.
Binary file not shown.
41
tumbler.spec
41
tumbler.spec
@ -1,15 +1,14 @@
|
|||||||
%global xfceversion 4.18
|
|
||||||
|
|
||||||
Name: tumbler
|
Name: tumbler
|
||||||
Version: 4.18.0
|
Version: 0.2.8
|
||||||
Release: 1
|
Release: 1%{?dist}
|
||||||
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/
|
||||||
#VCS git:git://git.xfce.org/xfce/tumbler
|
Source0: https://archive.xfce.org/src/xfce/tumbler/0.2/%{name}-%{version}.tar.bz2
|
||||||
Source0: https://archive.xfce.org/src/xfce/%{name}/4.16/%{name}-%{version}.tar.bz2
|
Patch1: 0001-multithread-using-the-number-of-processors-on-the-sy.patch
|
||||||
BuildRequires: make
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
#BuildArch: noarch
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: freetype-devel
|
BuildRequires: freetype-devel
|
||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
@ -18,13 +17,8 @@ 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
|
||||||
@ -55,6 +49,7 @@ that use %{name}.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static
|
%configure --disable-static
|
||||||
@ -82,19 +77,19 @@ find %{buildroot} -type f -name "*.la" -delete
|
|||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc AUTHORS ChangeLog NEWS
|
%doc AUTHORS ChangeLog NEWS README TODO
|
||||||
%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 %{_libdir}/tumbler-*/plugins/tumbler-raw-thumbnailer.so
|
%exclude %{?fedora: %{_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
|
||||||
%{_libdir}/tumbler-*/plugins/tumbler-raw-thumbnailer.so
|
%{?fedora:%{_libdir}/tumbler-*/plugins/tumbler-raw-thumbnailer.so}
|
||||||
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_libdir}/libtumbler-*.so
|
%{_libdir}/libtumbler-*.so
|
||||||
@ -105,15 +100,7 @@ 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
|
||||||
|
|||||||
@ -1,4 +0,0 @@
|
|||||||
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