Re: nautilus-47.0 requires gi-docgen with docs enabled

"Zhang Wen" ([email protected] via blfs-dev Mailing List) <[email protected]>
Newsgroups gmane.linux.lfs.beyond.devel
Message-ID <[email protected]>
On 10/29/24 12:43, Xi Ruoyao ([email protected] via blfs-dev Mailing 
List) wrote:
> The meson configure -D docs=true command is intended to be used with gi-
> docgen installed.  Without gi-docgen you cannot generate and install the
> API documentation.
>
> And the text reads:
>
>     If you wish to generate and install the API documentation, issue the
>     following commands:
>     
> I.e. if you wish to generate the API documentation, you should have gi-
> docgen installed (as it's listed optional for API documentation in the
> dependency section).  If you don't wish to generate the API
> documentation, you shouldn't issue the command at all.  To me it's quite
> obvious but as you are complaining I'll make it more explicit.
>
> The command block for generating the API documentation also lacks a
> "ninja" command.  This should be "harmless" as the following "ninja
> test" or "ninja install" commands will generate the doc anyway, but
> ugly.
>
> So I'll push the change:
>
> diff --git a/gnome/platform/nautilus.xml b/gnome/platform/nautilus.xml
> index 697aba8d01..b6959356b8 100644
> --- a/gnome/platform/nautilus.xml
> +++ b/gnome/platform/nautilus.xml
> @@ -124,12 +124,14 @@ meson setup --prefix=/usr       \
>   ninja</userinput></screen>
>   
>       <para>
> -      If you wish to generate and install the API documentation, issue the
> -      following commands:
> +      If you have <xref linkend='gi-docgen'/> installed and you wish to
> +      generate and install the API documentation, issue the following
> +      commands:
>       </para>
>   
>   <screen><userinput remap="doc">sed "/docdir =/s@\$@ / 'nautilus-&nautilus-version;'@" -i ../meson.build &amp;&amp;
> -meson configure -D docs=true</userinput></screen>
> +meson configure -D docs=true &amp;&amp;
> +ninja</userinput></screen>
>   
>       <para>
>         To test the results, issue: <command>ninja test</command>. The tests
>
>
>
I met this issue while trying to build some packages using jhalfs with 
the bleeding edge BLFS book. I should have mentioned this and look at 
the whole page before sending a message.

-- 
http://lists.linuxfromscratch.org/sympa/info/blfs-dev
Unsubscribe: See the above information page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.