Created attachment 191496 [details]
GLFW supports Wayland, this patch adds an option to choose the Wayland backend.
Unfortunately, unlike most toolkits, backend choice is not dynamic in GLFW. So Linux distros ship separate packages, e.g.:
and users can install one.
So just adding a non-default option here. Eventually should be a flavor I guess.
A commit references this bug:
Date: Wed Mar 28 18:47:52 UTC 2018
New revision: 465837
graphics/glfw: Add WAYLAND option
- Reset maintainer after the third consecutive timeout
Submitted by: email@example.com (based on)
Approved by: firstname.lastname@example.org (maintainer timeout, 2 weeks)
(In reply to Greg V from comment #0)
> Unfortunately, unlike most toolkits, backend choice is not dynamic in GLFW. So Linux distros ship separate packages, e.g.:
This sounds like something upstream should fix rather than letting all
downstream packagers deal with it in their own way. Anyway let's
worry about that later and land it now rather than letting this bug
sit for many weeks or months...
Committed with many changes since the initial patch was missing a lot
of dependencies and didn't build in Poudriere as is.
(In reply to Tobias Kortkamp from comment #2)
Yeah, of course they're planning to implement multi backend, they're currently working on loading the libraries dynamically which is a prerequisite.