mutter has hard dependencies on X11 libraries
There's a general interest in building wayland-only GNOME systems. @jjardon is pushing this effort and is tracking the progress in gnome-build-meta#226. I myself would love to be able to build wayland-only Exherbo[1] systems using GNOME
Currently mutter hard-depends on the presence of X11 libraries:
- https://gitlab.gnome.org/GNOME/mutter/-/blob/master/meson.build#L92
- https://gitlab.gnome.org/GNOME/mutter/-/blob/master/meson.build#L112
- https://gitlab.gnome.org/GNOME/mutter/-/blob/master/meson.build#L135
How difficult would it be to make the X11 backend optional and allow building just for Wayland?
[1] www.exherbo.org