Gimp/plug-ins/script-fu/scripts/meson.build
Jehan fca4fd1bcc Revert "ScriptFu: scripts: remove obsolete script unsharp-mask"
This reverts commit fbee943213.

We must not remove any PDB function because we promise API stability
(not only in libgimp, but also in the PDB). Even if this was not used
anywhere in our own scripts/plug-ins, it may be used by third-party
scripts. At best, we can deprecate them so that people are properly warn
that we plan on removing a function. Then we'll remove it for GIMP 4.

Also I believe that various people were not perfectly happy with GEGL's
unsharp-mask operation, compared to the old one. And that was a reason
for keeping the legacy Script-fu version around. See gegl#122 or other
reports which mention such concerns.
At the very least, this should be discussed first with more specialized
developers to determine whether we consider GEGL's replacement operation
to be adequately replacing the historical script by now, so that we can
plan the removal for GIMP 4.
2025-06-11 02:26:16 +02:00

77 lines
1.8 KiB
Meson

subdir('images')
subdir('init')
subdir('test')
# scripts interpreted by extension-script-fu, installed to /scripts
scripts = [
'add-bevel.scm',
'addborder.scm',
'blend-anim.scm',
'burn-in-anim.scm',
'carve-it.scm',
'chrome-it.scm',
'circuit.scm',
'clothify.scm',
'coffee.scm',
'difference-clouds.scm',
'distress-selection.scm',
'drop-shadow.scm',
'font-map.scm',
'fuzzyborder.scm',
'gimp-online.scm',
'gradient-example.scm',
'guides-from-selection.scm',
'guides-new-percent.scm',
'guides-new.scm',
'guides-remove-all.scm',
'lava.scm',
'line-nova.scm',
'mkbrush.scm',
'old-photo.scm',
'palette-export.scm',
'paste-as-brush.scm',
'paste-as-pattern.scm',
'perspective-shadow.scm',
'reverse-layers.scm',
'ripply-anim.scm',
'round-corners.scm',
'script-fu-set-cmap.scm',
'script-fu-util.scm',
'selection-round.scm',
'slide.scm',
'spinning-globe.scm',
'tileblur.scm',
'unsharp-mask.scm',
'waves-anim.scm',
'weave.scm',
'xach-effect.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
# !!! test-sphere-v3 is example plugin.
# Install with a stable release along with other language examples.
# For now, there are no other stable plugins that are independently interpreted.
scripts_independent = [
{ 'name': 'test-sphere-v3' },
]
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