All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: Johannes Pointner <h4nn35.work@gmail.com>
Cc: openembedded-devel@lists.openembedded.org
Subject: Re: [[PATCH][meta-qt5]] maliit-framework-qt5: fixed paths and enabled qt5-inputcontext
Date: Wed, 30 Sep 2015 22:18:29 +0200	[thread overview]
Message-ID: <20150930201829.GF2405@jama> (raw)
In-Reply-To: <1443643033-16565-1-git-send-email-johannes.pointner@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 2701 bytes --]

On Wed, Sep 30, 2015 at 09:57:13PM +0200, Johannes Pointner wrote:
> *Fixes paths for qt5 and enables qt5-inputcontext.

Please inherit qmake5_paths and use variables from there.

> Signed-off-by: Johannes Pointner <johannes.pointner@gmail.com>
> ---
>  recipes-qt/maliit/maliit-framework-qt5_git.bb | 12 ++++++------
>  1 file changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git a/recipes-qt/maliit/maliit-framework-qt5_git.bb b/recipes-qt/maliit/maliit-framework-qt5_git.bb
> index 975892d..03bd6ed 100644
> --- a/recipes-qt/maliit/maliit-framework-qt5_git.bb
> +++ b/recipes-qt/maliit/maliit-framework-qt5_git.bb
> @@ -20,9 +20,6 @@ GTKIMMODULES_PACKAGES = "${PN}-gtk"
>  
>  DEPENDS = "qtdeclarative"
>  
> -# FIXME: Do we need something like this with qt5?
> -#RDEPENDS_${PN} = "qt4-plugin-inputmethod-imsw-multi libqtsvg4"
> -
>  RRECOMMENDS_${PN} = "maliit-plugins-qt5"
>  
>  FILES_${PN} += "\
> @@ -30,10 +27,12 @@ FILES_${PN} += "\
>      ${bindir} \
>      ${datadir}/applications/maliit-server.desktop \
>      ${datadir}/dbus-1 \
> +    ${libdir}/qt5/plugins/platforminputcontexts \
>  "
>  
>  FILES_${PN}-dbg += "\
>      ${libdir}/maliit-framework-tests \
> +    ${libdir}/qt5/plugins/platforminputcontexts/.debug \
>  "
>  
>  FILES_${PN}-dev += "\
> @@ -46,7 +45,7 @@ EXTRA_QMAKEVARS_PRE = "\
>      PREFIX=${prefix} \
>      LIBDIR=${libdir} \
>      DATADIR=${datadir} \
> -    QT_IM_PLUGIN_PATH=${libdir}/qt4/plugins/inputmethods \
> +    QT_INSTALL_PLUGINS=${libdir}/qt5/plugins \
>      MALIIT_INSTALL_PRF=${QMAKE_MKSPEC_PATH}/mkspecs/features \
>      SCHEMADIR=${sysconfdir}/gconf/schemas \
>      CONFIG+=disable-gconf \
> @@ -56,14 +55,15 @@ EXTRA_QMAKEVARS_PRE = "\
>      CONFIG+=nodoc \
>      CONFIG+=noxcb \
>      CONFIG+=enable-dbus-activation \
> +    CONFIG+=qt5-inputcontext \
>  "
>  
>  EXTRA_OEMAKE += "INSTALL_ROOT=${D}"
>  
>  do_install_append() {
>      #Fix absolute paths
> -    sed -i -e "s|/usr|${STAGING_DIR_TARGET}${prefix}|" ${D}/${libdir}${QT_DIR_NAME}/mkspecs/features/maliit-framework.prf
> -    sed -i -e "s|/usr|${STAGING_DIR_TARGET}${prefix}|" ${D}/${libdir}${QT_DIR_NAME}/mkspecs/features/maliit-plugins.prf
> +    sed -i -e "s|/usr|${STAGING_DIR_TARGET}${prefix}|" ${D}/${libdir}/${QT_DIR_NAME}/mkspecs/features/maliit-framework.prf
> +    sed -i -e "s|/usr|${STAGING_DIR_TARGET}${prefix}|" ${D}/${libdir}/${QT_DIR_NAME}/mkspecs/features/maliit-plugins.prf
>  
>      install -d ${D}${datadir}/applications
>      install -m 644 ${WORKDIR}/maliit-server.desktop ${D}${datadir}/applications
> -- 
> 2.6.0
> 

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

      reply	other threads:[~2015-09-30 20:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-30 19:57 [[PATCH][meta-qt5]] maliit-framework-qt5: fixed paths and enabled qt5-inputcontext Johannes Pointner
2015-09-30 20:18 ` Martin Jansa [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150930201829.GF2405@jama \
    --to=martin.jansa@gmail.com \
    --cc=h4nn35.work@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.