14/23 tests pass: https://transfer.sh/TuMqS/test-suite.log
To minimize amount of patches, it's possible to use https://github.com/jiixyj/epoll-shim just like FreeBSD already does that, but I am not sure that's a good idea. Finally, to build Mesa with Wayland support, someone has to put Wayland (and Wayland Protocols?) in Xenocara. $ pkg_info wayland Information for inst:wayland-1.16.0 Comment: Display server protocol Description: Wayland is a project to define a protocol for a compositor to talk to its clients as well as a library implementation of the protocol. The compositor can be a standalone display server running on Linux kernel modesetting and evdev input devices, an X application, or a wayland client itself. The clients can be traditional applications, X servers (rootless or fullscreen) or other display servers. The wayland protocol is essentially only about input handling and buffer management. The compositor receives input events and forwards them to the relevant client. The clients creates buffers and renders into them and notifies the compositor when it needs to redraw. The protocol also handles drag and drop, selections, window management and other interactions that must go through the compositor. However, the protocol does not handle rendering, which is one of the features that makes wayland so simple. All clients are expected to handle rendering themselves, typically through cairo or OpenGL. Maintainer: Vadim Zhukov <[email protected]> WWW: http://wayland.freedesktop.org/ $ pkg_info wayland-protocols Information for inst:wayland-protocols-1.17 Comment: extensions to the Wayland protocol Description: wayland-protocols contains protocols and protocol extensions complementing the Wayland core protocol with additional functionality. As of this release, projects can start to add a build time dependency on wayland-protocols and use wayland-scanner to generate protocol C API using the XML protocol files installed by wayland-protocols. Maintainer: Vadim Zhukov <[email protected]> WWW: http://wayland.freedesktop.org/
