[gtk+] build: Create input method module cache directory
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] build: Create input method module cache directory
- Date: Mon, 5 Feb 2018 14:23:07 +0000 (UTC)
commit a5363b9e5dea21226ee8224cb9c2e80a60c03dc6
Author: Daniel Stone <daniels collabora com>
Date: Wed Aug 23 18:53:59 2017 +0100
build: Create input method module cache directory
Before running gtk-query-immodules, the cache output directory may not
actually exist. Make sure it does before we try to write into it.
https://bugzilla.gnome.org/show_bug.cgi?id=793182
Signed-off-by: Daniel Stone <daniels collabora com>
build-aux/meson/post-install.sh | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/build-aux/meson/post-install.sh b/build-aux/meson/post-install.sh
index c7390fa..da564a5 100755
--- a/build-aux/meson/post-install.sh
+++ b/build-aux/meson/post-install.sh
@@ -17,5 +17,7 @@ if [ -z "$DESTDIR" ]; then
gtk-update-icon-cache -q -t -f ${gtk_datadir}/icons/hicolor
echo Updating input method modules cache...
- gtk4-query-immodules > ${gtk_libdir}/gtk-${gtk_api_version}/${gtk_abi_version}/immodules.cache
+ gtk_imdir=${gtk_libdir}/gtk-${gtk_api_version}/${gtk_abi_version}
+ mkdir -p ${gtk_imdir}
+ gtk4-query-immodules > ${gtk_imdir}/immodules.cache
fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]