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
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords: PullRequest
: 620056 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-04-29 09:58 UTC by Jeroen Roovers (RETIRED)
Modified: 2021-07-29 03:09 UTC (History)
10 users (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 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?
Comment 6 Larry the Git Cow gentoo-dev 2021-07-29 03:09:22 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=391c7f55642b99cd89c4367207f2c3990f17a2f6

commit 391c7f55642b99cd89c4367207f2c3990f17a2f6
Author:     Alessandro Barbieri <lssndrbarbieri@gmail.com>
AuthorDate: 2021-07-08 11:11:47 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2021-07-29 03:00:20 +0000

    media-libs/glfw: rename wayland useflag to wayland-only
    
    Closes: https://bugs.gentoo.org/616968
    Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/21566
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 media-libs/glfw/glfw-3.3.4-r1.ebuild | 14 +++++++-------
 media-libs/glfw/metadata.xml         |  3 +++
 2 files changed, 10 insertions(+), 7 deletions(-)