data: the build system should not ever move system files.

AFAIU the issue which it tried to fix only happens on custom builds and it looks
to me that it's just about multi-prefixes developer builds which were not
configured with -Drelocatable-bundle=no as they should.

When you compile GIMP yourself and intend to run it in a multi-prefix
environment, without ever relocating the build, like on Unix-like systems, then
disable this feature.

In any case, we should never do this kind of system file moving hacks in our
build system. The MSYS2 project even had to patch this out:
https://gitlab.gnome.org/GNOME/gimp/-/merge_requests/1171#note_2022406
This commit is contained in:
Jehan 2024-02-22 18:04:49 +01:00
parent ce08be14d3
commit a3c0b515f9

View file

@ -26,11 +26,3 @@ configure_file(
install: true,
install_dir: gimpdatadir,
)
# Fix iso-codes warning (Local-Native only)
if platform_windows and not meson.is_cross_build()
install_data(
join_paths(isocodes_location, 'iso_639.xml'),
install_dir: join_paths(get_option('datadir'), 'xml/iso-codes')
)
endif