Skip to contentSkip to conversation

gtk-immodule

DISCUSSION Khem Raj 2 participants 2 messages Aug 27, 2010 – Aug 29, 2010 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Khem Raj

author
#1 lore raw
Quoted 4 lines · Denis 'GNUtoo' Carikli

hi,
I'd like to add something like GTK_IM_MODULE=xim in /etc/profile.d for the htcdream, or maybe, any machine that has an hardware keyboard

Quoted 8 lines

how should that be added?

gtk-immodule-xim is part of the gtk+ recipes.

should I add a do_immodule() that check if there is keyboard MACHINE_FEATURES, and if there is do an echo of GTK_IM_MODULE=xim to a file which will be shiped to /etc/profile.d/immodule-gtk.sh ? And add that to the gtk-immodule package?

yes deducing it from MACHINE_FEATURES is a good approach imo.

Quoted 13 lines

without GTK_IM_MODULE=xim I've keyboard mapping issues under the htcdream:
xmodmap dream.xmodmap has no effect under gtk applications but work well with illume or xlib applications

Denis.

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#2 lore raw
Quoted 9 lines
Quoted 7 lines · Denis 'GNUtoo' Carikli

hi,
I'd like to add something like GTK_IM_MODULE=xim in /etc/profile.d for the
htcdream, or maybe, any machine that has an hardware keyboard

how should that be added?

Quoted 8 lines
Quoted 6 lines

gtk-immodule-xim is part of the gtk+ recipes.

should I add a do_immodule() that check if there is keyboard MACHINE_FEATURES, and if there is do an echo of GTK_IM_MODULE=xim to a file which will be shiped to /etc/profile.d/immodule-gtk.sh ? And add that to the gtk-immodule package?

yes deducing it from MACHINE_FEATURES is a good approach imo.

How should I implement the code that does that:
I need to do that(bash version of the python function I used):
FILES_gtk-immodule-xim += "${sysconfdir}/profile.d/immodule-gtk.sh" PACKAGE_ARCH_gtk-immodule-xim = "${MACHINE_ARCH}"

but there is an issue:
gtk-immodule-xim is part of PACKAGES_DYNAMIC,and it uses do_split_packages if I add some python code after do_split_packages it seem to have no effect

Also, I wonder how multimachine builds would work:
the package is machine arch, but does gtk+ need to be rebuild for each machine? that would be a huge issue for angstrom.

Denis.