summaryrefslogtreecommitdiffstats
path: root/graphics/gimp-devel/files/patch-ab
blob: f4579f768d02e9de1f204859a3119b16f3ae55dd (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
89
90
91
92
93
94
95
96
--- plug-ins/script-fu/scripts/Makefile.in.orig	Fri Feb 28 09:09:07 1997
+++ plug-ins/script-fu/scripts/Makefile.in	Fri Feb 28 09:07:40 1997
@@ -51,17 +51,17 @@
 scriptdatadir = $(pkgdatadir)/scripts
 
 scriptdata_DATA = \
-	alien-glow.scm		\
-	bds-logo-textured.scm	\
-	blend-logo.scm		\
-	chrome.scm		\
-	chrome-it.scm		\
-	chrome2.scm		\
-	ds-logo.scm		\
-	frozen-text.scm		\
-	hds-logo.scm		\
-	neon.scm		\
-	sphere.scm		\
+	alien-glow.sed		\
+	bds-logo-textured.sed	\
+	blend-logo.sed		\
+	chrome.sed		\
+	chrome-it.sed		\
+	chrome2.sed		\
+	ds-logo.sed		\
+	frozen-text.sed		\
+	hds-logo.sed		\
+	neon.sed		\
+	sphere.sed		\
 	beavis.jpg
 
 EXTRA_DIST = $(scriptdata_DATA)
@@ -79,7 +79,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
 
@@ -87,17 +87,18 @@
 	cd $(top_builddir) \
 	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
 
-
 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
 
@@ -184,3 +184,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},' $< > $@
--- plug-ins/script-fu/scripts/chrome-it.scm.orig	Wed Feb 26 22:51:31 1997
+++ plug-ins/script-fu/scripts/chrome-it.scm	Fri Feb 28 09:01:38 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	Wed Feb 26 20:57:57 1997
+++ plug-ins/script-fu/scripts/chrome2.scm	Fri Feb 28 09:01:38 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\"")
OpenPOWER on IntegriCloud