mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCHv2] networkmanager: fix libnm handling
@ 2016-06-09 15:29 Robert Schwebel
  2016-06-14  7:23 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Schwebel @ 2016-06-09 15:29 UTC (permalink / raw)
  To: ptxdist; +Cc: Robert Schwebel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] [PATCHv2] networkmanager: fix libnm handling
  2016-06-09 15:29 [ptxdist] [PATCHv2] networkmanager: fix libnm handling Robert Schwebel
@ 2016-06-14  7:23 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2016-06-14  7:23 UTC (permalink / raw)
  To: ptxdist

On Thu, Jun 09, 2016 at 05:29:06PM +0200, Robert Schwebel wrote:
> 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>
> ---

Thanks, applied.

Michael

>  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

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-06-14  7:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-09 15:29 [ptxdist] [PATCHv2] networkmanager: fix libnm handling Robert Schwebel
2016-06-14  7:23 ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox