modem-manager: update dependencies
authorAleksander Morgado <aleksander@aleksander.es>
Sun, 27 Aug 2017 10:42:40 +0000 (12:42 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 30 Aug 2017 21:30:00 +0000 (23:30 +0200)
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>
package/modem-manager/Config.in
package/modem-manager/modem-manager.mk

index aa7ed1e2fa23c461edf227762a11bc4c0f0abb72..8e995b4175d52a9298b431b29debdfa071ba548c 100644 (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
index 6459f8785dadde0d302d8ca7c13fe5963ae59834..fe08033c792dc9f6f1e6872d2e463b41019d3d44 100644 (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)