Received: (at submit) by bugs.debian.org; 15 Jan 2001 14:56:46 +0000 From mj@zopatista.com Mon Jan 15 08:56:45 2001 Return-path: Received: from d23002.upc-d.chello.nl (localhost) [213.46.23.2] (8) by master.debian.org with esmtp (Exim 3.12 1 (Debian)) id 14IB3s-0004cN-00; Mon, 15 Jan 2001 08:56:45 -0600 Received: from mj by localhost with local (Exim 3.20 #1 (Debian)) id 14IB3q-0005Qu-00 for ; Mon, 15 Jan 2001 15:56:42 +0100 Date: Mon, 15 Jan 2001 15:56:42 +0100 From: Martijn Pieters To: submit@bugs.debian.org Subject: Add stp (Epson Stylus Photo) driver from gimp-print. Message-ID: <20010115155642.A14842@zopatista.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="rwEMma7ioTxnRzrJ" Content-Disposition: inline User-Agent: Mutt/1.3.12i Sender: Martijn Pieters Delivered-To: submit@bugs.debian.org --rwEMma7ioTxnRzrJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Package: gs-aladdin Version: 6.50-2 Severity: wishlist Tags: patch The gimp-print project produces not only a print-plugin for The Gimp, but also the stp printer driver for gs. It's the best printer driver for most Epson Stylus Color and Epson Photo printers, and has excellent output for a host of Canon BJC and HP DeskJet and LaserJet printers as well. Attached patch adds support for the driver to the gs-aladdin build system. It patches contrib.mak.diff and rules, and adds a files rules.stp. You'll need to download print-4.1.1.tar.gz and place it in upstream, of course. The print-4.1.1/Ghost/README file has instruction on how to include the stp driver in the gs package as well. Homepage gimp-print: http://gimp-print.sourceforge.net/ Download from: http://download.sourceforge.net/gimp-print/print-4.1.1.tar.gz -- Martijn Pieters | Software Engineer mailto:mj@digicool.com | Digital Creations http://www.digicool.com/ | Creators of Zope http://www.zope.org/ --------------------------------------------- --rwEMma7ioTxnRzrJ Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="gs-aladdin-stp.diff" --- gs-aladdin-6.50/debian/contrib.diff.orig Mon Jan 15 14:11:25 2001 +++ gs-aladdin-6.50/debian/contrib.diff Mon Jan 15 13:09:35 2001 @@ -11,7 +11,7 @@ # lips3 Canon LIPS III laser printer in English (CaPSL) mode # lj250 DEC LJ250 Companion color printer # lj3100sw H-P LaserJet 3100 (requires installed HP-Software) -@@ -839,3 +843,142 @@ +@@ -839,3 +843,188 @@ $(GLOBJ)gdevsunr.$(OBJ) : $(GLSRC)gdevsunr.c $(PDEVH) $(GLCC) $(GLO_)gdevsunr.$(OBJ) $(C_) $(GLSRC)gdevsunr.c @@ -153,4 +153,50 @@ + +$(DD)hpdj.dev: $(hpdj_) $(DD)page.dev + $(SETPDEV) $(DD)hpdj $(hpdj_) ++ ++### --------------- Epson Stylus Photo Driver ---------------------------- ### ++ ++stp_=$(GLOBJ)gdevstp.$(OBJ) \ ++ $(GLOBJ)gdevstp-dither.$(OBJ) \ ++ $(GLOBJ)gdevstp-util.$(OBJ) \ ++ $(GLOBJ)gdevstp-color.$(OBJ) \ ++ $(GLOBJ)gdevstp-weave.$(OBJ) \ ++ $(GLOBJ)gdevstp-escp2.$(OBJ) \ ++ $(GLOBJ)gdevstp-lexmark.$(OBJ) \ ++ $(GLOBJ)gdevstp-pcl.$(OBJ) \ ++ $(GLOBJ)gdevstp-canon.$(OBJ) \ ++ $(GLOBJ)gdevstp-ps.$(OBJ) ++ ++$(DD)stp.dev: $(stp_) $(DD)page.dev ++ $(SETPDEV) $(DD)stp $(stp_) ++ ++$(GLOBJ)gdevstp.$(OBJ) : $(GLSRC)gdevstp.c $(PDEVH) ++ $(GLCC) $(GLO_)gdevstp.$(OBJ) $(C_) $(GLSRC)gdevstp.c ++ ++$(GLOBJ)gdevstp-util.$(OBJ) : $(GLSRC)gdevstp-util.c $(GLSRC)gdevstp-printers.c $(PDEVH) ++ $(GLCC) $(GLO_)gdevstp-util.$(OBJ) $(C_) $(GLSRC)gdevstp-util.c ++ ++$(GLOBJ)gdevstp-weave.$(OBJ) : $(GLSRC)gdevstp-weave.c $(PDEVH) ++ $(GLCC) $(GLO_)gdevstp-weave.$(OBJ) $(C_) $(GLSRC)gdevstp-weave.c ++ ++$(GLOBJ)gdevstp-color.$(OBJ) : $(GLSRC)gdevstp-color.c $(PDEVH) ++ $(GLCC) $(GLO_)gdevstp-color.$(OBJ) $(C_) $(GLSRC)gdevstp-color.c ++ ++$(GLOBJ)gdevstp-dither.$(OBJ) : $(GLSRC)gdevstp-dither.c $(PDEVH) ++ $(GLCC) $(GLO_)gdevstp-dither.$(OBJ) $(C_) $(GLSRC)gdevstp-dither.c ++ ++$(GLOBJ)gdevstp-escp2.$(OBJ) : $(GLSRC)gdevstp-escp2.c $(PDEVH) ++ $(GLCC) $(GLO_)gdevstp-escp2.$(OBJ) $(C_) $(GLSRC)gdevstp-escp2.c ++ ++$(GLOBJ)gdevstp-lexmark.$(OBJ) : $(GLSRC)gdevstp-lexmark.c $(PDEVH) ++ $(GLCC) $(GLO_)gdevstp-lexmark.$(OBJ) $(C_) $(GLSRC)gdevstp-lexmark.c ++ ++$(GLOBJ)gdevstp-pcl.$(OBJ) : $(GLSRC)gdevstp-pcl.c $(PDEVH) ++ $(GLCC) $(GLO_)gdevstp-pcl.$(OBJ) $(C_) $(GLSRC)gdevstp-pcl.c ++ ++$(GLOBJ)gdevstp-canon.$(OBJ) : $(GLSRC)gdevstp-canon.c $(PDEVH) ++ $(GLCC) $(GLO_)gdevstp-canon.$(OBJ) $(C_) $(GLSRC)gdevstp-canon.c ++ ++$(GLOBJ)gdevstp-ps.$(OBJ) : $(GLSRC)gdevstp-ps.c $(PDEVH) ++ $(GLCC) $(GLO_)gdevstp-ps.$(OBJ) $(C_) $(GLSRC)gdevstp-ps.c + --- gs-aladdin-6.50/debian/rules.orig Mon Jan 15 14:11:25 2001 +++ gs-aladdin-6.50/debian/rules Mon Jan 15 11:05:43 2001 @@ -22,6 +23,7 @@ include debian/rules.lexmark include debian/rules.hpdj +include debian/rules.stp unpack-contrib: checkdir stampdir/unpack-contrib stampdir/unpack-contrib: stampdir/unpack $(CONTRIB_UNPACK) --- gs-aladdin-6.50/debian/rules.stp.orig Thu Jan 1 01:00:00 1970 +++ gs-aladdin-6.50/debian/rules.stp Mon Jan 15 13:31:34 2001 @@ -0,0 +1,26 @@ +CONTRIB_UNPACK += stampdir/unpack-stp +CONTRIB_CONFIGURE += stampdir/configure-stp +CONTRIB_DEVICES += $$(DD)stp.dev +CONTRIB_INSTALL += install-stp + +unpack-stp: stampdir/unpack-stp +stampdir/unpack-stp: stampdir/unpack + # Now unpacking sources of stp driver + # ============================================================= + mkdir tmp + tar -C tmp -xzf upstream/print-4.1.1.tar.gz + mkdir -p build/src/contrib/stp + cp tmp/print-4.1.1/Ghost/* build/src/contrib/stp + rm -Rf tmp + touch $@ + +configure-stp: stampdir/unpack-stp stampdir/configure-stp +stampdir/configure-stp: stampdir/configure + cd build/src/contrib/stp && ln gdevstp* ../.. + touch $@ + +install-stp: stampdir/install-stp +stampdir/install-stp: + install -m 644 build/src/contrib/stp/README $(GSDOCDIR)/README.stp + +.PHONY: unpack-stp configure-stp --rwEMma7ioTxnRzrJ--