D9423: Fix 'Exec line in kiod service file must not have any path prefix on Windows'
Ralf Habacker
noreply at phabricator.kde.org
Wed Dec 20 11:59:49 UTC 2017
habacker added a comment.
In https://phabricator.kde.org/D9423#181442, @kfunk wrote:
> And I agree. There shouldn't be a need to use two different input files. That's the whole point of `configure_file(...)`: the interpolation of values happens *inside* the input files.
This would be possible by using in the service file something like this
[D-BUS Service]
Name=org.kde.kiod5
Exec=@SOME_PREFIX at kiod5
and in CMakeLists.txt
if(WIN32)
set(SOME_PREFIX)
else()
set(SOME_PREFIX ${KDE_INSTALL_FULL_LIBEXECDIR}/kf5/)
endif()
configure_file(org.kde.kiod5.service.in ${CMAKE_CURRENT_BINARY_DIR}/org.kde.kiod5.service)
Any problem with this ?
REPOSITORY
R241 KIO
REVISION DETAIL
https://phabricator.kde.org/D9423
To: habacker, dfaure, bcooksley, kfunk
Cc: kfunk, broulik, #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20171220/1c67cf7a/attachment.html>
More information about the Kde-frameworks-devel
mailing list