summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Palus2023-10-28 21:08:37 (GMT)
committerJan Palus2023-10-28 21:08:37 (GMT)
commit213cf2c2cba9da2223c9a2c16601db17240f91cf (patch)
treec76b882cec7f21b4adb2c1190f5cd2404aa09452
parent7ec23e90fb625beca6b1e37fd61d88f866cf1933 (diff)
downloaddconf-editor-213cf2c2cba9da2223c9a2c16601db17240f91cf.zip
dconf-editor-213cf2c2cba9da2223c9a2c16601db17240f91cf.tar.gz
disable schema compile and cache updates during install
-rw-r--r--dconf-editor.spec2
-rw-r--r--no-schema-upate-cache-compile.patch13
2 files changed, 15 insertions, 0 deletions
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,
+ )