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

atler atler at pld-linux.org
Thu Jan 16 17:39:47 CET 2025


commit 554d90bba37d929f2b5120e47094e9fb0ad657e2
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Jan 16 17:09:27 2025 +0100

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

 gnome-boxes.spec      |  2 ++
 no-cache-update.patch | 15 +++++++++++++++
 2 files changed, 17 insertions(+)
---
diff --git a/gnome-boxes.spec b/gnome-boxes.spec
index 8c8de4f..7bc6714 100644
--- a/gnome-boxes.spec
+++ b/gnome-boxes.spec
@@ -9,6 +9,7 @@ License:	LGPL v2+
 Group:		X11/Applications
 Source0:	https://download.gnome.org/sources/gnome-boxes/47/%{name}-%{version}.tar.xz
 # Source0-md5:	559cebd172058d60f83dc180c4a6dcd6
+Patch0:		no-cache-update.patch
 URL:		https://wiki.gnome.org/Apps/Boxes
 BuildRequires:	appstream-glib
 BuildRequires:	gettext-tools
@@ -82,6 +83,7 @@ systemów zdalnych lub wirtualnych.
 
 %prep
 %setup -q
+%patch -P 0 -p1
 
 %build
 %meson build \
diff --git a/no-cache-update.patch b/no-cache-update.patch
new file mode 100644
index 0000000..7fb1221
--- /dev/null
+++ b/no-cache-update.patch
@@ -0,0 +1,15 @@
+--- gnome-boxes-47.0/meson.build.orig	2024-09-17 12:05:25.000000000 +0200
++++ gnome-boxes-47.0/meson.build	2025-01-16 17:06:51.742118227 +0100
+@@ -70,9 +70,9 @@
+ config_h_dir = include_directories ('.')
+ 
+ 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,
+ )
+ 
+ subdir ('data')
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gnome-boxes.git/commitdiff/554d90bba37d929f2b5120e47094e9fb0ad657e2



More information about the pld-cvs-commit mailing list