mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Robert Schwebel <r.schwebel@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Robert Schwebel <r.schwebel@pengutronix.de>
Subject: [ptxdist] [PATCHv2] networkmanager: fix libnm handling
Date: Thu,  9 Jun 2016 17:29:06 +0200	[thread overview]
Message-ID: <1465486146-11217-1-git-send-email-r.schwebel@pengutronix.de> (raw)

Since NewtworkManager 1.0, libnm is the new API and replaces libnm-util
and libnm-glib; these files are still there, but officially declared to
be deprecated.

This fix also avoids a dependency on DBUS_GLIB, which is also deprecated
for quite some time now and replaced by GDBUS.

Inspired-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
---
 rules/networkmanager.make | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Changes since (implicit) v1:

* don't add dependency to DBUS_GLIB
* switch to new integrated libnm API library, as suggested by Ladislav Michl

diff --git a/rules/networkmanager.make b/rules/networkmanager.make
index e2af34bb..7decc6b 100644
--- a/rules/networkmanager.make
+++ b/rules/networkmanager.make
@@ -62,7 +62,7 @@ NETWORKMANAGER_CONF_OPT := \
 	--disable-gtk-doc-html \
 	--disable-gtk-doc-pdf \
 	--$(call ptx/wwo,PTXCONF_NETWORKMANAGER_WIRELESS)-wext \
-	--with-libnm-glib \
+	--without-libnm-glib \
 	--with-systemdsystemunitdir=/lib/systemd/system \
 	--with-hostname-persist=default \
 	--$(call ptx/wwo,PTXCONF_NETWORKMANAGER_SYSTEMD_UNIT)-systemd-journal \
@@ -205,9 +205,6 @@ ifdef PTXCONF_NETWORKMANAGER_PPP
 	@$(call install_copy, networkmanager, 0, 0, 0644, -, $(PPP_SHARED_INST_PATH)/nm-pppd-plugin.so)
 endif
 	@$(call install_lib, networkmanager, 0, 0, 0644, libnm)
-	@$(call install_lib, networkmanager, 0, 0, 0644, libnm-util)
-	@$(call install_lib, networkmanager, 0, 0, 0644, libnm-glib)
-	@$(call install_lib, networkmanager, 0, 0, 0644, libnm-glib-vpn)
 
 	@$(call install_tree, networkmanager, 0, 0, -, /usr/share/dbus-1/system.d/)
 	@$(call install_tree, networkmanager, 0, 0, -, /usr/share/dbus-1/system-services/)
-- 
2.8.1

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

             reply	other threads:[~2016-06-09 15:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-09 15:29 Robert Schwebel [this message]
2016-06-14  7:23 ` Michael Olbrich

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=1465486146-11217-1-git-send-email-r.schwebel@pengutronix.de \
    --to=r.schwebel@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /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