Skip to contentSkip to conversation

package/bluez_utils: drop package

PATCH New Fabrice Fontaine 2 participants 2 messages Jan 12, 2020 – Feb 3, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/bluez_utils: drop package

BlueZ 4.x is deprecated since a long time (BlueZ 5.x has been released in 2012) so drop it.

For cwwiid, sconeserver and ussp-push, replace bluez_utils by bluez5_utils. All other packages already support bluez5_utils so just drop bluez_utils.

---
 Config.in.legacy                              |  10 ++
 DEVELOPERS                                    |   1 -
 package/Config.in                             |   1 -
 package/asterisk/asterisk.mk                  |   5 +-
 package/bluez-alsa/Config.in                  |   2 -
 package/bluez-tools/Config.in                 |   4 +-
 package/bluez-tools/bluez-tools.mk            |  22 +---
 package/bluez5_utils/Config.in                |   4 -
 .../0001-enable_cg2900_on_upstream_4.91.patch | 106 -----------------
 ...0002-tools-hciconfig-include-fcntl.h.patch |  27 -----
 ...003-fix-compilation-issues-with-musl.patch |  61 ----------
 .../0004-test-add-missing-header.patch        |  34 ------
 ...avoid-conflict-with-encrypt-function.patch | 107 ------------------
 ...x-build-after-y2038-changes-in-glibc.patch |  68 -----------
 .../0007-fix-lib-bluetooth-h-with-c99.patch   |  31 -----
 package/bluez_utils/Config.in                 |  48 --------
 package/bluez_utils/bluez_utils.hash          |   5 -
 package/bluez_utils/bluez_utils.mk            |  61 ----------
 package/cwiid/Config.in                       |  10 +-
 package/cwiid/cwiid.mk                        |   2 +-
 package/gpsd/gpsd.mk                          |   4 +-
 package/gstreamer1/gst1-plugins-bad/Config.in |   4 -
 package/kodi/Config.in                        |   1 -
 package/libsigrok/libsigrok.mk                |   5 +-
 package/ofono/ofono.mk                        |   5 +-
 package/openobex/openobex.mk                  |   4 -
 package/qt5/qt5connectivity/Config.in         |   7 +-
 .../qt5/qt5connectivity/qt5connectivity.mk    |   5 +-
 package/sconeserver/Config.in                 |  10 +-
 package/sconeserver/sconeserver.mk            |   2 +-
 package/ussp-push/Config.in                   |   4 +-
 package/ussp-push/ussp-push.mk                |   2 +-
 32 files changed, 37 insertions(+), 625 deletions(-)
 delete mode 100644 package/bluez_utils/0001-enable_cg2900_on_upstream_4.91.patch
 delete mode 100644 package/bluez_utils/0002-tools-hciconfig-include-fcntl.h.patch
 delete mode 100644 package/bluez_utils/0003-fix-compilation-issues-with-musl.patch
 delete mode 100644 package/bluez_utils/0004-test-add-missing-header.patch
 delete mode 100644 package/bluez_utils/0005-test-avoid-conflict-with-encrypt-function.patch
 delete mode 100644 package/bluez_utils/0006-tools-Fix-build-after-y2038-changes-in-glibc.patch
 delete mode 100644 package/bluez_utils/0007-fix-lib-bluetooth-h-with-c99.patch
 delete mode 100644 package/bluez_utils/Config.in
 delete mode 100644 package/bluez_utils/bluez_utils.hash
 delete mode 100644 package/bluez_utils/bluez_utils.mk
Config.in.legacy +10 -0
index 1801ec06da..8247cbf476 100644
@@ -146,6 +146,16 @@ endif
 
 comment "Legacy options removed in 2020.02"
 
+config BR2_PACKAGE_BLUEZ_UTILS
+	bool "bluez-utils was removed"
+	select BR2_LEGACY
+	select BR2_PACKAGE_BLUEZ5_UTILS
+	help
+	  The bluez-utils (BlueZ 4.x) package was removed as it is
+	  deprecated since a long time. As an alternative, the
+	  bluez5-utils (BlueZ 5.x) has been automatically selected in
+	  your configuration.
+
 config BR2_PACKAGE_WIREGUARD
 	bool "wireguard package renamed"
 	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_10
