Bug 286041 - [PATCH] x11-wm/plasma6-kwin has implicit dependency on x11/libei
Summary: [PATCH] x11-wm/plasma6-kwin has implicit dependency on x11/libei
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-11 16:34 UTC by freebsd
Modified: 2025-04-17 09:28 UTC (History)
3 users (show)

See Also:


Attachments
Patch for x11-wm/plasma6-kwin (1.12 KB, patch)
2025-04-11 16:34 UTC, freebsd
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description freebsd 2025-04-11 16:34:25 UTC
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.
Comment 1 Max Brazhnikov freebsd_committer freebsd_triage 2025-04-12 20:55:42 UTC
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.
Comment 2 freebsd 2025-04-12 21:03:13 UTC
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.
Comment 3 commit-hook freebsd_committer freebsd_triage 2025-04-12 22:07:42 UTC
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(-)
Comment 4 Max Brazhnikov freebsd_committer freebsd_triage 2025-04-12 22:18:33 UTC
It seems this dependency is only needed for Wayland flavor of KWin, so let it be optional for now.
Comment 5 commit-hook freebsd_committer freebsd_triage 2025-04-17 09:28:46 UTC
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(-)