]> git.pld-linux.org Git - packages/sysprof.git/commitdiff
add patch to disable icon/desktop cache update during install
authorJan Palus <atler@pld-linux.org>
Wed, 18 Oct 2023 22:51:17 +0000 (00:51 +0200)
committerJan Palus <atler@pld-linux.org>
Wed, 18 Oct 2023 22:51:17 +0000 (00:51 +0200)
no-cache-update.patch [new file with mode: 0644]
sysprof.spec

diff --git a/no-cache-update.patch b/no-cache-update.patch
new file mode 100644 (file)
index 0000000..1dd2d6d
--- /dev/null
@@ -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
index fee7631f121859c37009114de21a7b5006de6df4..30402f9bc48d579385ecbbc5f7926673fdd366f8 100644 (file)
@@ -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 \
This page took 0.102051 seconds and 4 git commands to generate.