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
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 .
(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.