[oe-commits] Koen Kooi : bluez4 4.96: import needed files from OE-core to avoid breakage on OE-core updates

git version control git at git.openembedded.org
Fri Aug 12 07:36:59 UTC 2011


Module: meta-openembedded.git
Branch: master
Commit: 13fb21d155892b48b518c870e5ee23f9b81e3ee7
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=13fb21d155892b48b518c870e5ee23f9b81e3ee7

Author: Koen Kooi <koen at dominion.thruhere.net>
Date:   Fri Aug 12 09:32:04 2011 +0200

bluez4 4.96: import needed files from OE-core to avoid breakage on OE-core updates

Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>

---

 .../bluez/bluez4/bluetooth.conf                    |   16 ++++++++++++++++
 .../fix-dfutool-usb-declaration-mismatch.patch     |   20 ++++++++++++++++++++
 meta-oe/recipes-connectivity/bluez/bluez4_4.96.bb  |    2 --
 3 files changed, 36 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-connectivity/bluez/bluez4/bluetooth.conf b/meta-oe/recipes-connectivity/bluez/bluez4/bluetooth.conf
new file mode 100644
index 0000000..ca5e9e4
--- /dev/null
+++ b/meta-oe/recipes-connectivity/bluez/bluez4/bluetooth.conf
@@ -0,0 +1,16 @@
+<!-- This configuration file specifies the required security policies
+     for Bluetooth core daemon to work. -->
+
+<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
+<busconfig>
+
+  <!-- ../system.conf have denied everything, so we just punch some holes -->
+
+  <policy context="default">
+    <allow own="org.bluez"/>
+    <allow send_destination="org.bluez"/>
+    <allow send_interface="org.bluez.Agent"/>
+  </policy>
+
+</busconfig>
diff --git a/meta-oe/recipes-connectivity/bluez/bluez4/fix-dfutool-usb-declaration-mismatch.patch b/meta-oe/recipes-connectivity/bluez/bluez4/fix-dfutool-usb-declaration-mismatch.patch
new file mode 100644
index 0000000..27dead0
--- /dev/null
+++ b/meta-oe/recipes-connectivity/bluez/bluez4/fix-dfutool-usb-declaration-mismatch.patch
@@ -0,0 +1,20 @@
+# bluez4: add compile patch fixing some usb declaration mismatch
+# Author: Michael 'Mickey' Lauer <mickey at vanille-media.de>
+# Date:   Thu Jan 29 16:52:21 2009 +0000
+#
+# Acquired from OpenEmbedded
+Upstream-Status: Pending
+
+Index: bluez-4.27/tools/dfutool.c
+===================================================================
+--- bluez-4.27.orig/tools/dfutool.c
++++ bluez-4.27/tools/dfutool.c
+@@ -59,7 +59,7 @@
+ #endif
+ 
+ #ifdef NEED_USB_GET_BUSSES
+-static inline struct usb_bus *usb_get_busses(void)
++inline struct usb_bus *usb_get_busses(void)
+ {
+ 	return usb_busses;
+ }
diff --git a/meta-oe/recipes-connectivity/bluez/bluez4_4.96.bb b/meta-oe/recipes-connectivity/bluez/bluez4_4.96.bb
index d48fcdb..211e910 100644
--- a/meta-oe/recipes-connectivity/bluez/bluez4_4.96.bb
+++ b/meta-oe/recipes-connectivity/bluez/bluez4_4.96.bb
@@ -14,8 +14,6 @@ ASNEEDED = ""
 
 PR = "r0"
 
-# to find bluez patches from oe-core
-FILESPATH =. "${COREBASE}/meta/recipes-connectivity/bluez/bluez4-4.82/:"
 SRC_URI = "\
   ${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.gz \
   file://fix-dfutool-usb-declaration-mismatch.patch \





More information about the Openembedded-commits mailing list