[gtk/gtk-3-24: 1/2] post-install: get absolute path to gtk-update-icon-cache
- From: Christoph Reiter <creiter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-3-24: 1/2] post-install: get absolute path to gtk-update-icon-cache
- Date: Thu, 27 Jun 2019 15:15:27 +0000 (UTC)
commit 70123468b50d539e9bd1c617f05e08e76ad95702
Author: worldofpeace <worldofpeace protonmail ch>
Date: Wed Jun 26 17:21:59 2019 -0400
post-install: get absolute path to gtk-update-icon-cache
Identical to how gtk-query-immodules is being handled here.
build-aux/meson/post-install.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/build-aux/meson/post-install.py b/build-aux/meson/post-install.py
index 71edc4da80..986fd23025 100644
--- a/build-aux/meson/post-install.py
+++ b/build-aux/meson/post-install.py
@@ -12,6 +12,7 @@ if 'DESTDIR' not in os.environ:
gtk_libdir = sys.argv[4]
gtk_datadir = sys.argv[5]
gtk_query_immodules = os.path.join(gtk_bindir, 'gtk-query-immodules-' + gtk_api_version)
+ gtk_update_icon_cache = os.path.join(gtk_bindir, 'gtk-update-icon-cache')
gtk_moduledir = os.path.join(gtk_libdir, 'gtk-' + gtk_api_version, gtk_abi_version)
gtk_immodule_dir = os.path.join(gtk_moduledir, 'immodules')
@@ -30,7 +31,7 @@ if 'DESTDIR' not in os.environ:
os.path.join(gtk_datadir, 'glib-2.0', 'schemas')])
print('Updating icon cache...')
- subprocess.call(['gtk-update-icon-cache', '-q', '-t' ,'-f',
+ subprocess.call([gtk_update_icon_cache, '-q', '-t' ,'-f',
os.path.join(gtk_datadir, 'icons', 'hicolor')])
print('Updating module cache for input methods...')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]