From: Stefan Schmidt <stefan@datenfreihafen.org>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH 4/6] maliit-*-qt5: Adjust MKSPEC path
Date: Sun, 29 Sep 2013 10:48:28 +0100 [thread overview]
Message-ID: <20130929094828.GD14909@novatech.datenfreihafen.org> (raw)
In-Reply-To: <20130929070845.GC3575@jama>
[-- Attachment #1: Type: text/plain, Size: 2118 bytes --]
Hello.
On Sun, 2013-09-29 at 09:08, Martin Jansa wrote:
> On Sat, Sep 28, 2013 at 11:25:17PM +0100, Stefan Schmidt wrote:
> > ---
> > recipes-qt/maliit/maliit-framework-qt5_git.bb | 7 ++++---
> > recipes-qt/maliit/maliit-plugins-qt5_git.bb | 1 +
> > 2 files changed, 5 insertions(+), 3 deletions(-)
> >
> > diff --git a/recipes-qt/maliit/maliit-framework-qt5_git.bb b/recipes-qt/maliit/maliit-framework-qt5_git.bb
> > index 7b336ff..4f2da19 100644
> > --- a/recipes-qt/maliit/maliit-framework-qt5_git.bb
> > +++ b/recipes-qt/maliit/maliit-framework-qt5_git.bb
> > @@ -54,7 +54,7 @@ EXTRA_QMAKEVARS_PRE = "\
> > PREFIX=${prefix} \
> > LIBDIR=${libdir} \
> > QT_IM_PLUGIN_PATH=${libdir}/qt4/plugins/inputmethods \
> > - MALIIT_INSTALL_PRF=${datadir}/qt4/mkspecs/features \
> > + MALIIT_INSTALL_PRF=${QMAKE_MKSPEC_PATH}/mkspecs/features \
> > SCHEMADIR=${sysconfdir}/gconf/schemas \
> > CONFIG+=disable-gconf \
> > CONFIG+=disable-gtk-cache-update \
> > @@ -68,8 +68,9 @@ EXTRA_OEMAKE += "INSTALL_ROOT=${D}"
> >
> > do_install_append() {
> > #Fix absolute paths
> > - sed -i -e "s|/usr|${STAGING_DIR_TARGET}${prefix}|" ${D}/${datadir}/qt4/mkspecs/features/maliit-framework.prf
> > - sed -i -e "s|/usr|${STAGING_DIR_TARGET}${prefix}|" ${D}/${datadir}/qt4/mkspecs/features/maliit-plugins.prf
> > + sed -i -e "s|/usr|${STAGING_DIR_TARGET}${prefix}|" ${D}/usr/lib/qt5/mkspecs/features/maliit-framework.prf
> > + sed -i -e "s|/usr|${STAGING_DIR_TARGET}${prefix}|" ${D}/usr/lib/qt5/mkspecs/features/maliit-plugins.prf
> > + sed -i -e "s|/usr|${STAGING_DIR_TARGET}${prefix}|" ${D}/usr/lib/qt5/mkspecs/features/maliit-defines.prf
>
> Why not use QMAKE_MKSPEC_PATH here as well?
Because it does not work. I tried to use it initially. Just checked
again it fails with:
sed: can't read /data/WebOS/webos-ports-env/webos-ports/tmp-eglibc/sysroots/maguro/usr/lib/qt5/mkspecs/features/maliit-framework.prf: No such file or directory
At this stage the files are in ${D} but not in the maguro sysroot.
regards
Stefan Schmidt
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 258 bytes --]
next prev parent reply other threads:[~2013-09-29 9:48 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-28 22:25 [PATCH 1/6] maliit: Import maliit recipes from meta-oe Stefan Schmidt
2013-09-28 22:25 ` [PATCH 2/6] maliit-framework-qt5: Build with qt5 Stefan Schmidt
2013-09-28 22:25 ` [PATCH 3/6] maliit-plugins-qt5: " Stefan Schmidt
2013-09-28 22:25 ` [PATCH 4/6] maliit-*-qt5: Adjust MKSPEC path Stefan Schmidt
2013-09-29 7:08 ` Martin Jansa
2013-09-29 9:48 ` Stefan Schmidt [this message]
2013-09-29 22:02 ` Martin Jansa
2013-09-30 17:19 ` Stefan Schmidt
2013-09-28 22:25 ` [PATCH 5/6] meta-framework-qt5: Cleanup packaging and enable dbus activation Stefan Schmidt
2013-09-28 22:25 ` [PATCH 6/6] maliit-plugins-qt5: Set MALIIT_PLUGINS_DATA_DIR to avoid path leakage from host Stefan Schmidt
2013-09-28 22:33 ` [PATCH 1/6] maliit: Import maliit recipes from meta-oe Stefan Schmidt
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=20130929094828.GD14909@novatech.datenfreihafen.org \
--to=stefan@datenfreihafen.org \
--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.