Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Andreas Oberritter <obi@opendreambox.org>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-oe][PATCH] libconnman-qt: fix linking and packaging with Qt4/Embedded
Date: Sat, 01 Feb 2014 13:33:19 +0100	[thread overview]
Message-ID: <52ECE98F.80600@opendreambox.org> (raw)
In-Reply-To: <20140201075048.GB3718@jama>

On 01.02.2014 08:50, Martin Jansa wrote:
> On Tue, Jan 28, 2014 at 04:34:43PM +0100, Andreas Oberritter wrote:
>> * Don't overwrite EXTRA_QMAKEVARS_PRE, because qt4e.bbclass uses
>>   it to pass on QT_LIBINFX.
>> * Generalize QT_IMPORTS_DIR to make it valid for qte.
>>
>> Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
>> ---
>>  meta-oe/recipes-qt/libconnman-qt/libconnman-qt.inc | 4 ++--
>>  1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/meta-oe/recipes-qt/libconnman-qt/libconnman-qt.inc b/meta-oe/recipes-qt/libconnman-qt/libconnman-qt.inc
>> index e4f68db..77e70e8 100644
>> --- a/meta-oe/recipes-qt/libconnman-qt/libconnman-qt.inc
>> +++ b/meta-oe/recipes-qt/libconnman-qt/libconnman-qt.inc
>> @@ -12,7 +12,7 @@ S = "${WORKDIR}/git"
>>  
>>  inherit pkgconfig
>>  
>> -EXTRA_QMAKEVARS_PRE = "CONFIG+=notests"
>> +EXTRA_QMAKEVARS_PRE += "CONFIG+=notests"
>>  
>>  do_configure_prepend() {
>>      # Hack *.pro variables
>> @@ -48,6 +48,6 @@ FILES_${PN}-plugin-dbg = " \
>>      ${PLUGINS_TARGET}/.debug/* \
>>  "
>>  
>> -QT_IMPORTS_DIR = "${libdir}/qt4/imports"
>> +QT_IMPORTS_DIR = "${libdir}/${QT_DIR_NAME}/imports"
>>  # the plugin target needs to be the same as 'target.path' and 'qmldir.path' in ${S}/plugin/plugin.pro
>>  PLUGINS_TARGET = "${QT_IMPORTS_DIR}/MeeGo/Connman"
> 
> Can qte version install files in sysroot with different names? Currently
> they conflict with qt version:

Not by default. This would require patches for libconnman-qt and also
for applications using it, because the pkgconfig name would diverge from
upstream. Not a problem for my use case, though.

I'll try to work something out.

Regards,
Andreas

> NOTE: recipe libconnman-qt-1.0.46+gitAUTOINC+ddbeaf72b4-r0: task do_populate_sysroot: Started
> NOTE: recipe libconnman-qt-1.0.46+gitAUTOINC+ddbeaf72b4-r0: task do_package: Started
> WARNING: The recipe libconnman-qt is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
>    /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/lib/libconnman-qt4.so.1.0.46
>    Matched in manifest-qemuarm-libconnman-qte.populate_sysroot
>    /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/lib/libconnman-qt4.so
>    Matched in manifest-qemuarm-libconnman-qte.populate_sysroot
>    /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/lib/libconnman-qt4.so.1
>    Matched in manifest-qemuarm-libconnman-qte.populate_sysroot
>    /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/lib/libconnman-qt4.so.1.0
>    Matched in manifest-qemuarm-libconnman-qte.populate_sysroot
>    /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/lib/libconnman-qt4.prl
>    Matched in manifest-qemuarm-libconnman-qte.populate_sysroot
>    /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/lib/connman-qt4.pc
>    Matched in manifest-qemuarm-libconnman-qte.populate_sysroot
>    /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/lib/pkgconfig/connman-qt4.pc
>    Matched in manifest-qemuarm-libconnman-qte.populate_sysroot
>    /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/include/connman-qt/networkmanager.h
>    Matched in manifest-qemuarm-libconnman-qte.populate_sysroot
>    /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/include/connman-qt/networktechnology.h
>    Matched in manifest-qemuarm-libconnman-qte.populate_sysroot
>    /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/include/connman-qt/networkservice.h
>    Matched in manifest-qemuarm-libconnman-qte.populate_sysroot
>    /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/include/connman-qt/commondbustypes.h
>    Matched in manifest-qemuarm-libconnman-qte.populate_sysroot
>    /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/include/connman-qt/connmannetworkproxyfactory.h
>    Matched in manifest-qemuarm-libconnman-qte.populate_sysroot
>    /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/include/connman-qt/clockmodel.h
>    Matched in manifest-qemuarm-libconnman-qte.populate_sysroot
>    /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/include/connman-qt/useragent.h
>    Matched in manifest-qemuarm-libconnman-qte.populate_sysroot
>    /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/include/connman-qt/sessionagent.h
>    Matched in manifest-qemuarm-libconnman-qte.populate_sysroot
>    /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/include/connman-qt/networksession.h
>    Matched in manifest-qemuarm-libconnman-qte.populate_sysroot
>    /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/include/connman-qt/counter.h
>    Matched in manifest-qemuarm-libconnman-qte.populate_sysroot
> Please verify which package should provide the above files.
> 
>> -- 
>> 1.8.3.2
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> 
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> 



      reply	other threads:[~2014-02-01 12:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-20 15:08 [meta-oe][PATCH] libconnman-qt: update to 1.0.46, add recipe for qte Andreas Oberritter
2014-01-22 14:23 ` Otavio Salvador
2014-01-22 17:40 ` Felipe Ferreri Tonello
2014-01-22 18:57   ` Andreas Oberritter
2014-01-22 19:09     ` Martin Jansa
2014-01-28 14:16       ` [meta-oe][PATCH v2] " Andreas Oberritter
2014-01-28 14:23         ` Andreas Oberritter
2014-01-28 14:33           ` Martin Jansa
2014-01-28 15:34             ` [meta-oe][PATCH] libconnman-qt: fix linking and packaging with Qt4/Embedded Andreas Oberritter
2014-01-28 21:49               ` Otavio Salvador
2014-02-01  7:50               ` Martin Jansa
2014-02-01 12:33                 ` Andreas Oberritter [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=52ECE98F.80600@opendreambox.org \
    --to=obi@opendreambox.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox