Reference

scm2scm(1p)

convert script-fu to script-fu

NAME

scm2scm - convert script-fu to script-fu

SYNOPSIS

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

DESCRIPTION

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

EXAMPLES

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

SWITCHES

-d

generate a unified diff on stdout

-t translation id

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)

AUTHOR

Marc Lehmann <[email protected]>

SEE ALSO

gimp(1), Gimp.

History