From 11897a9300d7b667f2b62d99fac5a86131698ded Mon Sep 17 00:00:00 2001 From: Shane Wang Date: Wed, 14 Mar 2012 15:18:50 +0800 Subject: bluez4: upgrade to 4.99 (From OE-Core rev: fac7863c0f00b442283689e27fae153ccf5428b0) Signed-off-by: Shane Wang Signed-off-by: Richard Purdie --- .../bluez/bluez4-4.98/bluetooth.conf | 16 ---------- .../bluez/bluez4-4.98/sbc_mmx.patch | 24 --------------- .../bluez/bluez4-4.99/bluetooth.conf | 16 ++++++++++ .../bluez/bluez4-4.99/sbc_mmx.patch | 24 +++++++++++++++ meta/recipes-connectivity/bluez/bluez4_4.98.bb | 35 ---------------------- meta/recipes-connectivity/bluez/bluez4_4.99.bb | 35 ++++++++++++++++++++++ 6 files changed, 75 insertions(+), 75 deletions(-) delete mode 100644 meta/recipes-connectivity/bluez/bluez4-4.98/bluetooth.conf delete mode 100644 meta/recipes-connectivity/bluez/bluez4-4.98/sbc_mmx.patch create mode 100644 meta/recipes-connectivity/bluez/bluez4-4.99/bluetooth.conf create mode 100644 meta/recipes-connectivity/bluez/bluez4-4.99/sbc_mmx.patch delete mode 100644 meta/recipes-connectivity/bluez/bluez4_4.98.bb create mode 100644 meta/recipes-connectivity/bluez/bluez4_4.99.bb (limited to 'meta/recipes-connectivity/bluez') diff --git a/meta/recipes-connectivity/bluez/bluez4-4.98/bluetooth.conf b/meta/recipes-connectivity/bluez/bluez4-4.98/bluetooth.conf deleted file mode 100644 index ca5e9e4f2f..0000000000 --- a/meta/recipes-connectivity/bluez/bluez4-4.98/bluetooth.conf +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - - - - diff --git a/meta/recipes-connectivity/bluez/bluez4-4.98/sbc_mmx.patch b/meta/recipes-connectivity/bluez/bluez4-4.98/sbc_mmx.patch deleted file mode 100644 index 98fab458b0..0000000000 --- a/meta/recipes-connectivity/bluez/bluez4-4.98/sbc_mmx.patch +++ /dev/null @@ -1,24 +0,0 @@ -on x86 and x86_64 gcc 4.7 complains - -sbc/sbc_primitives_mmx.c: In function 'sbc_calc_scalefactors_mmx': -sbc/sbc_primitives_mmx.c:294:4: warning: asm operand 2 probably doesn't match constraints [enabled by default] -sbc/sbc_primitives_mmx.c:294:4: error: impossible constraint in 'asm' - -This patch is taken from https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/911871 - -Signed-off-by: Khem Raj - -Upstream-Status: Pending -Index: bluez-4.98/sbc/sbc_primitives_mmx.c -=================================================================== ---- bluez-4.98.orig/sbc/sbc_primitives_mmx.c 2011-12-21 14:53:54.000000000 -0800 -+++ bluez-4.98/sbc/sbc_primitives_mmx.c 2012-02-24 10:07:03.422073800 -0800 -@@ -318,7 +318,7 @@ - "movl %k0, 4(%3)\n" - : "+r" (blk) - : "r" (&sb_sample_f[0][ch][sb]), -- "i" ((char *) &sb_sample_f[1][0][0] - -+ "r" ((char *) &sb_sample_f[1][0][0] - - (char *) &sb_sample_f[0][0][0]), - "r" (&scale_factor[ch][sb]), - "r" (&consts), diff --git a/meta/recipes-connectivity/bluez/bluez4-4.99/bluetooth.conf b/meta/recipes-connectivity/bluez/bluez4-4.99/bluetooth.conf new file mode 100644 index 0000000000..ca5e9e4f2f --- /dev/null +++ b/meta/recipes-connectivity/bluez/bluez4-4.99/bluetooth.conf @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + diff --git a/meta/recipes-connectivity/bluez/bluez4-4.99/sbc_mmx.patch b/meta/recipes-connectivity/bluez/bluez4-4.99/sbc_mmx.patch new file mode 100644 index 0000000000..98fab458b0 --- /dev/null +++ b/meta/recipes-connectivity/bluez/bluez4-4.99/sbc_mmx.patch @@ -0,0 +1,24 @@ +on x86 and x86_64 gcc 4.7 complains + +sbc/sbc_primitives_mmx.c: In function 'sbc_calc_scalefactors_mmx': +sbc/sbc_primitives_mmx.c:294:4: warning: asm operand 2 probably doesn't match constraints [enabled by default] +sbc/sbc_primitives_mmx.c:294:4: error: impossible constraint in 'asm' + +This patch is taken from https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/911871 + +Signed-off-by: Khem Raj + +Upstream-Status: Pending +Index: bluez-4.98/sbc/sbc_primitives_mmx.c +=================================================================== +--- bluez-4.98.orig/sbc/sbc_primitives_mmx.c 2011-12-21 14:53:54.000000000 -0800 ++++ bluez-4.98/sbc/sbc_primitives_mmx.c 2012-02-24 10:07:03.422073800 -0800 +@@ -318,7 +318,7 @@ + "movl %k0, 4(%3)\n" + : "+r" (blk) + : "r" (&sb_sample_f[0][ch][sb]), +- "i" ((char *) &sb_sample_f[1][0][0] - ++ "r" ((char *) &sb_sample_f[1][0][0] - + (char *) &sb_sample_f[0][0][0]), + "r" (&scale_factor[ch][sb]), + "r" (&consts), diff --git a/meta/recipes-connectivity/bluez/bluez4_4.98.bb b/meta/recipes-connectivity/bluez/bluez4_4.98.bb deleted file mode 100644 index 5df32412ca..0000000000 --- a/meta/recipes-connectivity/bluez/bluez4_4.98.bb +++ /dev/null @@ -1,35 +0,0 @@ -require bluez4.inc - -PR = "r2" - -SRC_URI += "file://bluetooth.conf \ - file://sbc_mmx.patch \ - " - -SRC_URI[md5sum] = "362864b716950baa04797de735fc237b" -SRC_URI[sha256sum] = "9a5b655bada7c7a1921cb3bac83b8a32bbe49893e4c7a1377cdc1b0d35f7d233" - -do_install_append() { - install -m 0644 ${S}/audio/audio.conf ${D}/${sysconfdir}/bluetooth/ - install -m 0644 ${S}/network/network.conf ${D}/${sysconfdir}/bluetooth/ - install -m 0644 ${S}/input/input.conf ${D}/${sysconfdir}/bluetooth/ - # at_console doesn't really work with the current state of OE, so punch some more holes so people can actually use BT - install -m 0644 ${WORKDIR}/bluetooth.conf ${D}/${sysconfdir}/dbus-1/system.d/ -} - -RDEPENDS_${PN}-dev = "bluez-hcidump" - -PACKAGES =+ "libasound-module-bluez" - -FILES_libasound-module-bluez = "${libdir}/alsa-lib/lib*.so ${datadir}/alsa" -FILES_${PN} += "${libdir}/bluetooth/plugins ${libdir}/bluetooth/plugins/*.so ${base_libdir}/udev/ ${base_libdir}/systemd/" -FILES_${PN}-dev += "\ - ${libdir}/bluetooth/plugins/*.la \ - ${libdir}/alsa-lib/*.la \ -" - -FILES_${PN}-dbg += "\ - ${libdir}/bluetooth/plugins/.debug \ - ${libdir}/*/.debug \ - ${base_libdir}/udev/.debug \ - " diff --git a/meta/recipes-connectivity/bluez/bluez4_4.99.bb b/meta/recipes-connectivity/bluez/bluez4_4.99.bb new file mode 100644 index 0000000000..97c77b419b --- /dev/null +++ b/meta/recipes-connectivity/bluez/bluez4_4.99.bb @@ -0,0 +1,35 @@ +require bluez4.inc + +PR = "r0" + +SRC_URI += "file://bluetooth.conf \ + file://sbc_mmx.patch \ + " + +SRC_URI[md5sum] = "570aa10692ed890aa0a4297b37824912" +SRC_URI[sha256sum] = "d884b9aa5d3d9653c076b7646ca14a3e43eb84bccfe8193c49690f802bbd827c" + +do_install_append() { + install -m 0644 ${S}/audio/audio.conf ${D}/${sysconfdir}/bluetooth/ + install -m 0644 ${S}/network/network.conf ${D}/${sysconfdir}/bluetooth/ + install -m 0644 ${S}/input/input.conf ${D}/${sysconfdir}/bluetooth/ + # at_console doesn't really work with the current state of OE, so punch some more holes so people can actually use BT + install -m 0644 ${WORKDIR}/bluetooth.conf ${D}/${sysconfdir}/dbus-1/system.d/ +} + +RDEPENDS_${PN}-dev = "bluez-hcidump" + +PACKAGES =+ "libasound-module-bluez" + +FILES_libasound-module-bluez = "${libdir}/alsa-lib/lib*.so ${datadir}/alsa" +FILES_${PN} += "${libdir}/bluetooth/plugins ${libdir}/bluetooth/plugins/*.so ${base_libdir}/udev/ ${base_libdir}/systemd/" +FILES_${PN}-dev += "\ + ${libdir}/bluetooth/plugins/*.la \ + ${libdir}/alsa-lib/*.la \ +" + +FILES_${PN}-dbg += "\ + ${libdir}/bluetooth/plugins/.debug \ + ${libdir}/*/.debug \ + ${base_libdir}/udev/.debug \ + " -- cgit v1.2.3-54-g00ecf