public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/bluez] f44: 5.87
@ 2026-07-05 11:25 Peter Robinson
0 siblings, 0 replies; 2+ messages in thread
From: Peter Robinson @ 2026-07-05 11:25 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/bluez
Branch : f44
Commit : 3b38c4c4c1fb8a1f7c14229663bb902f6724e8af
Author : Peter Robinson <pbrobinson@gmail.com>
Date : 2026-07-05T12:25:03+01:00
Stats : +6/-195 in 6 file(s)
URL : https://src.fedoraproject.org/rpms/bluez/c/3b38c4c4c1fb8a1f7c14229663bb902f6724e8af?branch=f44
Log:
5.87
---
diff --git a/0001-a2dp-connect-source-profile-after-sink.patch b/0001-a2dp-connect-source-profile-after-sink.patch
deleted file mode 100644
index 26a8986..0000000
--- a/0001-a2dp-connect-source-profile-after-sink.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 066a164a524e4983b850f5659b921cb42f84a0e0 Mon Sep 17 00:00:00 2001
-From: Pauli Virtanen <pav@iki.fi>
-Date: Mon, 16 Feb 2026 18:17:08 +0200
-Subject: [PATCH] a2dp: connect source profile after sink
-
-Since cdcd845f87ee the order in which profiles with the same priority
-are connected is the same order as btd_profile_register() is called,
-instead of being the opposite order. When initiating connections, we
-want to prefer a2dp-sink profile over a2dp-source, as connecting both at
-the same time does not work currently.
-
-Add .after_services to specify the order.
-
-Fixes: https://github.com/bluez/bluez/issues/1898
----
- profiles/audio/a2dp.c | 3 +++
- 1 file changed, 3 insertions(+)
-
-diff --git a/profiles/audio/a2dp.c b/profiles/audio/a2dp.c
-index 7a37003a2b25..c7e0fc75c09e 100644
---- a/profiles/audio/a2dp.c
-+++ b/profiles/audio/a2dp.c
-@@ -3769,6 +3769,9 @@ static struct btd_profile a2dp_source_profile = {
-
- .adapter_probe = a2dp_sink_server_probe,
- .adapter_remove = a2dp_sink_server_remove,
-+
-+ /* Connect source after sink, to prefer sink when conflicting */
-+ .after_services = BTD_PROFILE_UUID_CB(NULL, A2DP_SINK_UUID),
- };
-
- static struct btd_profile a2dp_sink_profile = {
---
-2.53.0
-
diff --git a/0001-advertising-Fix-sending-extra-bytes-with-MGMT_OP_ADD.patch b/0001-advertising-Fix-sending-extra-bytes-with-MGMT_OP_ADD.patch
deleted file mode 100644
index 0c70b82..0000000
--- a/0001-advertising-Fix-sending-extra-bytes-with-MGMT_OP_ADD.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 2a6968b40378dca5650e18e03ad0407738c47be5 Mon Sep 17 00:00:00 2001
-From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
-Date: Tue, 2 Jun 2026 16:36:31 -0400
-Subject: [PATCH] advertising: Fix sending extra bytes with
- MGMT_OP_ADD_EXT_ADV_DATA
-
-MGMT_OP_ADD_EXT_ADV_DATA expects the command to be of size of
-struct mgmt_cp_add_ext_adv_data not mgmt_cp_add_advertising.
----
- src/advertising.c | 3 +--
- 1 file changed, 1 insertion(+), 2 deletions(-)
-
-diff --git a/src/advertising.c b/src/advertising.c
-index c8b00a887911..1ed09c902b4b 100644
---- a/src/advertising.c
-+++ b/src/advertising.c
-@@ -1498,8 +1498,7 @@ static void add_adv_params_callback(uint8_t status, uint16_t length,
- }
- }
-
-- param_len = sizeof(struct mgmt_cp_add_advertising) + adv_data_len +
-- scan_rsp_len;
-+ param_len = sizeof(*cp) + adv_data_len + scan_rsp_len;
-
- cp = malloc0(param_len);
- if (!cp) {
---
-2.54.0
-
diff --git a/big-endian-5.86.patch b/big-endian-5.86.patch
deleted file mode 100644
index a0f83e4..0000000
--- a/big-endian-5.86.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From 3a5c4d311755910f07e60fd30d4736ac98bea8eb Mon Sep 17 00:00:00 2001
-From: Bastien Nocera <hadess@hadess.net>
-Date: Tue, 10 Feb 2026 10:06:28 +0100
-Subject: [PATCH] emulator: Fix compilation on big endian systems
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-This fixes the build on big endian systems like s390x:
-
-Remove the "static" so the array doesn't need to be initialised
-with constants.
-
-emulator/bthost.c: In function ‘bthost_setup_sco’:
-./src/shared/util.h:43:26: error: initializer element is not constant
- 43 | #define cpu_to_le32(val) bswap_32(val)
- | ^~~~~~~~
-etc.
-
-Fixes: 85888a8357ea ("bthost: add bthost_setup_sco() and accept
-incoming eSCO")
----
- emulator/bthost.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/emulator/bthost.c b/emulator/bthost.c
-index d09ad1e76c50..53b12f828675 100644
---- a/emulator/bthost.c
-+++ b/emulator/bthost.c
-@@ -3560,7 +3560,7 @@ void bthost_hci_disconnect(struct bthost *bthost, uint16_t handle,
- int bthost_setup_sco(struct bthost *bthost, uint16_t acl_handle,
- uint16_t setting)
- {
-- static const struct bt_hci_cmd_setup_sync_conn settings[] = {
-+ const struct bt_hci_cmd_setup_sync_conn settings[] = {
- {
- .tx_bandwidth = cpu_to_le32(0x00001f40),
- .rx_bandwidth = cpu_to_le32(0x00001f40),
---
-2.52.0
-
diff --git a/bluetoothctl-no-output.patch b/bluetoothctl-no-output.patch
deleted file mode 100644
index 11a184b..0000000
--- a/bluetoothctl-no-output.patch
+++ /dev/null
@@ -1,79 +0,0 @@
-From 33dd33a23ff250902eafa94fce5ea8178de50112 Mon Sep 17 00:00:00 2001
-From: Bastien Nocera <hadess@hadess.net>
-Date: Fri, 27 Feb 2026 12:07:14 +0100
-Subject: [PATCH 1/2] Revert "shared/shell: Don't init input for
- non-interactive shells"
-
-This reverts commit e73bf582dae60356641a32fc27ae03d359ec4c47.
-
-The fix caused "bluetoothctl list" to not output any text, breaking
-a lot of existing scripts.
-
-Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2440346
----
- src/shared/shell.c | 10 +++++-----
- 1 file changed, 5 insertions(+), 5 deletions(-)
-
-diff --git a/src/shared/shell.c b/src/shared/shell.c
-index 78d58c513d3e..b061f8001414 100644
---- a/src/shared/shell.c
-+++ b/src/shared/shell.c
-@@ -1642,13 +1642,13 @@ static bool shell_quit(void *data)
-
- bool bt_shell_attach(int fd)
- {
-- if (data.mode == MODE_INTERACTIVE) {
-- struct input *input;
-+ struct input *input;
-
-- input = input_new(fd);
-- if (!input)
-- return false;
-+ input = input_new(fd);
-+ if (!input)
-+ return false;
-
-+ if (data.mode == MODE_INTERACTIVE) {
- io_set_read_handler(input->io, input_read, input, NULL);
- io_set_disconnect_handler(input->io, input_hup, input, NULL);
-
---
-2.53.0
-
-
-From 0178bc8bda31cf60837fcce91b33e009bc3f7d7d Mon Sep 17 00:00:00 2001
-From: Bastien Nocera <hadess@hadess.net>
-Date: Fri, 27 Feb 2026 12:24:13 +0100
-Subject: [PATCH 2/2] tools: Work-around broken stdin handling in home-made
- mainloop
-
-bluetoothd has 3 mainloop implementations, one relying on ell, one
-relying on glib, and another home-made.
-
-The home-made mainloop handler use epoll() without any fallbacks, and
-will hang if one tries to epoll() an stdin that redirects from
-/dev/null.
-
-Closes: https://github.com/bluez/bluez/issues/700
----
- Makefile.tools | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/Makefile.tools b/Makefile.tools
-index 589f7c94f9df..7c52e053ffee 100644
---- a/Makefile.tools
-+++ b/Makefile.tools
-@@ -531,8 +531,8 @@ tools_obexctl_LDADD = gdbus/libgdbus-internal.la src/libshared-glib.la \
-
- tools_btmgmt_SOURCES = tools/btmgmt.c src/uuid-helper.c client/display.c \
- client/mgmt.c
--tools_btmgmt_LDADD = lib/libbluetooth-internal.la src/libshared-mainloop.la \
-- -lreadline
-+tools_btmgmt_LDADD = lib/libbluetooth-internal.la src/libshared-glib.la \
-+ $(GLIB_LIBS) -lreadline
- if DEPRECATED
- noinst_PROGRAMS += attrib/gatttool
-
---
-2.53.0
-
diff --git a/bluez.spec b/bluez.spec
index 3f3d865..5495ade 100644
--- a/bluez.spec
+++ b/bluez.spec
@@ -5,21 +5,13 @@
%endif
Name: bluez
-Version: 5.86
-Release: 5%{?dist}
+Version: 5.87
+Release: 1%{?dist}
Summary: Bluetooth utilities
License: GPL-2.0-or-later
URL: http://www.bluez.org/
Source0: https://www.kernel.org/pub/linux/bluetooth/%{name}-%{version}.tar.xz
-# https://patchwork.kernel.org/project/bluetooth/list/?series=1052631
-Patch1: big-endian-5.86.patch
-# https://patchwork.kernel.org/project/bluetooth/patch/ba0e71b91a24557f088b015a349c6ccee6260ec2.1771258477.git.pav@iki.fi/
-Patch2: 0001-a2dp-connect-source-profile-after-sink.patch
-# https://patchwork.kernel.org/project/bluetooth/list/?series=1058931
-Patch3: bluetoothctl-no-output.patch
-# https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/?id=2a6968b40378dca5650e18e03ad0407738c47be5
-Patch4: 0001-advertising-Fix-sending-extra-bytes-with-MGMT_OP_ADD.patch
BuildRequires: dbus-devel >= 1.6
BuildRequires: glib2-devel
@@ -343,6 +335,9 @@ install emulator/btvirt ${RPM_BUILD_ROOT}/%{_libexecdir}/bluetooth/
%{_userunitdir}/obex.service
%changelog
+* Sun Jul 05 2026 Peter Robinson <pbrobinson@fedoraproject.org> - 5.87-1
+- Update to 5.87
+
* Mon Jun 22 2026 Bastien Nocera <bnocera@redhat.com> - 5.86-5
- Fix BLE advertisments (Closes: #2489100)
diff --git a/sources b/sources
index 1eafce8..050bd26 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (bluez-5.86.tar.xz) = d3268be43ad869dabd9d9eabc7a0da699837bb5432ecf61e1756e03f9b867a1d989299db1493bd349d73b495d736f55d7518fbb9ee664de49e5d1cf7c2156df7
+SHA512 (bluez-5.87.tar.xz) = f1e3bede9b0bbc3b5cfe9fed5f7945be7cbcf7a299729b5f82f1cba4bbbd6c4d2e372c9685f61458dfc374c9dfee352b6c2933a2c0d7727b8171ff394055e169
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [rpms/bluez] f44: 5.87
@ 2026-07-05 11:25 Peter Robinson
0 siblings, 0 replies; 2+ messages in thread
From: Peter Robinson @ 2026-07-05 11:25 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/bluez
Branch : f44
Commit : 74a6e4355382ea75da60c48b5359e94ab41d5ae6
Author : Peter Robinson <pbrobinson@gmail.com>
Date : 2026-07-05T12:25:08+01:00
Stats : +6/-3 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/bluez/c/74a6e4355382ea75da60c48b5359e94ab41d5ae6?branch=f44
Log:
5.87
---
diff --git a/bluez.spec b/bluez.spec
index 5495ade..67827c2 100644
--- a/bluez.spec
+++ b/bluez.spec
@@ -73,7 +73,6 @@ be dropped by upstream. Utilities include:
- gatttool
- hciattach
- hciconfig
- - hcidump
- hcitool
- meshctl
- rfcomm
@@ -165,6 +164,9 @@ install -m0755 attrib/gatttool $RPM_BUILD_ROOT%{_bindir}
# Red Hat Bugzilla bug #1699680
install -m0755 tools/avinfo $RPM_BUILD_ROOT%{_bindir}
+# "make install" fails to install avinfo
+install -m0755 tools/btsnoop $RPM_BUILD_ROOT%{_bindir}
+
# btmgmt is not installed by "make install", but it is useful for debugging
# some issues and to set the MAC address on HCIs which don't have their
# MAC address configured
@@ -267,7 +269,6 @@ install emulator/btvirt ${RPM_BUILD_ROOT}/%{_libexecdir}/bluetooth/
%{_bindir}/gatttool
%{_bindir}/hciattach
%{_bindir}/hciconfig
-%{_bindir}/hcidump
%{_bindir}/hcitool
%{_bindir}/meshctl
%{_bindir}/rfcomm
@@ -275,7 +276,6 @@ install emulator/btvirt ${RPM_BUILD_ROOT}/%{_libexecdir}/bluetooth/
%{_mandir}/man1/ciptool.1.*
%{_mandir}/man1/hciattach.1.*
%{_mandir}/man1/hciconfig.1.*
-%{_mandir}/man1/hcidump.1.*
%{_mandir}/man1/hcitool.1.*
%{_mandir}/man1/rfcomm.1.*
%{_mandir}/man1/sdptool.1.*
@@ -288,6 +288,7 @@ install emulator/btvirt ${RPM_BUILD_ROOT}/%{_libexecdir}/bluetooth/
%files libs-devel
%doc doc/*txt
+%{_bindir}/btsnoop
%{_bindir}/isotest
%{_bindir}/l2test
%{_bindir}/l2ping
@@ -296,6 +297,7 @@ install emulator/btvirt ${RPM_BUILD_ROOT}/%{_libexecdir}/bluetooth/
%{_mandir}/man1/l2ping.1.*
%{_mandir}/man1/rctest.1.*
%{_mandir}/man5/org.bluez.*.5.*
+%{_mandir}/man7/btsnoop.7.*
%{_mandir}/man7/hci.7.*
%{_mandir}/man7/iso.7.*
%{_mandir}/man7/l2cap.7.*
@@ -337,6 +339,7 @@ install emulator/btvirt ${RPM_BUILD_ROOT}/%{_libexecdir}/bluetooth/
%changelog
* Sun Jul 05 2026 Peter Robinson <pbrobinson@fedoraproject.org> - 5.87-1
- Update to 5.87
+- Install new btsnoop tool
* Mon Jun 22 2026 Bastien Nocera <bnocera@redhat.com> - 5.86-5
- Fix BLE advertisments (Closes: #2489100)
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-07-05 11:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-05 11:25 [rpms/bluez] f44: 5.87 Peter Robinson
2026-07-05 11:25 Peter Robinson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox