From: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] modem-manager: now needs libgudev under systemd
Date: Thu, 10 Sep 2015 15:06:59 +0100 [thread overview]
Message-ID: <55F18E83.1020007@imgtec.com> (raw)
In-Reply-To: <1441889437-13931-1-git-send-email-yegorslists@googlemail.com>
Dear Yegor Yefremov,
when you say that "modem-manager: now needs libgudev for systemd", what
do you mean exactly by "now"? I would expect something like "since
version X" or a better explanation.
On 09/10/2015 01:50 PM, yegorslists at googlemail.com wrote:
> From: Yegor Yefremov <yegorslists@googlemail.com>
>
> Fixes: http://autobuild.buildroot.net/results/d59/d597a81271a082c8252e2333906815c437b6576d/
>
> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
> ---
> package/modem-manager/Config.in | 3 ++-
> package/modem-manager/modem-manager.mk | 4 ++++
> 2 files changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/package/modem-manager/Config.in b/package/modem-manager/Config.in
> index 59b8d88..1cd502b 100644
> --- a/package/modem-manager/Config.in
> +++ b/package/modem-manager/Config.in
> @@ -1,11 +1,12 @@
> config BR2_PACKAGE_MODEM_MANAGER
> bool "modemmanager"
> depends on BR2_PACKAGE_HAS_UDEV
> - select BR2_PACKAGE_DBUS
> 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
I know you are trying to keep all the depends together and all the
selects together, but since this is not related with the goal that your
patch is trying to achieve, I would do it in a separate patch.
> select BR2_PACKAGE_DBUS_GLIB
> + select BR2_PACKAGE_LIBGUDEV if BR2_INIT_SYSTEMD
> help
> ModemManager is a DBus-activated daemon which controls mobile
> broadband (2G/3G/4G) devices and connections.
> diff --git a/package/modem-manager/modem-manager.mk b/package/modem-manager/modem-manager.mk
> index 0e6b36a..36c8c0d 100644
> --- a/package/modem-manager/modem-manager.mk
> +++ b/package/modem-manager/modem-manager.mk
> @@ -12,6 +12,10 @@ MODEM_MANAGER_LICENSE_FILES = COPYING
> MODEM_MANAGER_DEPENDENCIES = host-pkgconf udev dbus-glib host-intltool
> MODEM_MANAGER_INSTALL_STAGING = YES
>
> +ifeq ($(BR2_INIT_SYSTEMD),y)
> +MODEM_MANAGER_DEPENDENCIES += libgudev
> +endif
> +
Perhaps an explanation like the one included in this patch would useful
to understand why libgudev is needed:
http://git.buildroot.net/buildroot/commit/?id=46a615bb6439a4fe69f1bfc6a347852b993d46a2
Regards,
Vincent.
> ifeq ($(BR2_PACKAGE_MODEM_MANAGER_LIBQMI),y)
> MODEM_MANAGER_DEPENDENCIES += libqmi
> MODEM_MANAGER_CONF_OPTS += --with-qmi
>
next prev parent reply other threads:[~2015-09-10 14:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-10 12:50 [Buildroot] [PATCH] modem-manager: now needs libgudev under systemd yegorslists at googlemail.com
2015-09-10 14:06 ` Vicente Olivert Riera [this message]
2015-09-10 16:13 ` Thomas Petazzoni
2015-09-11 7:13 ` Yegor Yefremov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55F18E83.1020007@imgtec.com \
--to=vincent.riera@imgtec.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox