On Friday, January 10, 2014 12:12:45 PM Jonathan Riddell wrote:
> Default file install paths get set in extra-cmake-modules for KF5.  How do
> these values look?
>
>
> BIN_INSTALL_DIR           "${EXEC_INSTALL_PREFIX}bin"                   "The
> install dir for executables (default ${EXEC_INSTALL_PREFIX}/bin"
> SBIN_INSTALL_DIR          "${EXEC_INSTALL_PREFIX}sbin"
> "The install dir for system executables (default
> ${EXEC_INSTALL_PREFIX}/sbin" LIB_INSTALL_DIR
> "${EXEC_INSTALL_PREFIX}${_LIBDIR_DEFAULT}"    "The subdirectory relative to
> the install prefix where libraries will be installed (default is
> ${EXEC_INSTALL_PREFIX}/lib[64], Debian multiarch is taken into account"
> if(WIN32
>   LIBEXEC_INSTALL_DIR     "${BIN_INSTALL_DIR}"                          "The
> install dir for libexec executables (default is ${BIN_INSTALL_DIR} on
> Windows" else(
>   LIBEXEC_INSTALL_DIR     "${LIB_INSTALL_DIR}/kde5/libexec"             "The
> install dir for libexec executables (default is
> ${LIB_INSTALL_DIR}/kde5/libexec" endif(
> INCLUDE_INSTALL_DIR       "include/KF5"                                 "The
> install dir for header files"
>
> QT_PLUGIN_INSTALL_DIR     "${LIB_INSTALL_DIR}/qt5/plugins"
> "The install dir where Qt plugins will be installed (default is
> ${LIB_INSTALL_DIR}/qt5/plugins" PLUGIN_INSTALL_DIR
> "${QT_PLUGIN_INSTALL_DIR}/kf5"                "The install dir where
> plugins (loaded via KPluginLoader will be installed (default is
> ${LIB_INSTALL_DIR}/qt5/plugins/kf5" IMPORTS_INSTALL_DIR
> "${QT_PLUGIN_INSTALL_DIR}/imports"            "The install dir where
> QtQuick1 imports will be installed" QML_INSTALL_DIR
> "${LIB_INSTALL_DIR}/qml"                      "The install dir where
> QtQuick2 imports will be installed" CMAKECONFIG_INSTALL_PREFIX
> "${LIB_INSTALL_DIR}/cmake"                   "The prefix under which
> packages will create their own subdirectory for their CMake configuration
> files" DATA_INSTALL_DIR          "${SHARE_INSTALL_PREFIX}/kde5/apps"
>              "The parent directory where applications can install their
> data"

OK, I have been beating my head against a wall fighting with checkXML and
meinproc5. I have figured out this is the issue.

due to "apps" got removed in the transition from
KStandardDirs to QStandardPaths, so nothing in KF5 should install to
share/apps/ or look up stuff in share/apps/.
which I finally found 
here:http://mail.kde.org/pipermail/kde-frameworks-devel/2013-November/008086.html
It needs to be:
DATA_INSTALL_DIR          "${SHARE_INSTALL_PREFIX}"

attached is my patch.
I have installed and tested, checkXML and meinproc5 now behave as expected.
I use these tools alot with documentation so this was detrimental lol.
Scarlett
Index: extra-cmake-modules-0.0.9/kde-modules/KDEInstallDirs.cmake
==================================================================--- extra-cmake-modules-0.0.9.orig/kde-modules/KDEInstallDirs.cmake	2014-01-16 16:22:57.000000000 -0800
+++ extra-cmake-modules-0.0.9/kde-modules/KDEInstallDirs.cmake	2014-01-16 16:34:25.758149005 -0800
@@ -135,7 +135,7 @@
 _set_fancy(IMPORTS_INSTALL_DIR       "${QT_PLUGIN_INSTALL_DIR}/imports"            "The install dir where QtQuick1 imports will be installed")
 _set_fancy(QML_INSTALL_DIR           "${LIB_INSTALL_DIR}/qml"                      "The install dir where QtQuick2 imports will be installed")
 _set_fancy(CMAKECONFIG_INSTALL_PREFIX "${LIB_INSTALL_DIR}/cmake"                   "The prefix under which packages will create their own subdirectory for their CMake configuration files")
-_set_fancy(DATA_INSTALL_DIR          "${SHARE_INSTALL_PREFIX}/kde5/apps"                     "The parent directory where applications can install their data")
+_set_fancy(DATA_INSTALL_DIR          "${SHARE_INSTALL_PREFIX}"                     "The parent directory where applications can install their data")
 _set_fancy(HTML_INSTALL_DIR          "${SHARE_INSTALL_PREFIX}/doc/kde/HTML"            "The HTML install dir for documentation")
 _set_fancy(ICON_INSTALL_DIR          "${SHARE_INSTALL_PREFIX}/icons"               "The icon install dir (default ${SHARE_INSTALL_PREFIX}/share/icons/)")
 _set_fancy(KCFG_INSTALL_DIR          "${SHARE_INSTALL_PREFIX}/kde5/config.kcfg"         "The install dir for kconfig files")

Attachment: signature.asc
Description: This is a digitally signed message part.

-- 
kubuntu-devel mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/kubuntu-devel

Reply via email to