[ghostscript] 9.01.

Tim Waugh twaugh at fedoraproject.org
Thu Feb 10 10:32:36 UTC 2011


commit 1a1240ee01b47f3ac9def2e1d29fa36213ec6a0f
Author: Tim Waugh <twaugh at redhat.com>
Date:   Thu Feb 10 10:32:12 2011 +0000

    9.01.

 .gitignore                             |    1 +
 ghostscript-gdevcups-691733.patch      |  106 -
 ghostscript-glyph-stretch-691920.patch |   51 -
 ghostscript-icc-fix.patch              |  199 -
 ghostscript-iccprofiles-initdir.patch  |   18 +-
 ghostscript-scan_token.patch           | 8519 --------------------------------
 ghostscript-system-jasper.patch        |   26 -
 ghostscript-vsnprintf.patch            |   25 +-
 ghostscript.spec                       |   32 +-
 sources                                |    2 +-
 10 files changed, 25 insertions(+), 8954 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index dac1581..c77b757 100644
--- a/.gitignore
+++ b/.gitignore
@@ -27,3 +27,4 @@ ghostscript-8.64.tar.bz2
 ghostscript-8.70.tar.xz
 ghostscript-8.71.tar.xz
 /ghostscript-9.00.tar.xz
+/ghostscript-9.01.tar.bz2
diff --git a/ghostscript-iccprofiles-initdir.patch b/ghostscript-iccprofiles-initdir.patch
index c77f5fe..f25feb1 100644
--- a/ghostscript-iccprofiles-initdir.patch
+++ b/ghostscript-iccprofiles-initdir.patch
@@ -1,8 +1,8 @@
-diff -up ghostscript-9.00/psi/zusparam.c.iccprofiles-initdir ghostscript-9.00/psi/zusparam.c
---- ghostscript-9.00/psi/zusparam.c.iccprofiles-initdir	2010-09-23 14:15:24.628921593 +0100
-+++ ghostscript-9.00/psi/zusparam.c	2010-09-23 14:29:21.189796748 +0100
-@@ -593,14 +593,31 @@ set_default_gray_icc(i_ctx_t *i_ctx_p, g
-     return(code);
+diff -up ghostscript-9.01/psi/zusparam.c.iccprofiles-initdir ghostscript-9.01/psi/zusparam.c
+--- ghostscript-9.01/psi/zusparam.c.iccprofiles-initdir	2010-11-16 14:48:31.000000000 +0000
++++ ghostscript-9.01/psi/zusparam.c	2011-02-10 09:51:59.107972983 +0000
+@@ -607,12 +607,31 @@ set_default_gray_icc(i_ctx_t *i_ctx_p, g
+     return code;
  }
  
 +extern_gx_io_device_table();
@@ -10,7 +10,7 @@ diff -up ghostscript-9.00/psi/zusparam.c.iccprofiles-initdir ghostscript-9.00/ps
  static void
  current_icc_directory(i_ctx_t *i_ctx_p, gs_param_string * pval)
  {
-     static const char *const rfs = "%rom%iccprofiles/";   /* as good as any other */
+     static const char *const rfs = DEFAULT_DIR_ICC;   /* as good as any other */
      const gs_imager_state * pis = (gs_imager_state *) igs;
 +    int have_rom_device = 0;
 +
@@ -28,10 +28,8 @@ diff -up ghostscript-9.00/psi/zusparam.c.iccprofiles-initdir ghostscript-9.00/ps
 +            }
 +         }
  
--    pval->data = (const byte *)( (pis->icc_manager->profiledir == NULL) ?
--		  rfs : pis->icc_manager->profiledir);
 +         pval->data = (const byte *) (have_rom_device ? rfs : "");
 +    }
+     pval->data = (const byte *)( (pis->icc_manager->profiledir == NULL) ?
+ 		  rfs : pis->icc_manager->profiledir);
      pval->size = strlen((const char *)pval->data);
