[packages/sysprof] add patch to disable icon/desktop cache update during install
atler
atler at pld-linux.org
Thu Oct 19 00:52:04 CEST 2023
commit 96be42642508c4c8f5b9b456e1eb2701c8b30646
Author: Jan Palus <atler at pld-linux.org>
Date: Thu Oct 19 00:51:17 2023 +0200
add patch to disable icon/desktop cache update during install
no-cache-update.patch | 12 ++++++++++++
sysprof.spec | 2 ++
2 files changed, 14 insertions(+)
---
diff --git a/sysprof.spec b/sysprof.spec
index fee7631..30402f9 100644
--- a/sysprof.spec
+++ b/sysprof.spec
@@ -12,6 +12,7 @@ License: GPL v3+
Group: Applications/System
Source0: https://download.gnome.org/sources/sysprof/3.48/%{name}-%{version}.tar.xz
# Source0-md5: ee1556063c7b8d9abd414f451b04c33a
+Patch0: no-cache-update.patch
URL: http://www.sysprof.com/
BuildRequires: cairo-devel
# -std=gnu11 + C11 atomics
@@ -129,6 +130,7 @@ Pliki nagłówkowe biblioteki sysprof-ui.
%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..1dd2d6d
--- /dev/null
+++ b/no-cache-update.patch
@@ -0,0 +1,12 @@
+--- sysprof-3.48.0/meson.build.orig 2023-03-17 20:14:21.000000000 +0100
++++ sysprof-3.48.0/meson.build 2023-10-19 00:48:55.610128482 +0200
+@@ -252,7 +252,7 @@
+
+ if get_option('gtk') and gnome.found()
+ gnome.post_install(
+- gtk_update_icon_cache: true,
+- update_desktop_database: true
++ gtk_update_icon_cache: false,
++ update_desktop_database: false
+ )
+ endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/sysprof.git/commitdiff/96be42642508c4c8f5b9b456e1eb2701c8b30646
More information about the pld-cvs-commit
mailing list