modem-manager: update dependencies

These are the changes implemented:

  * Remove dbus-glib as a dependency, as it isn't required since
    ModemManager 1.0, which is based on libglib2's GDBus
    implementation.

  * Remove udev as a dependency, as the ModemManager build only needs
    the libgudev package.

  * Explicitly set libglib2 as dependency, which currently was being
    implicitly included by libgudev. The next major ModemManager
    release will have udev/libgudev as optional packages, while
    libglib2 is definitely not going to be ever optional.

  * Add a comment explaining that dbus is only a runtime dependency.

Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Aleksander Morgado 2017-08-27 12:42:40 +02:00 committed by Thomas Petazzoni
parent 136e1533ab
commit 4cd9f785c1
2 changed files with 3 additions and 3 deletions

View File

@ -4,8 +4,8 @@ config BR2_PACKAGE_MODEM_MANAGER
depends on BR2_USE_WCHAR # libglib2 and gnutls
depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, libglib2
depends on BR2_USE_MMU # dbus
select BR2_PACKAGE_DBUS
select BR2_PACKAGE_DBUS_GLIB
select BR2_PACKAGE_DBUS # runtime dependency
select BR2_PACKAGE_LIBGLIB2
select BR2_PACKAGE_LIBGUDEV
help
ModemManager is a DBus-activated daemon which controls mobile

View File

@ -9,7 +9,7 @@ MODEM_MANAGER_SOURCE = ModemManager-$(MODEM_MANAGER_VERSION).tar.xz
MODEM_MANAGER_SITE = http://www.freedesktop.org/software/ModemManager
MODEM_MANAGER_LICENSE = GPL-2.0+ (programs, plugins), LGPL-2.0+ (libmm-glib)
MODEM_MANAGER_LICENSE_FILES = COPYING
MODEM_MANAGER_DEPENDENCIES = host-pkgconf udev dbus-glib host-intltool libgudev
MODEM_MANAGER_DEPENDENCIES = host-pkgconf host-intltool libglib2 libgudev
MODEM_MANAGER_INSTALL_STAGING = YES
ifeq ($(BR2_PACKAGE_MODEM_MANAGER_LIBQMI),y)