Skip to content

Fix KRunner file search on non-systemd distros.

This MR fixes a bug on non systemd distros. While making a search on krunner no result was returned for files indexed by baloo, even if they existed on the baloo index. This was caused by baloorunner not being started correctly, because its dbus service file contains the wrong path to the baloorunner executable. The problem was introduced in this commit 2e3d46a1 The dbus service file for baloo runner contains an empty path:

# cat /usr/share/dbus-1/services/org.kde.runners.baloo.service
[D-BUS Service]
Name=org.kde.runners.baloo
Exec=/baloorunner
SystemdService=plasma-baloorunner.service

This is due to the CMakeLists.txt usage of a cmake variable existing only on systemd-enabled build. This MR reverts the use of the variable to the old one, so that the dbus service file gets generated correctly:

# cat /usr/share/dbus-1/services/org.kde.runners.baloo.service
[D-BUS Service]
Name=org.kde.runners.baloo
Exec=/usr/lib64/libexec/baloorunner
SystemdService=plasma-baloorunner.service

Merge request reports

Loading