varnamproject / govarnam

Easily type Indic languages on computer and mobile. GoVarnam is a cross-platform transliteration library. Manglish -> Malayalam, Thanglish -> Tamil, Hinglish -> Hindi plus another 10 languages. GoVarnam is a near-Go port of libvarnam
https://varnamproject.com
Other
145 stars 11 forks source link

Please consider migrating to meson #44

Open agx opened 1 year ago

agx commented 1 year ago

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

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).

subins2000 commented 1 year ago

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

agx commented 1 year ago

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

subins2000 commented 10 months ago

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