meson: built-time run of GIMP should set GIMP3_SYSCONFDIR environment variable.
Without this, build-time GIMP cannot find the etc/ files unless GIMP is installed. This becomes even more annoying now as I want to run tests (for GimpUnit) depending on etc/unitrc contents. This will also ensure that tests run properly in environments where the etc/unitrc may have been modified.
This commit is contained in:
parent
a92e694a19
commit
c1fec7809b
1 changed files with 2 additions and 0 deletions
|
|
@ -1868,6 +1868,8 @@ if meson.can_run_host_binaries() and have_gobject_introspection
|
|||
menu_paths=meson.global_build_root() / 'menus:' + meson.global_source_root() / 'menus'
|
||||
gimp_run_env.set('GIMP_TESTING_MENUS_PATH', menu_paths)
|
||||
|
||||
gimp_run_env.set('GIMP3_SYSCONFDIR', meson.global_source_root() / 'etc')
|
||||
|
||||
gimp_run_env.set('GIMP_TESTING_PLUGINDIRS', meson.global_build_root() / 'plug-ins')
|
||||
gimp_run_env.append('GIMP_TESTING_PLUGINDIRS', meson.global_build_root() / 'plug-ins/python')
|
||||
gimp_run_env.append('GIMP_TESTING_PLUGINDIRS', meson.global_build_root() / 'plug-ins/common/test-plug-ins/')
|
||||
|
|
|
|||
Loading…
Reference in a new issue