Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 616968 - media-libs/glfw - explain that USE=wayland disables X11 support
Summary: media-libs/glfw - explain that USE=wayland disables X11 support
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
: 620056 (view as bug list)
Depends on:
Reported: 2017-04-29 09:58 UTC by Jeroen Roovers (RETIRED)
Modified: 2020-03-04 21:17 UTC (History)
7 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2017-04-29 09:58:25 UTC
It would be nice if these ebuilds had a USE flag description that explained that Wayland and X11 support are (apparently) mutually exclusive.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2017-04-29 09:59:52 UTC
Example output from mupdf:

gl error 65544: Wayland: Failed to connect to display
cannot initialize glfw
Comment 2 Mart Raudsepp gentoo-dev 2017-04-29 16:49:51 UTC
We in GNOME are likely to flip on global USE=wayland flag in gnome profiles within a month or two when 3.24 goes stable. That doesn't mean that people will actually use a Wayland session, but that they have a choice for that. Thus it making X11 not work at all is quite unexpected, if truly the case, and it should really support both at once or only one if both USE="wayland X" are present and only one is chosen.
So I'm not fond of USE=wayland being used at all in a way that makes X not work without any warning really; maybe a IUSE=X and a REQUIRED_USE between them if it's not a common package? But that's inconvenient as well.
Comment 3 James Le Cuirot gentoo-dev 2017-04-29 18:06:55 UTC
I was wondering what Fedora does as that now defaults to a GNOME on Wayland environment. It seems they just build it for X. Then again, their package doesn't have any reverse dependencies. They don't use it in their mupdf package.
Comment 4 Michael Weber (RETIRED) gentoo-dev 2017-06-22 23:10:46 UTC
*** Bug 620056 has been marked as a duplicate of this bug. ***
Comment 5 Matt Turner gentoo-dev 2020-03-04 21:17:05 UTC
How about we rename the flag to IUSE=wayland-only?