-     pval->persistent = true;
- }
diff --git a/ghostscript-vsnprintf.patch b/ghostscript-vsnprintf.patch
index 179287d..29229b1 100644
--- a/ghostscript-vsnprintf.patch
+++ b/ghostscript-vsnprintf.patch
@@ -1,18 +1,7 @@
-diff -up ghostscript-9.00/base/gsmisc.c.vsnprintf ghostscript-9.00/base/gsmisc.c
---- ghostscript-9.00/base/gsmisc.c.vsnprintf	2010-05-06 17:04:27.000000000 +0100
-+++ ghostscript-9.00/base/gsmisc.c	2010-09-23 10:01:48.152921502 +0100
-@@ -260,7 +260,7 @@ int gs_throw_imp(const char *func, const
-     va_list ap;
- 
-     va_start(ap, fmt);
--    vsprintf(msg, fmt, ap);
-+    vsnprintf(msg, sizeof (msg), fmt, ap);
-     msg[sizeof(msg) - 1] = 0;
-     va_end(ap);
- 
-diff -up ghostscript-9.00/base/gxttfb.c.vsnprintf ghostscript-9.00/base/gxttfb.c
---- ghostscript-9.00/base/gxttfb.c.vsnprintf	2010-05-05 19:14:21.000000000 +0100
-+++ ghostscript-9.00/base/gxttfb.c	2010-09-23 10:51:31.575797285 +0100
+diff -up ghostscript-9.01/base/gsmisc.c.vsnprintf ghostscript-9.01/base/gsmisc.c
+diff -up ghostscript-9.01/base/gxttfb.c.vsnprintf ghostscript-9.01/base/gxttfb.c
+--- ghostscript-9.01/base/gxttfb.c.vsnprintf	2011-01-14 18:58:46.000000000 +0000
++++ ghostscript-9.01/base/gxttfb.c	2011-02-10 09:48:01.334990056 +0000
 @@ -246,7 +246,7 @@ static int DebugPrint(ttfFont *ttf, cons
  
      if (gs_debug_c('Y')) {
@@ -22,9 +11,9 @@ diff -up ghostscript-9.00/base/gxttfb.c.vsnprintf ghostscript-9.00/base/gxttfb.c
  	/* NB: moved debug output from stdout to stderr
  	 */
  	errwrite(ttf->DebugMem, buf, count);
-diff -up ghostscript-9.00/base/rinkj/rinkj-byte-stream.c.vsnprintf ghostscript-9.00/base/rinkj/rinkj-byte-stream.c
---- ghostscript-9.00/base/rinkj/rinkj-byte-stream.c.vsnprintf	2008-04-04 02:02:16.000000000 +0100
-+++ ghostscript-9.00/base/rinkj/rinkj-byte-stream.c	2010-09-23 10:01:48.154921184 +0100
+diff -up ghostscript-9.01/base/rinkj/rinkj-byte-stream.c.vsnprintf ghostscript-9.01/base/rinkj/rinkj-byte-stream.c
+--- ghostscript-9.01/base/rinkj/rinkj-byte-stream.c.vsnprintf	2008-04-04 02:02:16.000000000 +0100
++++ ghostscript-9.01/base/rinkj/rinkj-byte-stream.c	2011-02-10 09:48:01.338989692 +0000
 @@ -43,7 +43,7 @@ rinkj_byte_stream_printf (RinkjByteStrea
    va_list ap;
  
diff --git a/ghostscript.spec b/ghostscript.spec
index 97a5f63..bb40900 100644
--- a/ghostscript.spec
+++ b/ghostscript.spec
@@ -1,27 +1,25 @@
-%define gs_ver 9.00
-%define gs_dot_ver 9.00
+%define gs_ver 9.01
+%define gs_dot_ver 9.01
 %{expand: %%define build_with_freetype %{?_with_freetype:1}%{!?_with_freetype:0}}
 Summary: A PostScript interpreter and renderer
 Name: ghostscript
 Version: %{gs_ver}
 
-Release: 14%{?dist}
+Release: 1%{?dist}
 
 # Included CMap data is Redistributable, no modification permitted,
 # see http://bugzilla.redhat.com/487510
 License: GPLv3+ and Redistributable, no modification permitted
 URL: http://www.ghostscript.com/
 Group: Applications/Publishing
-Source0: http://ghostscript.com/releases/ghostscript-%{gs_ver}.tar.xz
+Source0: http://ghostscript.com/releases/ghostscript-%{gs_ver}.tar.bz2
 Source2: CIDFnmap
 Source4: cidfmap
 
 Patch1: ghostscript-multilib.patch
 Patch2: ghostscript-scripts.patch
 Patch3: ghostscript-noopt.patch
-Patch4: ghostscript-scan_token.patch
 Patch5: ghostscript-runlibfileifexists.patch
-Patch6: ghostscript-system-jasper.patch
 Patch7: ghostscript-pksmraw.patch
 Patch8: ghostscript-jbig2dec-nullderef.patch
 Patch10: ghostscript-cups-filters.patch
@@ -30,9 +28,6 @@ Patch21: ghostscript-jbig2-image-refcount.patch
 Patch27: ghostscript-Fontmap.local.patch
 Patch28: ghostscript-iccprofiles-initdir.patch
 Patch29: ghostscript-gdevcups-debug-uninit.patch
-Patch30: ghostscript-icc-fix.patch
-Patch31: ghostscript-gdevcups-691733.patch
-Patch32: ghostscript-glyph-stretch-691920.patch
 
 Requires: urw-fonts >= 1.1, ghostscript-fonts
 Requires: poppler-data
@@ -118,15 +113,9 @@ rm -rf libpng zlib jpeg jasper
 # Build igcref.c with -O0 to work around bug #150771.
 %patch3 -p1 -b .noopt
 
-# Avoid symbol clash with scan_token (bug #590914).
-%patch4 -p1 -b .scan_token
-
 # Define .runlibfileifexists.
 %patch5 -p1
 
-# Use the system jasper library.
-%patch6 -p1 -b .system-jasper
-
 # Fix pksmraw output (bug #308211).  Still needed in 8.63.
 %patch7 -p1 -b .pksmraw
 
@@ -154,15 +143,6 @@ rm -rf libpng zlib jpeg jasper
 # gdevcups: don't use uninitialized variables in debugging output.
 %patch29 -p1 -b .gdevcups-debug-uninit
 
-# Applied upstream ICC fix (bug #655449).
-%patch30 -p1 -b .icc-fix
-
-# Applied fix for upstream bug #691733.
-%patch31 -p1 -b .gdevcups-691733
-
-# Applied fix for upstream bug #691920.
-%patch32 -p1 -b .glyph-stretch-691920
-
 # Convert manual pages to UTF-8
 from8859_1() {
         iconv -f iso-8859-1 -t utf-8 < "$1" > "${1}_"
@@ -354,6 +334,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/libgs.so
 
 %changelog
+* Thu Feb 10 2011 Tim Waugh <twaugh at redhat.com> 9.01-1
+- 9.01.  No longer needed gdevcups-691733, glyph-stretch-691920,
+  icc-fix, scan_token, or system-jasper patches.
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 9.00-14
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index 27c9926..3446d52 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
 2fbae60417d42779f6488ab897dcaaf6  acro5-cmaps-2001.tar.gz
 dfc93dd2aaaf2b86d2fd55f654c13261  adobe-cmaps-200406.tar.gz
-1ca5f245677f78f573e6490bdb40702f  ghostscript-9.00.tar.xz
+9824d6a21ad8b4a831f67601959f1181  ghostscript-9.01.tar.bz2


More information about the scm-commits mailing list