DEVELOPERS +0 -1
index d7b14d14b4..5a6c1cd076 100644
@@ -2584,7 +2584,6 @@ F:	configs/beaglebone_defconfig
 F:	configs/beaglebone_qt5_defconfig
 F:	package/acl/
 F:	package/attr/
-F:	package/bluez_utils/
 F:	package/boost/
 F:	package/bootstrap/
 F:	package/cannelloni/
package/Config.in +0 -1
index 1049e3735f..4c6eeb0ae5 100644
@@ -1949,7 +1949,6 @@ menu "Networking applications"
 	source "package/bind/Config.in"
 	source "package/bird/Config.in"
 	source "package/bluez-tools/Config.in"
-	source "package/bluez_utils/Config.in"
 	source "package/bluez5_utils/Config.in"
 	source "package/bmon/Config.in"
 	source "package/boa/Config.in"
package/asterisk/asterisk.mk +1 -4
index bfdcb49e8f..cea287f0d7 100644
@@ -136,10 +136,7 @@ else
 ASTERISK_CONF_OPTS += --without-asound
 endif
 
-ifeq ($(BR2_PACKAGE_BLUEZ_UTILS),y)
-ASTERISK_DEPENDENCIES += bluez_utils
-ASTERISK_CONF_OPTS += --with-bluetooth
-else ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS),y)
+ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS),y)
 ASTERISK_DEPENDENCIES += bluez5_utils
 ASTERISK_CONF_OPTS += --with-bluetooth
 else
package/bluez-alsa/Config.in +0 -2
index e52933f07c..2f103f409c 100644
@@ -1,7 +1,6 @@
 config BR2_PACKAGE_BLUEZ_ALSA
 	bool "bluez-alsa"
 	depends on !BR2_STATIC_LIBS # bluez5
-	depends on !BR2_PACKAGE_BLUEZ_UTILS # bluez5
 	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
 	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 # bluez5
 	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # bluez5
@@ -39,4 +38,3 @@ comment "bluez-alsa needs a toolchain w/ wchar, NPTL, headers >= 3.4, dynamic li
 		!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 || BR2_STATIC_LIBS
 	depends on BR2_TOOLCHAIN_HAS_SYNC_4
 	depends on BR2_USE_MMU
-	depends on !BR2_PACKAGE_BLUEZ_UTILS
package/bluez-tools/Config.in +2 -2
index 5a1b7d0412..6db874b23a 100644
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_BLUEZ_TOOLS
 	bool "bluez-tools"
-	depends on BR2_PACKAGE_BLUEZ_UTILS || BR2_PACKAGE_BLUEZ5_UTILS
+	depends on BR2_PACKAGE_BLUEZ5_UTILS
 	depends on BR2_USE_MMU # dbus, libglib2
 	depends on BR2_USE_WCHAR # libglib2
 	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, libglib2
@@ -14,6 +14,6 @@ config BR2_PACKAGE_BLUEZ_TOOLS
 	  https://github.com/khvzak/bluez-tools
 
 comment "bluez-tools needs a toolchain w/ wchar, threads"
-	depends on BR2_PACKAGE_BLUEZ_UTILS || BR2_PACKAGE_BLUEZ5_UTILS
+	depends on BR2_PACKAGE_BLUEZ5_UTILS
 	depends on BR2_USE_MMU
 	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
package/bluez-tools/bluez-tools.mk +1 -21
index 49891bd2d1..c58701981a 100644
@@ -4,33 +4,13 @@
 #
 ################################################################################
 
-ifeq ($(BR2_PACKAGE_BLUEZ_UTILS),y)
-# this is the last version compatible with BlueZ 4 API
-BLUEZ_TOOLS_VERSION = 171181b6ef6c94aefc828dc7fd8de136b9f97532
-else
 BLUEZ_TOOLS_VERSION = 97efd293491ad7ec96a655665339908f2478b3d1
-endif
 BLUEZ_TOOLS_SITE = $(call github,khvzak,bluez-tools,$(BLUEZ_TOOLS_VERSION))
 
 # sources fetched from github, no configure script)
 BLUEZ_TOOLS_AUTORECONF = YES
