This benefits script authors and testers of ScriptFu. Now a call to (display "foo") in a plugin goes to the terminal where GIMP started. Whether interactive or in batch mode. Make TS errors go to an error port instead of the output port. Tool plugins: Console, Eval, Server get error messages from the error port. TextConsole not changed. Tools behave per new doc "ScriptFu Tools" at dev web site. Driveby fix of SF Server: send whole message instead of byte by byte. Driveby comments and more semantic checking of set-output-port in TS. Add test plugin test-display.scm
43 lines
1.1 KiB
Meson
43 lines
1.1 KiB
Meson
# test plugins
|
|
|
|
# Some, but not all, plugins in this directory are installed in unstable build.
|
|
# None should be installed in a release.
|
|
# None should be translated: not marked or marked but in potfiles.skip.
|
|
|
|
# Note this meson.build is excluded from a release build at a higher level,
|
|
# so here there are no "if not release statements"
|
|
|
|
# scripts interpreted by extension-script-fu, installed to /scripts
|
|
scripts = [
|
|
'contactsheet.scm',
|
|
'clothify-v3.scm',
|
|
'test-sphere.scm',
|
|
'test-v3.scm',
|
|
]
|
|
|
|
|
|
install_data(
|
|
scripts,
|
|
install_dir: gimpdatadir / 'scripts',
|
|
)
|
|
|
|
|
|
# scripts interpreted by gimp-script-fu-interpreter
|
|
# Each installed in subdirectory of /plug-in
|
|
# Each have a shebang and executable permission.
|
|
# Like other interpreted plugins.
|
|
# Lacking a shebang, a .interp file is needed to associate .scm suffix
|
|
|
|
scripts_independent = [
|
|
{ 'name': 'test-bytes' },
|
|
{ 'name': 'test-display' },
|
|
]
|
|
|
|
foreach plugin : scripts_independent
|
|
name = plugin.get('name')
|
|
srcs = plugin.get('srcs', name + '.scm')
|
|
|
|
install_data(srcs,
|
|
install_dir: gimpplugindir / 'plug-ins' / name,
|
|
install_mode: 'rwxr-xr-x')
|
|
endforeach
|