From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: "Peter A. Bigot" <pab@pabigot.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [RFC 07/14] qt-mobility: switch to virtual/bluez
Date: Wed, 12 Nov 2014 11:06:10 +0000 [thread overview]
Message-ID: <1415790370.2820.45.camel@linuxfoundation.org> (raw)
In-Reply-To: <4df30acac92f854aa92f221c7663c952da8d9f1f.1415647839.git.pab@pabigot.com>
On Mon, 2014-11-10 at 15:13 -0600, Peter A. Bigot wrote:
> Signed-off-by: Peter A. Bigot <pab@pabigot.com>
> ---
> meta/recipes-qt/qt4/qt-mobility_1.2.0.inc | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-qt/qt4/qt-mobility_1.2.0.inc b/meta/recipes-qt/qt4/qt-mobility_1.2.0.inc
> index ae1769d..61b5281 100644
> --- a/meta/recipes-qt/qt4/qt-mobility_1.2.0.inc
> +++ b/meta/recipes-qt/qt4/qt-mobility_1.2.0.inc
> @@ -3,7 +3,7 @@ DEPENDS = "gstreamer util-linux"
>
> PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '', d)} \
> ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluetooth', '', d)}"
> -PACKAGECONFIG[bluetooth] = ",,bluez4"
> +PACKAGECONFIG[bluetooth] = ",,virtual/bluez"
> PACKAGECONFIG[pulseaudio] = ",,pulseaudio"
>
> LICENSE = "LGPLv2.1"
I think its examples like this where I start to get concerned. I don't
think the problem we're trying to solve here (bluez4 verses bluez5) maps
well to the way virtual/* is meant to work.
virtual/* things are meant to be equivalent, it doesn't matter which
ones the recipe builds against, it works. A compiler or a kernel are
good examples. That isn't the case for v4 verses v5 since some software
works with 4, some with 5 and some with both.
So what do we need to do?
I think this needs a:
PACKAGECONFIG[bluetooth5] = ",,bluez5"
and then we add a bluetooth5 DiSTRO_FEATURE and a:
${@bb.utils.contains('DISTRO_FEATURES',
'bluetooth5', 'bluetooth5', '', d)}"
We could probably use a mechanism to flag two options as conflicting,
e.g. both bluetooth and bluetooth5 in DISTRO_FEATURES or in
PACKAGECONFIG however that is a separate issue.
We'll of course still need VIRTUAL-RUNTIME_bluez but that isn't a new
problem.
Does that approach work for people?
Cheers,
Richard
next prev parent reply other threads:[~2014-11-12 11:06 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-10 21:12 [RFC 00/14] add virtual/bluez Peter A. Bigot
2014-11-10 21:12 ` [RFC 01/14] bluez5: upgrade to 5.25 Peter A. Bigot
2014-11-10 21:12 ` [RFC 02/14] bluez5: fix QA error from configure option Peter A. Bigot
2014-11-10 21:13 ` [RFC 03/14] default-providers: support virtual/bluez Peter A. Bigot
2014-11-10 21:13 ` [RFC 04/14] bluez-hcidump: select provider for bluez4/bluez5 Peter A. Bigot
2014-11-10 21:13 ` [RFC 05/14] packagegroup-base: switch to VIRTUAL-RUNTIME_bluez Peter A. Bigot
2014-11-10 21:13 ` [RFC 06/14] pulseaudio: switch to virtual/bluez Peter A. Bigot
2014-11-10 23:20 ` Martin Jansa
2014-11-11 0:03 ` Peter A. Bigot
2014-11-10 21:13 ` [RFC 07/14] qt-mobility: " Peter A. Bigot
2014-11-12 11:06 ` Richard Purdie [this message]
2014-11-12 13:48 ` Peter A. Bigot
2014-11-13 10:06 ` Richard Purdie
2014-11-13 13:23 ` Peter A. Bigot
2014-11-10 21:13 ` [RFC 08/14] gstreamer1.0-plugins-bad: " Peter A. Bigot
2014-11-10 23:20 ` Martin Jansa
2014-11-11 0:03 ` Peter A. Bigot
2014-11-10 21:13 ` [RFC 09/14] ofono: " Peter A. Bigot
2014-11-10 21:13 ` [RFC 10/14] neard: switch to VIRTUAL-RUNTIME_bluez Peter A. Bigot
2014-11-10 21:13 ` [RFC 11/14] libpcap: switch to virtual/bluez Peter A. Bigot
2014-11-10 21:13 ` [RFC 12/14] connman: " Peter A. Bigot
2014-11-10 21:13 ` [RFC 13/14] bluez5: support experimental through PACKAGECONFIG Peter A. Bigot
2014-11-10 21:13 ` [RFC 14/14] bluez5: add a package for tools left in the build area Peter A. Bigot
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=1415790370.2820.45.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=openembedded-core@lists.openembedded.org \
--cc=pab@pabigot.com \
/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.