To my knowledge, as of 90 (?), Firefox can canonically be build for pure wayland, but the current ebuild is still wired to X11; among others: > x11-libs/libX11 > x11-libs/libXcomposite > x11-libs/libXdamage > x11-libs/libXext > x11-libs/libXfixes > x11-libs/libXrender > >=x11-libs/cairo-1.10[X] > >=x11-libs/gtk+-3.4.0:3[X]
Sadly, that's not the case. I recommend that you create a chroot, satisfy all deps (emerge -a1 --onlydeps firefox), then remove these packages (emerge -C ...) and just try to build firefox (ebuild firefox-92...ebuild clean install). You will notice that configure will already fail.
Related: https://mastransky.wordpress.com/2021/10/01/firefox-wayland-development-in-2021/ So let's look at this after 96 again.
101 builds without X11 libs, although the binary release is currently not configured for that. Any chance we could patch this depending on the USE flags?
(In reply to Cedric Sodhi from comment #3) > 101 builds without X11 libs, although the binary release is currently not > configured for that. Any chance we could patch this depending on the USE > flags? Let's keep discussion of that in bug 848858.