[packages/gthumb] add patch to disable schemas/icon/desktop cache update in %install

atler atler at pld-linux.org
Wed Jan 14 11:26:17 CET 2026


commit 7b4a268c390226dabdfdf83408b2cdc64e4e972c
Author: Jan Palus <atler at pld-linux.org>
Date:   Wed Jan 14 11:25:02 2026 +0100

    add patch to disable schemas/icon/desktop cache update in %install

 gthumb.spec           |  2 ++
 no-cache-update.patch | 15 +++++++++++++++
 2 files changed, 17 insertions(+)
---
diff --git a/gthumb.spec b/gthumb.spec
index 39429e0..2461632 100644
--- a/gthumb.spec
+++ b/gthumb.spec
@@ -8,6 +8,7 @@ Group:		X11/Applications/Graphics
 Source0:	https://download.gnome.org/sources/gthumb/3.12/%{name}-%{version}.tar.xz
 # Source0-md5:	d36668a6b274942a22cc96ded9726d07
 Patch0:		time-type.patch
+Patch1:		no-cache-update.patch
 URL:		https://wiki.gnome.org/Apps/Gthumb
 BuildRequires:	AppStream-devel >= 0.14.6
 BuildRequires:	automake
@@ -93,6 +94,7 @@ rozszerzeń gThumb.
 %prep
 %setup -q
 %patch -P 0 -p1
+%patch -P 1 -p1
 
 %build
 %meson \
diff --git a/no-cache-update.patch b/no-cache-update.patch
new file mode 100644
index 0000000..a304151
--- /dev/null
+++ b/no-cache-update.patch
@@ -0,0 +1,15 @@
+--- gthumb-3.12.8.2/meson.build.orig	2025-11-30 20:56:01.000000000 +0100
++++ gthumb-3.12.8.2/meson.build	2026-01-14 11:22:40.397379763 +0100
+@@ -55,9 +55,9 @@
+ endif
+ 
+ gnome.post_install(
+-  glib_compile_schemas: true,
+-  gtk_update_icon_cache: true,
+-  update_desktop_database: true,
++  glib_compile_schemas: false,
++  gtk_update_icon_cache: false,
++  update_desktop_database: false,
+ )
+ 
+ # Dependencies
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gthumb.git/commitdiff/7b4a268c390226dabdfdf83408b2cdc64e4e972c



More information about the pld-cvs-commit mailing list