Skip to contentSkip to conversation

bluez5: upgrade 5.78 -> 5.79

PATCH New Guðni Már Gilbert 1 participant 1 message Nov 2, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bluez5: upgrade 5.78 -> 5.79

Dropped two patches which are now merged upstream. Added one new patch to resolve a build error when using musl.

Changelog
* Fix issue with handling address type while pairing.
* Add support for allowing to set A2DP transport delay.
* Add support for persistent userspace HID operation.
* Add support for handling syncing to multiple BISes.

---
 meta/recipes-connectivity/bluez5/bluez5.inc   |   3 +-
 ...U-basename-compatible-implementation.patch | 147 ------------------
 ...0001-gdbus-define-MAX_INPUT-for-musl.patch |  34 ++++
 ...ove-local-basename-into-utility-file.patch | 114 --------------
 .../0001-test-gatt-Fix-hung-issue.patch       |   2 +-
 ...et-for-building-tests-without-runnin.patch |   2 +-
 .../bluez5/{bluez5_5.78.bb => bluez5_5.79.bb} |   2 +-
 7 files changed, 38 insertions(+), 266 deletions(-)
 delete mode 100644 meta/recipes-connectivity/bluez5/bluez5/0001-Provide-GNU-basename-compatible-implementation.patch
 create mode 100644 meta/recipes-connectivity/bluez5/bluez5/0001-gdbus-define-MAX_INPUT-for-musl.patch
 delete mode 100644 meta/recipes-connectivity/bluez5/bluez5/0001-mesh-Move-local-basename-into-utility-file.patch
 rename meta/recipes-connectivity/bluez5/{bluez5_5.78.bb => bluez5_5.79.bb} (94%)
meta/recipes-connectivity/bluez5/bluez5.inc +1 -2
index b3bcd278e6..d31f4e2295 100644
@@ -69,8 +69,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.xz \
            file://run-ptest \
            file://0001-tests-add-a-target-for-building-tests-without-runnin.patch \
            file://0001-test-gatt-Fix-hung-issue.patch \
-           file://0001-Provide-GNU-basename-compatible-implementation.patch \
-           file://0001-mesh-Move-local-basename-into-utility-file.patch \
+           file://0001-gdbus-define-MAX_INPUT-for-musl.patch \
            "
 S = "${WORKDIR}/bluez-${PV}"
 
meta/recipes-connectivity/bluez5/bluez5/0001-Provide-GNU-basename-compatible-implementation.patch deleted +0 -147

147 lines not on this page · raw message

meta/recipes-connectivity/bluez5/bluez5/0001-gdbus-define-MAX_INPUT-for-musl.patch new file +34 -0
new file mode 100644
index 0000000000..de01dc864e
@@ -0,0 +1,34 @@
+From 6f40d44acbfb0021f21bd63e6c0703ba701d19c4 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Gu=C3=B0ni=20M=C3=A1r=20Gilbert?= <[email protected]>
+Date: Sat, 2 Nov 2024 16:03:34 +0000
+Subject: [PATCH] gdbus: define MAX_INPUT for musl
+
+This is the same solution as was done in src/shared/util.c
+
+Upstream-Status: Submitted [https://marc.info/?l=linux-bluetooth&m=173056368428988&w=2]
+
+Signed-off-by: Guðni Már Gilbert  <[email protected]>
+---
+ gdbus/object.c | 6 ++++++
+ 1 file changed, 6 insertions(+)
+
+diff --git a/gdbus/object.c b/gdbus/object.c
+index 84f116bf1..7b0476f1a 100644
+--- a/gdbus/object.c
++++ b/gdbus/object.c
+@@ -20,6 +20,12 @@
+ #include <dbus/dbus.h>
+ 
+ #include "gdbus.h"
++
++/* define MAX_INPUT for musl */
++#ifndef MAX_INPUT
++#define MAX_INPUT _POSIX_MAX_INPUT
++#endif
++
+ #include "src/shared/util.h"
+ 
+ #define info(fmt...)
+-- 
+2.43.0
+
meta/recipes-connectivity/bluez5/bluez5/0001-mesh-Move-local-basename-into-utility-file.patch deleted +0 -114

114 lines not on this page · raw message

meta/recipes-connectivity/bluez5/bluez5/0001-test-gatt-Fix-hung-issue.patch +1 -1
index 1b1af4ba96..572f5b0be3 100644
@@ -1,4 +1,4 @@
-From b8371d1111e21a9b3285ec0864b78e98d7acf79f Mon Sep 17 00:00:00 2001
+From 825e15ddda4aa6d8e37c1c52181f7175d2237f66 Mon Sep 17 00:00:00 2001
 From: Mingli Yu <[email protected]>
 Date: Fri, 24 Aug 2018 12:04:03 +0800
 Subject: [PATCH] test-gatt: Fix hung issue
meta/recipes-connectivity/bluez5/bluez5/0001-tests-add-a-target-for-building-tests-without-runnin.patch +1 -1
index b85c050ffc..f56142ee50 100644
@@ -1,4 +1,4 @@
-From bbfecd4407b6425f409c4657ac96e67f0a995a12 Mon Sep 17 00:00:00 2001
+From 9ce6360d11f0b1252f61ff78ce6f8ef03b150dfd Mon Sep 17 00:00:00 2001
 From: Alexander Kanavin <[email protected]>
 Date: Fri, 1 Apr 2016 17:07:34 +0300
 Subject: [PATCH] tests: add a target for building tests without running them
meta/recipes-connectivity/bluez5/bluez5_5.79.bb renamed from meta/recipes-connectivity/bluez5/bluez5_5.78.bb +1 -1
similarity index 94%
rename from meta/recipes-connectivity/bluez5/bluez5_5.78.bb
rename to meta/recipes-connectivity/bluez5/bluez5_5.79.bb
index 23d1ad69d8..30ea6d317b 100644
@@ -1,6 +1,6 @@
 require bluez5.inc
 
-SRC_URI[sha256sum] = "830fed1915c5d375b8de0f5e6f45fcdea0dcc5ff5ffb3d31db6ed0f00d73c5e3"
+SRC_URI[sha256sum] = "4164a5303a9f71c70f48c03ff60be34231b568d93a9ad5e79928d34e6aa0ea8a"
 
 CVE_STATUS[CVE-2020-24490] = "cpe-incorrect: This issue has kernel fixes rather than bluez fixes"
 
Signature · 1 line
2.43.0