<html>
<head>
<meta content="text/html; charset=ISO-8859-6"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi all, <br>
<br>
with the recent kde-runtime (and other) buildsystems there are
problems installing dbus service files, which need to be fixed. <br>
<br>
In <a class="moz-txt-link-freetext"
href="https://projects.kde.org/projects/kde/kde-runtime/repository/revisions/master/entry/knotify/org.kde.knotify.service.cmake">https://projects.kde.org/projects/kde/kde-runtime/repository/revisions/master/entry/knotify/org.kde.knotify.service.cmake</a>
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. <br>
<br>
On recent windows builds dbus services executables are installed in
the same location as dbus-daemon and other executables, so a './'
prefix should work. <br>
<br>
Are there any objections to add an additional KDE_... DIR variable
in KDE4Internal.cmake for this, something like <br>
<br>
KDE4_DBUS_SERVICE_BIN_DIR - the directory where dbus
services are installed which could be used in the service files. <br>
<br>
which has to be set to <br>
<br>
if (WIN32)<br>
set (KDE_DBUS_SERVICE_BIN_DIR .)<br>
else(WIN32)<br>
set (KDE_DBUS_SERVICE_BIN_DIR ${CMAKE_INSTALL_PREFIX}/bin)<br>
endif(WIN32)<br>
<br>
and to use in service files like shown below: <br>
<br>
<b>[D-BUS Service]<br>
Name=org.kde.knotify<br>
Exec=@</b>KDE4_DBUS_SERVICE_BIN_DIR@/<b>knotify4<br>
</b><br>
<br>
<br>
Regards<br>
Ralf <br>
<br>
</body>
</html>