diff options
Diffstat (limited to 'print/ghostscript7/files')
-rw-r--r-- | print/ghostscript7/files/escputil.contrib.mak | 6 | ||||
-rw-r--r-- | print/ghostscript7/files/hpijs.contrib.mak | 36 | ||||
-rw-r--r-- | print/ghostscript7/files/patch-hpijs:makefile | 32 | ||||
-rw-r--r-- | print/ghostscript7/files/patch-hpijs:platform.h | 13 | ||||
-rw-r--r-- | print/ghostscript7/files/patch-src:unix-gcc.mak | 16 | ||||
-rw-r--r-- | print/ghostscript7/files/stp.contrib.mak | 17 |
6 files changed, 36 insertions, 84 deletions
diff --git a/print/ghostscript7/files/escputil.contrib.mak b/print/ghostscript7/files/escputil.contrib.mak deleted file mode 100644 index b0cea6064968..000000000000 --- a/print/ghostscript7/files/escputil.contrib.mak +++ /dev/null @@ -1,6 +0,0 @@ - -# build escputil command from gimp-print sources - -escputil: $(GLSRC)escputil.c - $(CC_) -o $(GLSRC)escputil $(GLSRC)escputil.c - diff --git a/print/ghostscript7/files/hpijs.contrib.mak b/print/ghostscript7/files/hpijs.contrib.mak index 35eb9e6b06b1..6e94367c778c 100644 --- a/print/ghostscript7/files/hpijs.contrib.mak +++ b/print/ghostscript7/files/hpijs.contrib.mak @@ -1,31 +1,19 @@ -### ------------- Hewlett-Packard Co. Inkjet Driver -------------- ### +### ------------- IJS Interface -------------- ### -hpijs_=$(GLOBJ)gdevhpij.$(OBJ) +ijs_=$(GLOBJ)gdevijs.$(OBJ) $(GLOBJ)ijs_client.$(OBJ) $(GLOBJ)ijs_exec_unix.$(OBJ) $(GLOBJ)ijs.$(OBJ) -$(DD)gdevhpij.$(OBJ): $(GLSRC)gdevhpij.c $(PDEVH) - $(GLCC) $(GLO_)gdevhpij.$(OBJ) $(C_) $(GLSRC)gdevhpij.c +$(GLOBJ)ijs_client.$(OBJ) : $(GLSRC)ijs_client.c $(PDEVH) + $(GLCC) $(GLO_)ijs_client.$(OBJ) $(C_) $(GLSRC)ijs_client.c -$(DD)hpijs.dev : $(hpijs_) $(DD)page.dev - $(SETPDEV) $(DD)hpijs $(hpijs_) +$(GLOBJ)ijs_exec_unix.$(OBJ) : $(GLSRC)ijs_exec_unix.c $(PDEVH) + $(GLCC) $(GLO_)ijs_exec_unix.$(OBJ) $(C_) $(GLSRC)ijs_exec_unix.c -$(DD)DJ630.dev : $(hpijs_) $(DD)page.dev - $(SETPDEV) DJ630 $(hpijs_) +$(GLOBJ)ijs.$(OBJ) : $(GLSRC)ijs.c $(PDEVH) + $(GLCC) $(GLO_)ijs.$(OBJ) $(C_) $(GLSRC)ijs.c -$(DD)DJ6xx.dev : $(hpijs_) $(DD)page.dev - $(SETPDEV) DJ6xx $(hpijs_) +$(GLOBJ)gdevijs.$(OBJ) : $(GLSRC)gdevijs.c $(PDEVH) + $(GLCC) $(GLO_)gdevijs.$(OBJ) $(C_) $(GLSRC)gdevijs.c -$(DD)DJ6xxP.dev : $(hpijs_) $(DD)page.dev - $(SETPDEV) DJ6xxP $(hpijs_) - -$(DD)DJ8xx.dev : $(hpijs_) $(DD)page.dev - $(SETPDEV) DJ8xx $(hpijs_) - -$(DD)DJ9xx.dev : $(hpijs_) $(DD)page.dev - $(SETPDEV) DJ9xx $(hpijs_) - -$(DD)DJ9xxVIP.dev : $(hpijs_) $(DD)page.dev - $(SETPDEV) DJ9xxVIP $(hpijs_) - -$(DD)AP21xx.dev : $(hpijs_) $(DD)page.dev - $(SETPDEV) AP21xx $(hpijs_) +$(DD)ijs.dev : $(ijs_) $(DD)page.dev + $(SETPDEV) $(DD)ijs $(ijs_) diff --git a/print/ghostscript7/files/patch-hpijs:makefile b/print/ghostscript7/files/patch-hpijs:makefile deleted file mode 100644 index 8f53a8202f59..000000000000 --- a/print/ghostscript7/files/patch-hpijs:makefile +++ /dev/null @@ -1,32 +0,0 @@ ---- hpijs/makefile.orig Fri Jun 8 06:10:57 2001 -+++ hpijs/makefile Tue Jul 10 03:09:21 2001 -@@ -1,17 +1,17 @@ --FLAGS = -D_LITTLE_ENDIAN -D_DJ660 -D_DJ6xx -D_DJ6xxPhoto -D_DJ8xx -D_DJ9xx \ -+FLAGS = -D_DJ660 -D_DJ6xx -D_DJ6xxPhoto -D_DJ8xx -D_DJ9xx \ - -D_DJ9xxVIP -D_DJ630 -D_APOLLO2100 -D_DJ600 -D_DJ350 - - VERSION=0.97 - INSTALLDIR=/usr/bin - - --CC = g++ -c -Wall -DVERSION=\"$(VERSION)\" $(FLAGS) -+CXXFLAGS += -DVERSION=\"$(VERSION)\" $(FLAGS) - #CC = g++ -c -g -Wall -DVERSION=\"$(VERSION)\" -DCAPTURE $(FLAGS) - #CC = g++ -c -g -Wall -DVERSION=\"$(VERSION)\" $(FLAGS) - - .cpp.o: - echo "compiling $(<F)" -- $(CC) $(<F) -o $(*F).o -+ $(CXX) $(CXXFLAGS) -c $(<F) -o $(*F).o - - OBJS = hpijs.o models.o breaks_open.o \ - aladdin.o broadway.o capture.o \ -@@ -28,7 +28,7 @@ - - - linkit: $(OBJS) -- g++ $(OBJS) -o hpijs -+ $(CXX) $(OBJS) -o hpijs - - install: - install -m 0755 -s hpijs $(INSTALLDIR) diff --git a/print/ghostscript7/files/patch-hpijs:platform.h b/print/ghostscript7/files/patch-hpijs:platform.h deleted file mode 100644 index 8243385b25b3..000000000000 --- a/print/ghostscript7/files/patch-hpijs:platform.h +++ /dev/null @@ -1,13 +0,0 @@ ---- hpijs/platform.h.orig Wed Oct 3 03:56:37 2001 -+++ hpijs/platform.h Wed Oct 3 04:20:33 2001 -@@ -13,3 +13,10 @@ - #include <string.h> - #include <stdio.h> - #include <math.h> -+ -+#ifdef __FreeBSD__ -+#include <machine/endian.h> -+#if BYTE_ORDER == LITTLE_ENDIAN -+#define _LITTLE_ENDIAN -+#endif -+#endif diff --git a/print/ghostscript7/files/patch-src:unix-gcc.mak b/print/ghostscript7/files/patch-src:unix-gcc.mak index ac8c89578df3..2143001118ad 100644 --- a/print/ghostscript7/files/patch-src:unix-gcc.mak +++ b/print/ghostscript7/files/patch-src:unix-gcc.mak @@ -1,5 +1,5 @@ --- src/unix-gcc.mak.orig Tue Jul 10 12:01:06 2001 -+++ src/unix-gcc.mak Sat Nov 3 05:10:14 2001 ++++ src/unix-gcc.mak Sat Dec 15 04:22:49 2001 @@ -27,14 +27,15 @@ # source, generated intermediate file, and object directories # for the graphics library (GL) and the PostScript/PDF interpreter (PS). @@ -106,21 +106,19 @@ # Define the name of the linker for the final link step. # Normally this is the same as the C compiler. -@@ -216,9 +226,11 @@ +@@ -216,9 +226,9 @@ # We don't include -ansi, because this gets in the way of the platform- # specific stuff that <math.h> typically needs; nevertheless, we expect # gcc to accept ANSI-style function prototypes and function definitions. -XCFLAGS= -+ifdef A4 -+XCFLAGS=-DA4 -+endif ++#XCFLAGS= -CFLAGS=$(CFLAGS_STANDARD) $(GCFLAGS) $(XCFLAGS) +CFLAGS+=$(XCFLAGS) # Define platform flags for ld. # SunOS 4.n may need -Bstatic. -@@ -227,7 +239,7 @@ +@@ -227,7 +237,7 @@ # -R /usr/local/xxx/lib:/usr/local/lib # giving the full path names of the shared library directories. # XLDFLAGS can be set from the command line. @@ -129,7 +127,7 @@ LDFLAGS=$(XLDFLAGS) -fno-common -@@ -260,7 +272,7 @@ +@@ -260,7 +270,7 @@ # Note that x_.h expects to find the header files in $(XINCLUDE)/X11, # not in $(XINCLUDE). @@ -138,7 +136,7 @@ # Define the directory/ies and library names for the X11 library files. # XLIBDIRS is for ld and should include -L; XLIBDIR is for LD_RUN_PATH -@@ -272,12 +284,12 @@ +@@ -272,12 +282,12 @@ # Solaris and other SVR4 systems with dynamic linking probably want #XLIBDIRS=-L/usr/openwin/lib -R/usr/openwin/lib # X11R6 (on any platform) may need @@ -154,7 +152,7 @@ # Define whether this platform has floating point hardware: # FPU_TYPE=2 means floating point is faster than fixed point. -@@ -406,7 +418,7 @@ +@@ -406,7 +416,7 @@ # Define the compilation rules and flags. diff --git a/print/ghostscript7/files/stp.contrib.mak b/print/ghostscript7/files/stp.contrib.mak new file mode 100644 index 000000000000..613116007dd3 --- /dev/null +++ b/print/ghostscript7/files/stp.contrib.mak @@ -0,0 +1,17 @@ +### --------------- Gimp-Print/stp Driver ---------------------------- ### +### Be careful to add the exact contents of this file; cut and paste ### +### may corrupt the file and cause mysterious make errors ### + +stp_=$(GLOBJ)gdevstp.$(OBJ) + +STPINCDIR=-I$(GLSRC) +STPLIBDIR=-L$(GLOBJ) +STPLIB=gimpprint + +$(DD)stp.dev: $(stp_) $(DD)page.dev + $(SETPDEV) $(DD)stp $(stp_) + $(ADDMOD) $(DD)stp -link $(STPLIBDIR) + $(ADDMOD) $(DD)stp -lib $(STPLIB) + +$(GLOBJ)gdevstp.$(OBJ) : $(GLSRC)gdevstp.c $(PDEVH) + $(GLCC) $(GLO_)gdevstp.$(OBJ) $(C_) $(STPINCDIR) $(GLSRC)gdevstp.c |