Hi,

I’ve given the first part of the patch from [1] a quick try:

On 29 May 2014, at 15:17 , Marko Käning <mk-li...@email.de> wrote:
> as well as a patch for
> 
>       KF5DocToolsConfig.cmake.in
> 
> but I haven’t tried anything of it yet, because I’ve got no clue as to how
> much of it is specific for a Homebrew setup (especially the DocBookX* vars).
> 
> But the setting of KDOCTOOLS_CUSTOMIZATION_DIR looks promising:
> ---
> diff --git a/KF5DocToolsConfig.cmake.in b/KF5DocToolsConfig.cmake.in
> ...
> -set(KDOCTOOLS_DATA_INSTALL_DIR "${PACKAGE_PREFIX_DIR}/@DATA_INSTALL_DIR@")
> +if (APPLE)
> +    set(KDOCTOOLS_DATA_INSTALL_DIR "@DATA_INSTALL_DIR@")
> +else()
> +    set(KDOCTOOLS_DATA_INSTALL_DIR 
> "${PACKAGE_PREFIX_DIR}/@DATA_INSTALL_DIR@")
> +endif()
> set(KDOCTOOLS_CUSTOMIZATION_DIR 
> "${KDOCTOOLS_DATA_INSTALL_DIR}/kdoctools5/customization”)
> ---

...and it turns out, that the error message changed now to only this:
---
Scanning dependencies of target kcolorschemedemo_automoc
make[2]: *** No rule to make target 
`../docs/preparetips/share/kdoctools/customization/kde-include-man.xsl', needed 
by `docs/preparetips/preparetips5.1'.  Stop.
make[1]: *** 
[docs/preparetips/CMakeFiles/-Users-marko-WC-KDECI-builds-kconfigwidgets-build-docs-preparetips-preparetips5-1.dir/all]
 Error 2
make[1]: *** Waiting for unfinished jobs....
---
which seems to be an indication for that the patch helped this issue somewhat, 
since this message
---
Could not locate file "kf5/kdoctools/customization" in 
("/Users/kdeci/Library/Application Support", "/Library/Application Support”)
---
IS NOT SHOWN ANYMORE! :)

So, in the next step I’d have to try to get settings for:
        - DocBookXML_CURRENTDTD_DIR
        - DocBookXSL_DIR
properly included on the KDE/CI system. :)

Greets,
Marko


[1] https://github.com/haraldF/homebrew-kf5/blob/master/kf5-kdoctools.rb

_______________________________________________
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel

Reply via email to