Skip to contentSkip to conversation

openobex: make it compatbile with bluez5

PATCH New Dmitry Eremin-Solenikov 1 participant 2 messages May 11, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 openobex: make it compatbile with bluez5

The package per se is compatible with bluez5. Update dependencies to select bluez4 or bluez5 and drop PNBLACKLIST setting.

---
 meta-oe/recipes-connectivity/obex/openobex_1.5.bb | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
meta-oe/recipes-connectivity/obex/openobex_1.5.bb +2 -3
index ed3d6b2..0d378e7 100644
@@ -2,14 +2,13 @@ DESCRIPTION = "The Openobex project is an open source implementation of the \
 Object Exchange (OBEX) protocol."
 HOMEPAGE = "http://openobex.triq.net"
 SECTION = "libs"
-DEPENDS = "virtual/libusb0 bluez4"
+DEPENDS = "virtual/libusb0"
+DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES','bluez5','bluez5','bluez4',d)}"
 LICENSE = "GPLv2 & LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a \
                     file://COPYING.LIB;md5=a6f89e2100d9b6cdffcea4f398e37343 \
 "
 
-PNBLACKLIST[openobex] ?= "${@bb.utils.contains('DISTRO_FEATURES', 'bluez5', 'bluez5 conflicts with bluez4 and bluez5 is selected in DISTRO_FEATURES', '', d)}"
-
 SRC_URI = "http://www.kernel.org/pub/linux/bluetooth/openobex-${PV}.tar.gz \
            file://disable-cable-test.patch \
            file://libusb_crosscompile_check.patch \
Signature · 1 line
2.1.4
#1 lore raw

PATCH 2/2 obexftp: mark as compatible with bluez5

As the openobex has been marked as compatible with bluez5, there is no point in keeping PBLACKLIST setting in obexftp recipe.

---
 meta-oe/recipes-connectivity/obexftp/obexftp_0.23.bb | 3 ---
 1 file changed, 3 deletions(-)
meta-oe/recipes-connectivity/obexftp/obexftp_0.23.bb +0 -3
index fcd447c..b6bdfb7 100644
@@ -4,9 +4,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
 
 DEPENDS += "openobex"
 
-# Depends on openobex
-PNBLACKLIST[obexftp] ?= "${@bb.utils.contains('DISTRO_FEATURES', 'bluez5', 'bluez5 conflicts with bluez4 and bluez5 is selected in DISTRO_FEATURES', '', d)}"
-
 SRC_URI = "http://sourceforge.net/projects/openobex/files/obexftp/${PV}/obexftp-${PV}.tar.bz2 \
            file://Remove_some_printf_in_obexftpd.patch "
 
Signature · 1 line
2.1.4