mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Enrico Jorns <ejo@pengutronix.de>
Subject: Re: [ptxdist] [APPLIED] networkmanager: add option for introspection support
Date: Mon, 20 Jun 2022 08:20:05 +0200	[thread overview]
Message-ID: <20220620062005.1493553-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20220617121915.3660205-1-ejo@pengutronix.de>

Thanks, applied as 43ce347c006473c048e0e3add36664eef886e31d.

Michael

[sent from post-receive hook]

On Mon, 20 Jun 2022 08:20:04 +0200, Enrico Jorns <ejo@pengutronix.de> wrote:
> This allows to enable networkmanager gobject introspection support (or
> automatically enables it if introspection support is already enabled in
> BSP).
> 
> Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
> Message-Id: <20220617121915.3660205-1-ejo@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/networkmanager.in b/rules/networkmanager.in
> index dae60a0c8d42..5d9be26f00e3 100644
> --- a/rules/networkmanager.in
> +++ b/rules/networkmanager.in
> @@ -3,6 +3,7 @@
>  menuconfig NETWORKMANAGER
>  	tristate
>  	# intltool is unconditionally requested by configure
> +	select GOBJECT_INTROSPECTION            if NETWORKMANAGER_INTROSPECTION
>  	select HOST_GLIB
>  	select HOST_INTLTOOL
>  	select HOST_LIBXSLT
> @@ -110,6 +111,11 @@ config NETWORKMANAGER_MORE_LOGGING
>  	help
>  	  Allows debug log level in NetworkManager.conf
>  
> +config NETWORKMANAGER_INTROSPECTION
> +       bool
> +       prompt "introspection support"
> +       default GOBJECT_INTROSPECTION_HELPER
> +
>  endif
>  
>  menu "networkmanager plugins        "
> diff --git a/rules/networkmanager.make b/rules/networkmanager.make
> index 022ed7178997..9b47fadad176 100644
> --- a/rules/networkmanager.make
> +++ b/rules/networkmanager.make
> @@ -54,7 +54,7 @@ NETWORKMANAGER_CONF_OPT = \
>  	-Dhostname_persist=default \
>  	-Difcfg_rh=false \
>  	-Difupdown=true \
> -	-Dintrospection=false \
> +	-Dintrospection=$(call ptx/truefalse,PTXCONF_NETWORKMANAGER_INTROSPECTION) \
>  	-Diptables=/usr/sbin/iptables \
>  	-Diwd=false \
>  	-Dkernel_firmware_dir=/lib/firmware \
> @@ -214,6 +214,10 @@ ifdef PTXCONF_NETWORKMANAGER_EXAMPLES
>  	@$(call install_glob, networkmanager, 0, 0, -, /usr/bin, */nm-*-*)
>  endif
>  
> +ifdef PTXCONF_NETWORKMANAGER_INTROSPECTION
> +	@$(call install_tree, networkmanager, 0, 0, -, /usr/lib/girepository-1.0)
> +endif
> +
>  	@$(call install_finish, networkmanager)
>  
>  	@$(call touch)



      reply	other threads:[~2022-06-20  6:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-17 12:19 [ptxdist] [PATCH] " Enrico Jorns
2022-06-20  6:20 ` Michael Olbrich [this message]

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=20220620062005.1493553-1-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ejo@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