--- plug-ins/script-fu/scripts/Makefile.in.orig Sun Mar 2 05:54:56 1997 +++ plug-ins/script-fu/scripts/Makefile.in Sun Mar 2 08:00:11 1997 @@ -50,7 +50,7 @@ scriptdatadir = $(pkgdatadir)/scripts -scriptdata_DATA = \ +_scriptdata_DATA = \ alien-glow.scm \ bds-logo-textured.scm \ blend-logo.scm \ @@ -76,6 +76,7 @@ DIST_COMMON = Makefile.am Makefile.in +scriptdata_DATA = $(patsubst %.scm,%.sed,${_scriptdata_DATA}) DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) \ $(TEXINFOS) $(MANS) $(EXTRA_DIST) @@ -83,7 +84,7 @@ TAR = tar default: all -.SUFFIXES: +.SUFFIXES: .sed $(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL) cd $(top_srcdir) && automake --gnu plug-ins/script-fu/scripts/Makefile @@ -95,13 +96,15 @@ install-scriptdataDATA: $(scriptdata_DATA) $(NORMAL_INSTALL) $(mkinstalldirs) $(scriptdatadir) - @list="$(scriptdata_DATA)"; for p in $$list; do \ - if test -f $(srcdir)/$$p; then \ - echo "$(INSTALL_DATA) $(srcdir)/$$p $(scriptdatadir)/$$p"; \ - $(INSTALL_DATA) $(srcdir)/$$p $(scriptdatadir)/$$p; \ - else if test -f $$p; then \ - echo "$(INSTALL_DATA) $$p $(scriptdatadir)/$$p"; \ - $(INSTALL_DATA) $$p $(scriptdatadir)/$$p; \ + @list="$(scriptdata_DATA)"; for s in $$list; do \ + p=$$(basename $$s .sed); \ + if [ $$p != $$s ]; then p=$$p.scm; fi; \ + if test -f $(srcdir)/$$s; then \ + echo "$(INSTALL_DATA) $(srcdir)/$$s $(scriptdatadir)/$$p"; \ + $(INSTALL_DATA) $(srcdir)/$$s $(scriptdatadir)/$$p; \ + else if test -f $$s; then \ + echo "$(INSTALL_DATA) $$s $(scriptdatadir)/$$p"; \ + $(INSTALL_DATA) $$s $(scriptdatadir)/$$p; \ fi; fi; \ done @@ -188,3 +191,7 @@ # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: + + +%.sed : %.scm + sed 's,@_prefix_@,${prefix},g' $< > $@ --- plug-ins/script-fu/scripts/chrome-it.scm.orig Sun Mar 2 05:12:07 1997 +++ plug-ins/script-fu/scripts/chrome-it.scm Sun Mar 2 07:43:14 1997 @@ -153,5 +153,5 @@ (gimp-displays-flush) (gimp-image-enable-undo img))) -(script-fu-register "sota-chrome-it" "SOTA Chrome-IT (Gold Trim)" "Input Image" "1" "Highlight Color" "'(211 95 0)" "Chrome Color" "'(0 27 209)" "Chrome Saturation" "-80" "Chrome Lightness" "-47" "Chrome Factor" "0.75" "Environment Map" "\"/usr/local/share/gimp/scripts/beavis.jpg\"") -(script-fu-register "sota-chrome-it" "SOTA Chrome-IT (Copper Trim)" "Input Image" "1" "Highlight Color" "'(220 50 -20)" "Chrome Color" "'(0 0 0)" "Chrome Saturation" "0" "Chrome Lightness" "0" "Chrome Factor" "0.75" "Environment Map" "\"/usr/local/share/gimp/scripts/beavis.jpg\"") +(script-fu-register "sota-chrome-it" "SOTA Chrome-IT (Gold Trim)" "Input Image" "1" "Highlight Color" "'(211 95 0)" "Chrome Color" "'(0 27 209)" "Chrome Saturation" "-80" "Chrome Lightness" "-47" "Chrome Factor" "0.75" "Environment Map" "\"@_prefix_@/share/gimp/scripts/beavis.jpg\"") +(script-fu-register "sota-chrome-it" "SOTA Chrome-IT (Copper Trim)" "Input Image" "1" "Highlight Color" "'(220 50 -20)" "Chrome Color" "'(0 0 0)" "Chrome Saturation" "0" "Chrome Lightness" "0" "Chrome Factor" "0.75" "Environment Map" "\"@_prefix_@/share/gimp/scripts/beavis.jpg\"") --- plug-ins/script-fu/scripts/chrome2.scm.orig Sun Mar 2 05:12:07 1997 +++ plug-ins/script-fu/scripts/chrome2.scm Sun Mar 2 07:43:14 1997 @@ -161,6 +161,6 @@ (gimp-image-enable-undo img) (gimp-display-new img))) -(script-fu-register "sota-chrome-logo" "SOTA Chromed Logos (Gold Trim)" "Highlight Color" "'(211 95 0)" "Chrome Color" "'(0 27 209)" "Chrome Saturation" "-80" "Chrome Lightness" "-47" "Chrome Factor" "0.75" "Text String" "\"The GIMP\"" "Font Size (in pixels)" "150" "Font" "\"GoodCityModern(kbd)\"" "Environment Map" "\"/usr/local/share/gimp/scripts/beavis.jpg\"") +(script-fu-register "sota-chrome-logo" "SOTA Chromed Logos (Gold Trim)" "Highlight Color" "'(211 95 0)" "Chrome Color" "'(0 27 209)" "Chrome Saturation" "-80" "Chrome Lightness" "-47" "Chrome Factor" "0.75" "Text String" "\"The GIMP\"" "Font Size (in pixels)" "150" "Font" "\"GoodCityModern(kbd)\"" "Environment Map" "\"@_prefix_@/share/gimp/scripts/beavis.jpg\"") -(script-fu-register "sota-chrome-logo" "SOTA Chromed Logos (Copper Trim)" "Highlight Color" "'(220 50 -20)" "Chrome Color" "'(0 0 0)" "Chrome Saturation" "0" "Chrome Lightness" "0" "Chrome Factor" "0.75" "Text String" "\"The GIMP\"" "Font Size (in pixels)" "150" "Font" "\"RoostHeavy\"" "Environment Map" "\"/usr/local/share/gimp/scripts/beavis.jpg\"") +(script-fu-register "sota-chrome-logo" "SOTA Chromed Logos (Copper Trim)" "Highlight Color" "'(220 50 -20)" "Chrome Color" "'(0 0 0)" "Chrome Saturation" "0" "Chrome Lightness" "0" "Chrome Factor" "0.75" "Text String" "\"The GIMP\"" "Font Size (in pixels)" "150" "Font" "\"RoostHeavy\"" "Environment Map" "\"@_prefix_@/share/gimp/scripts/beavis.jpg\"") --- plug-ins/script-fu/scripts/crystal.scm.orig Sun Mar 2 07:56:25 1997 +++ plug-ins/script-fu/scripts/crystal.scm Sun Mar 2 07:57:25 1997 @@ -164,4 +164,4 @@ (gimp-display-new img))) -(script-fu-register "crystal-logo" "Crystal Logos" "Chrome Factor" "1.0" "Text String" "\"Crystal\"" "Font Size (in pixels)" "150" "Font" "\"Engraver\"" "Background Img" "\"/usr/local/share/gimp/scripts/texture1.jpg\"" "Environment Map" "\"/usr/local/share/gimp/scripts/beavis.jpg\"") +(script-fu-register "crystal-logo" "Crystal Logos" "Chrome Factor" "1.0" "Text String" "\"Crystal\"" "Font Size (in pixels)" "150" "Font" "\"Engraver\"" "Background Img" "\"@_prefix_@/share/gimp/scripts/texture1.jpg\"" "Environment Map" "\"@_prefix_@/share/gimp/scripts/beavis.jpg\"")