Hi all,

with the recent kde-runtime (and other) buildsystems there are problems installing dbus service files, which need to be fixed.

In https://projects.kde.org/projects/kde/kde-runtime/repository/revisions/master/entry/knotify/org.kde.knotify.service.cmake there is CMAKE_INSTALL_PREFIX/bin prefix used, which do not work in windows enviroment, where the build install root is not equal to the client install root.

On recent windows builds dbus services executables are installed in the same location as dbus-daemon and other executables, so a './' prefix should work.

Are there any objections to add an additional KDE_... DIR variable in KDE4Internal.cmake for this, something like

KDE4_DBUS_SERVICE_BIN_DIR - the directory where dbus services are installed which could be used in the service files.

which has to be set to

    if (WIN32)
        set (KDE_DBUS_SERVICE_BIN_DIR .)
    else(WIN32)
        set (KDE_DBUS_SERVICE_BIN_DIR ${CMAKE_INSTALL_PREFIX}/bin)
    endif(WIN32)

and to use in service files like shown below:

*[D-BUS Service]
Name=org.kde.knotify
Exec=@*KDE4_DBUS_SERVICE_BIN_DIR@/*knotify4
*


Regards
 Ralf

_______________________________________________
Kde-buildsystem mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-buildsystem

Reply via email to