D26245: Set SYSCONFDIR to /etc when CMAKE_INSTALL_SYSCONFDIR is etc relative to /usr

2020-02-04 Thread Piotr Wójcik
pwojcik added a comment. I want to remind about topic. REPOSITORY R240 Extra CMake Modules REVISION DETAIL https://phabricator.kde.org/D26245 To: pwojcik, kossebau, alexmerry Cc: apol, kde-frameworks-devel, kde-buildsystem, LeGast00n, GB_2, bencreasy, michaelh, ngraham, bruns

D26245: Set SYSCONFDIR to /etc when CMAKE_INSTALL_SYSCONFDIR is etc relative to /usr

2019-12-30 Thread Piotr Wójcik
pwojcik updated this revision to Diff 72404. pwojcik added a comment. Corrected logic, so it is is in line with GNUInstallDirs. Explained in comment. Added tests. REPOSITORY R240 Extra CMake Modules CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D26245?vs=72258=72404 REVISION

D26245: Set SYSCONFDIR to /etc when CMAKE_INSTALL_SYSCONFDIR is etc relative to /usr

2019-12-28 Thread Friedrich W. H. Kossebau
kossebau added a comment. (Just remember that using KDE_INSTALL_KNSRCDIR though needs at least KNewStuffCore from KF 5.57 (hint was missing in API dox, proposing D26248 to fix that).) Myself also need to reserve time to look closer at it, hoping to

D26245: Set SYSCONFDIR to /etc when CMAKE_INSTALL_SYSCONFDIR is etc relative to /usr

2019-12-28 Thread Piotr Wójcik
pwojcik added inline comments. INLINE COMMENTS > apol wrote in KDEInstallDirs.cmake:376 > Why's /opt special? /usr is single special case, but any subdirectory of /opt/ is special by GNUInstallDirs.cmake, following Filesystem Hierarchy Standard. REPOSITORY R240 Extra CMake Modules REVISION

D26245: Set SYSCONFDIR to /etc when CMAKE_INSTALL_SYSCONFDIR is etc relative to /usr

2019-12-27 Thread Aleix Pol Gonzalez
apol added a comment. Not saying that this patch is wrong, would have to look into it more closely. But for knsrc files you want to use KDE_INSTALL_KNSRCDIR anyway, which will fall into /usr. INLINE COMMENTS > KDEInstallDirs.cmake:376 > +list(FIND _gnu_install_special_vars

D26245: Set SYSCONFDIR to /etc when CMAKE_INSTALL_SYSCONFDIR is etc relative to /usr

2019-12-27 Thread Piotr Wójcik
pwojcik retitled this revision from "Set SYSCONFDIR to /etc when CMAKE_INSTALL_PREFIX is /usr AND " to "Set SYSCONFDIR to /etc when CMAKE_INSTALL_SYSCONFDIR is etc relative to /usr". pwojcik edited the summary of this revision. pwojcik added reviewers: kossebau, alexmerry. REPOSITORY R240