Gimp/plug-ins/script-fu/scripts/init/meson.build
lloyd konneker 0db5f7dd72 ScriptFu: add compatibility scripts for third party scripts
For some symbols defined or deprecated in GIMP 2 and obsolete in GIMP 3.

ScriptFu automatically loaded these definitions
during development of GIMP 3 (from 2.99 to 3.0rc1).
That is no longer the case.

A third-party script CAN load them explicitly.
We discourage that, for scripts to be shared,
but it is convenient for private use.

PDB-compat-v2.scm is also an executable definition of renamings,
useful as a cross check of published documents re porting plugins
from v2 to v3.
2024-10-25 13:56:36 +00:00

26 lines
558 B
Meson

# scripts loaded by ScriptFu to initialize the embedded interpreter
init_scripts = [
'plug-in-compat.scm',
'init.scm',
'script-fu-compat.scm',
]
# compatibility scripts distributed but not automatically loaded by ScriptFu.
# Loaded by third-party plugin scripts from well-know directory, on demand.
compat_scripts = [
'SIOD-compat.scm',
'PDB-compat-v2.scm',
]
install_data(
init_scripts,
install_dir: gimpdatadir / 'scripts' / 'scriptfu-init',
)
install_data(
compat_scripts,
install_dir: gimpdatadir / 'scripts' / 'scriptfu-init',
)