KF5 paths

Scarlett Clark scarlett at scarlettgatelyclark.com
Fri Jan 17 00:44:54 UTC 2014


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: data-install-dir.diff
Type: text/x-patch
Size: 1556 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kubuntu-devel/attachments/20140116/854af550/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.ubuntu.com/archives/kubuntu-devel/attachments/20140116/854af550/attachment.pgp>


More information about the kubuntu-devel mailing list