From 48221a52cd13b2549d7bbd0186bd279dae9ca0ef Mon Sep 17 00:00:00 2001 From: cvsdist Date: Thu, 9 Sep 2004 05:16:09 +0000 Subject: [PATCH] auto-import ghostscript-7.05-20 from ghostscript-7.05-20.src.rpm --- ghostscript.spec | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/ghostscript.spec b/ghostscript.spec index 4b1937b..3586522 100644 --- a/ghostscript.spec +++ b/ghostscript.spec @@ -5,7 +5,7 @@ Version: %{gs_ver} BuildRequires: gimp-print-devel BuildRequires: patchutils >= 0.2.13 -Release: 19 +Release: 20 %define hpijs 1.1 %define hpijs_release %{release} @@ -53,6 +53,9 @@ Source21: gnu-drivers.tar.gz # New gomni.c from IBM (bug #65269). Source22: gomni.c +# CUPS device (from ESP gs 7.05.4). +Source23: gdevcups.c + Patch0: ghostscript-7.05-config.patch Patch3: ghostscript-6.51-gcc296.patch Patch5: ghostscript-7.05-gsj.patch @@ -419,6 +422,24 @@ $(DD)gdi.dev: $(GDIMONO) $(DD)page.dev # Repair the gsj code %patch6 -p1 -b ._ds +# Add ESP gs CUPS device + cp %{SOURCE23} src + GS_DEVS=$GS_DEVS'$(DD)cups.dev ' +echo ' +### ----------------- CUPS Ghostscript Driver ---------------------- ### + + +cups_= $(GLOBJ)gdevcups.$(OBJ) + +$(DD)cups.dev: $(cups_) $(GLD)page.dev + $(SETPDEV2) $(DD)cups $(cups_) + $(ADDMOD) $(DD)cups -lib cupsimage -lib cups + +$(GLOBJ)gdevcups.$(OBJ): $(GLSRC)gdevcups.c $(PDEVH) + $(GLCC) $(GLO_)gdevcups.$(OBJ) $(C_) $(GLSRC)gdevcups.c + +' >> src/contrib.mak + # Patch to make gcc296 happier %patch3 -p1 -b .gcc296 @@ -560,6 +581,9 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/libijs.a %changelog +* Thu Aug 15 2002 Tim Waugh 7.05-20 +- Add cups device (bug #69573). + * Mon Aug 12 2002 Tim Waugh 7.05-19 - Fix the gb18030 patch (bug #71135, bug #71303).