Created attachment 259475 [details] Patch for x11-wm/plasma6-kwin The x11-wm/plasma6-kwin port assumes that x11/libei will be found in the build environment without explicitly depending on it. This library is normally pulled in via x11-servers/xwayland, but can be turned off there via an option. The attached patch adds an EI option (mirroring the EI option in x11-servers/xwayland), making the dependency on x11/libei explicit and optional.
Thanks for patch! Does this option need to be in sync between kwin and xwayland? If not, for the sake of simplicity I would make this dependency non-optional for kwin.
I don't know, unfortunately. My entire system is built without x11/libei, because it pulls in too many additional dependencies that I didn't want.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=6c13b3efbd0e232f7accd5f60ae1680fa87d8a98 commit 6c13b3efbd0e232f7accd5f60ae1680fa87d8a98 Author: Max Brazhnikov <makc@FreeBSD.org> AuthorDate: 2025-04-12 22:05:41 +0000 Commit: Max Brazhnikov <makc@FreeBSD.org> CommitDate: 2025-04-12 22:05:41 +0000 x11-wm/plasma6-kwin: make dependency on libei explicit and optional. x11/libei is pulled via x11-servers/xwayland. PR: 286041 Submitted by: freebsd@chillt.de x11-wm/plasma6-kwin/Makefile | 8 ++++++++ x11-wm/plasma6-kwin/pkg-plist | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-)
It seems this dependency is only needed for Wayland flavor of KWin, so let it be optional for now.
A commit in branch 2025Q2 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=c7e2d2c9304e8d18574459a441f4168f2bdab290 commit c7e2d2c9304e8d18574459a441f4168f2bdab290 Author: Max Brazhnikov <makc@FreeBSD.org> AuthorDate: 2025-04-12 22:05:41 +0000 Commit: Max Brazhnikov <makc@FreeBSD.org> CommitDate: 2025-04-17 09:22:44 +0000 x11-wm/plasma6-kwin: make dependency on libei explicit and optional. x11/libei is pulled via x11-servers/xwayland. PR: 286041 Submitted by: freebsd@chillt.de (cherry picked from commit 6c13b3efbd0e232f7accd5f60ae1680fa87d8a98) x11-wm/plasma6-kwin/Makefile | 8 ++++++++ x11-wm/plasma6-kwin/pkg-plist | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-)