-BLUEZ_TOOLS_DEPENDENCIES = host-pkgconf dbus dbus-glib
+BLUEZ_TOOLS_DEPENDENCIES = host-pkgconf dbus dbus-glib bluez5_utils readline
 BLUEZ_TOOLS_LICENSE = GPL-2.0+
 BLUEZ_TOOLS_LICENSE_FILES = COPYING
 
-ifeq ($(BR2_PACKAGE_BLUEZ_UTILS),y)
-BLUEZ_TOOLS_DEPENDENCIES += bluez_utils
-# readline is an optional dependency when used with bluez_utils
-# obex support depends on readline so enable it optionally
-ifeq ($(BR2_PACKAGE_READLINE),y)
-BLUEZ_TOOLS_CONF_OPTS += --enable-obex
-BLUEZ_TOOLS_DEPENDENCIES += readline
-else
-BLUEZ_TOOLS_CONF_OPTS += --disable-obex
-endif
-else
-# readline is a hard dependency when used with bluez5_utils
-BLUEZ_TOOLS_DEPENDENCIES += bluez5_utils readline
-endif
-
 $(eval $(autotools-package))
package/bluez5_utils/Config.in +0 -4
index c5e8dfbcf7..488a2f79c8 100644
@@ -4,7 +4,6 @@ config BR2_PACKAGE_BLUEZ5_UTILS
 	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, libglib2
 	depends on BR2_USE_MMU # dbus
 	depends on !BR2_STATIC_LIBS # uses dlfcn
-	depends on !BR2_PACKAGE_BLUEZ_UTILS # conflicts with 4.x version
 	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
 	depends on BR2_TOOLCHAIN_HAS_SYNC_4
 	select BR2_PACKAGE_DBUS
@@ -100,6 +99,3 @@ comment "bluez5-utils needs a toolchain w/ wchar, threads, headers >= 3.4, dynam
 		!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 || BR2_STATIC_LIBS
 	depends on BR2_TOOLCHAIN_HAS_SYNC_4
 	depends on BR2_USE_MMU
-
-comment "bluez5-utils conflicts with older bluez-utils version"
-	depends on BR2_PACKAGE_BLUEZ_UTILS
package/bluez_utils/0001-enable_cg2900_on_upstream_4.91.patch deleted +0 -106

106 lines not on this page · raw message

package/bluez_utils/0002-tools-hciconfig-include-fcntl.h.patch deleted +0 -27
deleted file mode 100644
index 7d0763ff03..0000000000
@@ -1,27 +0,0 @@
-From ae607756a5f2a09bce1fc3a52e74b5f471245e33 Mon Sep 17 00:00:00 2001
-From: Thomas Petazzoni <[email protected]>
-Date: Mon, 6 Apr 2015 23:54:19 +0200
-Subject: [PATCH] tools/hciconfig: include <fcntl.h>
-
-Needed to get the definition of mode_t in musl.
-
-Signed-off-by: Thomas Petazzoni <[email protected]>
----
- tools/hciconfig.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/tools/hciconfig.c b/tools/hciconfig.c
-index f1458b9..6776d62 100644
---- a/tools/hciconfig.c
-+++ b/tools/hciconfig.c
-@@ -34,6 +34,7 @@
- #include <stdlib.h>
- #include <string.h>
- #include <getopt.h>
-+#include <fcntl.h>
- #include <sys/param.h>
- #include <sys/ioctl.h>
- #include <sys/socket.h>
--- 
-2.1.0
-
package/bluez_utils/0003-fix-compilation-issues-with-musl.patch deleted +0 -61

61 lines not on this page · raw message

package/bluez_utils/0004-test-add-missing-header.patch deleted +0 -34
deleted file mode 100644
index c74afb8304..0000000000
@@ -1,34 +0,0 @@
-From d3c098c2fde55ddf0c7d56eae56925103d35da73 Mon Sep 17 00:00:00 2001
-From: Romain Naour <[email protected]>
-Date: Sat, 13 May 2017 18:56:51 +0200
-Subject: [PATCH] test: add missing header
-
-test/attest.c: In function 'at_command':
-test/attest.c:43:2: error: unknown type name 'fd_set'
-  fd_set rfds;
-  ^
-
-Fixes:
-http://autobuild.buildroot.net/results/06c/06c930d9c5299b79500d018ac3fb2861ce834c7c/
-
-Signed-off-by: Romain Naour <[email protected]>
----
- test/attest.c | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/test/attest.c b/test/attest.c
-index 12ba682..2626cf1 100644
---- a/test/attest.c
-+++ b/test/attest.c
-@@ -35,6 +35,8 @@
- #include <sys/ioctl.h>
- #include <sys/socket.h>
- 
-+#include <sys/select.h>
-+
- #include <bluetooth/bluetooth.h>
- #include <bluetooth/rfcomm.h>
- 
--- 
-2.9.3
-
package/bluez_utils/0005-test-avoid-conflict-with-encrypt-function.patch deleted +0 -107

