Bug 377967

Summary: marble installs file into /usr/etc/xdg/ instead of /etc/xdg/
Product: [Applications] marble Reporter: Andreas Sturmlechner <asturm>
Component: generalAssignee: marble-bugs
Status: REPORTED ---    
Severity: normal CC: fatzer2, kensington
Priority: NOR    
Version: 2.1 (KDE Applications 16.12)   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Andreas Sturmlechner 2017-03-23 01:11:30 UTC
>>> /usr/etc/xdg/marble.knsrc

This happens in 16.12.x as well as git master from today.
Comment 1 Alexander Golubev (Fat-Zer) 2017-03-23 04:09:43 UTC
The problem itself is triggered because KDEInstallDirs.cmake from extra-cmake-modules[1] sets KDE_INSTALL_SYSCONFDIR to ${CMAKE_INSTALL_SYSCONFDIR} which is set by GNUInstallDirs.cmake[2] as "etc" and interpreted as a relative path to CMAKE_INSTALL_PREFIX.

[1] https://github.com/KDE/extra-cmake-modules/blob/master/kde-modules/KDEInstallDirs.cmake
[2] https://github.com/KDE/marble/blob/master/CMakeLists.txt#L14