From 67e10930df9d918e89f092987f0ea0355274e42f Mon Sep 17 00:00:00 2001 From: Jehan Date: Thu, 29 Aug 2024 14:59:38 +0200 Subject: [PATCH] meson: add the extensions/ dir to look up for interp files at build time. The lua.interp file is there. Lua plug-ins are not needed at build time, except that when I had a non-supported interpreter as my system's `lua` binary (see #11876), so calling in-build GIMP would startup the lua goat exercise, get the error reported in #11876, and (this part is the real problem), it would somehow freeze the in-build-gimp.sh script. I'm not sure how exactly, the gimp-console would in fact end correctly (and generate the image it is supposed to), but leaving around a lua process. And somehow the script would not continue, it would not call any further command line, nor would it even crash. So I just had a stuck build. --- meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/meson.build b/meson.build index 6a85c35b1f..a75ffa8f42 100644 --- a/meson.build +++ b/meson.build @@ -1908,6 +1908,7 @@ if meson.can_run_host_binaries() and have_gobject_introspection gimp_run_env.append('GIMP_TESTING_PLUGINDIRS', meson.global_build_root() / 'plug-ins/common/test-plug-ins/') gimp_run_env.set('GIMP_TESTING_INTERPRETER_DIRS', meson.global_build_root() / 'plug-ins/python/') + gimp_run_env.append('GIMP_TESTING_INTERPRETER_DIRS', meson.global_build_root() / 'extensions/') gimp_run_env.set('GIMP_TESTING_ENVIRON_DIRS', meson.global_source_root() / 'data/environ/') gimp_run_env.prepend('GI_TYPELIB_PATH', prefix / 'lib/girepository-1.0/')