Skip to content

build: add meson build definitions

Mathieu Duponchelle requested to merge meh/cairo:meson-rebased into master

I hope this is a welcome addition, I initially implemented this port over a year ago but never got around to upstreaming it until now. A few persons have contributed to it since then, I have fixed up all the meson commits into one for this MR and mentioned them in the commit message.

The status of this port is as follows:

  • It is quite complete in terms of installed build products

  • The test suite is ported, and I got it to pass back then, had to jump through quite a lot of hoops and generate my own set of reference files if I remember correctly

  • It is known to build on windows 10 with MSVC and Linux (Fedora 30), I tested today. I'm pretty sure I tested on OSX back then but I don't have an OSX machine to test on at the moment

  • Various README files / documentation will probably need updating to mention the meson alternative when building / running tests

  • I haven't implemented any sort of CI support, mostly because I expect this to be a tricky task given the nature of the test suite

  • I have a few commits separate from the meson port for things I fixed along the way, hopefully it's acceptable to keep those in the same MR, they're not very intrusive / complicated

Let me know what you think :)

Edited by Mathieu Duponchelle

Merge request reports