On Sun, Nov 14, 2021 at 10:39:55PM +0100, Rafael Sadowski wrote: > On Sun Nov 14, 2021 at 10:29:36PM +0100, Theo Buehler wrote: > > In my last bulk, alacritty failed to build. > > > > While it does not end up linking against xkbcommon, it does also not > > build if the libxkbcommon package is absent. A bit of digging revealed > > that libxkbcommon is picked up via the wayland feature. > > In x11/xkbcommon wayland is and was disabled. > > > > > This is one way of fixing it. Perhaps there are better options... > > > > Compressed log attached if anyone wants to look. > > I have also looked at alacritty but after seeing the following I left > again: > > ./crates.inc > 173:MODCARGO_CRATES += wayland-client 0.28.6 # MIT > 174:MODCARGO_CRATES += wayland-commons 0.28.6 # MIT > 175:MODCARGO_CRATES += wayland-cursor 0.28.6 # MIT > 176:MODCARGO_CRATES += wayland-egl 0.28.6 # MIT > 177:MODCARGO_CRATES += wayland-protocols 0.28.6 # MIT > 178:MODCARGO_CRATES += wayland-scanner 0.28.6 # MIT > 179:MODCARGO_CRATES += wayland-sys 0.28.6 # MIT > > For me it comes with it's own wayland :/ not necessary: crates could be also just bindings. the fun part is you need to look at source to know what it is doing.
the tb@'s approch with MODCARGO_FEATURES seems right to just compile the x11 support (and not compile wayland support). ok semarie@ Thanks. -- Sebastien Marie
