package/dbus-python: drop dbus-glib dependency

dbus-glib is not required since version 1.2.8 and
28098f2c7c

Parts of dbus-glib have been copied into dbus-python instead. It can
only use the bundled copy, not the system dbus-glib.

So drop it and add dbus-gmain/COPYING to license files

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Fabrice Fontaine 2019-10-27 15:28:59 +01:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 1df29189e8
commit 3db8622f31
3 changed files with 6 additions and 5 deletions

View File

@ -4,7 +4,7 @@ config BR2_PACKAGE_DBUS_PYTHON
depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
depends on BR2_PACKAGE_DBUS
depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
select BR2_PACKAGE_DBUS_GLIB
select BR2_PACKAGE_LIBGLIB2
# pyexpat: runtime dependency only
select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON
select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3

View File

@ -3,3 +3,4 @@ sha256 cdd4de2c4f5e58f287b12013ed7b41dee81d503c8d0d2397c5bd2fb01badf260 dbus-pyt
# Locally calculated
sha256 1e4562245383fdb5203b1769789e5b28bba21af4923aea7e8b2614f7f93623c0 COPYING
sha256 064523e3ab64d6f03904132b2cc4a1bd8500586edb4cd050c2ff2b96aed4c33b dbus-gmain/COPYING

View File

@ -7,10 +7,10 @@
DBUS_PYTHON_VERSION = 1.2.12
DBUS_PYTHON_SITE = http://dbus.freedesktop.org/releases/dbus-python
DBUS_PYTHON_INSTALL_STAGING = YES
DBUS_PYTHON_LICENSE = MIT
DBUS_PYTHON_LICENSE_FILES = COPYING
DBUS_PYTHON_DEPENDENCIES = dbus-glib
HOST_DBUS_PYTHON_DEPENDENCIES = host-dbus-glib
DBUS_PYTHON_LICENSE = MIT (dbus-python), AFL-2.1 or GPL-2.0+ (dbus-gmain)
DBUS_PYTHON_LICENSE_FILES = COPYING dbus-gmain/COPYING
DBUS_PYTHON_DEPENDENCIES = dbus libglib2
HOST_DBUS_PYTHON_DEPENDENCIES = host-dbus host-libglib2
ifeq ($(BR2_PACKAGE_PYTHON),y)
DBUS_PYTHON_DEPENDENCIES += python host-python