Bug 377967 - marble installs file into /usr/etc/xdg/ instead of /etc/xdg/
Summary: marble installs file into /usr/etc/xdg/ instead of /etc/xdg/
Status: REPORTED
Alias: None
Product: marble
Classification: Applications
Component: general (show other bugs)
Version: 2.1 (KDE Applications 16.12)
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: marble-bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-23 01:11 UTC by Andreas Sturmlechner
Modified: 2019-08-17 20:31 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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