summaryrefslogtreecommitdiffstats
path: root/graphics/gimp/files/patch-ac
blob: 31177deba3790d1da95ef10e7cbcc140b0573adc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
--- 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,@_scriptdatadir_@,${scriptdatadir},' $< > $@
--- 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" "\"@_scriptdatadir_@/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" "\"@_scriptdatadir_@/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" "\"@_scriptdatadir_@/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" "\"@_scriptdatadir_@/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" "\"@_scriptdatadir_@/texture1.jpg\"" "Environment Map" "\"@_scriptdatadir_@/beavis.jpg\"")
OpenPOWER on IntegriCloud