Skip to contentSkip to conversation

matchbox-keyboard: export GTK_IM_MODULE_FILE location

PATCH In review Maxin B. John 1 participant 2 messages Jan 4, 2016 – Jan 14, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 matchbox-keyboard: export GTK_IM_MODULE_FILE location

This commit in gtk+ moved the cache files below <libdir> "
commit c8849046860a9b17fa943247d85ddadb29262b48

Author: Matthias Clasen <[email protected]>
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]

---
 meta/recipes-sato/matchbox-keyboard/files/80matchboxkeyboard.sh | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-sato/matchbox-keyboard/files/80matchboxkeyboard.sh +1 -0
index 6cf188b..63d9b8d 100644
@@ -1,6 +1,7 @@
 #!/bin/sh
 
 . /etc/formfactor/config
+export GTK_IM_MODULE_FILE="/etc/gtk-2.0/gtk.immodules"
 
 CMD=""
 
Signature · 1 line
2.4.0
#1 lore raw

Hi,

gentle ping on this one.

Quoted 40 lines · Maxin B. John

This commit in gtk+ moved the cache files below <libdir> "
commit c8849046860a9b17fa943247d85ddadb29262b48

Author: Matthias Clasen <[email protected]>
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]

---
 meta/recipes-sato/matchbox-keyboard/files/80matchboxkeyboard.sh | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-sato/matchbox-keyboard/files/80matchboxkeyboard.sh +1 -0
index 6cf188b..63d9b8d 100644
@@ -1,6 +1,7 @@
 #!/bin/sh
 
 . /etc/formfactor/config
+export GTK_IM_MODULE_FILE="/etc/gtk-2.0/gtk.immodules"
 
 CMD=""
 
Signature · 1 line
2.4.0