[oe] [PATCH] Maliit: Add initial recipes
Otavio Salvador
otavio at ossystems.com.br
Tue Oct 16 11:09:30 UTC 2012
On Tue, Oct 2, 2012 at 5:28 AM, Samuel Stirtzel
<s.stirtzel at googlemail.com> 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 <s.stirtzel at googlemail.com>
Thanks by working on this. Bellow my comments ...
...
> diff --git a/meta-oe/recipes-support/maliit/maliit-framework_git.bb b/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?
...
> +# 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.
As said by Martin, please read the README and follow the steps to send
the patch...
--
Otavio Salvador O.S. Systems
E-mail: otavio at ossystems.com.br http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
More information about the Openembedded-devel
mailing list