<div dir="ltr">Hi all<div><br></div><div>I'm working on a new build system called Meson. As part of development I take open source projects and rewrite their build systems to ensure it fulfils real world requirement. This time I took Wayland and Weston.</div><div><br></div><div>The patches are attached to this message for anyone to try them out. They apply against git trunk and are compiled with the following steps. First Wayland:</div><div><br></div><div>mkdir build; cd build</div><div>PKG_CONFIG_PATH=... meson --prefix=/your/install/root</div><div>ninja</div><div>[ninja test]</div><div>ninja install</div><div><br></div><div>Then do Weston:</div><div><br></div><div>mkdir build; cd build</div><div>PKG_CONFIG_PATH=... PATH=... LD_LIBRARY_PATH=.. meson ..</div><div>ninja</div><div>[ninja test]</div><div><br></div><div>Wayland compiles and installs fully apart from Doxygen. Weston builds only choice bits, the basic library, some demo clients and some unit tests. </div><div><br></div><div>Performance-wise the configuration step takes about 13 seconds for both when using Autotools and less than a second for Meson. Compilation times are roughly the same. Autotools build definitions are 21 kilobytes for Wayland and 54 kilobytes for Weston. Meson takes 10k and 20k, respectively. (Though note that they do not do everything that the autotools-ones do.)</div><div><br></div><div>For more information, just go to the github project page: <a href="https://github.com/jpakkane/meson">https://github.com/jpakkane/meson</a></div><div><br></div><div>The presentation "Making build systems not suck" from LCA2015 is a good overview of Meson: <a href="https://www.youtube.com/watch?v=KPi0AuVpxLI">https://www.youtube.com/watch?v=KPi0AuVpxLI</a></div><div><br></div><div>That's about it. I hope you find it interesting,</div><div><br></div></div>