Skip to contentSkip to conversation

A couple of bluetooth improvements

PATCH Applied Paul Eggleton 3 participants 5 messages Oct 14, 2011 – Oct 17, 2011

lore
Share & tools
lore
#0 lore raw

cover A couple of bluetooth improvements

The following changes since commit 362512b83775ad7020e5870a594f0e7ca9ef83ba:

bitbake.conf Exclude MACHINE from MACHINEOVERRIDE variable dependencies (2011-10-14 13:51:14 +0100)

are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib paule/bluetooth
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/bluetooth

Paul Eggleton (2):
pulseaudio: make bluetooth support conditional upon DISTRO_FEATURES
bluez4: disable hidd, pand & dund

 meta/recipes-connectivity/bluez/bluez4.inc         |    6 +++---
 meta/recipes-connectivity/bluez/bluez4_4.96.bb     |    2 +-
 meta/recipes-multimedia/pulseaudio/pulseaudio.inc  |    5 +++--
 .../pulseaudio/pulseaudio_0.9.22.bb                |    2 +-
 .../pulseaudio/pulseaudio_0.9.23.bb                |    2 +-
 5 files changed, 9 insertions(+), 8 deletions(-)
Signature · 1 line
1.7.4.1
#1 lore raw

PATCH 1/2 pulseaudio: make bluetooth support conditional upon DISTRO_FEATURES

If "bluetooth" is in DISTRO_FEATURES then enable bluetooth and depend on bluez4, otherwise disable it.

---
 meta/recipes-multimedia/pulseaudio/pulseaudio.inc  |    5 +++--
 .../pulseaudio/pulseaudio_0.9.22.bb                |    2 +-
 .../pulseaudio/pulseaudio_0.9.23.bb                |    2 +-
 3 files changed, 5 insertions(+), 4 deletions(-)
meta/recipes-multimedia/pulseaudio/pulseaudio.inc +3 -2
index 2a8e74d..bb32467 100644
@@ -9,7 +9,8 @@ LIC_FILES_CHKSUM = "file://GPL;md5=4325afd396febcb659c36b49533135d4 \
                     file://src/pulsecore/vector.h;beginline=1;endline=21;md5=1b561f0a2ca47b1fa49862a6ccaacff1"
 DEPENDS = "libatomics-ops liboil avahi libsamplerate0 libsndfile1 libtool virtual/libx11"
 # optional
-DEPENDS += "bluez4 udev alsa-lib glib-2.0 dbus consolekit"
+DEPENDS += "udev alsa-lib glib-2.0 dbus consolekit \
+           ${@base_contains('DISTRO_FEATURES', 'bluetooth', 'bluez4', '', d)}"
 
 SRC_URI = "http://0pointer.de/lennart/projects/pulseaudio/pulseaudio-${PV}.tar.gz \
            file://gcc4-compile-fix.patch \
@@ -19,7 +20,7 @@ inherit autotools pkgconfig
 
 EXTRA_OECONF = "\
 		--disable-lynx \
-		--enable-bluez \
+		${@base_contains('DISTRO_FEATURES', 'bluetooth', '--enable-bluez', '--disable-bluez', d)} \
 		--disable-polkit \
 		--with-x \
 		--without-jack \
meta/recipes-multimedia/pulseaudio/pulseaudio_0.9.22.bb +1 -1
index da2e988..3067365 100644
@@ -1,6 +1,6 @@
 require pulseaudio.inc
 
-PR = "r6"
+PR = "r7"
 
 DEPENDS += "gdbm speex"
 
meta/recipes-multimedia/pulseaudio/pulseaudio_0.9.23.bb +1 -1
index 1edd913..33f5e15 100644
@@ -1,6 +1,6 @@
 require pulseaudio.inc
 
-PR = "r4"
+PR = "r5"
 
 DEPENDS += "gdbm speex"
 
Signature · 1 line
1.7.4.1
#2 lore raw

Re: [PATCH 1/2] pulseaudio: make bluetooth support conditional upon DISTRO_FEATURES

Op 14 okt. 2011, om 16:07 heeft Paul Eggleton het volgende geschreven:

Quoted 8 lines

If "bluetooth" is in DISTRO_FEATURES then enable bluetooth and depend on bluez4, otherwise disable it.

---

meta/recipes-multimedia/pulseaudio/pulseaudio.inc  |    5 +++--
.../pulseaudio/pulseaudio_0.9.22.bb                |    2 +-
.../pulseaudio/pulseaudio_0.9.23.bb                |    2 +-

Slightly off-topic, PA has had a 1.0 release recently, any volunteers for adding it?

#3 lore raw

PATCH 2/2 bluez4: disable hidd, pand & dund

In reply to Paul Eggleton

These daemons have been deprecated for some time, as their functionality is now provided within the main bluetoothd daemon.

---
 meta/recipes-connectivity/bluez/bluez4.inc     |    6 +++---
 meta/recipes-connectivity/bluez/bluez4_4.96.bb |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
meta/recipes-connectivity/bluez/bluez4.inc +3 -3
index 5dacd92..fc515f6 100644
@@ -27,9 +27,9 @@ EXTRA_OECONF = "\
   --enable-bccmd \
   --enable-hid2hci \
   --enable-dfutool \
-  --enable-hidd \
-  --enable-pand \
-  --enable-dund \
+  --disable-hidd \
+  --disable-pand \
+  --disable-dund \
   --disable-cups \
   --enable-test \
   --enable-datafiles \
meta/recipes-connectivity/bluez/bluez4_4.96.bb +1 -1
index 420a525..52268cf 100644
@@ -1,6 +1,6 @@
 require bluez4.inc
 
-PR = "r2"
+PR = "r3"
 
 SRC_URI += "file://bluetooth.conf"
 
Signature · 1 line
1.7.4.1
Applied
#4 lore raw
In reply to Paul Eggleton
Quoted 12 lines · Paul Eggleton

The following changes since commit 362512b83775ad7020e5870a594f0e7ca9ef83ba:

bitbake.conf Exclude MACHINE from MACHINEOVERRIDE variable dependencies (2011-10-14 13:51:14 +0100)

are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib paule/bluetooth
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/bluetooth

Paul Eggleton (2):
pulseaudio: make bluetooth support conditional upon DISTRO_FEATURES
bluez4: disable hidd, pand& dund

Quoted 7 lines
  meta/recipes-connectivity/bluez/bluez4.inc         |    6 +++---
  meta/recipes-connectivity/bluez/bluez4_4.96.bb     |    2 +-
  meta/recipes-multimedia/pulseaudio/pulseaudio.inc  |    5 +++--
  .../pulseaudio/pulseaudio_0.9.22.bb                |    2 +-
  .../pulseaudio/pulseaudio_0.9.23.bb                |    2 +-
  5 files changed, 9 insertions(+), 8 deletions(-)

Merged into OE-Core

Thanks
Sau!