From e9d3d79e4f1f2cbc8078293d78deb6e5dfbbb987 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Wed, 21 Aug 2013 12:54:19 +0100 Subject: [PATCH] Tweak filter costs for gstoraster (part of bug #998977). Resolves: rhbz#998977 --- ghostscript-gstoraster-costs.patch | 11 +++++++++++ ghostscript.spec | 9 ++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 ghostscript-gstoraster-costs.patch diff --git a/ghostscript-gstoraster-costs.patch b/ghostscript-gstoraster-costs.patch new file mode 100644 index 0000000..e811d47 --- /dev/null +++ b/ghostscript-gstoraster-costs.patch @@ -0,0 +1,11 @@ +diff -up ghostscript-9.07/cups/gstoraster.convs.gstoraster-costs ghostscript-9.07/cups/gstoraster.convs +--- ghostscript-9.07/cups/gstoraster.convs.gstoraster-costs 2013-02-14 07:58:16.000000000 +0000 ++++ ghostscript-9.07/cups/gstoraster.convs 2013-08-21 12:52:25.255346352 +0100 +@@ -26,5 +26,5 @@ + # + # CUPS file conversion rules for gstoraster filter + +-application/vnd.cups-pdf application/vnd.cups-raster 66 gstoraster +-application/vnd.cups-postscript application/vnd.cups-raster 100 gstoraster ++application/vnd.cups-pdf application/vnd.cups-raster 99 gstoraster ++application/vnd.cups-postscript application/vnd.cups-raster 200 gstoraster diff --git a/ghostscript.spec b/ghostscript.spec index 82b3ef5..367524e 100644 --- a/ghostscript.spec +++ b/ghostscript.spec @@ -5,7 +5,7 @@ Summary: A PostScript interpreter and renderer Name: ghostscript Version: %{gs_ver} -Release: 11%{?dist} +Release: 12%{?dist} # Included CMap data is Redistributable, no modification permitted, # see http://bugzilla.redhat.com/487510 @@ -31,6 +31,7 @@ Patch12: ghostscript-strange-fonts.patch Patch13: ghostscript-wrf-snprintf.patch Patch14: ghostscript-cups-colord.patch Patch15: ghostscript-zfapi-crash.patch +Patch16: ghostscript-gstoraster-costs.patch Requires: urw-fonts >= 1.1, ghostscript-fonts Requires: poppler-data @@ -158,6 +159,9 @@ rm -rf expat freetype icclib jasper jpeg lcms lcms2 libpng openjpeg zlib cups/li # Upstream patch from bug #693921 to avoid zfapi crash (bug #969785). %patch15 -p1 -b .zfapi-crash +# Tweak filter costs for gstoraster (part of bug #998977). +%patch16 -p1 -b .gstoraster-costs + # Remove pdfopt man pages which were mistakenly left in (bug #963882). rm man/{de/,}pdfopt.1 @@ -357,6 +361,9 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/libgs.so %changelog +* Wed Aug 21 2013 Tim Waugh 9.07-12 +- Tweak filter costs for gstoraster (part of bug #998977). + * Thu Jul 18 2013 Tim Waugh 9.07-11 - Remove bundled (and unused) lcms source. - Fixed license tag (AGPLv3+).