gimp/tools
Jehan 106f2a061d Issue #8145: meson: generation of '*-enums.c' files.
Our meson build system was not properly building the enums.c file,
because they are versionned.

I did a similar trick as what I did for the pdbgen, which is that I used
a wrapper script around the existing perl script, which sets proper
options and generate a stamp file in the end (which is considered by
meson as the actual custom target, not the C file since it is generated
in the source dir).

The most important part is that the stamp file is a generated header
source (not just a random text file) which is **included** by the
generated C file. This is what will force meson to regenerate the C file
if the header is updated, **then** build using this new version, not use
an outdated versionned version (which would make for hard to diagnose
bugs), through the indirection of the intermediate stamp header.

See #4201.
See also: https://github.com/mesonbuild/meson/issues/10196#issuecomment-1080742592
2022-08-01 19:59:53 +02:00
..
.gitignore desktop, plug-ins, tools: update various .gitignore. 2019-08-07 19:20:52 +02:00
Makefile.am configure, tools: colorsvg2png must be built as native build executable. 2022-04-01 18:11:55 +02:00
colorsvg2png.c icons, tools: new colorsvg2png tool to build PNG out of SVG. 2022-01-31 14:52:42 +01:00
compute-svg-viewbox.c tools: update the build-only tool compute-svg-viewbox. 2020-08-28 20:25:40 +02:00
defcheck.py tools: only display "trouble reading […]" message when the script fails. 2022-08-01 17:07:30 +02:00
extract-vector-icon.sh tools: update the build-only tool compute-svg-viewbox. 2020-08-28 20:25:40 +02:00
flatpak-releases tools: add a `flatpak-releases` tool for quick testing with Flatpak. 2022-01-22 16:04:35 +01:00
generate-icon-makefiles.py icons, tools: review visible, linked and lock icons. 2022-02-01 15:31:49 +01:00
generate-news tools/generate-news Add a script to generate a NEWS file template 2015-05-02 14:29:39 -04:00
generate-welcome-dialog-data.py app, tools: pre-process release items from AppStream as well. 2022-03-08 16:32:58 +01:00
generate_changelog.sh Meson port. 2019-09-11 16:42:04 +02:00
gimp-debug-resume.c tools, fix implicit declaration of function atoi warning 2019-12-11 21:59:11 +01:00
gimp-mkenums tools: Use env in shebangs 2022-03-18 16:05:58 +00:00
gimp-test-clipboard.c Fix various typos 2019-09-21 17:10:46 +00:00
gimppath2svg.py Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
gimptool.c tools: win32_command() return value is never freed. 2021-10-21 12:31:55 +02:00
kernelgen.c Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
meson-mkenums.sh Issue #8145: meson: generation of '*-enums.c' files. 2022-08-01 19:59:53 +02:00
meson.build icons, tools: fix the CI when building icon resources with vector icons. 2022-01-31 22:33:30 +01:00
meson_install_subdir.py tools: improve the install-* meson targets. 2019-09-15 00:00:35 +02:00
mnemonic-clashes tools: add mnemonic-clashes tool 2019-09-12 17:56:45 +03:00
module-dependencies.py Change the license URL from http://www.gnu.org/licenses/ to https:// 2018-07-11 23:29:46 +02:00
performance-log-close-tags.py tools: add performance-log-close-tags.py, use in performance-log-viewer 2020-07-30 01:03:38 +03:00
performance-log-coalesce.py tools: add performance-log-coalesce.py; use in performance-log-viewer 2018-10-10 15:32:14 -04:00
performance-log-deduce.py tools: add performance-log-deduce.py 2018-09-16 11:58:38 -04:00
performance-log-expand.py tools: in performance-log-expand.py, preserve threads with empty stacks 2018-11-07 14:26:16 -05:00
performance-log-progressive-coalesce.py tools: add performance-log-progressive-coalesce.py; use in performance-log-viewer 2020-07-30 01:04:40 +03:00
performance-log-resolve.py tools: add performance-log-related tools 2018-09-02 03:12:09 -04:00
performance-log-viewer tools: add performance-log-progressive-coalesce.py; use in performance-log-viewer 2020-07-30 01:04:40 +03:00
performance-log-viewer.py tools: in performance-log-viewer.py, handle markers with > INT_MAX timestamps 2020-03-06 12:37:06 +02:00
release-stats.sh devel-docs, tools: move the release-stats script to tools/. 2022-02-01 14:34:46 +01:00