Tweak filter costs for gstoraster (part of bug #998977).

Resolves: rhbz#998977
This commit is contained in:
Tim Waugh 2013-08-21 12:54:19 +01:00
parent c4ba7ef379
commit e9d3d79e4f
2 changed files with 19 additions and 1 deletions

View File

@ -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

View File

@ -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 <twaugh@redhat.com> 9.07-12
- Tweak filter costs for gstoraster (part of bug #998977).
* Thu Jul 18 2013 Tim Waugh <twaugh@redhat.com> 9.07-11
- Remove bundled (and unused) lcms source.
- Fixed license tag (AGPLv3+).