/[pkgs]/devel/ghostscript/ghostscript-gs-executable.patch
ViewVC logotype

Contents of /devel/ghostscript/ghostscript-gs-executable.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download) (as text)
Mon Aug 3 17:27:32 2009 UTC (3 months, 3 weeks ago) by twaugh
Branch: MAIN
CVS Tags: F-12-split, ghostscript-8_70-2_fc13, ghostscript-8_70-1_fc12, HEAD
Changes since 1.1: +76 -67 lines
File MIME type: text/x-patch
* Mon Aug  3 2009 Tim Waugh <twaugh@redhat.com> 8.70-1
- 8.70.
- License has changed to GPLv3+.  Packages containing programs that
  link to libgs/libijs are:
  - foomatic (GPLv2+)
  - libspectre (GPLv2+)
  - ImageMagick (ImageMagick, listed on Licensing wiki page under
    "Good Licenses" and marked as GPLv3 compat)
  - gutenprint (GPLv2+)
1 diff -up ghostscript-8.70/lib/bdftops.gs-executable ghostscript-8.70/lib/bdftops
2 --- ghostscript-8.70/lib/bdftops.gs-executable 2007-07-05 20:04:29.000000000 +0100
3 +++ ghostscript-8.70/lib/bdftops 2009-08-03 17:53:20.569875831 +0100
4 @@ -6,8 +6,7 @@
5 GS_EXECUTABLE=gs
6 gs="`dirname $0`/$GS_EXECUTABLE"
7 if test ! -x "$gs"; then
8 - gs="$GS_EXECUTABLE"
9 + gs="$gs"
10 fi
11 -GS_EXECUTABLE="$gs"
12
13 -exec "$GS_EXECUTABLE" -q -dBATCH -dNODISPLAY -- bdftops.ps "$@"
14 +exec "$gs" -q -dBATCH -dNODISPLAY -- bdftops.ps "$@"
15 diff -up ghostscript-8.70/lib/dumphint.gs-executable ghostscript-8.70/lib/dumphint
16 --- ghostscript-8.70/lib/dumphint.gs-executable 2009-01-04 20:11:57.000000000 +0000
17 +++ ghostscript-8.70/lib/dumphint 2009-08-03 17:53:20.570875283 +0100
18 @@ -7,9 +7,8 @@
19 GS_EXECUTABLE=gs
20 gs="`dirname $0`/$GS_EXECUTABLE"
21 if test ! -x "$gs"; then
22 - gs="$GS_EXECUTABLE"
23 + gs="$gs"
24 fi
25 -GS_EXECUTABLE="$gs"
26
27
28 OPTIONS="-dSAFER -dDELAYSAFER"
29 @@ -27,4 +26,4 @@ if [ $# -ne 1 ]; then
30 exit 1
31 fi
32
33 -exec "$GS_EXECUTABLE" -q -dNODISPLAY $OPTIONS -- "`dirname $0`/dumphint.ps" "$1"
34 +exec "$gs" -q -dNODISPLAY $OPTIONS -- "`dirname $0`/dumphint.ps" "$1"
35 diff -up ghostscript-8.70/lib/eps2eps.gs-executable ghostscript-8.70/lib/eps2eps
36 --- ghostscript-8.70/lib/eps2eps.gs-executable 2009-01-10 22:11:18.000000000 +0000
37 +++ ghostscript-8.70/lib/eps2eps 2009-08-03 17:53:20.573877995 +0100
38 @@ -7,9 +7,8 @@
39 GS_EXECUTABLE=gs
40 gs="`dirname $0`/$GS_EXECUTABLE"
41 if test ! -x "$gs"; then
42 - gs="$GS_EXECUTABLE"
43 + gs="$gs"
44 fi
45 -GS_EXECUTABLE="$gs"
46
47 OPTIONS="-dDEVICEWIDTH=250000 -dDEVICEHEIGHT=250000"
48 while true
49 @@ -26,4 +25,4 @@ if [ $# -ne 2 ]; then
50 exit 1
51 fi
52
53 -exec "$GS_EXECUTABLE" -q -sDEVICE=epswrite -sstdout=%stderr "-sOutputFile=$2" -dNOPAUSE -dBATCH -dSAFER $OPTIONS "$1"
54 +exec "$gs" -q -sDEVICE=epswrite -sstdout=%stderr "-sOutputFile=$2" -dNOPAUSE -dBATCH -dSAFER $OPTIONS "$1"
55 diff -up ghostscript-8.70/lib/font2c.gs-executable ghostscript-8.70/lib/font2c
56 --- ghostscript-8.70/lib/font2c.gs-executable 2007-07-05 20:04:29.000000000 +0100
57 +++ ghostscript-8.70/lib/font2c 2009-08-03 17:53:20.576874823 +0100
58 @@ -6,8 +6,7 @@
59 GS_EXECUTABLE=gs
60 gs="`dirname $0`/$GS_EXECUTABLE"
61 if test ! -x "$gs"; then
62 - gs="$GS_EXECUTABLE"
63 + gs="$gs"
64 fi
65 -GS_EXECUTABLE="$gs"
66
67 -exec "$GS_EXECUTABLE" -q -dNODISPLAY -dWRITESYSTEMDICT -- font2c.ps "$@"
68 +exec "$gs" -q -dNODISPLAY -dWRITESYSTEMDICT -- font2c.ps "$@"
69 diff -up ghostscript-8.70/lib/gsbj.gs-executable ghostscript-8.70/lib/gsbj
70 --- ghostscript-8.70/lib/gsbj.gs-executable 2007-07-05 20:04:29.000000000 +0100
71 +++ ghostscript-8.70/lib/gsbj 2009-08-03 17:53:20.579874829 +0100
72 @@ -6,8 +6,7 @@
73 GS_EXECUTABLE=gs
74 gs="`dirname $0`/$GS_EXECUTABLE"
75 if test ! -x "$gs"; then
76 - gs="$GS_EXECUTABLE"
77 + gs="$gs"
78 fi
79 -GS_EXECUTABLE="$gs"
80
81 -exec "$GS_EXECUTABLE" -q -sDEVICE=bj10e -r180 -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
82 +exec "$gs" -q -sDEVICE=bj10e -r180 -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
83 diff -up ghostscript-8.70/lib/gsdj500.gs-executable ghostscript-8.70/lib/gsdj500
84 --- ghostscript-8.70/lib/gsdj500.gs-executable 2007-07-05 20:04:29.000000000 +0100
85 +++ ghostscript-8.70/lib/gsdj500 2009-08-03 17:53:20.582874574 +0100
86 @@ -6,8 +6,7 @@
87 GS_EXECUTABLE=gs
88 gs="`dirname $0`/$GS_EXECUTABLE"
89 if test ! -x "$gs"; then
90 - gs="$GS_EXECUTABLE"
91 + gs="$gs"
92 fi
93 -GS_EXECUTABLE="$gs"
94
95 -exec "$GS_EXECUTABLE" -q -sDEVICE=djet500 -r300 -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
96 +exec "$gs" -q -sDEVICE=djet500 -r300 -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
97 diff -up ghostscript-8.70/lib/gsdj.gs-executable ghostscript-8.70/lib/gsdj
98 --- ghostscript-8.70/lib/gsdj.gs-executable 2007-07-05 20:04:29.000000000 +0100
99 +++ ghostscript-8.70/lib/gsdj 2009-08-03 17:53:20.585875161 +0100
100 @@ -6,8 +6,7 @@
101 GS_EXECUTABLE=gs
102 gs="`dirname $0`/$GS_EXECUTABLE"
103 if test ! -x "$gs"; then
104 - gs="$GS_EXECUTABLE"
105 + gs="$gs"
106 fi
107 -GS_EXECUTABLE="$gs"
108
109 -exec "$GS_EXECUTABLE" -q -sDEVICE=deskjet -r300 -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
110 +exec "$gs" -q -sDEVICE=deskjet -r300 -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
111 diff -up ghostscript-8.70/lib/gslj.gs-executable ghostscript-8.70/lib/gslj
112 --- ghostscript-8.70/lib/gslj.gs-executable 2007-07-05 20:04:29.000000000 +0100
113 +++ ghostscript-8.70/lib/gslj 2009-08-03 17:53:20.588874966 +0100
114 @@ -6,8 +6,7 @@
115 GS_EXECUTABLE=gs
116 gs="`dirname $0`/$GS_EXECUTABLE"
117 if test ! -x "$gs"; then
118 - gs="$GS_EXECUTABLE"
119 + gs="$gs"
120 fi
121 -GS_EXECUTABLE="$gs"
122
123 -exec "$GS_EXECUTABLE" -q -sDEVICE=laserjet -r300 -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
124 +exec "$gs" -q -sDEVICE=laserjet -r300 -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
125 diff -up ghostscript-8.70/lib/gslp.gs-executable ghostscript-8.70/lib/gslp
126 --- ghostscript-8.70/lib/gslp.gs-executable 2007-07-05 20:04:29.000000000 +0100
127 +++ ghostscript-8.70/lib/gslp 2009-08-03 17:53:20.591874666 +0100
128 @@ -6,8 +6,7 @@
129 GS_EXECUTABLE=gs
130 gs="`dirname $0`/$GS_EXECUTABLE"
131 if test ! -x "$gs"; then
132 - gs="$GS_EXECUTABLE"
133 + gs="$gs"
134 fi
135 -GS_EXECUTABLE="$gs"
136
137 -exec "$GS_EXECUTABLE" -q -sDEVICE=epson -r180 -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
138 +exec "$gs" -q -sDEVICE=epson -r180 -dNOPAUSE -sPROGNAME=$0 -- gslp.ps --heading-center "`date`" "$@"
139 diff -up ghostscript-8.70/lib/gsnd.gs-executable ghostscript-8.70/lib/gsnd
140 --- ghostscript-8.70/lib/gsnd.gs-executable 2007-07-05 20:04:29.000000000 +0100
141 +++ ghostscript-8.70/lib/gsnd 2009-08-03 17:53:20.594874682 +0100
142 @@ -6,8 +6,7 @@
143 GS_EXECUTABLE=gs
144 gs="`dirname $0`/$GS_EXECUTABLE"
145 if test ! -x "$gs"; then
146 - gs="$GS_EXECUTABLE"
147 + gs="$gs"
148 fi
149 -GS_EXECUTABLE="$gs"
150
151 -exec "$GS_EXECUTABLE" -dNODISPLAY "$@"
152 +exec "$gs" -dNODISPLAY "$@"
153 diff -up ghostscript-8.70/lib/pdf2dsc.gs-executable ghostscript-8.70/lib/pdf2dsc
154 --- ghostscript-8.70/lib/pdf2dsc.gs-executable 2007-07-05 20:04:29.000000000 +0100
155 +++ ghostscript-8.70/lib/pdf2dsc 2009-08-03 17:53:20.597874954 +0100
156 @@ -11,9 +11,8 @@
157 GS_EXECUTABLE=gs
158 gs="`dirname $0`/$GS_EXECUTABLE"
159 if test ! -x "$gs"; then
160 - gs="$GS_EXECUTABLE"
161 + gs="$gs"
162 fi
163 -GS_EXECUTABLE="$gs"
164
165 me=`basename $0`
166
167 @@ -31,5 +30,5 @@ pdffile=$1
168 dscfile=$2
169 : ${dscfile:=`echo $pdffile | sed 's,\.[^/.]*,,'`.dsc}
170
171 -exec "$GS_EXECUTABLE" -q -dNODISPLAY -dSAFER -dDELAYSAFER\
172 +exec "$gs" -q -dNODISPLAY -dSAFER -dDELAYSAFER\
173 -sPDFname="$pdffile" -sDSCname="$dscfile" pdf2dsc.ps -c quit
174 diff -up ghostscript-8.70/lib/pdf2ps.gs-executable ghostscript-8.70/lib/pdf2ps
175 --- ghostscript-8.70/lib/pdf2ps.gs-executable 2007-07-05 20:04:29.000000000 +0100
176 +++ ghostscript-8.70/lib/pdf2ps 2009-08-03 17:53:20.601874677 +0100
177 @@ -7,9 +7,8 @@
178 GS_EXECUTABLE=gs
179 gs="`dirname $0`/$GS_EXECUTABLE"
180 if test ! -x "$gs"; then
181 - gs="$GS_EXECUTABLE"
182 + gs="$gs"
183 fi
184 -GS_EXECUTABLE="$gs"
185
186 OPTIONS=""
187 while true
188 @@ -35,4 +34,4 @@ fi
189 # Doing an initial 'save' helps keep fonts from being flushed between pages.
190 # We have to include the options twice because -I only takes effect if it
191 # appears before other options.
192 -exec "$GS_EXECUTABLE" $OPTIONS -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pswrite "-sOutputFile=$outfile" $OPTIONS -c save pop -f "$1"
193 +exec "$gs" $OPTIONS -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pswrite "-sOutputFile=$outfile" $OPTIONS -c save pop -f "$1"
194 diff -up ghostscript-8.70/lib/pdfopt.gs-executable ghostscript-8.70/lib/pdfopt
195 --- ghostscript-8.70/lib/pdfopt.gs-executable 2008-05-25 03:17:14.000000000 +0100
196 +++ ghostscript-8.70/lib/pdfopt 2009-08-03 17:53:20.604874898 +0100
197 @@ -7,9 +7,8 @@
198 GS_EXECUTABLE=gs
199 gs="`dirname $0`/$GS_EXECUTABLE"
200 if test ! -x "$gs"; then
201 - gs="$GS_EXECUTABLE"
202 + gs="$gs"
203 fi
204 -GS_EXECUTABLE="$gs"
205
206 OPTIONS="-dSAFER -dDELAYSAFER"
207 while true
208 @@ -26,4 +25,4 @@ if [ $# -ne 2 ]; then
209 exit 1
210 fi
211
212 -exec "$GS_EXECUTABLE" -q -dNODISPLAY $OPTIONS -- pdfopt.ps "$1" "$2"
213 +exec "$gs" -q -dNODISPLAY $OPTIONS -- pdfopt.ps "$1" "$2"
214 diff -up ghostscript-8.70/lib/pf2afm.gs-executable ghostscript-8.70/lib/pf2afm
215 --- ghostscript-8.70/lib/pf2afm.gs-executable 2007-07-05 20:04:29.000000000 +0100
216 +++ ghostscript-8.70/lib/pf2afm 2009-08-03 17:53:20.608874740 +0100
217 @@ -10,8 +10,7 @@
218 GS_EXECUTABLE=gs
219 gs="`dirname $0`/$GS_EXECUTABLE"
220 if test ! -x "$gs"; then
221 - gs="$GS_EXECUTABLE"
222 + gs="$gs"
223 fi
224 -GS_EXECUTABLE="$gs"
225
226 -exec "$GS_EXECUTABLE" -q -dNODISPLAY -dSAFER -dDELAYSAFER -- pf2afm.ps "$@"
227 +exec "$gs" -q -dNODISPLAY -dSAFER -dDELAYSAFER -- pf2afm.ps "$@"
228 diff -up ghostscript-8.70/lib/pfbtopfa.gs-executable ghostscript-8.70/lib/pfbtopfa
229 --- ghostscript-8.70/lib/pfbtopfa.gs-executable 2007-07-05 20:04:29.000000000 +0100
230 +++ ghostscript-8.70/lib/pfbtopfa 2009-08-03 17:53:20.612874691 +0100
231 @@ -7,9 +7,8 @@
232 GS_EXECUTABLE=gs
233 gs="`dirname $0`/$GS_EXECUTABLE"
234 if test ! -x "$gs"; then
235 - gs="$GS_EXECUTABLE"
236 + gs="$gs"
237 fi
238 -GS_EXECUTABLE="$gs"
239
240 if [ $# -eq 2 ]
241 then
242 @@ -22,4 +21,4 @@ else
243 exit 1
244 fi
245
246 -exec "$GS_EXECUTABLE" -q -dNODISPLAY -- pfbtopfa.ps "$1" "$outfile"
247 +exec "$gs" -q -dNODISPLAY -- pfbtopfa.ps "$1" "$outfile"
248 diff -up ghostscript-8.70/lib/pphs.gs-executable ghostscript-8.70/lib/pphs
249 --- ghostscript-8.70/lib/pphs.gs-executable 2007-07-05 20:04:29.000000000 +0100
250 +++ ghostscript-8.70/lib/pphs 2009-08-03 17:53:20.616874647 +0100
251 @@ -9,8 +9,7 @@
252 GS_EXECUTABLE=gs
253 gs="`dirname $0`/$GS_EXECUTABLE"
254 if test ! -x "$gs"; then
255 - gs="$GS_EXECUTABLE"
256 + gs="$gs"
257 fi
258 -GS_EXECUTABLE="$gs"
259
260 -exec "$GS_EXECUTABLE" -q -dNODISPLAY -- pphs.ps "$@"
261 +exec "$gs" -q -dNODISPLAY -- pphs.ps "$@"
262 diff -up ghostscript-8.70/lib/printafm.gs-executable ghostscript-8.70/lib/printafm
263 --- ghostscript-8.70/lib/printafm.gs-executable 2007-07-05 20:04:29.000000000 +0100
264 +++ ghostscript-8.70/lib/printafm 2009-08-03 17:53:20.619874766 +0100
265 @@ -9,8 +9,7 @@
266 GS_EXECUTABLE=gs
267 gs="`dirname $0`/$GS_EXECUTABLE"
268 if test ! -x "$gs"; then
269 - gs="$GS_EXECUTABLE"
270 + gs="$gs"
271 fi
272 -GS_EXECUTABLE="$gs"
273
274 -exec "$GS_EXECUTABLE" -q -dNODISPLAY -- printafm.ps "$@"
275 +exec "$gs" -q -dNODISPLAY -- printafm.ps "$@"
276 diff -up ghostscript-8.70/lib/ps2epsi.gs-executable ghostscript-8.70/lib/ps2epsi
277 --- ghostscript-8.70/lib/ps2epsi.gs-executable 2009-04-07 11:20:02.000000000 +0100
278 +++ ghostscript-8.70/lib/ps2epsi 2009-08-03 17:54:48.355750266 +0100
279 @@ -6,9 +6,8 @@
280 GS_EXECUTABLE=gs
281 gs="`dirname $0`/$GS_EXECUTABLE"
282 if test ! -x "$gs"; then
283 - gs="$GS_EXECUTABLE"
284 + gs="$gs"
285 fi
286 -GS_EXECUTABLE="$gs"
287
288 # try to create a temporary file securely
289 if test -z "$TMPDIR"; then
290 @@ -50,7 +49,7 @@ else
291 outfile=$2
292 fi
293
294 -"$GS_EXECUTABLE" -q -dBATCH -dNOPAUSE -dSAFER -dDELAYSAFER -sDEVICE=bbox -sOutputFile=/dev/null "${infile}" 2>${outfile}
295 +"$gs" -q -dBATCH -dNOPAUSE -dSAFER -dDELAYSAFER -sDEVICE=bbox -sOutputFile=/dev/null "${infile}" 2>${outfile}
296
297 ls -l "${infile}" |
298 awk 'F==1 {
299 @@ -92,7 +91,7 @@ awk 'F==1 {
300 }
301 ' F=1 - F=2 "${outfile}" >>"$tmpfile"
302
303 -"$GS_EXECUTABLE" -q -dNOPAUSE -dSAFER -dDELAYSAFER -r72 -sDEVICE=bit -sOutputFile=/dev/null "$tmpfile" ps2epsi.ps "$tmpfile" <"${infile}" 1>&2
304 +"$gs" -q -dNOPAUSE -dSAFER -dDELAYSAFER -r72 -sDEVICE=bit -sOutputFile=/dev/null "$tmpfile" ps2epsi.ps "$tmpfile" <"${infile}" 1>&2
305 rm -f "$tmpfile"
306 rm -rf "$tmpdir"
307
308 diff -up ghostscript-8.70/lib/ps2pdfwr.gs-executable ghostscript-8.70/lib/ps2pdfwr
309 --- ghostscript-8.70/lib/ps2pdfwr.gs-executable 2009-01-10 22:11:18.000000000 +0000
310 +++ ghostscript-8.70/lib/ps2pdfwr 2009-08-03 17:53:20.626874926 +0100
311 @@ -7,9 +7,8 @@
312 GS_EXECUTABLE=gs
313 gs="`dirname $0`/$GS_EXECUTABLE"
314 if test ! -x "$gs"; then
315 - gs="$GS_EXECUTABLE"
316 + gs="$gs"
317 fi
318 -GS_EXECUTABLE="$gs"
319
320 OPTIONS="-dSAFER"
321 while true
322 @@ -42,4 +41,4 @@ fi
323
324 # We have to include the options twice because -I only takes effect if it
325 # appears before other options.
326 -exec "$GS_EXECUTABLE" $OPTIONS -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sstdout=%stderr "-sOutputFile=$outfile" $OPTIONS -c .setpdfwrite -f "$infile"
327 +exec "$gs" $OPTIONS -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sstdout=%stderr "-sOutputFile=$outfile" $OPTIONS -c .setpdfwrite -f "$infile"
328 diff -up ghostscript-8.70/lib/ps2ps.gs-executable ghostscript-8.70/lib/ps2ps
329 --- ghostscript-8.70/lib/ps2ps.gs-executable 2009-01-10 22:11:18.000000000 +0000
330 +++ ghostscript-8.70/lib/ps2ps 2009-08-03 17:53:20.630875037 +0100
331 @@ -7,9 +7,8 @@
332 GS_EXECUTABLE=gs
333 gs="`dirname $0`/$GS_EXECUTABLE"
334 if test ! -x "$gs"; then
335 - gs="$GS_EXECUTABLE"
336 + gs="$gs"
337 fi
338 -GS_EXECUTABLE="$gs"
339
340 OPTIONS="-dSAFER"
341 while true
342 @@ -27,4 +26,4 @@ if [ $# -ne 2 ]; then
343 exit 1
344 fi
345
346 -exec "$GS_EXECUTABLE" -q -sDEVICE=pswrite -sstdout=%stderr "-sOutputFile=$2" -dNOPAUSE -dBATCH $OPTIONS "$1"
347 +exec "$gs" -q -sDEVICE=pswrite -sstdout=%stderr "-sOutputFile=$2" -dNOPAUSE -dBATCH $OPTIONS "$1"
348 diff -up ghostscript-8.70/lib/wftopfa.gs-executable ghostscript-8.70/lib/wftopfa
349 --- ghostscript-8.70/lib/wftopfa.gs-executable 2007-07-05 20:04:29.000000000 +0100
350 +++ ghostscript-8.70/lib/wftopfa 2009-08-03 17:53:20.633874780 +0100
351 @@ -6,8 +6,7 @@
352 GS_EXECUTABLE=gs
353 gs="`dirname $0`/$GS_EXECUTABLE"
354 if test ! -x "$gs"; then
355 - gs="$GS_EXECUTABLE"
356 + gs="$gs"
357 fi
358 -GS_EXECUTABLE="$gs"
359
360 -exec "$GS_EXECUTABLE" -q -dNODISPLAY -- wftopfa.ps "$@"
361 +exec "$gs" -q -dNODISPLAY -- wftopfa.ps "$@"

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2