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

atler atler at pld-linux.org
Sat Oct 5 02:04:02 CEST 2024


commit 8c82ae483da87a8f9c73ef2f08f9b406215a15fa
Author: Jan Palus <atler at pld-linux.org>
Date:   Sat Oct 5 00:08:09 2024 +0200

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

 no-cache-update.patch | 15 +++++++++++++++
 seahorse.spec         |  2 ++
 2 files changed, 17 insertions(+)
---
diff --git a/seahorse.spec b/seahorse.spec
index 6fd6e77..607446c 100644
--- a/seahorse.spec
+++ b/seahorse.spec
@@ -7,6 +7,7 @@ License:	GPL v2
 Group:		X11/Applications
 Source0:	https://download.gnome.org/sources/seahorse/47/%{name}-%{version}.tar.xz
 # Source0-md5:	18cd36abd8d2e25c236934be64c8b916
+Patch0:		no-cache-update.patch
 URL:		https://wiki.gnome.org/Apps/Seahorse
 BuildRequires:	avahi-devel >= 0.6
 BuildRequires:	avahi-glib-devel >= 0.6
@@ -100,6 +101,7 @@ Ten pakiet integruje Seahorse z wyszukiwarką gnome shell
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %meson build \
diff --git a/no-cache-update.patch b/no-cache-update.patch
new file mode 100644
index 0000000..80d2154
--- /dev/null
+++ b/no-cache-update.patch
@@ -0,0 +1,15 @@
+--- seahorse-47.0.1/meson.build.orig	2024-09-18 14:14:06.000000000 +0200
++++ seahorse-47.0.1/meson.build	2024-10-05 00:04:36.212260265 +0200
+@@ -163,9 +163,9 @@
+ 
+ # Post-install scripts
+ gnome.post_install(
+-  gtk_update_icon_cache: true,
+-  glib_compile_schemas: true,
+-  update_desktop_database: true,
++  gtk_update_icon_cache: false,
++  glib_compile_schemas: false,
++  update_desktop_database: false,
+ )
+ 
+ # subdirs
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/seahorse.git/commitdiff/8c82ae483da87a8f9c73ef2f08f9b406215a15fa



More information about the pld-cvs-commit mailing list