[packages/nautilus] add patch to disable icon/desktop cache update in %install
atler
atler at pld-linux.org
Tue Sep 10 19:33:19 CEST 2024
commit b1b3120307e07ab17512ada33d68aeb5f041d9a6
Author: Jan Palus <atler at pld-linux.org>
Date: Tue Sep 10 19:12:52 2024 +0200
add patch to disable icon/desktop cache update in %install
nautilus.spec | 2 ++
no-cache-update.patch | 13 +++++++++++++
2 files changed, 15 insertions(+)
---
diff --git a/nautilus.spec b/nautilus.spec
index 9c5bb88..c746eb1 100644
--- a/nautilus.spec
+++ b/nautilus.spec
@@ -15,6 +15,7 @@ Group: X11/Applications
Source0: https://download.gnome.org/sources/nautilus/46/%{name}-%{version}.tar.xz
# Source0-md5: 88acd6bd9c5d01fb02c8827222c07bc5
Patch0: %{name}-no-c23.patch
+Patch1: no-cache-update.patch
URL: https://wiki.gnome.org/Apps/Files
# -std=c11
BuildRequires: gcc >= 6:4.7
@@ -132,6 +133,7 @@ Dokumentacja API Nautilusa.
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
%meson build \
diff --git a/no-cache-update.patch b/no-cache-update.patch
new file mode 100644
index 0000000..f9c9db1
--- /dev/null
+++ b/no-cache-update.patch
@@ -0,0 +1,13 @@
+--- nautilus-46.2/meson.build.orig 2024-05-26 02:34:37.000000000 +0200
++++ nautilus-46.2/meson.build 2024-09-10 19:10:08.087068720 +0200
+@@ -228,7 +228,7 @@
+ #############
+
+ 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,
+ )
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/nautilus.git/commitdiff/b1b3120307e07ab17512ada33d68aeb5f041d9a6
More information about the pld-cvs-commit
mailing list