[PATCH xserver 0/3] meson build for xserver

Adam Jackson ajax at nwnk.net
Thu Apr 27 17:48:24 UTC 2017


On Tue, 2017-04-25 at 16:02 -0700, Eric Anholt wrote:

> meson build/ -Dxephyr=true  # ./configure equivalent
> mesonconf build/ -Ddmx=yes  # Turns on a feature later.

I also found useful:

mesonconf build/  # display available build options and their values

Eric updated this slightly on his meson branch, which I've merged:

remote: E: failed to find patch for rev 1549e30372756cfdb85379fd8d93c769297ab6e6.
remote: I: 0 patch(es) updated to state Accepted.
To ssh://git.freedesktop.org/git/xorg/xserver
   c7be7a688..1549e3037  master -> master

I'm not sure when exactly we'll be able to be rid of the automake
build. If nothing else, meson's requirement for python3 makes building
with it on RHEL7 slightly awkward for me. With that in mind, some
guidelines, if I may be so bold:

Contributors: If your new feature changes the build system, while it is
appreciated if it builds with both, it is not absolutely necessary; if
the learning curve is too high or one build system makes the feature
difficult to realize, we'll fix that up before merging. (Yes I'm
volunteering.)

Pushers: Avoid pushing anything that breaks either build system. In
particular, if a single change alters either build system as well as
the code, verify that the other build system is either similarly
altered or needs no alteration.

I haven't verified the meson test path, and expect it doesn't work yet.
Once it works I'll switch my pre-push checks to build with both build
systems but run the tests from meson, so I can at least hide the
automake slowness parallel to xts slowness.

- ajax


More information about the xorg-devel mailing list