[packages/malcontent] add patch to disable icon/desktop cache update in %install
atler
atler at pld-linux.org
Fri Apr 19 14:24:03 CEST 2024
commit 1c220f5f2c232d6a6a68f4151315f042c37574de
Author: Jan Palus <atler at pld-linux.org>
Date: Fri Apr 19 13:33:47 2024 +0200
add patch to disable icon/desktop cache update in %install
malcontent.spec | 2 ++
no-cache-update.patch | 13 +++++++++++++
2 files changed, 15 insertions(+)
---
diff --git a/malcontent.spec b/malcontent.spec
index b78e415..f01f95b 100644
--- a/malcontent.spec
+++ b/malcontent.spec
@@ -13,6 +13,7 @@ Group: Applications
#Source0Download: https://gitlab.freedesktop.org/pwithnall/malcontent/-/tags
Source0: https://gitlab.freedesktop.org/pwithnall/malcontent/-/archive/%{version}/%{name}-%{version}.tar.bz2
# Source0-md5: 481685ce3cf72f3e8ef1affe06dd1f6c
+Patch0: no-cache-update.patch
URL: https://gitlab.freedesktop.org/pwithnall/malcontent
%{?with_gui:BuildRequires: AppStream-devel >= 0.12.10}
%{?with_gui:BuildRequires: accountsservice-devel >= 0.6.39}
@@ -141,6 +142,7 @@ Statyczna biblioteka libmalcontent-ui.
%prep
%setup -q
+%patch0 -p1
%{__sed} -i -e '1s,/usr/bin/env python3,%{__python3},' malcontent-client/malcontent-client.py
diff --git a/no-cache-update.patch b/no-cache-update.patch
new file mode 100644
index 0000000..767339a
--- /dev/null
+++ b/no-cache-update.patch
@@ -0,0 +1,13 @@
+--- malcontent-0.12.0/meson.build.orig 2024-03-15 17:31:26.000000000 +0100
++++ malcontent-0.12.0/meson.build 2024-04-19 13:30:18.988216018 +0200
+@@ -154,8 +154,8 @@
+ subdir('malcontent-control')
+
+ gnome.post_install(
+- gtk_update_icon_cache: true,
+- update_desktop_database: true,
++ gtk_update_icon_cache: false,
++ update_desktop_database: false,
+ )
+ endif
+ subdir('pam')
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/malcontent.git/commitdiff/1c220f5f2c232d6a6a68f4151315f042c37574de
More information about the pld-cvs-commit
mailing list