
scm2scm - convert script-fu to script-fu

scm2scm [-d] [-t translation]... filename.scm...

This perl-script can be used to upgrade existing script-fu-scripts to newer gimp API's.

Convert all script-fu scripts in the current directory from the 1.0 to the 1.2 API (creating new files with the extension .sc2):
scm2scm -t 1.2 *.scm
Generate a diff containing the required changes from the 1.0 to the 1.1-API:
scm2scm -d -t 1.1 test.scm

generate a unified diff on stdout
specify a translation id, can be one of (run scm2scm without arguments to see the full list)
api1 api-mega-break-patch #1 api2 api-mega-rename-patch #1 (NYI)
1.1 1.0 -> 1.1 (not fully implemented)
1.2 1.0 -> 1.2 (not fully implemented)

Marc Lehmann <pcg@goof.com>

gimp(1), Gimp.