gimp/desktop
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
..
16x16 update launcher icon. Replace the scalable with a high resolution bitmap (256x256px). Source SVG includes all sizes. 2010-02-16 10:53:40 +01:00
22x22 update launcher icon. Replace the scalable with a high resolution bitmap (256x256px). Source SVG includes all sizes. 2010-02-16 10:53:40 +01:00
24x24 update launcher icon. Replace the scalable with a high resolution bitmap (256x256px). Source SVG includes all sizes. 2010-02-16 10:53:40 +01:00
32x32 update launcher icon. Replace the scalable with a high resolution bitmap (256x256px). Source SVG includes all sizes. 2010-02-16 10:53:40 +01:00
48x48 update launcher icon. Replace the scalable with a high resolution bitmap (256x256px). Source SVG includes all sizes. 2010-02-16 10:53:40 +01:00
64x64 desktop/Makefile.am removed. 2006-03-29 11:59:51 +00:00
256x256 infinite ability to forget to add stuff. 2010-02-16 11:00:19 +01:00
scalable desktop: install a scalable GIMP icon too. 2021-07-06 11:21:37 +02:00
src infinite ability to forget to add stuff. 2010-02-16 11:00:19 +01:00
.gitignore desktop: gimp-data-extras AppStream was moved to the appropriate repo. 2022-05-04 23:00:00 +02:00
Makefile.am Migrate from intltool to gettext 2022-06-25 10:25:49 +02:00
gimp.desktop.in.in Migrate from intltool to gettext 2022-06-25 10:25:49 +02:00
meson.build Migrate from intltool to gettext 2022-06-25 10:25:49 +02:00
org.gimp.GIMP.appdata.xml.in.in Migrate from intltool to gettext 2022-06-25 10:25:49 +02:00
test-appdata.sh.in desktop: gimp-data-extras AppStream was moved to the appropriate repo. 2022-05-04 23:00:00 +02:00
test-desktop.sh desktop: add a desktop file test with `desktop-file-validate` utils. 2018-05-13 15:57:28 +02:00