Closed marcdeop closed 4 years ago
I assumed Finddbus.cmake
is usable as it's distributed under BSD license.
Currently, this plugin uses pkg-config to determine the file path of org.kde.kwin.Effects.xml
but it is sort of incorrect because KWin ships a config file.
We need to do something along these lines instead
# src/CMakeLists.txt
find_package(KWinDBusInterface CONFIG REQUIRED)
# src/kcm/CMakeLists.txt
qt5_add_dbus_interface (kcm_SRCS ${KWIN_EFFECTS_INTERFACE} kwineffects_interface)
@zzag but that sounds like a separate issue.
Should I open a bug report and try to fix it there?
This effect needs dbus-devel only because of the interfaces_dir variable, but as I said previously, there is a better way to find the file path of org.kde.kwin.Effects.xml, which doesn't require installing dbus-1-dev or dbus-devel.
This effect needs dbus-devel only because of the interfaces_dir variable, but as I said previously, there is a better way to find the file path of org.kde.kwin.Effects.xml, which doesn't require installing dbus-1-dev or dbus-devel.
ok, now I get it :-)
@zzag I updated the PR, feel free to re-review again :-)
Thanks.
Even though #2 is marked as resolved, I faced the issue while compiling on Fedora.
This will:
org.kde.kwin.Effects.xml
properly.