Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 888878 - gui-wm/sway-1.8 unconditionally depends on x11-libs/xcb-util-wm
Summary: gui-wm/sway-1.8 unconditionally depends on x11-libs/xcb-util-wm
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-29 16:01 UTC by Yaroslav Isakov
Modified: 2022-12-30 04:10 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yaroslav Isakov 2022-12-29 16:01:05 UTC
Hello! I've found that new sway ebuild has x11-libs/xcb-util-wm as a dep, even though I have X useflag disabled. I've checked upstream, and it seems that it's needed for ICCCM support, but only if xwayland is enabled https://github.com/swaywm/sway/blob/master/meson.build#L86.

I've copied ebuild, dropped x11-libs/xcb-util-wm, and successfully built and run sway.

Please, move this dep under X useflag.
Comment 1 Yaroslav Isakov 2022-12-29 16:01:54 UTC
P.S. I have no xcb or x11 libs on my system, it's completely X11-less.
Comment 2 Larry the Git Cow gentoo-dev 2022-12-30 04:10:29 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=550b3c8b21f54a1df4d4a6a149afbea7042fae86

commit 550b3c8b21f54a1df4d4a6a149afbea7042fae86
Author:     Matthew Thode <prometheanfire@gentoo.org>
AuthorDate: 2022-12-30 04:09:38 +0000
Commit:     Matthew Thode <prometheanfire@gentoo.org>
CommitDate: 2022-12-30 04:10:25 +0000

    gui-wm/sway: move xcb-util-wm dep under the X flag
    
    Closes: https://bugs.gentoo.org/888878
    
    Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>

 gui-wm/sway/{sway-1.8.ebuild => sway-1.8-r1.ebuild} | 6 ++++--
 gui-wm/sway/sway-9999.ebuild                        | 6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)