107 lines not on this page · raw message

package/bluez_utils/0006-tools-Fix-build-after-y2038-changes-in-glibc.patch deleted +0 -68

68 lines not on this page · raw message

package/bluez_utils/0007-fix-lib-bluetooth-h-with-c99.patch deleted +0 -31
deleted file mode 100644
index 3738baf1f5..0000000000
@@ -1,31 +0,0 @@
-http://permalink.gmane.org/gmane.linux.bluez.kernel/22306
-
-[Retrieved from:
-https://428282.bugs.gentoo.org/attachment.cgi?id=319374]
-Signed-off-by: Fabrice Fontaine <[email protected]>
-
-diff --git a/lib/bluetooth.h b/lib/bluetooth.h
-index 0541842..5b2153d 100644
---- a/lib/bluetooth.h
-+++ b/lib/bluetooth.h
-@@ -140,16 +140,16 @@ enum {
- #define bt_get_unaligned(ptr)			\
- ({						\
- 	struct __attribute__((packed)) {	\
--		typeof(*(ptr)) __v;		\
--	} *__p = (typeof(__p)) (ptr);		\
-+		__typeof__(*(ptr)) __v;		\
-+	} *__p = (__typeof__(__p)) (ptr);	\
- 	__p->__v;				\
- })
- 
- #define bt_put_unaligned(val, ptr)		\
- do {						\
- 	struct __attribute__((packed)) {	\
--		typeof(*(ptr)) __v;		\
--	} *__p = (typeof(__p)) (ptr);		\
-+		__typeof__(*(ptr)) __v;		\
-+	} *__p = (__typeof__(__p)) (ptr);	\
- 	__p->__v = (val);			\
- } while(0)
- 
package/bluez_utils/Config.in deleted +0 -48

48 lines not on this page · raw message

package/bluez_utils/bluez_utils.hash deleted +0 -5
deleted file mode 100644
index 39e750eacc..0000000000
@@ -1,5 +0,0 @@
-# From https://www.kernel.org/pub/linux/bluetooth/sha256sums.asc:
-sha256	41f9578bef39b8c94a2d6ddeaa556afd22d136936d0f03100e422fe970a45a7d  bluez-4.101.tar.xz
-# License files, locally calculated
-sha256	b499eddebda05a8859e32b820a64577d91f1de2b52efa2a1575a2cb4000bc259  COPYING
-sha256	ec60b993835e2c6b79e6d9226345f4e614e686eb57dc13b6420c15a33a8996e5  COPYING.LIB
package/bluez_utils/bluez_utils.mk deleted +0 -61

61 lines not on this page · raw message

package/cwiid/Config.in +5 -5
index 7ee8117355..35e0c45557 100644
@@ -1,10 +1,10 @@
 config BR2_PACKAGE_CWIID
 	bool "cwiid"
-	depends on !BR2_STATIC_LIBS # bluez_utils
-	depends on BR2_USE_WCHAR # bluez_utils -> libglib2
-	depends on BR2_TOOLCHAIN_HAS_THREADS # bluez_utils -> dbus, alsa-lib, libglib2
-	depends on BR2_USE_MMU # bluez_utils -> dbus, libglib2
-	select BR2_PACKAGE_BLUEZ_UTILS
+	depends on !BR2_STATIC_LIBS # bluez5_utils
+	depends on BR2_USE_WCHAR # bluez5_utils -> libglib2
+	depends on BR2_TOOLCHAIN_HAS_THREADS # bluez5_utils -> dbus, alsa-lib, libglib2
+	depends on BR2_USE_MMU # bluez5_utils -> dbus, libglib2
+	select BR2_PACKAGE_BLUEZ5_UTILS
 	help
 	  A collection of Linux tools written in C for interfacing to
 	  the Nintendo Wiimote.
