govarnam icon indicating copy to clipboard operation
govarnam copied to clipboard

Please consider migrating to meson

Open agx opened this issue 2 years ago • 3 comments

We're jumping through a lot of hoops to have install.sh and Makefile generic enough for

  • in tree builds
  • Linux distro builds
  • builds for other platforms

Using meson would make this way simpler (it e.g. has the notion of in tree package config files and package config files for the installed system), DESTDIR, changing the installation patch, etc. Things we'd otherwise have to redo ourself.

If meson is an option I could look into adding this (and once it's working we can drop the Makefile and sed invocations).

Note that there's no official go support https://github.com/mesonbuild/meson/issues/123 but since we're not doing much a custom target should be just fine.

Meson is usable on Windows and MacOS too (it's used by e.g. glib and gtk which also need to be buildable on those platforms).

agx avatar Nov 05 '23 11:11 agx

I liked using meson in Phoc, Phosh, so yes +1 to meson.

subins2000 avatar Nov 07 '23 10:11 subins2000

Awesme. I'll add that to my todo list.

agx avatar Nov 08 '23 09:11 agx

I'm experimenting with meson for making an fcitx5 engine for Varnam. I'll take this up after

subins2000 avatar Jan 01 '24 10:01 subins2000