From ab6f45f3bd214cc0b4416763a973d8aaaa07e3597891663e69fd008d9bfa86f7 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 7 Apr 2021 08:04:28 +0000 Subject: [PATCH] Accepting request 883535 from home:seife:testing update to 5.58 *** NOTE *** this will be unresolvable until ell-0.39 is in Factory OBS-URL: https://build.opensuse.org/request/show/883535 OBS-URL: https://build.opensuse.org/package/show/Base:System/bluez?expand=0&rev=305 --- bluez-5.56.tar.xz | 3 -- bluez-5.58.tar.xz | 3 ++ ...ng-all-remote-SEPs-when-loading-from.patch | 43 ------------------- bluez.changes | 12 ++++++ bluez.spec | 5 +-- 5 files changed, 17 insertions(+), 49 deletions(-) delete mode 100644 bluez-5.56.tar.xz create mode 100644 bluez-5.58.tar.xz delete mode 100644 bluez-avdtp-Fix-removing-all-remote-SEPs-when-loading-from.patch diff --git a/bluez-5.56.tar.xz b/bluez-5.56.tar.xz deleted file mode 100644 index d0988d9..0000000 --- a/bluez-5.56.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:59c4dba9fc8aae2a6a5f8f12f19bc1b0c2dc27355c7ca3123eed3fe6bd7d0b9d -size 2053080 diff --git a/bluez-5.58.tar.xz b/bluez-5.58.tar.xz new file mode 100644 index 0000000..e5355d1 --- /dev/null +++ b/bluez-5.58.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c8065e75a5eb67236849ef68a354b1700540305a8c88ef0a0fd6288f19daf1f1 +size 2060368 diff --git a/bluez-avdtp-Fix-removing-all-remote-SEPs-when-loading-from.patch b/bluez-avdtp-Fix-removing-all-remote-SEPs-when-loading-from.patch deleted file mode 100644 index 950958b..0000000 --- a/bluez-avdtp-Fix-removing-all-remote-SEPs-when-loading-from.patch +++ /dev/null @@ -1,43 +0,0 @@ -From 28ddec8d6b829e002fa268c07b71e4c564ba9e16 Mon Sep 17 00:00:00 2001 -From: Luiz Augusto von Dentz -Date: Thu, 11 Mar 2021 07:36:07 -0800 -Subject: [PATCH] avdtp: Fix removing all remote SEPs when loading from cache - -If avdtp_discover is called after cache has been loaded it end up -removing all remote SEPs as they have not been discovered yet. - -Fixes: https://github.com/bluez/bluez/issues/102 ---- - profiles/audio/avdtp.c | 16 ++++++++++++---- - 1 file changed, 12 insertions(+), 4 deletions(-) - -diff --git a/profiles/audio/avdtp.c b/profiles/audio/avdtp.c -index 088ca58b3..1d5871c62 100644 ---- a/profiles/audio/avdtp.c -+++ b/profiles/audio/avdtp.c -@@ -3381,10 +3381,18 @@ int avdtp_discover(struct avdtp *session, avdtp_discover_cb_t cb, - session->discover = g_new0(struct discover_callback, 1); - - if (session->seps) { -- session->discover->cb = cb; -- session->discover->user_data = user_data; -- session->discover->id = g_idle_add(process_discover, session); -- return 0; -+ struct avdtp_remote_sep *sep = session->seps->data; -+ -+ /* Check that SEP have been discovered as it may be loaded from -+ * cache. -+ */ -+ if (sep->discovered) { -+ session->discover->cb = cb; -+ session->discover->user_data = user_data; -+ session->discover->id = g_idle_add(process_discover, -+ session); -+ return 0; -+ } - } - - err = send_request(session, FALSE, NULL, AVDTP_DISCOVER, NULL, 0); --- -2.30.2 - diff --git a/bluez.changes b/bluez.changes index 72c0c13..337bbf6 100644 --- a/bluez.changes +++ b/bluez.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Wed Apr 7 07:49:44 UTC 2021 - Stefan Seyfried + +- update to 5.58: + * Fix issue with usage of deprecated GLib functions. +- version 5.57: + * Fix issue with handling GATT notification PDU parsing. + * Fix issue with registering DIS without a valid source. + * Fix issue with removing remote SEPs when loading from cache. +- remove upstreamed + bluez-avdtp-Fix-removing-all-remote-SEPs-when-loading-from.patch + ------------------------------------------------------------------- Thu Apr 1 04:27:37 UTC 2021 - Al Cho diff --git a/bluez.spec b/bluez.spec index 301ee96..3c7796b 100644 --- a/bluez.spec +++ b/bluez.spec @@ -27,7 +27,7 @@ # contributions via pull requests are welcome! # Name: bluez -Version: 5.56 +Version: 5.58 Release: 0 Summary: Bluetooth Stack for Linux License: GPL-2.0-or-later @@ -49,7 +49,6 @@ Patch4: bluez-disable-broken-tests.diff Patch5: bluez-test-2to3.diff # Move 43xx firmware path for RPi3 bluetooth support bsc#1140688 Patch10: RPi-Move-the-43xx-firmware-into-lib-firmware.patch -Patch11: bluez-avdtp-Fix-removing-all-remote-SEPs-when-loading-from.patch # Upstream suggests to use btmon instead of hcidump and does not want those patches # => PATCH-FIX-OPENSUSE for those two :-) # fix some memory leak with malformed packet (reported upstream but not yet fixed) @@ -85,7 +84,7 @@ Obsoletes: obexd-client < 5.0 Provides: obexd-client = %{version} %{?systemd_requires} %if 0%{?suse_version} >= 1550 -BuildRequires: pkgconfig(ell) >= 0.28 +BuildRequires: pkgconfig(ell) >= 0.39 %endif %if %{with mesh} # json-c is needed for --enable-mesh