All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/wireplumber: fix introspection build
Date: Fri, 18 Mar 2022 22:50:25 +0100	[thread overview]
Message-ID: <20220318215025.GN283544@scaer> (raw)
In-Reply-To: <20220318193310.752282-1-fontaine.fabrice@gmail.com>

Fabrice, All,

On 2022-03-18 20:33 +0100, Fabrice Fontaine spake thusly:
> introspection needs host-doxygen and host-python-lxml since the addition
> of the package in commit c9a3c10417aadce9ee4922e30235776409ce8eb3 and
> https://gitlab.freedesktop.org/pipewire/wireplumber/-/commit/2e5b13f970fe3dd28a4ce75868d46403034c6822

As per that diff, it seems doxygen is only needed when actually building
the documentation:

    https://gitlab.freedesktop.org/pipewire/wireplumber/-/commit/2e5b13f970fe3dd28a4ce75868d46403034c6822#0cc1139e3347f573ae1feee5b73dbc8a8a21fcfa

    doxygen_p = find_program('doxygen', required: get_option('doc'))

But we are alredy passing -Ddoc=disabled, so why is it still trying to
build the documentation?

That's because the option is only a hint to not care when doxygen is
missing, but if doxygen is present, then the documentation is still
built.

-Ddoc=disabled should really disable building the documentation, e.g.
in ./meson.build:

    if get_option('doc')
      subdir('doc')
    endif

or, at the top of ./doc/meson.build:

    if not get_option('doc')
      subdir_done()
    fi

I think the former is better, as they already have conditional subdir()
in the top-level meson.build.

Regards,
Yann E. MORIN.

> ../output-1/build/wireplumber-0.4.8/docs/meson.build:14:0: ERROR: python3 is missing modules: lxml
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/24c524d86a3e2e67305f698644be9b15d4562488
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  package/wireplumber/wireplumber.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/package/wireplumber/wireplumber.mk b/package/wireplumber/wireplumber.mk
> index 3bf7cece45..327138391d 100644
> --- a/package/wireplumber/wireplumber.mk
> +++ b/package/wireplumber/wireplumber.mk
> @@ -17,7 +17,7 @@ WIREPLUMBER_CONF_OPTS = \
>  	-Dsystem-lua-version=
>  
>  ifeq ($(BR2_PACKAGE_GOBJECT_INTROSPECTION),y)
> -WIREPLUMBER_DEPENDENCIES += gobject-introspection
> +WIREPLUMBER_DEPENDENCIES += host-doxygen host-python-lxml gobject-introspection
>  WIREPLUMBER_CONF_OPTS += -Dintrospection=enabled
>  else
>  WIREPLUMBER_CONF_OPTS += -Dintrospection=disabled
> -- 
> 2.35.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2022-03-18 21:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-18 19:33 [Buildroot] [PATCH 1/1] package/wireplumber: fix introspection build Fabrice Fontaine
2022-03-18 21:50 ` Yann E. MORIN [this message]
2022-03-18 21:58   ` Fabrice Fontaine
2022-03-18 22:12     ` Yann E. MORIN
2022-03-21 16:18 ` Peter Korsgaard

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=20220318215025.GN283544@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@buildroot.org \
    --cc=fontaine.fabrice@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.