package/cwiid/cwiid.mk +1 -1
index c092e401df..a11c56c0aa 100644
@@ -12,7 +12,7 @@ CWIID_LICENSE_FILES = COPYING
 CWIID_AUTORECONF = YES
 CWIID_INSTALL_STAGING = YES
 
-CWIID_DEPENDENCIES = host-pkgconf host-bison host-flex bluez_utils
+CWIID_DEPENDENCIES = host-pkgconf host-bison host-flex bluez5_utils
 
 # Disable python support. This disables the 2 following things:
 #   - wminput Python plugin support
package/gpsd/gpsd.mk +1 -3
index 93f1aeeb73..49de4b256c 100644
@@ -56,9 +56,7 @@ GPSD_SCONS_OPTS += usb=no
 endif
 
 # If bluetooth is available build it before so the package can use it
-ifeq ($(BR2_PACKAGE_BLUEZ_UTILS),y)
-GPSD_DEPENDENCIES += bluez_utils
-else ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS),y)
+ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS),y)
 GPSD_DEPENDENCIES += bluez5_utils
 else
 GPSD_SCONS_OPTS += bluez=no
package/gstreamer1/gst1-plugins-bad/Config.in +0 -4
index d831f8072e..08de5d2188 100644
@@ -314,7 +314,6 @@ config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_BLUEZ
 	depends on BR2_TOOLCHAIN_HAS_THREADS # bluez5_utils -> dbus, libglib2
 	depends on BR2_USE_MMU # bluez5_utils -> dbus
 	depends on !BR2_STATIC_LIBS # bluez5_utils -> uses dlfcn
-	depends on !BR2_PACKAGE_BLUEZ_UTILS # bluez5_utils -> conflicts with 4.x version
 	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 # bluez5_utils
 	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # bluez5_utils
 	select BR2_PACKAGE_BLUEZ5_UTILS
@@ -327,9 +326,6 @@ comment "bluez plugin needs a toolchain w/ wchar, threads, headers >= 3.4, dynam
 	depends on BR2_TOOLCHAIN_HAS_SYNC_4
 	depends on BR2_USE_MMU
 
-comment "bluez plugin conflicts with older bluez-utils version"
-	depends on BR2_PACKAGE_BLUEZ_UTILS
-
 config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_BZ2
 	bool "bz2"
 	select BR2_PACKAGE_BZIP2
package/kodi/Config.in +0 -1
index db6931ed8a..05e680ab08 100644
@@ -109,7 +109,6 @@ config BR2_PACKAGE_KODI_AVAHI
 config BR2_PACKAGE_KODI_BLUEZ
 	bool "bluetooth"
 	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 # bluez5_utils
-	depends on !BR2_PACKAGE_BLUEZ_UTILS # bluez5_utils
 	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # bluez5_utils
 	select BR2_PACKAGE_BLUEZ5_UTILS
 	help
package/libsigrok/libsigrok.mk +1 -4
index 3495878db0..b7e777a916 100644
@@ -16,10 +16,7 @@ LIBSIGROK_DEPENDENCIES = \
 	$(if $(BR2_PACKAGE_CHECK),check)
 LIBSIGROK_CONF_OPTS = --disable-java --disable-python --disable-ruby
 
-ifeq ($(BR2_PACKAGE_BLUEZ_UTILS),y)
-LIBSIGROK_CONF_OPTS += --with-libbluez
-LIBSIGROK_DEPENDENCIES += bluez_utils
-else ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS),y)
+ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS),y)
 LIBSIGROK_CONF_OPTS += --with-libbluez
 LIBSIGROK_DEPENDENCIES += bluez5_utils
 else
package/ofono/ofono.mk +1 -4
index 2a6cc80719..57d6cab470 100644
@@ -38,10 +38,7 @@ else
 OFONO_CONF_OPTS += --disable-udev
 endif
 
-ifeq ($(BR2_PACKAGE_BLUEZ_UTILS),y)
-OFONO_CONF_OPTS += --enable-bluetooth
-OFONO_DEPENDENCIES += bluez_utils
-else ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS),y)
+ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS),y)
 OFONO_CONF_OPTS += --enable-bluetooth
 OFONO_DEPENDENCIES += bluez5_utils
 else
