! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
building without gtk-doc requires gtk-doc
Status:
RESOLVED: FIXED
Product:
Xfce4-dev-tools
Component:
General

Comments

Description jolupa 2019-06-21 01:26:31 CEST
Disabling the gtk-doc building option and the package fails to build saying that the gtk-doc package is required to build xfce-dev-tools.
In the docs page of the webpage gtk-doc is not a requesite to build the package.
Thanks
Comment 1 Skunnyk editbugs 2019-06-22 11:02:19 CEST
When your are in "developper mode" (i.e: building from git), you need xfce4-dev-tools, which check for gtk-doc to run gtktoolize when the macro "GTK_DOC_CHECK" is present in the configure.ac.in of the project you are building: https://git.xfce.org/xfce/xfce4-dev-tools/tree/scripts/xdt-autogen.in.in#n403

So yes, gtk-doc is mandatory when building from git, because it is needed before check --disable-gtk-doc flag.
Maybe we can improve our configure.ac.in files in all project to use optionnal gtk-doc like https://developer.gnome.org/gtk-doc-manual/stable/settingup_autoconf.html.en .
Comment 2 jolupa 2019-06-22 11:37:47 CEST
(In reply to Skunnyk from comment #1)
> When your are in "developper mode" (i.e: building from git), you need
> xfce4-dev-tools, which check for gtk-doc to run gtktoolize when the macro
> "GTK_DOC_CHECK" is present in the configure.ac.in of the project you are
> building:
> https://git.xfce.org/xfce/xfce4-dev-tools/tree/scripts/xdt-autogen.in.in#n403
> 
> So yes, gtk-doc is mandatory when building from git, because it is needed
> before check --disable-gtk-doc flag.
> Maybe we can improve our configure.ac.in files in all project to use
> optionnal gtk-doc like
> https://developer.gnome.org/gtk-doc-manual/stable/settingup_autoconf.html.en
> .

So it will be good to add in the docs https://docs.xfce.org/xfce/building that gtk-doc is a necessary dependency of the xfce4-dev-tools.

And improvement to make gtk-doc optional could be great in cases like Crux, the distro for wich I'm building the package, 'cause Crux remove all the installed docs in benefit of man pages or web searches.

But with this clarified I will add the dependency to the package for Crux.

Thanks a lot.

Bug #15624

Reported by:
jolupa
Reported on: 2019-06-21
Last modified on: 2020-04-29

People

Assignee:
Xfce Bug Triage
CC List:
1 user

Version

Attachments

Additional information