meson: Use Python port of glib-mkenums
commitdd8ff547362bb407f786ff31d853a0b3a61024f7
authorNirbheek Chauhan <nirbheek@centricular.com>
Tue, 21 Mar 2017 16:42:19 +0000 (21 22:12 +0530)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 13 Jul 2017 23:03:39 +0000 (13 19:03 -0400)
tree2b8bda788fe9cf3e60aa98ad7c8d0cbd8efc1f15
parentee94ad776ef533f16c2561ea038106a8e23b1a75
meson: Use Python port of glib-mkenums

This reduces the build-time dependencies of glib to only Python 3,
Meson, and git. Git is also optional if you provide a tarball in
which the subproject directories already exist.

The Python port was done by Jussi Pakkanen on bugzilla:
https://bugzilla.gnome.org/show_bug.cgi?id=779332

This version contains some fixes from that and also changes all
instances of `@` to `\u0040` because Meson does not yet provide a
configure_file() mode that ignores unknown @MACRO@ values.
gio/build_mkenum.py
gio/meson.build
gobject/glib-mkenums.in
gobject/meson.build
meson.build