Skip to content
  • Niels De Graef's avatar
    Migrate from intltool to gettext · f663d26a
    Niels De Graef authored and Jehan's avatar Jehan committed
    intltool has long been dead upstream. Let's not poke the dead corpse,
    please.
    
    This commit is quite large, but that's mostly since trying to support a
    hybrid of both gettext and intltool with both Meson and Autotools was
    really hard, so I stopped trying.
    
    Due to gettext relying on quite some things being at the exactly right
    place in the autotools build (like `ABOUT-NLS` and `config.rpath`) we
    really needed to cleanup the `autogen.sh` to only call `aclocal` and
    `autoreconf`. No more strange magic; I tried to do it without changing
    too much in the file, and things just broke. If people want to do
    something more custom, they can just change the script directly. This
    change also uncovered some problems in our `configure.ac`, like using
    deprecated macros.
    
    The following major changes happened:
    
    * meson: Changed `custom_target()` to `i18n.merge_file()` for all
      supported file types
    * Added `.its` and `.loc`  files for the GIMP-specific XML formats, so
      that gettext understand...
    f663d26a