Skip to content

Draft: Port build system to Meson

Niels De Graef requested to merge nielsdg/plymouth:nielsdg/meson into main

I had a long train ride home from mini GUADEC and my wifi was abandoning me, so I started porting plymouth to Meson. With a few cleanups, we're now at something MR-worthy.

Some remarks:

  • From a quick glance by installing in a custom DESTDIR, everything seems to be matching, and the public libraries don't seem to give any abidiff warnings. I did not test this on a running system though, so beware that this might still break in practice
  • The current minimal Meson version is 0.61, which is quite high. It should be fairly doable to lower it, but it will require workarounds for things like install_symlink() and install_emptydir()
  • I didn't add the meson.build files to the autotools EXTRA_DIST variables, which is needed if you want to release an autotools tarball
  • I didn't drop autotools either, since that's up to the maintainers
Edited by Niels De Graef

Merge request reports