diff options
author | Bart Verwilst <verwilst@gentoo.org> | 2002-07-05 00:03:31 +0000 |
---|---|---|
committer | Bart Verwilst <verwilst@gentoo.org> | 2002-07-05 00:03:31 +0000 |
commit | d7d924d52283a37404e85293b9b33a96d8195e6a (patch) | |
tree | f3aaddedfce7609f6ff84a5b32bdf9400865dccb /app-text/ghostscript/files | |
parent | new revision, fixes bug #2799 (diff) | |
download | historical-d7d924d52283a37404e85293b9b33a96d8195e6a.tar.gz historical-d7d924d52283a37404e85293b9b33a96d8195e6a.tar.bz2 historical-d7d924d52283a37404e85293b9b33a96d8195e6a.zip |
fixes #3062, + cleanups
Diffstat (limited to 'app-text/ghostscript/files')
9 files changed, 0 insertions, 257 deletions
diff --git a/app-text/ghostscript/files/digest-ghostscript-6.53-r2 b/app-text/ghostscript/files/digest-ghostscript-6.53-r2 deleted file mode 100644 index 1541c6b91453..000000000000 --- a/app-text/ghostscript/files/digest-ghostscript-6.53-r2 +++ /dev/null @@ -1,4 +0,0 @@ -MD5 fc61954bddd6252f992b8bc1f4cc8761 ghostscript-6.53.tar.bz2 3899811 -MD5 8250132d6fcc6eb1419f505f06c7690b ghostscript-fonts-std-6.0.tar.gz 1881034 -MD5 62f59f0bf0b4d2843cc9953f3b4f894f gimp-print-4.2.1.tar.gz 4691313 -MD5 dbd5f3b47ed13132f04c685d608a7547 jpegsrc.v6b.tar.gz 613261 diff --git a/app-text/ghostscript/files/digest-ghostscript-7.05 b/app-text/ghostscript/files/digest-ghostscript-7.05 deleted file mode 100644 index 6bf899394224..000000000000 --- a/app-text/ghostscript/files/digest-ghostscript-7.05 +++ /dev/null @@ -1,4 +0,0 @@ -MD5 821caada7e265ea5b698a78e6b029734 ghostscript-7.05.tar.bz2 4103119 -MD5 8250132d6fcc6eb1419f505f06c7690b ghostscript-fonts-std-6.0.tar.gz 1881034 -MD5 33457d3f37de7ef03d2eea05a9e6aa4f gnu-gs-fonts-other-6.0.tar.gz 796086 -MD5 ec11b9ef72ecaabb61eeba27e93f9f2b lxm3200-0.4.1-gs5.50-src.tar.gz 37283 diff --git a/app-text/ghostscript/files/digest-ghostscript-7.05-r1 b/app-text/ghostscript/files/digest-ghostscript-7.05-r1 deleted file mode 100644 index 5328062a505f..000000000000 --- a/app-text/ghostscript/files/digest-ghostscript-7.05-r1 +++ /dev/null @@ -1,5 +0,0 @@ -MD5 821caada7e265ea5b698a78e6b029734 ghostscript-7.05.tar.bz2 4103119 -MD5 8250132d6fcc6eb1419f505f06c7690b ghostscript-fonts-std-6.0.tar.gz 1881034 -MD5 33457d3f37de7ef03d2eea05a9e6aa4f gnu-gs-fonts-other-6.0.tar.gz 796086 -MD5 ec11b9ef72ecaabb61eeba27e93f9f2b lxm3200-0.4.1-gs5.50-src.tar.gz 37283 -MD5 971a14d35f61ea19871616f437e199a2 cups-1.1.15-1-source.tar.bz2 2962392 diff --git a/app-text/ghostscript/files/ghostscript-6.53-gdi-gentoo.diff b/app-text/ghostscript/files/ghostscript-6.53-gdi-gentoo.diff deleted file mode 100644 index b24468727e28..000000000000 --- a/app-text/ghostscript/files/ghostscript-6.53-gdi-gentoo.diff +++ /dev/null @@ -1,32 +0,0 @@ ---- ghostscript-6.53/src/devs.mak_orig 2002-03-07 09:59:27.000000000 +0100 -+++ ghostscript-6.53/src/devs.mak 2002-03-07 10:32:11.000000000 +0100 -@@ -618,6 +618,18 @@ - $(gdevpxat_h) $(gdevpxen_h) $(gdevpxop_h) $(gdevpxut_h) $(stream_h) - $(GLCC) $(GLO_)gdevlj56.$(OBJ) $(C_) $(GLSRC)gdevlj56.c - -+### ---------------- The Samsung SmartGDI laser printer devices --------- ### -+### Note : this driver is used by Samsung SmartGDI compatible printers. ### -+### -+ -+GDIMONO=$(GLOBJ)gdevgdi.$(OBJ) $(HPPCL) -+ -+$(GLOBJ)gdevgdi.$(OBJ): $(GLSRC)gdevgdi.c $(PDEVH) $(gdevpcl_h) -+ $(GLCC) $(GLO_)gdevgdi.$(OBJ) $(C_) $(GLSRC)gdevgdi.c -+ -+$(DD)gdi.dev: $(GDIMONO) $(DD)page.dev -+ $(SETPDEV) $(DD)gdi $(GDIMONO) -+ - ### -------------------- The ijs client ----------------- ### - - ijs_=$(GLOBJ)gdevijs.$(OBJ) $(IJSOBJ)ijs.$(OBJ) $(IJSOBJ)ijs_client.$(OBJ) \ ---- ghostscript-6.53/src/unix-gcc.mak_orig 2002-03-07 10:01:15.000000000 +0100 -+++ ghostscript-6.53/src/unix-gcc.mak 2002-03-07 10:02:28.000000000 +0100 -@@ -395,7 +395,7 @@ - - DEVICE_DEVS1=$(DD)bmpmono.dev $(DD)bmpgray.dev $(DD)bmpsep1.dev $(DD)bmpsep8.dev $(DD)bmp16.dev $(DD)bmp256.dev $(DD)bmp16m.dev $(DD)bmp32b.dev - DEVICE_DEVS2= --DEVICE_DEVS3=$(DD)deskjet.dev $(DD)djet500.dev $(DD)laserjet.dev $(DD)ljetplus.dev $(DD)ljet2p.dev $(DD)ljet3.dev $(DD)ljet3d.dev $(DD)ljet4.dev $(DD)ljet4d.dev $(DD)lj5mono.dev $(DD)lj5gray.dev -+DEVICE_DEVS3=$(DD)deskjet.dev $(DD)djet500.dev $(DD)laserjet.dev $(DD)ljetplus.dev $(DD)ljet2p.dev $(DD)ljet3.dev $(DD)ljet3d.dev $(DD)ljet4.dev $(DD)ljet4d.dev $(DD)lj5mono.dev $(DD)lj5gray.dev $(DD)gdi.dev - DEVICE_DEVS4=$(DD)cdeskjet.dev $(DD)cdjcolor.dev $(DD)cdjmono.dev $(DD)cdj550.dev $(DD)pj.dev $(DD)pjxl.dev $(DD)pjxl300.dev - DEVICE_DEVS5=$(DD)uniprint.dev $(DD)ijs.dev - DEVICE_DEVS6=$(DD)bj10e.dev $(DD)bj200.dev $(DD)bjc600.dev $(DD)bjc800.dev diff --git a/app-text/ghostscript/files/ghostscript-6.53-gimpprint-gentoo.diff b/app-text/ghostscript/files/ghostscript-6.53-gimpprint-gentoo.diff deleted file mode 100644 index d77cc94230ec..000000000000 --- a/app-text/ghostscript/files/ghostscript-6.53-gimpprint-gentoo.diff +++ /dev/null @@ -1,12 +0,0 @@ ---- ghostscript-6.53/src/unixlink.mak_orig 2002-03-07 13:40:11.000000000 +0100 -+++ ghostscript-6.53/src/unixlink.mak 2002-03-07 13:40:22.000000000 +0100 -@@ -67,6 +67,9 @@ - $(ECHOGS_XE) -w $(ldt_tr) -n - $(CCLD) $(LDFLAGS) -o $(GS_XE) - $(ECHOGS_XE) -a $(ldt_tr) -n -s $(PSOBJ)gs.$(OBJ) -s - cat $(ld_tr) >>$(ldt_tr) -+ cp $(ldt_tr) $(ldt_tr)_orig -+ sed -e "s#-lXt#-L${BUILD_PREFIX}/ghostscript-6.53-r1/work/gimp-print-4.2.0/src/main/.libs/ -lgimpprint -lXt#g" \ -+ $(ldt_tr)_orig > $(ldt_tr) - $(ECHOGS_XE) -a $(ldt_tr) -s - $(EXTRALIBS) $(STDLIBS) - if [ x$(XLIBDIR) != x ]; then LD_RUN_PATH=$(XLIBDIR); export LD_RUN_PATH; fi; \ - XCFLAGS= XINCLUDE= XLDFLAGS= XLIBDIRS= XLIBS= \ diff --git a/app-text/ghostscript/files/ghostscript-6.53-hpdj_margins.patch b/app-text/ghostscript/files/ghostscript-6.53-hpdj_margins.patch deleted file mode 100644 index 81f75b08a258..000000000000 --- a/app-text/ghostscript/files/ghostscript-6.53-hpdj_margins.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff -ur ghostscript-6.53.orig/src/gdevijs.c ghostscript-6.53/src/gdevijs.c ---- ghostscript-6.53.orig/src/gdevijs.c 2002-04-28 13:10:09.000000000 -0500 -+++ ghostscript-6.53/src/gdevijs.c 2002-04-28 13:10:46.000000000 -0500 -@@ -401,10 +401,10 @@ - - if (code == 0) { - m[0] = printable_left; -- m[1] = printable_top; -+ m[3] = printable_top; - m[2] = ijsdev->MediaSize[0] * (1.0 / 72) - - printable_left - printable_width; -- m[3] = ijsdev->MediaSize[1] * (1.0 / 72) - -+ m[1] = ijsdev->MediaSize[1] * (1.0 / 72) - - printable_top - printable_height; - gx_device_set_margins((gx_device *)ijsdev, m, true); - sprintf (buf, "%gx%g", printable_left, printable_top); diff --git a/app-text/ghostscript/files/ghostscript-6.53-missquotes.patch b/app-text/ghostscript/files/ghostscript-6.53-missquotes.patch deleted file mode 100644 index 9370f85ba998..000000000000 --- a/app-text/ghostscript/files/ghostscript-6.53-missquotes.patch +++ /dev/null @@ -1,90 +0,0 @@ -diff -Nur gs7.00.orig/lib/dvipdf gs7.00/lib/dvipdf ---- gs7.00.orig/lib/dvipdf Thu Mar 9 09:40:39 2000 -+++ gs7.00/lib/dvipdf Sun Apr 15 23:31:36 2001 -@@ -22,7 +22,7 @@ - exit 1 - fi - --infile=$1; -+infile="$1"; - - if [ $# -eq 1 ] - then -@@ -33,7 +33,7 @@ - esac - outfile="${base}.pdf" - else -- outfile=$2 -+ outfile="$2" - fi - - # Doing an initial 'save' helps keep fonts from being flushed between pages. -diff -Nur gs7.00.orig/lib/pdf2dsc gs7.00/lib/pdf2dsc ---- gs7.00.orig/lib/pdf2dsc Fri Dec 29 06:03:49 2000 -+++ gs7.00/lib/pdf2dsc Sun Apr 15 23:32:43 2001 -@@ -20,7 +20,7 @@ - - pdffile=$1 - dscfile=$2 --: ${dscfile:=`echo $pdffile | sed 's,\.[^/.]*,,'`.dsc} -+: ${dscfile:=`echo "$pdffile" | sed 's,\.[^/.]*,,'`.dsc} - - exec gs -q -dNODISPLAY -dSAFER -dDELAYSAFER\ - -sPDFname="$pdffile" -sDSCname="$dscfile" pdf2dsc.ps -c quit -diff -Nur gs7.00.orig/lib/pdf2ps gs7.00/lib/pdf2ps ---- gs7.00.orig/lib/pdf2ps Fri May 19 08:38:25 2000 -+++ gs7.00/lib/pdf2ps Sun Apr 15 23:33:20 2001 -@@ -14,7 +14,7 @@ - - if [ $# -eq 2 ] - then -- outfile=$2 -+ outfile="$2" - elif [ $# -eq 1 ] - then - outfile=`basename "$1" \.pdf`.ps -diff -Nur gs7.00.orig/lib/pfbtopfa gs7.00/lib/pfbtopfa ---- gs7.00.orig/lib/pfbtopfa Wed Apr 12 19:41:41 2000 -+++ gs7.00/lib/pfbtopfa Sun Apr 15 23:33:52 2001 -@@ -4,7 +4,7 @@ - - if [ $# -eq 2 ] - then -- outfile=$2 -+ outfile="$2" - elif [ $# -eq 1 ] - then - outfile=`basename "$1" \.pfb`.pfa -diff -Nur gs7.00.orig/lib/ps2epsi gs7.00/lib/ps2epsi ---- gs7.00.orig/lib/ps2epsi Wed Apr 4 23:05:00 2001 -+++ gs7.00/lib/ps2epsi Sun Apr 15 23:36:15 2001 -@@ -1,7 +1,7 @@ - #!/bin/sh - # $Id: ghostscript-6.53-missquotes.patch,v 1.1 2002/04/28 18:40:09 jnelson Exp $ - --tmpfile=/tmp/ps2epsi$$ -+tmpfile=`mktemp /tmp/$0.XXXXXX` || exit 1 - - export outfile - -@@ -10,7 +10,7 @@ - exit 1 - fi - --infile=$1; -+infile="$1"; - - if [ $# -eq 1 ] - then -@@ -22,9 +22,9 @@ - *.epsf) base=`basename "${infile}" .epsf` ;; - *) base=`basename "${infile}"` ;; - esac -- outfile=${base}.epsi -+ outfile="${base}.epsi" - else -- outfile=$2 -+ outfile="$2" - fi - - ls -l "${infile}" | diff --git a/app-text/ghostscript/files/ghostscript-6.53-r2-gimpprint-gentoo.diff b/app-text/ghostscript/files/ghostscript-6.53-r2-gimpprint-gentoo.diff deleted file mode 100644 index b99f38d13c8b..000000000000 --- a/app-text/ghostscript/files/ghostscript-6.53-r2-gimpprint-gentoo.diff +++ /dev/null @@ -1,12 +0,0 @@ ---- ghostscript-6.53/src/unixlink.mak_orig 2002-03-07 13:40:11.000000000 +0100 -+++ ghostscript-6.53/src/unixlink.mak 2002-03-07 13:40:22.000000000 +0100 -@@ -67,6 +67,9 @@ - $(ECHOGS_XE) -w $(ldt_tr) -n - $(CCLD) $(LDFLAGS) -o $(GS_XE) - $(ECHOGS_XE) -a $(ldt_tr) -n -s $(PSOBJ)gs.$(OBJ) -s - cat $(ld_tr) >>$(ldt_tr) -+ cp $(ldt_tr) $(ldt_tr)_orig -+ sed -e "s#-lXt#-L${BUILD_PREFIX}/ghostscript-6.53-r2/work/gimp-print-4.2.1/src/main/.libs/ -lgimpprint -lXt#g" \ -+ $(ldt_tr)_orig > $(ldt_tr) - $(ECHOGS_XE) -a $(ldt_tr) -s - $(EXTRALIBS) $(STDLIBS) - if [ x$(XLIBDIR) != x ]; then LD_RUN_PATH=$(XLIBDIR); export LD_RUN_PATH; fi; \ - XCFLAGS= XINCLUDE= XLDFLAGS= XLIBDIRS= XLIBS= \ diff --git a/app-text/ghostscript/files/ghostscript-6.53-setuid.patch b/app-text/ghostscript/files/ghostscript-6.53-setuid.patch deleted file mode 100644 index 09afeee093dd..000000000000 --- a/app-text/ghostscript/files/ghostscript-6.53-setuid.patch +++ /dev/null @@ -1,82 +0,0 @@ ---- gs/src/imainarg.c.orig Mon Dec 6 08:11:52 1999 -+++ gs/src/imainarg.c Thu Mar 30 23:01:34 2000 -@@ -48,6 +48,18 @@ - #include "iutil.h" - #include "ivmspace.h" - -+/* Change by Torsten Landschoff <torsten@debian.org>: -+ * We need to store the original rights when run with setuid so we can -+ * regain privileges when opening the vga library for instance. -+ * -- Thu, 30 Mar 2000 22:47:22 +0200 */ -+ -+#include <unistd.h> -+ -+uid_t privileged_uid; -+gid_t privileged_gid; -+ -+/* --- end change --- */ -+ - /* Import operator procedures */ - extern int zflush(P1(i_ctx_t *)); - extern int zflushpage(P1(i_ctx_t *)); -@@ -127,6 +139,20 @@ - arg_list args; - FILE *stdfiles[3]; - int code; -+ -+ /* Change by Torsten Landschoff <torsten@debian.org>: -+ * We want to give up privileges as soon as possible when running suid. -+ * Right, you would not want to run a piece of software as complex as -+ * Ghostscript with setuid but you need to if you want to use the -+ * svgalib as ordinary user. -+ * -- Thu, 30 Mar 2000 22:46:19 +0200 */ -+ -+ /* save privileges */ -+ privileged_uid = geteuid(); privileged_gid = getegid(); -+ /* give up privileges */ -+ seteuid( getuid() ); setegid( getgid() ); -+ -+ /* --- end change --- */ - - gs_get_real_stdio(stdfiles); - arg_init(&args, (const char **)argv, argc, ---- gs/src/gdevl256.c.orig Mon Jan 11 07:38:07 1999 -+++ gs/src/gdevl256.c Thu Mar 30 23:03:57 2000 -@@ -38,6 +38,17 @@ - #include <vga.h> - #include <vgagl.h> - -+/* Change by Torsten Landschoff <torsten@debian.org>: -+ * I changed imainarg.c to drop privileges as soon as possible when -+ * running setuid. We need to get back elevated rights when we want -+ * to open the vga library. Declare the two variables from imainarg.c -+ * holding the privileges and include unistd.h for user management. -+ * -- Thu, 30 Mar 2000 22:59:53 +0200 */ -+ -+#include <unistd.h> -+extern uid_t privileged_uid; -+extern gid_t privileged_gid; -+ - /* The color map for dynamically assignable colors. */ - #define first_dc_index 64 - private int next_dc_index; -@@ -107,7 +118,19 @@ - int vgamode; - int width, height; - -+ /* Change by Torsten Landschoff <torsten@debian.org>: -+ * We need to restore the privileges we gave up in imainarg.c to open -+ * the vga device. -+ * -- Thu, 30 Mar 2000 23:03:12 +0200 */ -+ -+ /* re-obtain privileges */ -+ seteuid( privileged_uid ); setegid( privileged_gid ); - vga_init(); -+ /* give away privileges */ -+ seteuid( getuid() ); setegid( getgid() ); -+ -+ /* --- end change --- */ -+ - vgamode = vga_getdefaultmode(); - if (vgamode == -1) - vgamode = G320x200x256; |