Alban-Boissard / kwin-effects-blur-respect-rounded-decorations

A fork of the kwin blur effect that solve the corners bug.
GNU General Public License v2.0
112 stars 5 forks source link

Can't find KWaylandServer on Plasma 5.25 #16

Open hirad1986 opened 2 years ago

hirad1986 commented 2 years ago

I'm trying to compile it on Arch Linux (Plasma 5.25) and I get this error...

CMake Error at src/CMakeLists.txt:13 (find_package):
  Could not find a package configuration file provided by "KWaylandServer"
  with any of the following names:

    KWaylandServerConfig.cmake
    kwaylandserver-config.cmake

  Add the installation prefix of "KWaylandServer" to CMAKE_PREFIX_PATH or set
  "KWaylandServer_DIR" to a directory containing one of the above files.  If
  "KWaylandServer" provides a separate development package or SDK, be sure it
  has been installed.

While (if I'm not mistaken) kwayland-server is merged into kwin now.

TazerXI commented 2 years ago

I vaguely remember having this issue. I think I solved it by re-installing kwin helped (pacman -S kwin), but I might be remembering wrong

hirad1986 commented 2 years ago

unfortunately that didn't solve it.

TazerXI commented 2 years ago

OK, I'll try look into what I did when I fixed it.

hirad1986 commented 2 years ago

Thank you

TazerXI commented 2 years ago

Sorry it took so long to respond, I completely forgot. However, I can't remember/find what I did to fix it. It was definately something like re installing kwin, or one of the other dependancies listed or something.

ArnoldPMolenaar commented 2 years ago

I have the same issue. Can't find a way to fix it. Already tried the following sudo pacman -S kwin wayland kwayland

TazerXI commented 2 years ago

Looking at the Arch repos, there are multiple kwayland repos. According to the kwayland server github page, it has been merged with Kwin and replaces kwayland-server on the Arch package link, so I would have thought installing Kwin would fix it.

ghost commented 2 years ago

I also have this issue on fedora, looks like a wayland desktop session is required to run this kwin effect, there is a little selector in the bottom left corner of the login screen where you can change the desktop session.

Larvitar commented 2 years ago

Seems that there were a few breaking changes in kwin:

  1. KWaylandServer was moved to KF5/KWayland/Server (namespace KWaylandServer changed to KWayland::Server
  2. GLRenderTarget was removed: https://invent.kde.org/plasma/kwin/-/commit/992753c24a3efbeb306d1130f5278ca3394caede
  3. paintEffectFrame was removed: https://invent.kde.org/plasma/kwin/-/merge_requests/2040#note_445805
mercifulboss commented 1 year ago

Seems that there were a few breaking changes in kwin:

1. `KWaylandServer` was moved to `KF5/KWayland/Server` (namespace `KWaylandServer` changed to `KWayland::Server`

2. `GLRenderTarget` was removed: https://invent.kde.org/plasma/kwin/-/commit/992753c24a3efbeb306d1130f5278ca3394caede

3. `paintEffectFrame` was removed: https://invent.kde.org/plasma/kwin/-/merge_requests/2040#note_445805

Seems like its broken again. So how do we fix? I'd do it if I knew how to code. This is a god send for themes and the only solution to the korner bug