This is a developer question but I am posting here as well. Perhaps somebody can help.
I'm building 14.1.2 packages on Slackware 15.0 using the ray-v build scripts.
The default in those scripts is not to build any handbooks. I have been tweaking the scripts to compile the handbooks.
For some reason the related handbooks never compile in the tdebase package. The handbooks are compiling in other packages.
The DBUILD_DOC="ON" option is set. The tdebase sources contain the related docbook files. I do not notice anything in the build log, but I don't really know what to look for.
What should I look for that might cause the handbooks to not build only in tdebase?
Thanks for any guidance.
On Thu, 9 May 2024 11:41:28 -0500 Darrell Anderson via tde-users users@trinitydesktop.org wrote:
This is a developer question but I am posting here as well. Perhaps somebody can help.
I'm building 14.1.2 packages on Slackware 15.0 using the ray-v build scripts.
The default in those scripts is not to build any handbooks. I have been tweaking the scripts to compile the handbooks.
For some reason the related handbooks never compile in the tdebase package. The handbooks are compiling in other packages.
The DBUILD_DOC="ON" option is set. The tdebase sources contain the related docbook files. I do not notice anything in the build log, but I don't really know what to look for.
What should I look for that might cause the handbooks to not build only in tdebase?
The Gentoo ebuild for the tdebase docs seds a CMake-related file before building:
sed 's/tde_conditional_add_project_docs( BUILD_DOC )/tde_conditional_add_subdirectory( BUILD_DOC doc )/' -i "${S}/CMakeLists.txt"
If this is necessary for all distros and not just Gentoo, it probably qualifies as a minor bug. It isn't necessary for any other package's documentation.
E. Liddell
On 5/9/24 1:46 PM, E. Liddell via tde-users wrote:
What should I look for that might cause the handbooks to not build only in tdebase?
The Gentoo ebuild for the tdebase docs seds a CMake-related file before building:
sed 's/tde_conditional_add_project_docs( BUILD_DOC )/tde_conditional_add_subdirectory( BUILD_DOC doc )/' -i "${S}/CMakeLists.txt"
If this is necessary for all distros and not just Gentoo, it probably qualifies as a minor bug. It isn't necessary for any other package's documentation.
Thank you old-timer. :) That resolved the issue here.
With a twist. Reverting the line with sed kills building man pages. Rather than sed, the cure seems to be keeping the new line and restoring the old line.
tde_conditional_add_subdirectory( BUILD_DOC doc) tde_conditional_add_project_docs( BUILD_DOC )
I filed bug report 483:
https://mirror.git.trinitydesktop.org/gitea/TDE/tdebase/issues/483
Thanks for replying. For some silly reason this bug irritated me to no end. :)
On 5/9/24 1:46 PM, E. Liddell via tde-users wrote:
On Thu, 9 May 2024 11:41:28 -0500
For some reason the related handbooks never compile in the tdebase package. The handbooks are compiling in other packages.
What should I look for that might cause the handbooks to not build only in tdebase?
The Gentoo ebuild for the tdebase docs seds a CMake-related file before building:
sed 's/tde_conditional_add_project_docs( BUILD_DOC )/tde_conditional_add_subdirectory( BUILD_DOC doc )/' -i "${S}/CMakeLists.txt"
If this is necessary for all distros and not just Gentoo, it probably qualifies as a minor bug. It isn't necessary for any other package's documentation.
Thank you old-timer. :) That resolved the issue here.
With a twist. Reverting the line with sed kills building man pages. Rather than sed, the cure seems to be keeping the new line and restoring the old line.
tde_conditional_add_subdirectory( BUILD_DOC doc) tde_conditional_add_project_docs( BUILD_DOC )
I filed bug report 483:
https://mirror.git.trinitydesktop.org/gitea/TDE/tdebase/issues/483
Thanks for replying. For some silly reason this bug irritated me to no end.