GNOME Bugzilla – Bug 794026
Port to Meson
Last modified: 2018-03-16 01:10:12 UTC
Porting to meson would speed up the build times, simplify the build maintenance and would also be useful in case of a Vala port. Details, examples can be found at https://wiki.gnome.org/Initiatives/GnomeGoals/MesonPorting, something recent and similar would be gnome-calculator meson port, see https://git.gnome.org/browse/gnome-calculator/commit/?id=187ad6e033b64b47288562e9c35cad95b829c954
Created attachment 369749 [details] [review] Migrate to Meson Hi. I migrated to Meson. Please let me know if I should make any changes. Thank you.
Review of attachment 369749 [details] [review]: Nice try. Almost perfect, but doesn't work. ninja install fails for a trivial reason. Try running 'ninja install' and you should be able to easily find the problem (in case you don't want to install to the default /usr/local you can specify a prefix when initializing a build directory with meson --prefix=~/ninjadir).
Created attachment 369755 [details] [review] Migrate to Meson I think I solved it. Please let me know if there is anything else.
This time it's ok. One minor nitpick: don't put files which do not exist in EXTRA_DIST, as it causes 'make dist' failure. Given that autotools will be dropped soon, I have fixed this and pushed your changes to master. Attachment 369755 [details] pushed as 4e2c73b - Migrate to Meson