2012/10/17 Otavio Salvador <[email protected]>: > On Wed, Oct 17, 2012 at 5:29 AM, Samuel Stirtzel > <[email protected]>wrote: > >> 2012/10/16 Otavio Salvador <[email protected]>: >> > On Tue, Oct 2, 2012 at 5:28 AM, Samuel Stirtzel >> > <[email protected]> wrote: >> >> Maliit is a Qt based virtual keyboard under liberal license (LGPLv2.1 / >> BSD) >> >> The inputmethod framework from Qt is used and it supports gtk-immodules. >> >> It can also be used without dependencies to GTK+ (separate package for >> GTK+) >> >> >> >> Signed-off-by: Samuel Stirtzel <[email protected]> >> > >> > Thanks by working on this. Bellow my comments ... >> > >> > ... >> >> diff --git >> >> a/meta-oe/recipes-support/maliit/maliit-framework_git.bbb/meta-oe/recipes-support/maliit/ >> maliit-framework_git.bb >> >> new file mode 100644 >> >> index 0000000..3f50d1b >> >> --- /dev/null >> >> +++ b/meta-oe/recipes-support/maliit/maliit-framework_git.bb >> > ... >> >> + >> >> +# Maliit needs Qt configured with -accessibility, a patch for that was >> already sent and will get merged in post 1.2. >> >> +RDEPENDS_${PN} = "qt4-plugin-inputmethod-imsw-multi libqtsvg4" >> > >> > In this case, maliit is a post 1.2 package. >> > >> > ... >> >> +EXTRA_QMAKEVARS_PRE = "\ >> >> + PREFIX=${prefix} \ >> >> + LIBDIR=${libdir} \ >> >> + QT_IM_PLUGIN_PATH=${libdir}/qt4/plugins/inputmethods \ >> >> + MALIIT_INSTALL_PRF=${datadir}/qt4/mkspecs/features \ >> >> + SCHEMADIR=${sysconfdir}/gconf/schemas \ >> >> + CONFIG+=disable-gconf \ >> >> + CONFIG+=disable-gtk-cache-update \ >> >> + CONFIG+=local-install \ >> >> + " >> > >> > Really need to disable gtk-cache-update? Why? >> >> This option is for packaging, it disables running gtk-query-immodules >> on the build-host >> > > Are you sure it is about gtk-query-immodules, it seemed to be icon-cache > related from the option name.
It looks similar to existing options, but the Qt project file explains it: http://gitorious.org/maliit/maliit-framework/blobs/master/maliit-framework.pro#line23 What it exactly does depends on the gtk version: http://gitorious.org/maliit/maliit-framework/blobs/master/gtk-input-context/client-gtk/client-gtk.pro#line40 and http://gitorious.org/maliit/maliit-framework/blobs/master/gtk-input-context/client-gtk3/client-gtk3.pro#line40 > > >> >> > >> > ... >> >> +# Update the inputmethod modules in gtk >> >> +pkg_postinst_${PN}-gtk() { >> >> +if [ "x$D" != "x" ]; then >> >> + exit 1 >> >> +fi >> >> +gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules >> >> +} >> >> + >> >> +pkg_postrm_${PN}-gtk() { >> >> +if [ "x$D" != "x" ]; then >> >> + exit 1 >> >> +fi >> >> +gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules >> >> +} >> > >> > You might add a gtk-immodules.bbclass to allow it to be put out of the >> recipe. >> >> FYI: I have a class for this, but the only other recipe using >> gtk-query-immodules is >> openembedded-core/meta/recipes-sato/matchbox-keyboard/ >> matchbox-keyboard_git.bb >> Should I send a patch with the .bbclass to oe-core? >> > > I think so. It is easier to read and avoid code duplication. Will do. > > >> >> > >> > As said by Martin, please read the README and follow the steps to send >> > the patch... >> >> Seems to be a classic case of -ENOCOFFEEYET >> >> Will re-send with the right prefix >> > > hehe, right ... > > Take a double expresso coffee and try again ;-) > > -- > Otavio Salvador O.S. Systems > E-mail: [email protected] http://www.ossystems.com.br > Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br > _______________________________________________ > Openembedded-devel mailing list > [email protected] > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel -- Regards Samuel _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
