Added patch

This commit is contained in:
jolupa 2019-09-05 01:56:41 +02:00
parent fd2cebb76d
commit 1c6c2eeef2
3 changed files with 36 additions and 4 deletions

View File

@ -1,5 +1,6 @@
untrusted comment: verify with /etc/ports/jolupalabs.pub
RWRdPtfuMX7+XOWYW1Laeto6vZBO6fylBSn09cmxWM+j3H/O3N9yZ46IUPDdDJUBGvdNb8+JsHTCdi3Damu8lkgxbLT00GMIwg0=
SHA256 (Pkgfile) = b481bbd39625d350a4cbfcbc14d6f7f7fef12da6bf3595a7b24ffd7847855f60
RWRdPtfuMX7+XEh1u8bgB005sMlUeqmypLWqatIgH92sAcPpX7YgX6ltKJ/+Z/syMuMvVhehrF1Apt/h6rf+VrXPCnKIAuWR2wA=
SHA256 (Pkgfile) = 239dd750700d9fb8f2e8430275a9292371eb2871a60b5936376a41ed6d334e22
SHA256 (.footprint) = bb620b60c6cb58fcf8d669010e4ec5ca094264dd6c410ecd95522d2fd4c88f25
SHA256 (tumbler-0.2.7.tar.gz) = 6d364fd7127b43ca3e23c67500054352e0d909cc00244b2dd2aa6291e0d97989
SHA256 (patch_1.patch) = 494f58d4c00865d1ca9911a2375b8ec00ba0199f5816a6456d88761f501d05c1

View File

@ -5,13 +5,15 @@
name=tumbler
version=0.2.7
release=1
source=(https://git.xfce.org/xfce/$name/snapshot/$name-$version.tar.gz)
release=2
source=(https://git.xfce.org/xfce/$name/snapshot/$name-$version.tar.gz patch_1.patch)
build() {
cd $name-$version
patch -p1 -i $SRC/patch_1.patch
./autogen.sh \
--prefix=/usr \
--libexecdir=/usr/lib/$name \

29
tumbler/patch_1.patch Normal file
View File

@ -0,0 +1,29 @@
From d4e7075401b6ef60cf1f015a488cf4b573f9b8dd Mon Sep 17 00:00:00 2001
From: Yves-Alexis Perez <corsac@debian.org>
Date: Tue, 20 Aug 2019 17:20:09 +0200
Subject: prepend $XDG_DATA_HOME/thumbnailers/ to thumbnailers directory (Bug
#15858)
---
plugins/desktop-thumbnailer/desktop-thumbnailer-provider.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/plugins/desktop-thumbnailer/desktop-thumbnailer-provider.c b/plugins/desktop-thumbnailer/desktop-thumbnailer-provider.c
index 9340822..1054adc 100644
--- a/plugins/desktop-thumbnailer/desktop-thumbnailer-provider.c
+++ b/plugins/desktop-thumbnailer/desktop-thumbnailer-provider.c
@@ -236,6 +236,11 @@ desktop_thumbnailer_provider_get_thumbnailers (TumblerThumbnailerProvider *provi
uri_schemes = tumbler_util_get_supported_uri_schemes ();
+ /* prepend $XDG_DATA_HOME/thumbnailers/ to the directory list */
+ dirname = g_build_filename (g_get_user_data_dir (), "thumbnailers", NULL);
+ directories = g_list_prepend (directories, g_file_new_for_path (dirname));
+ g_free (dirname);
+
/* build $XDG_DATA_DIRS/thumbnailers dirnames and prepend them to the list */
data_dirs = g_get_system_data_dirs ();
--
cgit v1.2.1