package/openobex/openobex.mk +0 -4
index ea41f65a80..bc4a47e3d7 100644
@@ -15,10 +15,6 @@ OPENOBEX_DEPENDENCIES = host-pkgconf
 OPENOBEX_INSTALL_STAGING = YES
 OPENOBEX_CONF_OPTS = -DBUILD_DOCUMENTATION=OFF
 
-ifeq ($(BR2_PACKAGE_BLUEZ_UTILS),y)
-OPENOBEX_DEPENDENCIES += bluez_utils
-endif
-
 ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS),y)
 OPENOBEX_DEPENDENCIES += bluez5_utils
 endif
package/qt5/qt5connectivity/Config.in +3 -4
index 8bda8de66a..182fe3ea9c 100644
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_QT5CONNECTIVITY
 	bool "qt5connectivity"
-	depends on BR2_PACKAGE_NEARD || BR2_PACKAGE_BLUEZ_UTILS || BR2_PACKAGE_BLUEZ5_UTILS
+	depends on BR2_PACKAGE_NEARD || BR2_PACKAGE_BLUEZ5_UTILS
 	select BR2_PACKAGE_QT5BASE
 	select BR2_PACKAGE_QT5BASE_CONCURRENT
 	select BR2_PACKAGE_QT5BASE_DBUS
@@ -14,6 +14,5 @@ config BR2_PACKAGE_QT5CONNECTIVITY
 	  http://doc.qt.io/qt-5/qtbluetooth-index.html
 	  http://doc.qt.io/qt-5/qtnfc-index.html
 
-comment "qt5connectivity needs neard and/or bluez(5)_utils"
-	depends on !BR2_PACKAGE_NEARD && !BR2_PACKAGE_BLUEZ_UTILS && \
-		!BR2_PACKAGE_BLUEZ5_UTILS
+comment "qt5connectivity needs neard and/or bluez5_utils"
+	depends on !BR2_PACKAGE_NEARD && !BR2_PACKAGE_BLUEZ5_UTILS
package/qt5/qt5connectivity/qt5connectivity.mk +2 -3
index 8e4e4669b9..0ade9876de 100644
@@ -22,7 +22,6 @@ QT5CONNECTIVITY_LICENSE += , BSD-3-Clause (examples)
 endif
 
 QT5CONNECTIVITY_DEPENDENCIES += $(if $(BR2_PACKAGE_QT5DECLARATIVE),qt5declarative)
-QT5CONNECTIVITY_DEPENDENCIES += $(if $(BR2_PACKAGE_BLUEZ_UTILS),bluez_utils)
 QT5CONNECTIVITY_DEPENDENCIES += $(if $(BR2_PACKAGE_BLUEZ5_UTILS),bluez5_utils)
 QT5CONNECTIVITY_DEPENDENCIES += $(if $(BR2_PACKAGE_NEARD),neard)
 
@@ -39,7 +38,7 @@ define QT5CONNECTIVITY_INSTALL_STAGING_CMDS
 endef
 
 ifeq ($(BR2_PACKAGE_QT5DECLARATIVE_QUICK),y)
-ifneq ($(BR2_PACKAGE_BLUEZ_UTILS)$(BR2_PACKAGE_BLUEZ5_UTILS),)
+ifneq ($(BR2_PACKAGE_BLUEZ5_UTILS),)
 define QT5CONNECTIVITY_INSTALL_TARGET_BLUETOOTH_QMLS
 	cp -dpfr $(STAGING_DIR)/usr/qml/QtBluetooth $(TARGET_DIR)/usr/qml/
 endef
@@ -51,7 +50,7 @@ endef
 endif
 endif
 
-ifneq ($(BR2_PACKAGE_BLUEZ_UTILS)$(BR2_PACKAGE_BLUEZ5_UTILS),)
+ifneq ($(BR2_PACKAGE_BLUEZ5_UTILS),)
 define QT5CONNECTIVITY_INSTALL_TARGET_BLUETOOTH
 	cp -dpf $(STAGING_DIR)/usr/lib/libQt5Bluetooth.so.* $(TARGET_DIR)/usr/lib
 	cp -dpf $(STAGING_DIR)/usr/bin/sdpscanner $(TARGET_DIR)/usr/bin
