gimp/m4macros
Niels De Graef f663d26ab5 Migrate from intltool to gettext
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 understands them
* For the `.isl` (Window installer stuff) file, there's no easy way to
  do this in gettext, so instead we start from an XML file (again with
  its own ITS rules etc), translate that with gettext, and then use
  `xsltproc` with a bit of magic to output the .isl file for each
  language
* the `po*/Makefile.in.in` files are migrated to `Makevars` files,
  which gettext natively understands.

Fixes: https://gitlab.gnome.org/GNOME/gimp/-/issues/8028
2022-06-25 10:25:49 +02:00
..
.gitignore Migrate from intltool to gettext 2022-06-25 10:25:49 +02:00
Makefile.am Allow building vala plugins 2020-05-26 17:52:52 +00:00
alsa.m4 split out into separate files... 2005-06-24 21:17:57 +00:00
ax_compare_version.m4 configure.ac: require perl >= 5.10.0 2017-12-04 09:00:34 -05:00
ax_cxx_compile_stdcxx.m4 configure.ac: require a C++11 compiler 2018-04-04 17:49:46 -04:00
ax_gcc_func_attribute.m4 m4macros: update ax_gcc_func_attribute.m4 to serial 12 2020-03-17 10:42:32 +08:00
ax_prog_cc_for_build.m4 Bug 780270 - MinGW build fail on Windows (broken m4 macro). 2017-03-23 15:25:55 +01:00
ax_prog_perl_version.m4 configure.ac: require perl >= 5.10.0 2017-12-04 09:00:34 -05:00
detectcflags.m4 m4macros: make detectcflags.m4 more reliable 2015-11-08 01:04:16 +01:00
gimp-3.0.m4 m4macros: forgot 2.0 -> 3.0 here 2018-05-29 10:14:58 +02:00
introspection.m4 configure, libgimpbase, m4macros: first steps into API introspection. 2019-07-25 10:51:03 +02:00
meson.build Meson port. 2019-09-11 16:42:04 +02:00
python3dev.m4 m4macros, configure: add and use AM_PYTHON_CHECK_PYGOBJECT() macro. 2019-08-09 18:18:21 +02:00
vapigen.m4 Allow building vala plugins 2020-05-26 17:52:52 +00:00