[OE-core] [PATCH] matchbox-keyboard: export GTK_IM_MODULE_FILE location

Maxin B. John maxin.john at intel.com
Mon Jan 4 15:20:57 UTC 2016


This commit in gtk+ moved the cache files below <libdir>
"
commit c8849046860a9b17fa943247d85ddadb29262b48
Author: Matthias Clasen <mclasen at redhat.com>
Date:   Thu Jul 4 09:27:17 2013 -0400

Move the module cache files below libdir

These files contain architecture-dependent paths, and thus placing
them into sysconfdir causes unnecessary hassle. Now the immodule cache
file is looked for in libdir/gtk-2.0/2.10.0/immodules.cache.
Belated backport of a change that was done in the run-up to 3.0.
"

Since gtk-immodules-cache.bbclass creates the cache file in
"/etc/gtk-2.0/gtk.immodules", the environment variable "GTK_IM_MODULE_FILE"
can be set to point GTK+ at the file.

[YOCTO #6774]

Signed-off-by: Maxin B. John <maxin.john at intel.com>
---
 meta/recipes-sato/matchbox-keyboard/files/80matchboxkeyboard.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-sato/matchbox-keyboard/files/80matchboxkeyboard.sh b/meta/recipes-sato/matchbox-keyboard/files/80matchboxkeyboard.sh
index 6cf188b..63d9b8d 100644
--- a/meta/recipes-sato/matchbox-keyboard/files/80matchboxkeyboard.sh
+++ b/meta/recipes-sato/matchbox-keyboard/files/80matchboxkeyboard.sh
@@ -1,6 +1,7 @@
 #!/bin/sh
 
 . /etc/formfactor/config
+export GTK_IM_MODULE_FILE="/etc/gtk-2.0/gtk.immodules"
 
 CMD=""
 
-- 
2.4.0




More information about the Openembedded-core mailing list