package/sconeserver/Config.in +5 -5
index e984801de5..049d98123e 100644
@@ -44,11 +44,11 @@ config BR2_PACKAGE_SCONESERVER_MYSQL
 
 config BR2_PACKAGE_SCONESERVER_BLUETOOTH
 	bool "bluetooth"
-	depends on BR2_USE_WCHAR # bluez->libglib2
-	depends on BR2_USE_MMU # bluez->dbus
-	depends on BR2_TOOLCHAIN_HAS_THREADS # bluez->dbus, bluez->libglib2
-	depends on !BR2_STATIC_LIBS # bluez_utils
-	select BR2_PACKAGE_BLUEZ_UTILS
+	depends on BR2_USE_WCHAR # bluez5_utils -> libglib2
+	depends on BR2_USE_MMU # bluez5_utils -> dbus
+	depends on BR2_TOOLCHAIN_HAS_THREADS # bluez5_utils -> dbus, libglib2
+	depends on !BR2_STATIC_LIBS # bluez5_utils
+	select BR2_PACKAGE_BLUEZ5_UTILS
 	help
 	  Bluetooth module for Sconeserver
 
package/sconeserver/sconeserver.mk +1 -1
index 6914599a21..9d4713afea 100644
@@ -62,7 +62,7 @@ SCONESERVER_CONF_OPTS += --without-mysql
 endif
 
 ifeq ($(BR2_PACKAGE_SCONESERVER_BLUETOOTH),y)
-SCONESERVER_DEPENDENCIES += bluez_utils
+SCONESERVER_DEPENDENCIES += bluez5_utils
 SCONESERVER_CONF_OPTS += --with-bluetooth
 else
 SCONESERVER_CONF_OPTS += --without-bluetooth
package/ussp-push/Config.in +2 -2
index aefec85a20..ef40ae7a53 100644
@@ -1,11 +1,11 @@
 config BR2_PACKAGE_USSP_PUSH
 	bool "ussp-push"
-	depends on !BR2_STATIC_LIBS # bluez_utils
+	depends on !BR2_STATIC_LIBS # bluez5_utils
 	depends on BR2_USE_WCHAR # libglib2
 	depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, alsa-lib, libglib2
 	depends on BR2_USE_MMU # dbus
 	select BR2_PACKAGE_OPENOBEX
-	select BR2_PACKAGE_BLUEZ_UTILS
+	select BR2_PACKAGE_BLUEZ5_UTILS
 	help
 	  ussp-push is an OBEX object pusher for Linux, using the BlueZ
 	  BlueTooth stack.
package/ussp-push/ussp-push.mk +1 -1
index 0c45c291ac..c0479270a4 100644
@@ -9,6 +9,6 @@ USSP_PUSH_SITE = http://www.xmailserver.org
 USSP_PUSH_LICENSE = GPL-2.0+
 USSP_PUSH_LICENSE_FILES = COPYING
 
-USSP_PUSH_DEPENDENCIES = bluez_utils openobex
+USSP_PUSH_DEPENDENCIES = bluez5_utils openobex
 
 $(eval $(autotools-package))
Signature · 1 line
2.24.1
#1 lore raw

PATCH 1/1 package/bluez_utils: drop package

Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

BlueZ 4.x is deprecated since a long time (BlueZ 5.x has been released in 2012) so drop it.

For cwwiid, sconeserver and ussp-push, replace bluez_utils by bluez5_utils. All other packages already support bluez5_utils so just drop bluez_utils.

..

package/bluez-tools/bluez-tools.mk line 9

Quoted 8 lines

+++ b/package/bluez-tools/bluez-tools.mk

package/bluez-tools/bluez-tools.mk +0 -3
@@ -4,33 +4,13 @@
 #
 ################################################################################
 
-ifeq ($(BR2_PACKAGE_BLUEZ_UTILS),y)
-# this is the last version compatible with BlueZ 4 API
-BLUEZ_TOOLS_VERSION = 171181b6ef6c94aefc828dc7fd8de136b9f97532

Dropped this line from the .hash file and committed, thanks!

Signature · 1 line
Bye, Peter Korsgaard