scm2scm1p
Convert script-fu to script-fu
Usage
scm2scm [-d]
[-t
translation] ...
filename.scm ...
Overview
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)
Releases
2 releases since Debian 2.2 (Potato); the text changed 1 time.