DBus on Windows - failing Jenkins builds

Johnny Jazeix jazeix at gmail.com
Sat Feb 1 08:50:33 GMT 2020


Hi,

There are some builds in Jenkins that fail because of unresolved
external symbol of KStatusNotifierItem class (and let's be fair, I
don't like failing Jenkins).
After digging a bit, it is due to the fact that KNotifications is
built without dbus support:
https://cgit.kde.org/knotifications.git/tree/CMakeLists.txt#n42
meaning kstatusnotifieritem.cpp is not compiled:
https://cgit.kde.org/knotifications.git/tree/src/CMakeLists.txt#n24

However dependencies (drkonqi and ruqola if I'm not wrong), don't have
a condition on Windows for DBus use and directly use the
KStatusNotifierItem class.

I'm not sure on the support of DBus on Windows and what is the right
direction to go:
* either enable dbus on KNotifications for Windows (if it is supported).
* or disable dbus on Windows on programs that uses it (drkonqi and ruqola)..

Do you have any input on this?

Johnny


More information about the Kde-windows mailing list