[packages/simple-scan] add patch to disable schemas/icon cache update in %install

atler atler at pld-linux.org
Mon Aug 31 01:05:27 CEST 2026


commit face6ca045ab205313b7fff94b754865847ffe8e
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Aug 31 01:04:46 2026 +0200

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

 no-cache-update.patch | 13 +++++++++++++
 simple-scan.spec      |  2 ++
 2 files changed, 15 insertions(+)
---
diff --git a/simple-scan.spec b/simple-scan.spec
index d8eda7b..28e5f07 100644
--- a/simple-scan.spec
+++ b/simple-scan.spec
@@ -8,6 +8,7 @@ License:	GPL v3+
 Group:		X11/Applications/Multimedia
 Source0:	https://download.gnome.org/sources/simple-scan/50/%{name}-%{version}.tar.xz
 # Source0-md5:	fa447328d9e91e5624be2511f626ce06
+Patch0:		no-cache-update.patch
 URL:		https://apps.gnome.org/SimpleScan/
 BuildRequires:	PackageKit-devel >= 1.1.5
 BuildRequires:	cairo-devel
@@ -57,6 +58,7 @@ podłączyć skaner i szybko otrzymać dokument we właściwym formacie.
 
 %prep
 %setup -q
+%patch -P0 -p1
 
 %build
 %meson
diff --git a/no-cache-update.patch b/no-cache-update.patch
new file mode 100644
index 0000000..0a7eec3
--- /dev/null
+++ b/no-cache-update.patch
@@ -0,0 +1,13 @@
+--- simple-scan-50.0/data/meson.build.orig	2026-04-02 21:47:35.000000000 +0200
++++ simple-scan-50.0/data/meson.build	2026-08-31 01:02:21.056580032 +0200
+@@ -7,8 +7,8 @@
+ install_data ('org.gnome.SimpleScan.gschema.xml',
+               install_dir: join_paths (datadir, 'glib-2.0', 'schemas'))
+ 
+-gnome.post_install (glib_compile_schemas: true,
+-                    gtk_update_icon_cache: true)
++gnome.post_install (glib_compile_schemas: false,
++                    gtk_update_icon_cache: false)
+ 
+ i18n.merge_file (input: 'org.gnome.SimpleScan.desktop.in',
+                  output: 'org.gnome.SimpleScan.desktop',
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/simple-scan.git/commitdiff/face6ca045ab205313b7fff94b754865847ffe8e



More information about the pld-cvs-commit mailing list