[packages/gnome-online-accounts] add patch to disable schemas compile and icon cache update on install

atler atler at pld-linux.org
Tue Jul 25 11:10:14 CEST 2023


commit c97449e93b76aef177abf1836b83fb419b2c111c
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue Jul 25 09:59:21 2023 +0200

    add patch to disable schemas compile and icon cache update on install
    
    avoids dependency on gtk-update-icon-cache as well

 gnome-online-accounts.spec  |  2 ++
 no-gnome-post-install.patch | 14 ++++++++++++++
 2 files changed, 16 insertions(+)
---
diff --git a/gnome-online-accounts.spec b/gnome-online-accounts.spec
index c6147d7..1ec75e3 100644
--- a/gnome-online-accounts.spec
+++ b/gnome-online-accounts.spec
@@ -13,6 +13,7 @@ License:	LGPL v2+
 Group:		Libraries
 Source0:	https://download.gnome.org/sources/gnome-online-accounts/3.48/%{name}-%{version}.tar.xz
 # Source0-md5:	9406339e88caf9ecd11191f96b6cc10e
+Patch0:		no-gnome-post-install.patch
 URL:		https://wiki.gnome.org/Projects/GnomeOnlineAccounts
 BuildRequires:	dbus-devel
 BuildRequires:	gettext-tools >= 0.19.8
@@ -115,6 +116,7 @@ API języka Vala do bibliotek gnome-online-accounts.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %meson build \
diff --git a/no-gnome-post-install.patch b/no-gnome-post-install.patch
new file mode 100644
index 0000000..eaa71e6
--- /dev/null
+++ b/no-gnome-post-install.patch
@@ -0,0 +1,14 @@
+--- gnome-online-accounts-3.48.0/meson.build.orig	2023-03-17 23:17:11.000000000 +0100
++++ gnome-online-accounts-3.48.0/meson.build	2023-07-25 09:54:08.115954307 +0200
+@@ -265,11 +265,6 @@
+ 
+ subdir('po')
+ 
+-gnome.post_install(
+-  glib_compile_schemas: enable_goabackend,
+-  gtk_update_icon_cache: true,
+-)
+-
+ summary({
+     'prefix': goa_prefix,
+     'libdir': goa_libdir,
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gnome-online-accounts.git/commitdiff/c97449e93b76aef177abf1836b83fb419b2c111c



More information about the pld-cvs-commit mailing list