2002-02-22 23:21:08 +08:00
|
|
|
[Desktop Entry]
|
2004-08-09 19:04:42 +08:00
|
|
|
Version=1.0
|
|
|
|
Type=Application
|
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-09 02:35:45 +08:00
|
|
|
Name=GNU Image Manipulation Program
|
|
|
|
GenericName=Image Editor
|
|
|
|
Comment=Create images and edit photographs
|
2016-09-23 01:04:03 +08:00
|
|
|
# Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon!
|
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-09 02:35:45 +08:00
|
|
|
Keywords=GIMP;graphic;design;illustration;painting;
|
2006-12-20 22:30:59 +08:00
|
|
|
Exec=@GIMP_COMMAND@ %U
|
2004-01-27 11:45:01 +08:00
|
|
|
TryExec=gimp-@GIMP_APP_VERSION@
|
2006-03-30 05:00:49 +08:00
|
|
|
Icon=gimp
|
2003-06-22 19:34:33 +08:00
|
|
|
Terminal=false
|
2006-08-25 04:46:59 +08:00
|
|
|
Categories=Graphics;2DGraphics;RasterGraphics;GTK;
|
2003-06-22 19:34:33 +08:00
|
|
|
StartupNotify=true
|
2008-01-06 21:53:14 +08:00
|
|
|
MimeType=@MIME_TYPES@
|
2021-08-13 00:33:47 +08:00
|
|
|
StartupWMClass=gimp-@GIMP_APP_VERSION@
|