Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 806452 - gui-libs/wlroots should depend on x11-base/xwayland or x11-base/xorg-server
Summary: gui-libs/wlroots should depend on x11-base/xwayland or x11-base/xorg-server
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Aaron Bauman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-05 04:58 UTC by Anton Kossler
Modified: 2021-08-19 20:13 UTC (History)
3 users (show)

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


Attachments
Add xwayland as an option for satisfying the X server dependancy (wlroots-0.13.0.ebuild.patch,120 bytes, patch)
2021-08-19 19:54 UTC, Anton Kossler
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Kossler 2021-08-05 04:58:10 UTC
There is a bug in X11 that causes absolute axis device inputs to be read as relative. Xwayland works around this issue, and can be used as the X server for wlroots.
Comment 1 Amel Hodzic 2021-08-11 17:39:48 UTC
Currently, the xwayland ebuild is only relevant for VIDEO_CARDS="nvidia".  This does not work with amdgpu, for example.
Comment 2 Anton Kossler 2021-08-11 17:50:05 UTC
(In reply to Amel Hodzic from comment #1)
> Currently, the xwayland ebuild is only relevant for VIDEO_CARDS="nvidia". 
> This does not work with amdgpu, for example.

I don't see that in the ebuild file, and it works wonderfully on my amdgpu. The only line related to nvidia is an extra dependancy on egl-wayland if you do have one.
Comment 3 Matt Turner gentoo-dev 2021-08-19 18:47:46 UTC
wlroots does depend on x11-base/xwayland (or x11-base/xorg-server[wayland]).

What is the problem?
Comment 4 Anton Kossler 2021-08-19 19:54:34 UTC
Created attachment 734320 [details, diff]
Add xwayland as an option for satisfying the X server dependancy

(In reply to Matt Turner from comment #3)
> wlroots does depend on x11-base/xwayland (or x11-base/xorg-server[wayland]).
> 
> What is the problem?

After I removed xorg-server and installed xwayland, rebuilding wlroots tried to pull xorg-server back in. I had to apply the attached patch to make it build.

Neither of the newer ebuilds (0.14.0, 9999) have x11-base/xwayland anywhere in DEPEND either.
Comment 5 Matt Turner gentoo-dev 2021-08-19 20:13:49 UTC
Ah, this would have been because we forgot to stabilize the revbump of wlroots in bug 806324.

That's now fixed.