Hi bruce

   I review the meson.build of gtk-doc 1.36.0 and find the  depends of pygments 
and  xsltproc_prg is necessary.

    required_python_modules = ['pygments']
   ...

    python3 = python.find_installation('python3', modules: 
required_python_modules)
     ...
    xsltproc_prg = find_program('xsltproc', required: true)

    So as my understanding, I can't set meson.cross with /bin/false to not use 
pygments and  xsltproc.
    Or do you have a better way to minimal dependencies?

Liu

________________________________
发件人: Ross Burton <[email protected]>
发送时间: 2026年3月24日 23:15
收件人: Liu, Yiding/刘 乙丁 <[email protected]>
抄送: [email protected] 
<[email protected]>
主题: Re: [OE-core][PATCH] gtk-doc: upgrade 1.35.1 -> 1.36.0

Hi,

On 17 Mar 2026, at 09:31, Yiding Liu (Fujitsu) via lists.openembedded.org 
<[email protected]> wrote:
> -PACKAGECONFIG[working-scripts] = ",,libxslt-native docbook-xml-dtd4-native 
> docbook-xsl-stylesheets python3-pygments"
> +PACKAGECONFIG[working-scripts] = ",,docbook-xml-dtd4-native 
> docbook-xsl-stylesheets”

So the working-scripts options was so that if api-documentation is disabled the 
gtk-doc package has a lot less build dependencies.  With this change, this is 
no longer the case.

Is it possible to seed meson’s search for commands we don’t want it to use with 
/bin/false so that we can keep the minimal dependencies when not needed?

Thanks,
Ross
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#233856): 
https://lists.openembedded.org/g/openembedded-core/message/233856
Mute This Topic: https://lists.openembedded.org/mt/118361367/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to