[packages/dconf-editor] disable schema compile and cache updates during install
atler
atler at pld-linux.org
Sun Oct 29 00:10:26 CEST 2023
commit 213cf2c2cba9da2223c9a2c16601db17240f91cf
Author: Jan Palus <atler at pld-linux.org>
Date: Sat Oct 28 23:08:37 2023 +0200
disable schema compile and cache updates during install
dconf-editor.spec | 2 ++
no-schema-upate-cache-compile.patch | 13 +++++++++++++
2 files changed, 15 insertions(+)
---
diff --git a/dconf-editor.spec b/dconf-editor.spec
index dd60758..9b7f56c 100644
--- a/dconf-editor.spec
+++ b/dconf-editor.spec
@@ -7,6 +7,7 @@ License: GPL v3+
Group: X11/Applications
Source0: https://download.gnome.org/sources/dconf-editor/45/%{name}-%{version}.tar.xz
# Source0-md5: 82b2f5d396e95757ad7eaf89c82decd6
+Patch0: no-schema-upate-cache-compile.patch
URL: https://wiki.gnome.org/Projects/dconf
BuildRequires: dconf-devel >= 0.26.1
BuildRequires: gettext-tools
@@ -53,6 +54,7 @@ Bashowe uzupełnianie nazw dla narzędzia dconf-editor.
%prep
%setup -q
+%patch0 -p1
%build
%meson build
diff --git a/no-schema-upate-cache-compile.patch b/no-schema-upate-cache-compile.patch
new file mode 100644
index 0000000..54cbc1c
--- /dev/null
+++ b/no-schema-upate-cache-compile.patch
@@ -0,0 +1,13 @@
+--- dconf-editor-45.0.1/meson.build.orig 2023-09-20 23:42:01.000000000 +0200
++++ dconf-editor-45.0.1/meson.build 2023-10-28 23:06:16.030307552 +0200
+@@ -122,7 +122,7 @@
+ )
+
+ 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,
+ )
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/dconf-editor.git/commitdiff/13bc412d6aced99902a099e067d87a220e22a1a1
More information about the pld-cvs-commit
mailing list