* [PATCH 01/11] bluez4: Add virtual/bluez as provider
2014-03-26 14:27 ` [PATCH 00/11] Change all bluez4 references to virtual/bluez Lauren Post
@ 2014-03-26 14:27 ` Lauren Post
2014-03-26 17:03 ` Burton, Ross
2014-03-26 14:27 ` [PATCH 02/11] conman: Change RDEPENDS on bluez4 to virtual/bluez Lauren Post
` (10 subsequent siblings)
11 siblings, 1 reply; 30+ messages in thread
From: Lauren Post @ 2014-03-26 14:27 UTC (permalink / raw)
To: openembedded-core
This will make it easier to allow bluez5 support later
Without this change too many components depend directly on bluez4
If these components depend on virtual/bluez then easier to upgrade.
Signed-off-by: Lauren Post <lauren.post@freescale.com>
---
meta/recipes-connectivity/bluez/bluez4.inc | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/recipes-connectivity/bluez/bluez4.inc b/meta/recipes-connectivity/bluez/bluez4.inc
index 0827005..dce9642 100644
--- a/meta/recipes-connectivity/bluez/bluez4.inc
+++ b/meta/recipes-connectivity/bluez/bluez4.inc
@@ -7,9 +7,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e \
file://COPYING.LIB;md5=fb504b67c50331fc78734fed90fb0e09 \
file://src/main.c;beginline=1;endline=24;md5=9bc54b93cd7e17bf03f52513f39f926e \
file://sbc/sbc.c;beginline=1;endline=25;md5=1a40781ed30d50d8639323a184aeb191"
+
DEPENDS = "udev libusb dbus-glib glib-2.0 libcheck readline libsndfile1"
RDEPENDS_${PN}-dev = "bluez-hcidump"
+PROVIDES += "virtual/bluez"
+RPROVIDES_${PN} += "virtual/bluez"
+
PACKAGECONFIG ??= "\
${@base_contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)}\
${@base_contains('DISTRO_FEATURES', 'pie', 'pie', '', d)}\
--
1.7.9.5
^ permalink raw reply related [flat|nested] 30+ messages in thread* Re: [PATCH 01/11] bluez4: Add virtual/bluez as provider
2014-03-26 14:27 ` [PATCH 01/11] bluez4: Add virtual/bluez as provider Lauren Post
@ 2014-03-26 17:03 ` Burton, Ross
2014-03-26 17:26 ` Lauren Post
0 siblings, 1 reply; 30+ messages in thread
From: Burton, Ross @ 2014-03-26 17:03 UTC (permalink / raw)
To: Lauren Post; +Cc: OE-core
Surely there should also be a patch to do the same for bluez5 so the
switch can be compile-tested?
Ross
On 26 March 2014 14:27, Lauren Post <lauren.post@freescale.com> wrote:
> This will make it easier to allow bluez5 support later
> Without this change too many components depend directly on bluez4
> If these components depend on virtual/bluez then easier to upgrade.
>
> Signed-off-by: Lauren Post <lauren.post@freescale.com>
> ---
> meta/recipes-connectivity/bluez/bluez4.inc | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/meta/recipes-connectivity/bluez/bluez4.inc b/meta/recipes-connectivity/bluez/bluez4.inc
> index 0827005..dce9642 100644
> --- a/meta/recipes-connectivity/bluez/bluez4.inc
> +++ b/meta/recipes-connectivity/bluez/bluez4.inc
> @@ -7,9 +7,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e \
> file://COPYING.LIB;md5=fb504b67c50331fc78734fed90fb0e09 \
> file://src/main.c;beginline=1;endline=24;md5=9bc54b93cd7e17bf03f52513f39f926e \
> file://sbc/sbc.c;beginline=1;endline=25;md5=1a40781ed30d50d8639323a184aeb191"
> +
> DEPENDS = "udev libusb dbus-glib glib-2.0 libcheck readline libsndfile1"
> RDEPENDS_${PN}-dev = "bluez-hcidump"
>
> +PROVIDES += "virtual/bluez"
> +RPROVIDES_${PN} += "virtual/bluez"
> +
> PACKAGECONFIG ??= "\
> ${@base_contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)}\
> ${@base_contains('DISTRO_FEATURES', 'pie', 'pie', '', d)}\
> --
> 1.7.9.5
>
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
^ permalink raw reply [flat|nested] 30+ messages in thread* Re: [PATCH 01/11] bluez4: Add virtual/bluez as provider
2014-03-26 17:03 ` Burton, Ross
@ 2014-03-26 17:26 ` Lauren Post
0 siblings, 0 replies; 30+ messages in thread
From: Lauren Post @ 2014-03-26 17:26 UTC (permalink / raw)
To: Burton, Ross; +Cc: OE-core
Yes, I am working on it with all the feedback for other patches. I missed it on last batch but before I send it going to add all the other changes in v2 version.
I'll review with Otavio before I resubmit and test with both bluez4 and bluez5.
Lauren
-----Original Message-----
From: Burton, Ross [mailto:ross.burton@intel.com]
Sent: Wednesday, March 26, 2014 12:04 PM
To: Post Lauren-RAA013
Cc: OE-core
Subject: Re: [OE-core] [PATCH 01/11] bluez4: Add virtual/bluez as provider
Surely there should also be a patch to do the same for bluez5 so the switch can be compile-tested?
Ross
^ permalink raw reply [flat|nested] 30+ messages in thread
* [PATCH 02/11] conman: Change RDEPENDS on bluez4 to virtual/bluez
2014-03-26 14:27 ` [PATCH 00/11] Change all bluez4 references to virtual/bluez Lauren Post
2014-03-26 14:27 ` [PATCH 01/11] bluez4: Add virtual/bluez as provider Lauren Post
@ 2014-03-26 14:27 ` Lauren Post
2014-03-26 14:27 ` [PATCH 03/11] libpcap: Change PACKAGECONFIG from bluez4 to virutal/bluez Lauren Post
` (9 subsequent siblings)
11 siblings, 0 replies; 30+ messages in thread
From: Lauren Post @ 2014-03-26 14:27 UTC (permalink / raw)
To: openembedded-core
This will allow seamless upgrade to bluez5 later
Signed-off-by: Lauren Post <lauren.post@freescale.com>
---
meta/recipes-connectivity/connman/connman.inc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-connectivity/connman/connman.inc b/meta/recipes-connectivity/connman/connman.inc
index b3147c9..694f480 100644
--- a/meta/recipes-connectivity/connman/connman.inc
+++ b/meta/recipes-connectivity/connman/connman.inc
@@ -41,7 +41,7 @@ PACKAGECONFIG ??= "wispr \
# PACKAGECONFIG_append_pn-connman = " openvpn vpnc l2tp pptp"
PACKAGECONFIG[wifi] = "--enable-wifi, --disable-wifi, wpa-supplicant"
-PACKAGECONFIG[bluetooth] = "--enable-bluetooth, --disable-bluetooth, bluez4"
+PACKAGECONFIG[bluetooth] = "--enable-bluetooth, --disable-bluetooth, virtual/bluez"
PACKAGECONFIG[3g] = "--enable-ofono, --disable-ofono, ofono"
PACKAGECONFIG[tist] = "--enable-tist,--disable-tist,"
PACKAGECONFIG[openvpn] = "--enable-openvpn --with-openvpn=${sbindir}/openvpn,--disable-openvpn,,openvpn"
@@ -113,7 +113,7 @@ RPROVIDES_${PN} = "\
RDEPENDS_${PN} = "\
dbus \
- ${@base_contains('PACKAGECONFIG', 'bluetooth', 'bluez4', '', d)} \
+ ${@base_contains('PACKAGECONFIG', 'bluetooth', 'virtual/bluez', '', d)} \
${@base_contains('PACKAGECONFIG', 'wifi','wpa-supplicant', '', d)} \
${@base_contains('PACKAGECONFIG', '3g','ofono', '', d)} \
xuser-account \
--
1.7.9.5
^ permalink raw reply related [flat|nested] 30+ messages in thread* [PATCH 03/11] libpcap: Change PACKAGECONFIG from bluez4 to virutal/bluez
2014-03-26 14:27 ` [PATCH 00/11] Change all bluez4 references to virtual/bluez Lauren Post
2014-03-26 14:27 ` [PATCH 01/11] bluez4: Add virtual/bluez as provider Lauren Post
2014-03-26 14:27 ` [PATCH 02/11] conman: Change RDEPENDS on bluez4 to virtual/bluez Lauren Post
@ 2014-03-26 14:27 ` Lauren Post
2014-03-26 14:27 ` [PATCH 04/11] neard: Change RRECOMMENDS from bluez4 to virtual/bluez Lauren Post
` (8 subsequent siblings)
11 siblings, 0 replies; 30+ messages in thread
From: Lauren Post @ 2014-03-26 14:27 UTC (permalink / raw)
To: openembedded-core
This will allow easy transition to upgrade to bluez5
Signed-off-by: Lauren Post <lauren.post@freescale.com>
---
meta/recipes-connectivity/libpcap/libpcap.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-connectivity/libpcap/libpcap.inc b/meta/recipes-connectivity/libpcap/libpcap.inc
index 3a08afe..3a67ecc 100644
--- a/meta/recipes-connectivity/libpcap/libpcap.inc
+++ b/meta/recipes-connectivity/libpcap/libpcap.inc
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1d4b0366557951c84a94fabe3529f867 \
DEPENDS = "flex-native bison-native libnl"
PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'bluetooth', 'bluetooth', '', d)}"
-PACKAGECONFIG[bluetooth] = "--enable-bluetooth,--disable-bluetooth,bluez4"
+PACKAGECONFIG[bluetooth] = "--enable-bluetooth,--disable-bluetooth,virtual/bluez"
PACKAGECONFIG[canusb] = "--enable-canusb,--enable-canusb=no,libusb"
INC_PR = "r5"
--
1.7.9.5
^ permalink raw reply related [flat|nested] 30+ messages in thread* [PATCH 04/11] neard: Change RRECOMMENDS from bluez4 to virtual/bluez
2014-03-26 14:27 ` [PATCH 00/11] Change all bluez4 references to virtual/bluez Lauren Post
` (2 preceding siblings ...)
2014-03-26 14:27 ` [PATCH 03/11] libpcap: Change PACKAGECONFIG from bluez4 to virutal/bluez Lauren Post
@ 2014-03-26 14:27 ` Lauren Post
2014-03-26 14:27 ` [PATCH 05/11] ofono: Change DEPENDS " Lauren Post
` (7 subsequent siblings)
11 siblings, 0 replies; 30+ messages in thread
From: Lauren Post @ 2014-03-26 14:27 UTC (permalink / raw)
To: openembedded-core
This allows easy transition to bluez5 in future
Signed-off-by: Lauren Post <lauren.post@freescale.com>
---
meta/recipes-connectivity/neard/neard.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-connectivity/neard/neard.inc b/meta/recipes-connectivity/neard/neard.inc
index 1dde1da..184f371 100644
--- a/meta/recipes-connectivity/neard/neard.inc
+++ b/meta/recipes-connectivity/neard/neard.inc
@@ -47,7 +47,7 @@ RDEPENDS_${PN} = "dbus python python-dbus python-pygobject"
# Bluez & Wifi are not mandatory except for handover
RRECOMMENDS_${PN} = "\
- ${@base_contains('DISTRO_FEATURES', 'bluetooth', 'bluez4', '', d)} \
+ ${@base_contains('DISTRO_FEATURES', 'bluetooth', 'virtual/bluez', '', d)} \
${@base_contains('DISTRO_FEATURES', 'wifi','wpa-supplicant', '', d)} \
"
--
1.7.9.5
^ permalink raw reply related [flat|nested] 30+ messages in thread* [PATCH 05/11] ofono: Change DEPENDS from bluez4 to virtual/bluez
2014-03-26 14:27 ` [PATCH 00/11] Change all bluez4 references to virtual/bluez Lauren Post
` (3 preceding siblings ...)
2014-03-26 14:27 ` [PATCH 04/11] neard: Change RRECOMMENDS from bluez4 to virtual/bluez Lauren Post
@ 2014-03-26 14:27 ` Lauren Post
2014-03-26 14:28 ` [PATCH 06/11] pulseaudio: Change PACKAGECONFIG " Lauren Post
` (6 subsequent siblings)
11 siblings, 0 replies; 30+ messages in thread
From: Lauren Post @ 2014-03-26 14:27 UTC (permalink / raw)
To: openembedded-core
This allows easy transition to bluez5 in future
Signed-off-by: Lauren Post <lauren.post@freescale.com>
---
meta/recipes-connectivity/ofono/ofono.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-connectivity/ofono/ofono.inc b/meta/recipes-connectivity/ofono/ofono.inc
index 3972e06..ff34265 100644
--- a/meta/recipes-connectivity/ofono/ofono.inc
+++ b/meta/recipes-connectivity/ofono/ofono.inc
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a \
inherit autotools pkgconfig update-rc.d systemd
-DEPENDS = "dbus glib-2.0 udev mobile-broadband-provider-info ${@base_contains('DISTRO_FEATURES', 'bluetooth','bluez4', '', d)}"
+DEPENDS = "dbus glib-2.0 udev mobile-broadband-provider-info ${@base_contains('DISTRO_FEATURES', 'bluetooth','virtual/bluez', '', d)}"
INITSCRIPT_NAME = "ofono"
INITSCRIPT_PARAMS = "defaults 22"
--
1.7.9.5
^ permalink raw reply related [flat|nested] 30+ messages in thread* [PATCH 06/11] pulseaudio: Change PACKAGECONFIG from bluez4 to virtual/bluez
2014-03-26 14:27 ` [PATCH 00/11] Change all bluez4 references to virtual/bluez Lauren Post
` (4 preceding siblings ...)
2014-03-26 14:27 ` [PATCH 05/11] ofono: Change DEPENDS " Lauren Post
@ 2014-03-26 14:28 ` Lauren Post
2014-03-26 15:30 ` Burton, Ross
2014-03-26 14:28 ` [PATCH 07/11] gst-plugin-bluetooth: Change DEPENDS " Lauren Post
` (5 subsequent siblings)
11 siblings, 1 reply; 30+ messages in thread
From: Lauren Post @ 2014-03-26 14:28 UTC (permalink / raw)
To: openembedded-core
This allows easy transition to bluez5 in future
Signed-off-by: Lauren Post <lauren.post@freescale.com>
---
meta/recipes-multimedia/pulseaudio/pulseaudio.inc | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
index 2176731..59148c7 100644
--- a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
+++ b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
@@ -31,10 +31,12 @@ EXTRA_OECONF = "\
ac_cv_header_valgrind_memcheck_h=no \
"
-PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'bluetooth', 'bluez4', '', d)} \
+PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'bluetooth', 'virtual/bluez', '', d)} \
${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \
${@base_contains('DISTRO_FEATURES', 'zeroconf', 'avahi', '', d)} \
${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
+
+PACKAGECONFIG[bluez] = "--enable-bluez,--disable-bluez,virtual/bluez sbc"
PACKAGECONFIG[bluez4] = "--enable-bluez4,--disable-bluez4,bluez4 sbc"
PACKAGECONFIG[bluez5] = "--enable-bluez5,--disable-bluez5,bluez5 sbc"
PACKAGECONFIG[gtk] = "--enable-gtk3,--disable-gtk3,gtk+3"
--
1.7.9.5
^ permalink raw reply related [flat|nested] 30+ messages in thread* Re: [PATCH 06/11] pulseaudio: Change PACKAGECONFIG from bluez4 to virtual/bluez
2014-03-26 14:28 ` [PATCH 06/11] pulseaudio: Change PACKAGECONFIG " Lauren Post
@ 2014-03-26 15:30 ` Burton, Ross
0 siblings, 0 replies; 30+ messages in thread
From: Burton, Ross @ 2014-03-26 15:30 UTC (permalink / raw)
To: Lauren Post; +Cc: OE-core
On 26 March 2014 14:28, Lauren Post <lauren.post@freescale.com> wrote:
> -PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'bluetooth', 'bluez4', '', d)} \
> +PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'bluetooth', 'virtual/bluez', '', d)} \
> ${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \
> ${@base_contains('DISTRO_FEATURES', 'zeroconf', 'avahi', '', d)} \
> ${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
> +
> +PACKAGECONFIG[bluez] = "--enable-bluez,--disable-bluez,virtual/bluez sbc"
I'm pretty sure you either didn't look at this patch, or didn't
understand what it's doing.
As it's clearly been untested, I'm NAKing the entire series.
Ross
^ permalink raw reply [flat|nested] 30+ messages in thread
* [PATCH 07/11] gst-plugin-bluetooth: Change DEPENDS from bluez4 to virtual/bluez
2014-03-26 14:27 ` [PATCH 00/11] Change all bluez4 references to virtual/bluez Lauren Post
` (5 preceding siblings ...)
2014-03-26 14:28 ` [PATCH 06/11] pulseaudio: Change PACKAGECONFIG " Lauren Post
@ 2014-03-26 14:28 ` Lauren Post
2014-03-26 15:47 ` Burton, Ross
2014-03-26 14:28 ` [PATCH 08/11] gstreamer1.0-plugins-bad: Change PACKAGECONFIG " Lauren Post
` (4 subsequent siblings)
11 siblings, 1 reply; 30+ messages in thread
From: Lauren Post @ 2014-03-26 14:28 UTC (permalink / raw)
To: openembedded-core
This allows easy transition to bluez5 in future
Signed-off-by: Lauren Post <lauren.post@freescale.com>
---
.../bluez/gst-plugin-bluetooth_4.101.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-connectivity/bluez/gst-plugin-bluetooth_4.101.bb b/meta/recipes-connectivity/bluez/gst-plugin-bluetooth_4.101.bb
index f2dc0da..5135eff 100644
--- a/meta/recipes-connectivity/bluez/gst-plugin-bluetooth_4.101.bb
+++ b/meta/recipes-connectivity/bluez/gst-plugin-bluetooth_4.101.bb
@@ -6,7 +6,7 @@ PR = "r1"
SRC_URI[md5sum] = "fb42cb7038c380eb0e2fa208987c96ad"
SRC_URI[sha256sum] = "59738410ade9f0e61a13c0f77d9aaffaafe49ba9418107e4ad75fe52846f7487"
-DEPENDS = "bluez4 gst-plugins-base"
+DEPENDS = "virtual/bluez gst-plugins-base"
EXTRA_OECONF = "\
--enable-gstreamer \
--
1.7.9.5
^ permalink raw reply related [flat|nested] 30+ messages in thread* [PATCH 08/11] gstreamer1.0-plugins-bad: Change PACKAGECONFIG from bluez4 to virtual/bluez
2014-03-26 14:27 ` [PATCH 00/11] Change all bluez4 references to virtual/bluez Lauren Post
` (6 preceding siblings ...)
2014-03-26 14:28 ` [PATCH 07/11] gst-plugin-bluetooth: Change DEPENDS " Lauren Post
@ 2014-03-26 14:28 ` Lauren Post
2014-03-26 17:03 ` Burton, Ross
2014-03-26 14:28 ` [PATCH 09/11] bluez-hcidump: Change depends " Lauren Post
` (3 subsequent siblings)
11 siblings, 1 reply; 30+ messages in thread
From: Lauren Post @ 2014-03-26 14:28 UTC (permalink / raw)
To: openembedded-core
This allows easy transition to bluez5 in future
Signed-off-by: Lauren Post <lauren.post@freescale.com>
---
.../gstreamer/gstreamer1.0-plugins-bad.inc | 2 +-
.../gstreamer/gstreamer1.0-plugins-bad_git.bb | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc
index 08440a2..aa1fe61 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad.inc
@@ -41,7 +41,7 @@ PACKAGECONFIG[bz2] = "--enable-bz2,--disable-bz2,bzip2"
PACKAGECONFIG[fluidsynth] = "--enable-fluidsynth,--disable-fluidsynth,fluidsynth"
PACKAGECONFIG[schroedinger] = "--enable-schro,--disable-schro,schroedinger"
PACKAGECONFIG[smoothstreaming] = "--enable-smoothstreaming,--disable-smoothstreaming,libxml2"
-PACKAGECONFIG[bluez] = "--enable-bluez,--disable-bluez,bluez4"
+PACKAGECONFIG[bluez] = "--enable-bluez,--disable-bluez,virtual/bluez"
PACKAGECONFIG[rsvg] = "--enable-rsvg,--disable-rsvg,librsvg"
# these plugins have not been ported to 1.0 (yet):
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_git.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_git.bb
index e1a5904..8f37be8 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_git.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_git.bb
@@ -11,7 +11,7 @@ S = "${WORKDIR}/git"
SRCREV = "6e5db57d2446a753aaa76bee268e1f95600b14ce"
-PACKAGECONFIG[bluez] = "--enable-bluez,--disable-bluez,bluez4"
+PACKAGECONFIG[bluez] = "--enable-bluez,--disable-bluez,virtual/bluez"
PACKAGECONFIG[sbc] = "--enable-sbc,--disable-sbc,sbc"
PACKAGECONFIG[hls] = "--enable-hls,--disable-hls,gnutls"
--
1.7.9.5
^ permalink raw reply related [flat|nested] 30+ messages in thread* [PATCH 09/11] bluez-hcidump: Change depends from bluez4 to virtual/bluez
2014-03-26 14:27 ` [PATCH 00/11] Change all bluez4 references to virtual/bluez Lauren Post
` (7 preceding siblings ...)
2014-03-26 14:28 ` [PATCH 08/11] gstreamer1.0-plugins-bad: Change PACKAGECONFIG " Lauren Post
@ 2014-03-26 14:28 ` Lauren Post
2014-03-26 16:19 ` Burton, Ross
2014-03-26 14:28 ` [PATCH 10/11] default-providers: Add virtual/bluez PROVIDER support to bluez4 Lauren Post
` (2 subsequent siblings)
11 siblings, 1 reply; 30+ messages in thread
From: Lauren Post @ 2014-03-26 14:28 UTC (permalink / raw)
To: openembedded-core
This allows easy transition to bluez5 in future
Signed-off-by: Lauren Post <lauren.post@freescale.com>
---
.../bluez/bluez-hcidump_2.5.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-connectivity/bluez/bluez-hcidump_2.5.bb b/meta/recipes-connectivity/bluez/bluez-hcidump_2.5.bb
index 5c1f476..4cbc3ec 100644
--- a/meta/recipes-connectivity/bluez/bluez-hcidump_2.5.bb
+++ b/meta/recipes-connectivity/bluez/bluez-hcidump_2.5.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "The hcidump tool reads raw HCI data coming from and going to a Bl
and displays the commands, events and data in a human-readable form."
SECTION = "console"
-DEPENDS = "bluez4"
+DEPENDS = "virtual/bluez"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a \
file://src/hcidump.c;beginline=1;endline=23;md5=3bee3a162dff43a5be7470710b99fbcf"
--
1.7.9.5
^ permalink raw reply related [flat|nested] 30+ messages in thread* [PATCH 10/11] default-providers: Add virtual/bluez PROVIDER support to bluez4
2014-03-26 14:27 ` [PATCH 00/11] Change all bluez4 references to virtual/bluez Lauren Post
` (8 preceding siblings ...)
2014-03-26 14:28 ` [PATCH 09/11] bluez-hcidump: Change depends " Lauren Post
@ 2014-03-26 14:28 ` Lauren Post
2014-03-26 17:00 ` Burton, Ross
2014-03-26 14:28 ` [PATCH 11/11] package-group: Change bluez4 to virtual/bluez Lauren Post
2014-03-26 14:51 ` [PATCH 00/11] Change all bluez4 references " Martin Jansa
11 siblings, 1 reply; 30+ messages in thread
From: Lauren Post @ 2014-03-26 14:28 UTC (permalink / raw)
To: openembedded-core
Signed-off-by: Lauren Post <lauren.post@freescale.com>
---
meta/conf/distro/include/default-providers.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/conf/distro/include/default-providers.inc b/meta/conf/distro/include/default-providers.inc
index 419ffcd..5c51e4b 100644
--- a/meta/conf/distro/include/default-providers.inc
+++ b/meta/conf/distro/include/default-providers.inc
@@ -42,6 +42,6 @@ PREFERRED_PROVIDER_make ?= "make"
PREFERRED_PROVIDER_udev ?= "${@base_contains('DISTRO_FEATURES','systemd','systemd','udev',d)}"
# There are issues with runtime packages and PREFERRED_PROVIDER, see YOCTO #5044 for details
# on this rather strange entry.
-PREFERRED_PROVIDER_bluez4 ?= "bluez4"
+PREFERRED_PROVIDER_virtual/bluez ?= "bluez4"
# Alternative is ltp-ddt in meta-oe: meta-oe/recipes-devtools/ltp-ddt/ltp-ddt_0.0.4.bb
PREFERRED_PROVIDER_ltp ?= "ltp"
--
1.7.9.5
^ permalink raw reply related [flat|nested] 30+ messages in thread* [PATCH 11/11] package-group: Change bluez4 to virtual/bluez
2014-03-26 14:27 ` [PATCH 00/11] Change all bluez4 references to virtual/bluez Lauren Post
` (9 preceding siblings ...)
2014-03-26 14:28 ` [PATCH 10/11] default-providers: Add virtual/bluez PROVIDER support to bluez4 Lauren Post
@ 2014-03-26 14:28 ` Lauren Post
2014-03-26 14:51 ` [PATCH 00/11] Change all bluez4 references " Martin Jansa
11 siblings, 0 replies; 30+ messages in thread
From: Lauren Post @ 2014-03-26 14:28 UTC (permalink / raw)
To: openembedded-core
This allows easy transition to bluez5 in future
Signed-off-by: Lauren Post <lauren.post@freescale.com>
---
.../packagegroups/packagegroup-base.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-core/packagegroups/packagegroup-base.bb b/meta/recipes-core/packagegroups/packagegroup-base.bb
index 368c318..d920082 100644
--- a/meta/recipes-core/packagegroups/packagegroup-base.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-base.bb
@@ -210,7 +210,7 @@ RRECOMMENDS_packagegroup-base-pcmcia = "\
SUMMARY_packagegroup-base-bluetooth = "Bluetooth support"
RDEPENDS_packagegroup-base-bluetooth = "\
- bluez4 \
+ virtual/bluez \
${@base_contains('COMBINED_FEATURES', 'alsa', 'libasound-module-bluez', '',d)} \
"
--
1.7.9.5
^ permalink raw reply related [flat|nested] 30+ messages in thread* Re: [PATCH 00/11] Change all bluez4 references to virtual/bluez
2014-03-26 14:27 ` [PATCH 00/11] Change all bluez4 references to virtual/bluez Lauren Post
` (10 preceding siblings ...)
2014-03-26 14:28 ` [PATCH 11/11] package-group: Change bluez4 to virtual/bluez Lauren Post
@ 2014-03-26 14:51 ` Martin Jansa
2014-03-26 14:55 ` Lauren Post
` (2 more replies)
11 siblings, 3 replies; 30+ messages in thread
From: Martin Jansa @ 2014-03-26 14:51 UTC (permalink / raw)
To: Lauren Post; +Cc: openembedded-core
[-- Attachment #1: Type: text/plain, Size: 2572 bytes --]
On Wed, Mar 26, 2014 at 09:27:54AM -0500, Lauren Post wrote:
> This group of patches support the change of hardcoded bluez4 to
> virtual/bluez so that the upgrade to bluez5 is easier.
>
> This group of patches must be applied together. Bluez4 is still
> default provider but it will be easier to override and provide bluez5
> support in future.
>
> Note there is one related patch for openobex in meta-oe.
virtual/* still doesn't work correctly in runtime variables, use
VIRTUAL-RUNTIME_bluez variable.
Last time I've asked for bluez4->bluez5 upgrade path fix on target I was
told that it's not supported and bluez5 isn't drop-in replacement for
bluez4 (yet), did that change already?
> Lauren Post (11):
> bluez4: Add virtual/bluez as provider
> conman: Change RDEPENDS on bluez4 to virtual/bluez
> libpcap: Change PACKAGECONFIG from bluez4 to virutal/bluez
> neard: Change RRECOMMENDS from bluez4 to virtual/bluez
> ofono: Change DEPENDS from bluez4 to virtual/bluez
> pulseaudio: Change PACKAGECONFIG from bluez4 to virtual/bluez
> gst-plugin-bluetooth: Change DEPENDS from bluez4 to virtual/bluez
> gstreamer1.0-plugins-bad: Change PACKAGECONFIG from bluez4 to
> virtual/bluez
> bluez-hcidump: Change depends from bluez4 to virtual/bluez
> default-providers: Add virtual/bluez PROVIDER support to bluez4
> package-group: Change bluez4 to virtual/bluez
>
> meta/conf/distro/include/default-providers.inc | 2 +-
> .../bluez/bluez-hcidump_2.5.bb | 2 +-
> meta/recipes-connectivity/bluez/bluez4.inc | 4 ++++
> .../bluez/gst-plugin-bluetooth_4.101.bb | 2 +-
> meta/recipes-connectivity/connman/connman.inc | 4 ++--
> meta/recipes-connectivity/libpcap/libpcap.inc | 2 +-
> meta/recipes-connectivity/neard/neard.inc | 2 +-
> meta/recipes-connectivity/ofono/ofono.inc | 2 +-
> .../packagegroups/packagegroup-base.bb | 2 +-
> .../gstreamer/gstreamer1.0-plugins-bad.inc | 2 +-
> .../gstreamer/gstreamer1.0-plugins-bad_git.bb | 2 +-
> meta/recipes-multimedia/pulseaudio/pulseaudio.inc | 4 +++-
> 12 files changed, 18 insertions(+), 12 deletions(-)
>
> --
> 1.7.9.5
>
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 30+ messages in thread* Re: [PATCH 00/11] Change all bluez4 references to virtual/bluez
2014-03-26 14:51 ` [PATCH 00/11] Change all bluez4 references " Martin Jansa
@ 2014-03-26 14:55 ` Lauren Post
2014-03-26 15:07 ` Otavio Salvador
2014-03-26 15:40 ` Chris Larson
2 siblings, 0 replies; 30+ messages in thread
From: Lauren Post @ 2014-03-26 14:55 UTC (permalink / raw)
To: Martin Jansa; +Cc: openembedded-core@lists.openembedded.org
On Wed, Mar 26, 2014 at 09:27:54AM -0500, Lauren Post wrote:
> This group of patches support the change of hardcoded bluez4 to
> virtual/bluez so that the upgrade to bluez5 is easier.
>
> This group of patches must be applied together. Bluez4 is still
> default provider but it will be easier to override and provide bluez5
> support in future.
>
> virtual/* still doesn't work correctly in runtime variables, use VIRTUAL-RUNTIME_bluez variable.
> Last time I've asked for bluez4->bluez5 upgrade path fix on target I was told that it's not supported and
> uez5 isn't drop-in replacement for
> bluez4 (yet), did that change already?
We are using bluez5.8 and have bbappends for all these components I patched. I just thought it would be easier to upstream rather than maintain all these bbappends.
I missed the bluez5 change to virtual/bluez so will submit that once I rebuild with bluez5 as preferred provider on master.
Lauren
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH 00/11] Change all bluez4 references to virtual/bluez
2014-03-26 14:51 ` [PATCH 00/11] Change all bluez4 references " Martin Jansa
2014-03-26 14:55 ` Lauren Post
@ 2014-03-26 15:07 ` Otavio Salvador
2014-03-26 15:35 ` Martin Jansa
2014-03-26 15:40 ` Chris Larson
2 siblings, 1 reply; 30+ messages in thread
From: Otavio Salvador @ 2014-03-26 15:07 UTC (permalink / raw)
To: Martin Jansa; +Cc: Patches and discussions about the oe-core layer
Hello Martin,
On Wed, Mar 26, 2014 at 11:51 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
> On Wed, Mar 26, 2014 at 09:27:54AM -0500, Lauren Post wrote:
>> This group of patches support the change of hardcoded bluez4 to
>> virtual/bluez so that the upgrade to bluez5 is easier.
>>
>> This group of patches must be applied together. Bluez4 is still
>> default provider but it will be easier to override and provide bluez5
>> support in future.
>>
>> Note there is one related patch for openobex in meta-oe.
>
> virtual/* still doesn't work correctly in runtime variables, use
> VIRTUAL-RUNTIME_bluez variable.
...
Those patches are for /depends/. Did I miss any runtime dependency here?
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH 00/11] Change all bluez4 references to virtual/bluez
2014-03-26 15:07 ` Otavio Salvador
@ 2014-03-26 15:35 ` Martin Jansa
2014-03-26 16:18 ` Otavio Salvador
0 siblings, 1 reply; 30+ messages in thread
From: Martin Jansa @ 2014-03-26 15:35 UTC (permalink / raw)
To: Otavio Salvador; +Cc: Patches and discussions about the oe-core layer
[-- Attachment #1: Type: text/plain, Size: 911 bytes --]
On Wed, Mar 26, 2014 at 12:07:13PM -0300, Otavio Salvador wrote:
> Hello Martin,
>
> On Wed, Mar 26, 2014 at 11:51 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
> > On Wed, Mar 26, 2014 at 09:27:54AM -0500, Lauren Post wrote:
> >> This group of patches support the change of hardcoded bluez4 to
> >> virtual/bluez so that the upgrade to bluez5 is easier.
> >>
> >> This group of patches must be applied together. Bluez4 is still
> >> default provider but it will be easier to override and provide bluez5
> >> support in future.
> >>
> >> Note there is one related patch for openobex in meta-oe.
> >
> > virtual/* still doesn't work correctly in runtime variables, use
> > VIRTUAL-RUNTIME_bluez variable.
> ...
>
> Those patches are for /depends/. Did I miss any runtime dependency here?
yes, in 11/11 4/11 2/11 and 1/11
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH 00/11] Change all bluez4 references to virtual/bluez
2014-03-26 15:35 ` Martin Jansa
@ 2014-03-26 16:18 ` Otavio Salvador
0 siblings, 0 replies; 30+ messages in thread
From: Otavio Salvador @ 2014-03-26 16:18 UTC (permalink / raw)
To: Martin Jansa; +Cc: Patches and discussions about the oe-core layer
Hello Martin,
On Wed, Mar 26, 2014 at 12:35 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
> On Wed, Mar 26, 2014 at 12:07:13PM -0300, Otavio Salvador wrote:
>> On Wed, Mar 26, 2014 at 11:51 AM, Martin Jansa <martin.jansa@gmail.com> wrote:
>> > On Wed, Mar 26, 2014 at 09:27:54AM -0500, Lauren Post wrote:
>> >> This group of patches support the change of hardcoded bluez4 to
>> >> virtual/bluez so that the upgrade to bluez5 is easier.
>> >>
>> >> This group of patches must be applied together. Bluez4 is still
>> >> default provider but it will be easier to override and provide bluez5
>> >> support in future.
>> >>
>> >> Note there is one related patch for openobex in meta-oe.
>> >
>> > virtual/* still doesn't work correctly in runtime variables, use
>> > VIRTUAL-RUNTIME_bluez variable.
>> ...
>>
>> Those patches are for /depends/. Did I miss any runtime dependency here?
>
> yes, in 11/11 4/11 2/11 and 1/11
Oh; I missed those indeed.
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH 00/11] Change all bluez4 references to virtual/bluez
2014-03-26 14:51 ` [PATCH 00/11] Change all bluez4 references " Martin Jansa
2014-03-26 14:55 ` Lauren Post
2014-03-26 15:07 ` Otavio Salvador
@ 2014-03-26 15:40 ` Chris Larson
2014-03-26 16:33 ` Otavio Salvador
2 siblings, 1 reply; 30+ messages in thread
From: Chris Larson @ 2014-03-26 15:40 UTC (permalink / raw)
To: Martin Jansa; +Cc: Patches and discussions about the oe-core layer
[-- Attachment #1: Type: text/plain, Size: 1689 bytes --]
On Wed, Mar 26, 2014 at 7:51 AM, Martin Jansa <martin.jansa@gmail.com>wrote:
> On Wed, Mar 26, 2014 at 09:27:54AM -0500, Lauren Post wrote:
> > This group of patches support the change of hardcoded bluez4 to
> > virtual/bluez so that the upgrade to bluez5 is easier.
> >
> > This group of patches must be applied together. Bluez4 is still
> > default provider but it will be easier to override and provide bluez5
> > support in future.
> >
> > Note there is one related patch for openobex in meta-oe.
>
> virtual/* still doesn't work correctly in runtime variables, use
> VIRTUAL-RUNTIME_bluez variable.
>
> Last time I've asked for bluez4->bluez5 upgrade path fix on target I was
> told that it's not supported and bluez5 isn't drop-in replacement for
> bluez4 (yet), did that change already?
Afaik libbluetooth is API compatible, but the dbus api isn't. I haven't
done much runtime testing, though. So I don't think virtual/bluez is an
appropriate name given they aren't 100% compatible bluetooth implmentations
across the board. In meta-mentor, we moved to a combination of two
virtual-runtimes (for flexibility, to facilitate replacement not just with
bluez5, but also potentially with a third party implementation, two
virtual-runtimes, one for hardware support, one for the userland bluetooth
stack, (and potentially others in the future)) with a virtual/libbluetooth
build virtual, and then you need to ensure obexd/hcidump are left out of
the build, since they were merged into bluez5.
--
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
[-- Attachment #2: Type: text/html, Size: 2102 bytes --]
^ permalink raw reply [flat|nested] 30+ messages in thread
* Re: [PATCH 00/11] Change all bluez4 references to virtual/bluez
2014-03-26 15:40 ` Chris Larson
@ 2014-03-26 16:33 ` Otavio Salvador
2014-03-26 16:51 ` Burton, Ross
0 siblings, 1 reply; 30+ messages in thread
From: Otavio Salvador @ 2014-03-26 16:33 UTC (permalink / raw)
To: Chris Larson, Lauren Post; +Cc: Patches and discussions about the oe-core layer
Hello Chris,
On Wed, Mar 26, 2014 at 12:40 PM, Chris Larson <clarson@kergoth.com> wrote:
>> Last time I've asked for bluez4->bluez5 upgrade path fix on target I was
>> told that it's not supported and bluez5 isn't drop-in replacement for
>> bluez4 (yet), did that change already?
>
> Afaik libbluetooth is API compatible, but the dbus api isn't. I haven't done
> much runtime testing, though. So I don't think virtual/bluez is an
> appropriate name given they aren't 100% compatible bluetooth implmentations
> across the board. In meta-mentor, we moved to a combination of two
> virtual-runtimes (for flexibility, to facilitate replacement not just with
> bluez5, but also potentially with a third party implementation, two
> virtual-runtimes, one for hardware support, one for the userland bluetooth
> stack, (and potentially others in the future)) with a virtual/libbluetooth
> build virtual, and then you need to ensure obexd/hcidump are left out of the
> build, since they were merged into bluez5.
I did a look in meta-mentor and I think the interesting commit is:
http://git.yoctoproject.org/cgit/cgit.cgi/meta-mentor/commit/?id=1444d8b0d3617bea503e498150e558abe5b20114
and a blog post about the API changes:
http://www.bluez.org/bluez-5-api-introduction-and-porting-guide/
and an issue in Fedora, which might help in the migration:
https://fedoraproject.org/wiki/Changes/Bluez5
I don't know if someone is tracking the packages which uses the D-Bus
API of BlueZ to be check if there are available patches for it.
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
^ permalink raw reply [flat|nested] 30+ messages in thread