summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-02 07:17:42 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-02 07:17:42 +0000
commit886f76be743b921f03d0cfc79ffc7fecfbbd6a24 (patch)
treeb3b8295d60bb932639f129e49e3418434fac1be4
parent20f39c60f91af511a87c17eb3266d46ffb8f4977 (diff)
automatic import of ghostscriptopeneuler24.03_LTSopeneuler23.09
-rw-r--r--.gitignore1
-rw-r--r--ghostscript-9.54.0-Deal-with-different-VM-modes-during-CIDFont-loading.patch88
-rw-r--r--ghostscript-9.54.0-ESC-Page-driver-does-not-set-page-size-correctly.patch22
-rw-r--r--ghostscript-9.54.0-Fix-op-stack-management-in-sampled_data_c.patch64
-rw-r--r--ghostscript-9.54.0-covscan-fixes.patch98
-rw-r--r--ghostscript-9.54.0-gdevtxtw-null-also-pointers.patch46
-rw-r--r--ghostscript-9.54.0-include-pipe-handle-in-validation.patch208
-rw-r--r--ghostscript.spec1931
-rw-r--r--sources1
9 files changed, 2459 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..3b412b1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/ghostscript-9.54.0.tar.xz
diff --git a/ghostscript-9.54.0-Deal-with-different-VM-modes-during-CIDFont-loading.patch b/ghostscript-9.54.0-Deal-with-different-VM-modes-during-CIDFont-loading.patch
new file mode 100644
index 0000000..180193a
--- /dev/null
+++ b/ghostscript-9.54.0-Deal-with-different-VM-modes-during-CIDFont-loading.patch
@@ -0,0 +1,88 @@
+From 0b74b65ecc0f36d40b8d04a7fa1fa8b5f9d2b3ff Mon Sep 17 00:00:00 2001
+From: Chris Liddell <chris.liddell@artifex.com>
+Date: Thu, 13 Oct 2022 14:55:28 +0100
+Subject: [PATCH] Deal with different VM modes during CIDFont loading
+
+To help differentiate between a substituted CIDFont and an embedded one, a
+change was made to store the file path in the CIDFont dictionary. That change
+failed to account for the possibility that the file object and the CIDFont
+dictionary may not be in compatible VM modes.
+
+This adds code to ensure that the string holding the path is in a suitable VM
+mode to be stored into the dictionary.
+
+Reported by Richard Lescak <rlescak@redhat.com>
+---
+ Resource/Init/gs_cidfn.ps | 23 +++++++++++++++++++----
+ 1 file changed, 19 insertions(+), 4 deletions(-)
+
+diff --git a/Resource/Init/gs_cidfn.ps b/Resource/Init/gs_cidfn.ps
+index 870a2e11c..fa050ed7a 100644
+--- a/Resource/Init/gs_cidfn.ps
++++ b/Resource/Init/gs_cidfn.ps
+@@ -1,4 +1,4 @@
+-% Copyright (C) 2001-2021 Artifex Software, Inc.
++% Copyright (C) 2001-2022 Artifex Software, Inc.
+ % All Rights Reserved.
+ %
+ % This software is provided AS-IS with no warranty, either express or
+@@ -36,6 +36,17 @@
+
+ 30 dict begin
+
++/.gcompatstringcopy % <string> <global> .gcompatstringcopy <string>
++{
++ dup 2 index gcheck eq
++ { pop }
++ {
++ currentglobal 3 1 roll setglobal
++ dup length string copy
++ exch setglobal
++ } ifelse
++} bind def
++
+ % The key in .cidfonttypes is the CIDFontType value;
+ % the value is a procedure that takes a font name and the CIDFont dictionary
+ % and replaces the latter with a real font.
+@@ -58,7 +69,7 @@ dup 0 {
+ end
+ } if
+ 1 index exch .buildfont9
+- .currentresourcefile dup type /filetype eq { //.filename {1 index exch /ResourcePath exch put} if }{ pop} ifelse
++ .currentresourcefile dup type /filetype eq { //.filename {1 index gcheck //.gcompatstringcopy exec 1 index exch /ResourcePath exch put} if }{ pop} ifelse
+ exch pop
+ } put % Don't bind it here, because gs_fapi.ps redefines .buildfont9
+
+@@ -138,10 +149,11 @@ dup 0 {
+
+ % ------ CIDFontType 1 (FontType 10) ------ %
+
++
+ dup 1 {
+ 10 //.checkfonttype exec pop
+ 1 index exch .buildfont10
+- .currentresourcefile dup type /filetype eq { //.filename {1 index exch /ResourcePath exch put} if }{ pop} ifelse
++ .currentresourcefile dup type /filetype eq { //.filename {1 index gcheck //.gcompatstringcopy exec 1 index exch /ResourcePath exch put} if }{ pop} ifelse
+ exch pop
+ } put % Don't bind it here because gs_fapi.ps redefines .buildfont10
+
+@@ -150,12 +162,15 @@ dup 1 {
+ dup 2 {
+ 11 //.checkfonttype exec pop
+ 1 index exch .buildfont11
+- .currentresourcefile dup type /filetype eq { //.filename {1 index exch /ResourcePath exch put} if }{ pop} ifelse
++ .currentresourcefile dup type /filetype eq { //.filename {1 index gcheck //.gcompatstringcopy exec 1 index exch /ResourcePath exch put} if }{ pop} ifelse
+ exch pop
+ } put % Don't bind it here because gs_fapi.ps redefines .buildfont11
+
++currentdict /.gcompatstringcopy .undef
++
+ pop % .cidfonttypes
+
++
+ % ---------------- Reading CIDFontType 0 files ---------------- %
+
+ /StartData { % <(Binary)|(Hex)> <datalength> StartData -
+--
+2.37.3
+
diff --git a/ghostscript-9.54.0-ESC-Page-driver-does-not-set-page-size-correctly.patch b/ghostscript-9.54.0-ESC-Page-driver-does-not-set-page-size-correctly.patch
new file mode 100644
index 0000000..1bf4e71
--- /dev/null
+++ b/ghostscript-9.54.0-ESC-Page-driver-does-not-set-page-size-correctly.patch
@@ -0,0 +1,22 @@
+diff -x .git -Napur ghostscript-9.27.old/contrib/japanese/gdevespg.c ghostscript-9.27.new/contrib/japanese/gdevespg.c
+--- ghostscript-9.27.old/contrib/japanese/gdevespg.c 2019-04-04 00:43:14.000000000 -0700
++++ ghostscript-9.27.new/contrib/japanese/gdevespg.c 2023-01-24 11:25:32.588189093 -0800
+@@ -273,6 +273,9 @@
+ int width, height, w, h, wp, hp, bLandscape;
+ EpagPaperTable *pt;
+
++ /* Page size match tolerance in points */
++ #define TOL 5
++
+ width = (int)pdev->MediaSize[0];
+ height = (int)pdev->MediaSize[1];
+
+@@ -291,7 +294,7 @@
+ }
+
+ for (pt = epagPaperTable; pt->escpage > 0; pt++)
+- if (pt->width == w && pt->height == h)
++ if (abs(w - pt->width) <= TOL && abs(h - pt->height) <= TOL)
+ break;
+
+ gp_fprintf(fp, "%c%d", GS, pt->escpage);
diff --git a/ghostscript-9.54.0-Fix-op-stack-management-in-sampled_data_c.patch b/ghostscript-9.54.0-Fix-op-stack-management-in-sampled_data_c.patch
new file mode 100644
index 0000000..27ca0b2
--- /dev/null
+++ b/ghostscript-9.54.0-Fix-op-stack-management-in-sampled_data_c.patch
@@ -0,0 +1,64 @@
+From 2a3129365d3bc0d4a41f107ef175920d1505d1f7 Mon Sep 17 00:00:00 2001
+From: Chris Liddell <chris.liddell@artifex.com>
+Date: Tue, 1 Jun 2021 19:57:16 +0100
+Subject: [PATCH] Bug 703902: Fix op stack management in
+ sampled_data_continue()
+
+Replace pop() (which does no checking, and doesn't handle stack extension
+blocks) with ref_stack_pop() which does do all that.
+
+We still use pop() in one case (it's faster), but we have to later use
+ref_stack_pop() before calling sampled_data_sample() which also accesses the
+op stack.
+
+Fixes:
+https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=34675
+---
+ psi/zfsample.c | 16 ++++++++++------
+ 1 file changed, 10 insertions(+), 6 deletions(-)
+
+diff --git a/psi/zfsample.c b/psi/zfsample.c
+index 0e8e4bc8d..00cd0cfdd 100644
+--- a/psi/zfsample.c
++++ b/psi/zfsample.c
+@@ -533,15 +533,19 @@ sampled_data_continue(i_ctx_t *i_ctx_p)
+ for (j = 0; j < bps; j++)
+ data_ptr[bps * i + j] = (byte)(cv >> ((bps - 1 - j) * 8)); /* MSB first */
+ }
+- pop(num_out); /* Move op to base of result values */
+
+- /* Check if we are done collecting data. */
++ pop(num_out); /* Move op to base of result values */
+
++ /* From here on, we have to use ref_stack_pop() rather than pop()
++ so that it handles stack extension blocks properly, before calling
++ sampled_data_sample() which also uses the op stack.
++ */
++ /* Check if we are done collecting data. */
+ if (increment_cube_indexes(params, penum->indexes)) {
+ if (stack_depth_adjust == 0)
+- pop(O_STACK_PAD); /* Remove spare stack space */
++ ref_stack_pop(&o_stack, O_STACK_PAD); /* Remove spare stack space */
+ else
+- pop(stack_depth_adjust - num_out);
++ ref_stack_pop(&o_stack, stack_depth_adjust - num_out);
+ /* Execute the closing procedure, if given */
+ code = 0;
+ if (esp_finish_proc != 0)
+@@ -554,11 +558,11 @@ sampled_data_continue(i_ctx_t *i_ctx_p)
+ if ((O_STACK_PAD - stack_depth_adjust) < 0) {
+ stack_depth_adjust = -(O_STACK_PAD - stack_depth_adjust);
+ check_op(stack_depth_adjust);
+- pop(stack_depth_adjust);
++ ref_stack_pop(&o_stack, stack_depth_adjust);
+ }
+ else {
+ check_ostack(O_STACK_PAD - stack_depth_adjust);
+- push(O_STACK_PAD - stack_depth_adjust);
++ ref_stack_push(&o_stack, O_STACK_PAD - stack_depth_adjust);
+ for (i=0;i<O_STACK_PAD - stack_depth_adjust;i++)
+ make_null(op - i);
+ }
+--
+2.35.1
+
diff --git a/ghostscript-9.54.0-covscan-fixes.patch b/ghostscript-9.54.0-covscan-fixes.patch
new file mode 100644
index 0000000..1a4a016
--- /dev/null
+++ b/ghostscript-9.54.0-covscan-fixes.patch
@@ -0,0 +1,98 @@
+diff -ur ghostscript-9.54.0/base/gdevvec.c ghostscript-9.54.0-patched/base/gdevvec.c
+--- ghostscript-9.54.0/base/gdevvec.c
++++ ghostscript-9.54.0-patched/base/gdevvec.c
+@@ -643,7 +643,7 @@
+ */
+ int
+ gdev_vector_dopath_segment(gdev_vector_dopath_state_t *state, int pe_op,
+- gs_fixed_point vs[3])
++ gs_fixed_point *vs)
+ {
+ gx_device_vector *vdev = state->vdev;
+ const gs_matrix *const pmat = &state->scale_mat;
+diff -ur ghostscript-9.54.0/base/gdevvec.h ghostscript-9.54.0-patched/base/gdevvec.h
+--- ghostscript-9.54.0/base/gdevvec.h
++++ ghostscript-9.54.0-patched/base/gdevvec.h
+@@ -306,7 +306,7 @@
+
+ /* Write a segment of a path using the default implementation. */
+ int gdev_vector_dopath_segment(gdev_vector_dopath_state_t *state, int pe_op,
+- gs_fixed_point vs[3]);
++ gs_fixed_point *vs);
+
+ typedef struct gdev_vector_path_seg_record_s {
+ int op;
+diff -ur ghostscript-9.54.0/base/gxclpath.c ghostscript-9.54.0-patched/base/gxclpath.c
+--- ghostscript-9.54.0/base/gxclpath.c 2021-03-30 09:40:28.000000000 +0200
++++ ghostscript-9.54.0-patched/base/gxclpath.c 2021-11-23 11:06:14.670137576 +0100
+@@ -715,10 +715,10 @@
+ } else {
+ code = set_cmd_put_op(&dp, cldev, pcls, cmd_opv_set_color_space,
+ 2 + sizeof(clist_icc_color_t));
+- memcpy(dp + 2, &(cldev->color_space.icc_info),
+- sizeof(clist_icc_color_t));
+ if (code < 0)
+ return code;
++ memcpy(dp + 2, &(cldev->color_space.icc_info),
++ sizeof(clist_icc_color_t));
+ }
+ dp[1] = cldev->color_space.byte1;
+ pcls->known |= color_space_known;
+diff -ur ghostscript-9.54.0/extract/src/mem.c ghostscript-9.54.0-patched/extract/src/mem.c
+--- ghostscript-9.54.0/extract/src/mem.c 2021-03-30 09:40:28.000000000 +0200
++++ ghostscript-9.54.0-patched/extract/src/mem.c 2021-11-23 11:11:37.293082828 +0100
+@@ -19,14 +19,24 @@
+ int extract_vasprintf(extract_alloc_t* alloc, char** out, const char* format, va_list va)
+ {
+ int n;
+- int n2;
++ int ret;
+ va_list va2;
+ va_copy(va2, va);
+ n = vsnprintf(NULL, 0, format, va);
+- if (n < 0) return n;
+- if (extract_malloc(alloc, out, n + 1)) return -1;
+- n2 = vsnprintf(*out, n + 1, format, va2);
++ if (n < 0)
++ {
++ ret = n;
++ goto end;
++ }
++ if (extract_malloc(alloc, out, n + 1))
++ {
++ ret = -1;
++ goto end;
++ }
++ vsnprintf(*out, n + 1, format, va2);
++ ret = 0;
++
++ end:
+ va_end(va2);
+- assert(n2 == n);
+- return n2;
++ return ret;
+ }
+diff -ur ghostscript-9.54.0/psi/icie.h ghostscript-9.54.0-patched/psi/icie.h
+--- ghostscript-9.54.0/psi/icie.h 2021-03-30 09:40:28.000000000 +0200
++++ ghostscript-9.54.0-patched/psi/icie.h 2021-10-29 12:48:43.405814563 +0200
+@@ -53,7 +53,7 @@
+
+ /* Get 3 procedures from a dictionary. */
+ int dict_proc3_param(const gs_memory_t *mem, const ref *pdref,
+- const char *kstr, ref proc3[3]);
++ const char *kstr, ref *proc3);
+
+ /* Get WhitePoint and BlackPoint values. */
+ int cie_points_param(const gs_memory_t *mem,
+diff -ur ghostscript-9.54.0/psi/zcie.c ghostscript-9.54.0-patched/psi/zcie.c
+--- ghostscript-9.54.0/psi/zcie.c 2021-03-30 09:40:28.000000000 +0200
++++ ghostscript-9.54.0-patched/psi/zcie.c 2021-11-02 14:36:28.463448728 +0100
+@@ -144,7 +144,7 @@
+
+ /* Get 3 procedures from a dictionary. */
+ int
+-dict_proc3_param(const gs_memory_t *mem, const ref *pdref, const char *kstr, ref proc3[3])
++dict_proc3_param(const gs_memory_t *mem, const ref *pdref, const char *kstr, ref *proc3)
+ {
+ return dict_proc_array_param(mem, pdref, kstr, 3, proc3);
+ }
diff --git a/ghostscript-9.54.0-gdevtxtw-null-also-pointers.patch b/ghostscript-9.54.0-gdevtxtw-null-also-pointers.patch
new file mode 100644
index 0000000..90b9859
--- /dev/null
+++ b/ghostscript-9.54.0-gdevtxtw-null-also-pointers.patch
@@ -0,0 +1,46 @@
+diff --git a/devices/vector/gdevtxtw.c b/devices/vector/gdevtxtw.c
+index c6b95ed5b..f103d598b 100644
+--- a/devices/vector/gdevtxtw.c
++++ b/devices/vector/gdevtxtw.c
+@@ -1982,16 +1982,26 @@ textw_text_release(gs_text_enum_t *pte, client_name_t cname)
+ gx_device_txtwrite_t *const tdev = (gx_device_txtwrite_t *) pte->dev;
+
+ /* Free the working buffer where the Unicode was assembled from the enumerated text */
+- if (penum->TextBuffer)
++ if (penum->TextBuffer) {
+ gs_free(tdev->memory, penum->TextBuffer, 1, penum->TextBufferIndex, "txtwrite free temporary text buffer");
+- if (penum->Widths)
++ penum->TextBuffer = NULL;
++ }
++ if (penum->Widths) {
+ gs_free(tdev->memory, penum->Widths, sizeof(float), pte->text.size, "txtwrite free temporary widths array");
+- if (penum->Advs)
++ penum->Widths = NULL;
++ }
++ if (penum->Advs) {
+ gs_free(tdev->memory, penum->Advs, 1, penum->TextBufferIndex, "txtwrite free temporary text buffer");
+- if (penum->GlyphWidths)
++ penum->Advs = NULL;
++ }
++ if (penum->GlyphWidths) {
+ gs_free(tdev->memory, penum->GlyphWidths, 1, penum->TextBufferIndex, "txtwrite free temporary text buffer");
+- if (penum->SpanDeltaX)
++ penum->GlyphWidths = NULL;
++ }
++ if (penum->SpanDeltaX) {
+ gs_free(tdev->memory, penum->SpanDeltaX, 1, penum->TextBufferIndex, "txtwrite free temporary text buffer");
++ penum->SpanDeltaX = NULL;
++ }
+ /* If this is copied away when we complete the text enumeration succesfully, then
+ * we set the pointer to NULL, if we get here with it non-NULL , then there was
+ * an error.
+@@ -2008,6 +2018,7 @@ textw_text_release(gs_text_enum_t *pte, client_name_t cname)
+ if (penum->text_state->FontName)
+ gs_free(tdev->memory, penum->text_state->FontName, 1, penum->TextBufferIndex, "txtwrite free temporary font name copy");
+ gs_free(tdev->memory, penum->text_state, 1, sizeof(penum->text_state), "txtwrite free text state");
++ penum->text_state = NULL;
+ }
+ }
+
+--
+2.17.1
diff --git a/ghostscript-9.54.0-include-pipe-handle-in-validation.patch b/ghostscript-9.54.0-include-pipe-handle-in-validation.patch
new file mode 100644
index 0000000..39a8bb7
--- /dev/null
+++ b/ghostscript-9.54.0-include-pipe-handle-in-validation.patch
@@ -0,0 +1,208 @@
+diff --git a/base/gdevpipe.c b/base/gdevpipe.c
+index 96d71f5d81..752a2f1d94 100644
+--- a/base/gdevpipe.c
++++ b/base/gdevpipe.c
+@@ -72,8 +72,28 @@ pipe_fopen(gx_io_device * iodev, const char *fname, const char *access,
+ #else
+ gs_lib_ctx_t *ctx = mem->gs_lib_ctx;
+ gs_fs_list_t *fs = ctx->core->fs;
++ /* The pipe device can be reached in two ways, explicltly with %pipe%
++ or implicitly with "|", so we have to check for both
++ */
++ char f[gp_file_name_sizeof];
++ const char *pipestr = "|";
++ const size_t pipestrlen = strlen(pipestr);
++ int code1;
++ const size_t preflen = strlen(iodev->dname);
++ const size_t nlen = strlen(fname);
++
++ if (preflen + nlen >= gp_file_name_sizeof)
++ return_error(gs_error_invalidaccess);
++
++ memcpy(f, iodev->dname, preflen);
++ memcpy(f + preflen, fname, nlen + 1);
++
++ code1 = gp_validate_path(mem, f, access);
++
++ memcpy(f, pipestr, pipestrlen);
++ memcpy(f + pipestrlen, fname, nlen + 1);
+
+- if (gp_validate_path(mem, fname, access) != 0)
++ if (code1 != 0 && gp_validate_path(mem, f, access) != 0 )
+ return gs_error_invalidfileaccess;
+
+ /*
+diff --git a/base/gp_mshdl.c b/base/gp_mshdl.c
+index 2b964ed749..8d87ceadc0 100644
+--- a/base/gp_mshdl.c
++++ b/base/gp_mshdl.c
+@@ -95,8 +95,17 @@ mswin_handle_fopen(gx_io_device * iodev, const char *fname, const char *access,
+ long hfile; /* Correct for Win32, may be wrong for Win64 */
+ gs_lib_ctx_t *ctx = mem->gs_lib_ctx;
+ gs_fs_list_t *fs = ctx->core->fs;
++ char f[gp_file_name_sizeof];
++ const size_t preflen = strlen(iodev->dname);
++ const size_t nlen = strlen(fname);
+
+- if (gp_validate_path(mem, fname, access) != 0)
++ if (preflen + nlen >= gp_file_name_sizeof)
++ return_error(gs_error_invalidaccess);
++
++ memcpy(f, iodev->dname, preflen);
++ memcpy(f + preflen, fname, nlen + 1);
++
++ if (gp_validate_path(mem, f, access) != 0)
+ return gs_error_invalidfileaccess;
+
+ /* First we try the open_handle method. */
+diff --git a/base/gp_msprn.c b/base/gp_msprn.c
+index ed48279685..746a974f78 100644
+--- a/base/gp_msprn.c
++++ b/base/gp_msprn.c
+@@ -168,8 +168,16 @@ mswin_printer_fopen(gx_io_device * iodev, const char *fname, const char *access,
+ uintptr_t *ptid = &((tid_t *)(iodev->state))->tid;
+ gs_lib_ctx_t *ctx = mem->gs_lib_ctx;
+ gs_fs_list_t *fs = ctx->core->fs;
++ const size_t preflen = strlen(iodev->dname);
++ const size_t nlen = strlen(fname);
+
+- if (gp_validate_path(mem, fname, access) != 0)
++ if (preflen + nlen >= gp_file_name_sizeof)
++ return_error(gs_error_invalidaccess);
++
++ memcpy(pname, iodev->dname, preflen);
++ memcpy(pname + preflen, fname, nlen + 1);
++
++ if (gp_validate_path(mem, pname, access) != 0)
+ return gs_error_invalidfileaccess;
+
+ /* First we try the open_printer method. */
+diff --git a/base/gp_os2pr.c b/base/gp_os2pr.c
+index f852c71fc8..ba54cde66f 100644
+--- a/base/gp_os2pr.c
++++ b/base/gp_os2pr.c
+@@ -107,9 +107,20 @@ os2_printer_fopen(gx_io_device * iodev, const char *fname, const char *access,
+ FILE ** pfile, char *rfname, uint rnamelen)
+ {
+ os2_printer_t *pr = (os2_printer_t *)iodev->state;
+- char driver_name[256];
++ char driver_name[gp_file_name_sizeof];
+ gs_lib_ctx_t *ctx = mem->gs_lib_ctx;
+ gs_fs_list_t *fs = ctx->core->fs;
++ const size_t preflen = strlen(iodev->dname);
++ const int size_t = strlen(fname);
++
++ if (preflen + nlen >= gp_file_name_sizeof)
++ return_error(gs_error_invalidaccess);
++
++ memcpy(driver_name, iodev->dname, preflen);
++ memcpy(driver_name + preflen, fname, nlen + 1);
++
++ if (gp_validate_path(mem, driver_name, access) != 0)
++ return gs_error_invalidfileaccess;
+
+ /* First we try the open_printer method. */
+ /* Note that the loop condition here ensures we don't
+diff --git a/base/gslibctx.c b/base/gslibctx.c
+index 6dfed6cd5a..318039fad0 100644
+--- a/base/gslibctx.c
++++ b/base/gslibctx.c
+@@ -655,82 +655,39 @@ rewrite_percent_specifiers(char *s)
+ int
+ gs_add_outputfile_control_path(gs_memory_t *mem, const char *fname)
+ {
+- char *fp, f[gp_file_name_sizeof];
+- const int pipe = 124; /* ASCII code for '|' */
+- const int len = strlen(fname);
+- int i, code;
++ char f[gp_file_name_sizeof];
++ int code;
+
+ /* Be sure the string copy will fit */
+- if (len >= gp_file_name_sizeof)
++ if (strlen(fname) >= gp_file_name_sizeof)
+ return gs_error_rangecheck;
+ strcpy(f, fname);
+- fp = f;
+ /* Try to rewrite any %d (or similar) in the string */
+ rewrite_percent_specifiers(f);
+- for (i = 0; i < len; i++) {
+- if (f[i] == pipe) {
+- fp = &f[i + 1];
+- /* Because we potentially have to check file permissions at two levels
+- for the output file (gx_device_open_output_file and the low level
+- fopen API, if we're using a pipe, we have to add both the full string,
+- (including the '|', and just the command to which we pipe - since at
+- the pipe_fopen(), the leading '|' has been stripped.
+- */
+- code = gs_add_control_path(mem, gs_permit_file_writing, f);
+- if (code < 0)
+- return code;
+- code = gs_add_control_path(mem, gs_permit_file_control, f);
+- if (code < 0)
+- return code;
+- break;
+- }
+- if (!IS_WHITESPACE(f[i]))
+- break;
+- }
+- code = gs_add_control_path(mem, gs_permit_file_control, fp);
++
++ code = gs_add_control_path(mem, gs_permit_file_control, f);
+ if (code < 0)
+ return code;
+- return gs_add_control_path(mem, gs_permit_file_writing, fp);
++ return gs_add_control_path(mem, gs_permit_file_writing, f);
+ }
+
+ int
+ gs_remove_outputfile_control_path(gs_memory_t *mem, const char *fname)
+ {
+- char *fp, f[gp_file_name_sizeof];
+- const int pipe = 124; /* ASCII code for '|' */
+- const int len = strlen(fname);
+- int i, code;
++ char f[gp_file_name_sizeof];
++ int code;
+
+ /* Be sure the string copy will fit */
+- if (len >= gp_file_name_sizeof)
++ if (strlen(fname) >= gp_file_name_sizeof)
+ return gs_error_rangecheck;
+ strcpy(f, fname);
+- fp = f;
+ /* Try to rewrite any %d (or similar) in the string */
+- for (i = 0; i < len; i++) {
+- if (f[i] == pipe) {
+- fp = &f[i + 1];
+- /* Because we potentially have to check file permissions at two levels
+- for the output file (gx_device_open_output_file and the low level
+- fopen API, if we're using a pipe, we have to add both the full string,
+- (including the '|', and just the command to which we pipe - since at
+- the pipe_fopen(), the leading '|' has been stripped.
+- */
+- code = gs_remove_control_path(mem, gs_permit_file_writing, f);
+- if (code < 0)
+- return code;
+- code = gs_remove_control_path(mem, gs_permit_file_control, f);
+- if (code < 0)
+- return code;
+- break;
+- }
+- if (!IS_WHITESPACE(f[i]))
+- break;
+- }
+- code = gs_remove_control_path(mem, gs_permit_file_control, fp);
++ rewrite_percent_specifiers(f);
++
++ code = gs_remove_control_path(mem, gs_permit_file_control, f);
+ if (code < 0)
+ return code;
+- return gs_remove_control_path(mem, gs_permit_file_writing, fp);
++ return gs_remove_control_path(mem, gs_permit_file_writing, f);
+ }
+
+ int
+--
+2.17.1
+
diff --git a/ghostscript.spec b/ghostscript.spec
new file mode 100644
index 0000000..e43c770
--- /dev/null
+++ b/ghostscript.spec
@@ -0,0 +1,1931 @@
+#
+# Important notes regarding the package:
+# ======================================
+# 1) This package has GUI versions (*-x11, *-gtk), but we are not shipping the
+# desktop files, because the GUI versions are used for displaying of files
+# invoked from command line. The displaying GUI does not contain any buttons
+# or other means for user interaction. It can't even open a different file
+# from the GUI version. Therefore it does not make sense to ship desktop
+# files...
+
+# === GLOBAL MACROS ===========================================================
+
+# According to Fedora Package Guidelines, it is advised that packages that can
+# process untrusted input are build with position-independent code (PIC).
+#
+# Koji should override the compilation flags and add the -fPIC or -fPIE flags by
+# default. This is here just in case this wouldn't happen for some reason.
+# For more info: https://fedoraproject.org/wiki/Packaging:Guidelines#PIE
+%global _hardened_build 1
+
+# By redefining the '_docdir_fmt' macro we override the default location of
+# documentation or license files. Instead of them being located in 'libgs'
+# folder, they are now located in 'ghostscript'.
+%global _docdir_fmt %{name}
+
+# NOTE: Artifex is using Github only as a mirror for providing the source
+# tarballs, and their release tags/branches do not use the dot in version
+# tag. This makes obtaining the current version harder, and might prevent
+# automatic builds of new releases...
+%global version_short %%(echo "%{version}" | tr -d '.')
+
+# Obtain the location of Google Droid fonts directory:
+%global google_droid_fontpath %%(dirname $(fc-list : file | grep "DroidSansFallback"))
+
+# Desired jbig2dec header files and library version
+# Apparantly, ghostscript complains even about newer versions
+# Please update if needed.
+%global jbig2dec_version 0.19
+
+# =============================================================================
+
+Name: ghostscript
+Summary: Interpreter for PostScript language & PDF
+Version: 9.54.0
+Release: 9%{?dist}
+
+License: AGPLv3+
+
+URL: https://ghostscript.com/
+Source: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs%{version_short}/ghostscript-%{version}.tar.xz
+
+Requires: libgs%{?_isa} = %{version}-%{release}
+Requires: jbig2dec-libs = %{jbig2dec_version}
+Requires: %{name}-tools-fonts%{?_isa} = %{version}-%{release}
+Requires: %{name}-tools-printing%{?_isa} = %{version}-%{release}
+
+Provides: ghostscript-core = %{version}-%{release}
+Obsoletes: ghostscript-core < 9.53.3-6
+
+# Auxiliary build requirements:
+BuildRequires: automake
+BuildRequires: gcc
+BuildRequires: git
+
+# Already packaged Resources -- needed to build package correctly:
+BuildRequires: adobe-mappings-cmap-devel
+BuildRequires: adobe-mappings-pdf-devel
+BuildRequires: google-droid-sans-fonts
+BuildRequires: urw-base35-fonts-devel
+
+# Already packaged software -- needed for debundling of Ghostscript:
+BuildRequires: cups-devel
+BuildRequires: dbus-devel
+BuildRequires: fontconfig-devel
+BuildRequires: freetype-devel
+BuildRequires: jbig2dec-devel = %{jbig2dec_version}
+BuildRequires: jbig2dec-libs = %{jbig2dec_version}
+BuildRequires: lcms2-devel
+BuildRequires: libidn2-devel
+BuildRequires: libijs-devel
+BuildRequires: libjpeg-turbo-devel
+BuildRequires: libpng-devel
+BuildRequires: libpaper-devel
+BuildRequires: libtiff-devel
+BuildRequires: openjpeg2-devel
+BuildRequires: zlib-devel
+
+# Enabling the GUI possibilities of Ghostscript:
+BuildRequires: gtk3-devel
+BuildRequires: libXt-devel
+BuildRequires: make
+
+# =============================================================================
+
+# NOTE: 'autosetup' macro (below) uses 'git' for applying the patches:
+# ->> All the patches should be provided in 'git format-patch' format.
+# ->> Auxiliary repository will be created during 'fedpkg prep', you
+# can see all the applied patches there via 'git log'.
+
+# Upstream patches -- official upstream patches released by upstream since the
+# ---------------- last rebase that are necessary for any reason:
+#Patch000: example000.patch
+Patch001: ghostscript-9.54.0-gdevtxtw-null-also-pointers.patch
+Patch002: ghostscript-9.54.0-include-pipe-handle-in-validation.patch
+#2032789 - coverity warnings fixes
+Patch003: ghostscript-9.54.0-covscan-fixes.patch
+#2049767 - CVE-2021-45949 heap-based buffer overflow in sampled_data_finish
+Patch004: ghostscript-9.54.0-Fix-op-stack-management-in-sampled_data_c.patch
+Patch005: ghostscript-9.54.0-Deal-with-different-VM-modes-during-CIDFont-loading.patch
+Patch006: ghostscript-9.54.0-ESC-Page-driver-does-not-set-page-size-correctly.patch
+
+# Downstream patches -- these should be always included when doing rebase:
+# ------------------
+# Downstream patches for RHEL -- patches that we keep only in RHEL for various
+# --------------------------- reasons, but are not enabled in Fedora:
+%if %{defined rhel} || %{defined centos}
+#Patch200: example200.patch
+%endif
+
+
+# Patches to be removed -- deprecated functionality which shall be removed at
+# --------------------- some point in the future:
+
+
+%description
+This package provides useful conversion utilities based on Ghostscript software,
+for converting PS, PDF and other document formats between each other.
+
+Ghostscript is a suite of software providing an interpreter for Adobe Systems'
+PostScript (PS) and Portable Document Format (PDF) page description languages.
+Its primary purpose includes displaying (rasterization & rendering) and printing
+of document pages, as well as conversions between different document formats.
+
+# === SUBPACKAGES =============================================================
+
+# Below requirements are resources, which are not detected by RPM automatically:
+%package -n libgs
+Summary: Library providing Ghostcript's core functionality
+Requires: adobe-mappings-cmap
+Requires: adobe-mappings-cmap-deprecated
+Requires: adobe-mappings-pdf
+Requires: google-droid-sans-fonts
+Requires: urw-base35-fonts
+
+%description -n libgs
+This library provides Ghostscript's core functionality, based on Ghostscript's
+API, which is useful for many packages that are build on top of Ghostscript.
+
+# ---------------
+
+%package -n libgs-devel
+Summary: Development files for Ghostscript's library
+Requires: libgs%{?_isa} = %{version}-%{release}
+
+# This virtual provides is useful in case people get confused what *-devel
+# subpackage they should actually use (i.e. ghostscript-devel vss libgs-devel?).
+# By having this virtual provide both of the options above will work...
+Provides: %{name}-devel = %{version}-%{release}
+Provides: %{name}-devel%{?_isa} = %{version}-%{release}
+
+%description -n libgs-devel
+This package contains development files that are useful for building packages
+against Ghostscript's library, which provides Ghostscript's core functionality.
+
+# ---------------
+
+# NOTE: The 'dvipdf' utility invokes 'dvips', which is part of 'texlive-dvips'.
+# This requirement pulls in a lot of texlive subpackages. Not all users
+# need to use this utility, nor they wish to have a lot of disk space to
+# be used by 'texlive'. Therefore the specific subpackage is necessary.
+#
+# Previously, the 'dvips' was moving between packages before, so it's
+# more convenient (even for users) to have a direct requiremnt for the
+# executable instead of package.
+%package tools-dvipdf
+Summary: Ghostscript's 'dvipdf' utility
+Requires: %{name}%{?_isa} = %{version}-%{release}
+Requires: /usr/bin/dvips
+
+%description tools-dvipdf
+This package provides the utility 'dvipdf' for converting of TeX DVI files into
+PDF files using Ghostscript and dvips.
+
+# ---------------
+
+%package tools-fonts
+Summary: Ghostscript's font utilities
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description tools-fonts
+This package provides utilities which are useful when you are working with AFM,
+PFB or PFA files, mostly for conversion purposes.
+
+# ---------------
+
+%package tools-printing
+Summary: Ghostscript's printing utilities
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description tools-printing
+This package provides utilities for formatting and printing text files using
+either Ghostscript, or BubbleJet, DeskJet, DeskJet 500, and LaserJet printers.
+
+It also provides the utility 'pphs', which is useful for printing of Primary
+Hint Stream of a linearized PDF file.
+
+# ---------------
+
+%package gtk
+Summary: Ghostscript's GTK-based document renderer
+Requires: libgs%{?_isa} = %{version}-%{release}
+
+%description gtk
+This package provides GTK-based utility 'gsx', which can be used for displaying
+of various document files (including PS and PDF).
+
+# ---------------
+
+%package x11
+Summary: Ghostscript's X11-based driver for document rendering
+Requires: %{name}%{?_isa} = %{version}-%{release}
+
+%description x11
+This package provides X11-based driver for Ghostscript, which enables displaying
+of various document files (including PS and PDF).
+
+# ---------------
+
+%package doc
+Summary: Documentation files for Ghostscript
+Requires: %{name} = %{version}-%{release}
+BuildArch: noarch
+
+%description doc
+This package provides detailed documentation files for Ghostscript software.
+
+# === BUILD INSTRUCTIONS ======================================================
+
+# Call the 'autosetup' macro to prepare the environment, but do not patch the
+# source code yet -- we need to remove bundled software before the build first:
+%prep
+%autosetup -N -S git
+
+# Libraries that we already have packaged in Fedora (see Build Requirements):
+rm -rf cups/libs freetype ijs jbig2dec jpeg lcms2* leptonica libpng openjpeg tesseract tiff windows zlib
+
+# Add the remaining source code to the initial commit, patch the source code:
+git add --all --force .
+git commit --all --amend --no-edit > /dev/null
+%autopatch -p1
+
+# ---------------
+
+%build
+# --enable-dynamic
+# ... enables dynamically loaded drivers
+#
+# --disable-compile-inits
+# ... disables compiling of init files (PS code, fonts, etc.) into resulting
+# binaries, so they are loaded dynamically
+#
+# --without-versioned-path
+# ... tells configure to not use version string in the resulting paths after
+# 'make_install' macro - this is safe, because only one version of
+# package can be installed at a given time on Fedora distribution,
+# so we won't end up with conflicting folders when doing rebase
+#
+# --with-fonthpath
+# ... searches for necessary fonts in these column-separated directories,
+# not just default ones
+#
+# NOTE: In RHEL we need to keep the /usr/share/ghostscript/conf.d/ folder
+# for China's GB18030 official certification:
+%if %{defined rhel} || %{defined centos}
+%configure --enable-dynamic --disable-compile-inits --without-versioned-path \
+ --with-fontpath="%{urw_base35_fontpath}:%{google_droid_fontpath}:%{_datadir}/%{name}/conf.d/"
+%else
+%configure --enable-dynamic --disable-compile-inits --without-versioned-path \
+ --with-fontpath="%{urw_base35_fontpath}:%{google_droid_fontpath}"
+%endif
+
+%make_build so
+
+# ---------------
+
+%install
+# Using the 'make_install' macro with 'soinstall' target would result in some
+# files being installed unnecessary, so we are using traditional way:
+make DESTDIR=%{buildroot} soinstall
+
+# Remove files that we do not want ship / support:
+# ------------------------------------------------
+# LPR-related scripts:
+rm -f %{buildroot}%{_bindir}/{lprsetup.sh,unix-lpr.sh}
+
+# Rename the dynamic binary to be used by default as 'gs' binary.
+mv -f %{buildroot}%{_bindir}/{gsc,gs}
+
+# Remove useless files from doc/ directory and doc/ symlink:
+rm -f %{buildroot}%{_docdir}/%{name}/{AUTHORS,COPYING,*.tex,*.hlp,*.txt}
+rm -f %{buildroot}%{_datadir}/%{name}/doc
+
+# ---------------
+
+# Move html documentation into html/ subdir:
+install -m 0755 -d %{buildroot}%{_docdir}/%{name}/html
+mv -f %{buildroot}%{_docdir}/%{name}/{*.htm*,html}
+
+# ---------------
+
+# Create 'ghostscript' symlink for its binary:
+ln -s %{_bindir}/gs %{buildroot}%{_bindir}/ghostscript
+
+# Create a man page symlink for 'ghostscript':
+ln -s %{_mandir}/man1/gs.1 %{buildroot}%{_mandir}/man1/ghostscript.1
+
+# ---------------
+
+# According to upstream, using fontconfig for fonts lookup is quite a slow
+# process for Ghostscript startup, and they advise using the symlinks where
+# possible. The fontconfig (Ghostscript's search path) should be used preferably
+# as a fallback only.
+ln -fs %{google_droid_fontpath}/DroidSansFallbackFull.ttf %{buildroot}%{_datadir}/%{name}/Resource/CIDFSubst/DroidSansFallback.ttf
+
+for font in $(basename --multiple %{buildroot}%{_datadir}/%{name}/Resource/Font/*); do
+ ln -fs %{urw_base35_fontpath}/${font}.t1 %{buildroot}%{_datadir}/%{name}/Resource/Font/${font}
+done
+
+# Using the system-wide available CMap files from Adobe via Ghostscript's search
+# path is not safe (nor was ever intended to be supported) way of doing so
+# according to upstream. Their preferred solution is to just create symlink for
+# each of the CMap files in Ghostscript's Resources/CMap folder.
+for file in $(basename --multiple %{buildroot}%{_datadir}/%{name}/Resource/CMap/*); do
+ find %{adobe_mappings_rootpath} -type f -name ${file} -exec ln -fs {} %{buildroot}%{_datadir}/%{name}/Resource/CMap/${file} \;
+done
+
+# Create the configuration folder fo RHEL:
+%if %{defined rhel} || %{defined centos}
+ install -m 0755 -d %{buildroot}%{_datadir}/%{name}/conf.d/
+%endif
+
+# === INSTALLATION INSTRUCTIONS ===============================================
+
+%ldconfig_scriptlets -n libgs
+
+# === PACKAGING INSTRUCTIONS ==================================================
+
+%files -n libgs
+%license LICENSE doc/COPYING
+
+%{_libdir}/libgs.so.*
+%{_datadir}/%{name}/
+
+# Include the configuration folder for RHEL:
+%if %{defined rhel} || %{defined centos}
+ %dir %{_datadir}/%{name}/conf.d/
+%endif
+
+# ---------------
+
+%files -n libgs-devel
+%{_libdir}/libgs.so
+%{_includedir}/%{name}/
+
+# ---------------
+
+%files
+%{_bindir}/gs
+%{_bindir}/gsnd
+%{_bindir}/ghostscript
+
+# Useful conversion scripts:
+%{_bindir}/eps2*
+%{_bindir}/pdf2*
+%{_bindir}/ps2*
+
+%{_mandir}/man1/gs.1*
+%{_mandir}/man1/gsnd*
+%{_mandir}/man1/ghostscript*
+%{_mandir}/man1/eps2*
+%{_mandir}/man1/pdf2*
+%{_mandir}/man1/ps2*
+
+%lang(de) %{_mandir}/de/man1/gsnd*
+%lang(de) %{_mandir}/de/man1/eps2*
+%lang(de) %{_mandir}/de/man1/pdf2*
+%lang(de) %{_mandir}/de/man1/ps2*
+
+# ---------------
+
+%files tools-dvipdf
+%{_bindir}/dvipdf
+
+%{_mandir}/man1/dvipdf*
+
+%lang(de) %{_mandir}/de/man1/dvipdf*
+
+# ---------------
+
+%files tools-fonts
+%{_bindir}/pf2afm
+%{_bindir}/pfbtopfa
+%{_bindir}/printafm
+
+%{_mandir}/man1/pf2afm*
+%{_mandir}/man1/pfbtopfa*
+%{_mandir}/man1/printafm*
+
+%lang(de) %{_mandir}/de/man1/printafm*
+
+# ---------------
+
+%files tools-printing
+%{_bindir}/gsbj
+%{_bindir}/gsdj
+%{_bindir}/gsdj500
+%{_bindir}/gslj
+%{_bindir}/gslp
+%{_bindir}/pphs
+
+%{_mandir}/man1/gsbj*
+%{_mandir}/man1/gsdj*
+%{_mandir}/man1/gslj*
+%{_mandir}/man1/gslp*
+
+# ---------------
+
+%files gtk
+%{_bindir}/gsx
+
+# ---------------
+
+%files x11
+%{_libdir}/%{name}/
+
+# ---------------
+
+%files doc
+%doc %{_docdir}/%{name}/
+
+# =============================================================================
+
+%changelog
+* Thu Feb 02 2023 Richard Lescak <rlescak@redhat.com> - 9.54.0-9
+- set the page size for A4 correctly in ESC/Page driver
+- Resolves: rhbz#2164613
+
+* Fri Dec 09 2022 Richard Lescak <rlescak@redhat.com> - 9.54.0-8
+- fix loading of CIDFonts (#2138795)
+
+* Thu Feb 24 2022 Richard Lescak <rlescak@redhat.com> - 9.54.0-7
+- Fix patch for covscan issues (#2032789)
+
+* Tue Feb 22 2022 Richard Lescak <rlescak@redhat.com> - 9.54.0-6
+- Added fix for vulnerability CVE-2021-45949 (#2049767)
+
+* Mon Feb 21 2022 Richard Lescak <rlescak@redhat.com> - 9.54.0-5
+- Added coverity fixes (#2032789)
+
+* Thu Sep 16 2021 Richard Lescak <rlescak@redhat.com> - 9.54.0-4
+- Added fix for CVE-2021-3781 (#2002625)
+
+* Thu Sep 16 2021 Richard Lescak <rlescak@redhat.com> - 9.54.0-3
+- Added fix for segfault bug (#1989084)
+
+* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 9.54.0-2
+- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
+ Related: rhbz#1991688
+
+* Mon Jul 26 2021 Richard Lescak <rlescak@redhat.com> - 9.54.0-1
+- Update to 9.54.0 (#1923969)
+
+* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 9.53.3-6
+- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
+
+* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 9.53.3-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
+
+* Tue Dec 22 2020 Michael J Gruber <mjg@fedoraproject.org> - 9.53.3-4
+- Restore opvp for good (#1909950)
+
+* Tue Nov 24 2020 Michael J Gruber <mjg@fedoraproject.org> - 9.53.3-3
+- Restore opvp device (#1899885)
+
+* Wed Nov 04 2020 Anna Khaitovich <akhaitov@redhat.com> - 9.53.3-2
+- Drop use of FT_CALLBACK_DEF() def
+
+* Thu Oct 08 2020 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 9.53.1-3
+- Update to 9.53.3 (#1882743)
+
+* Tue Sep 22 2020 Anna Khaitovich <akhaitov@redhat.com> - 9.53.1-2
+- Bump jbig2dec version
+
+* Thu Sep 10 2020 Fedora Release Monitoring <release-monitoring@fedoraproject.org> - 9.53.0-1
+- Update to 9.53.1 (#1877781)
+
+* Mon Jul 27 2020 Anna Khaitovich <akhaitov@redhat.com> - 9.52-8
+- Use libidn2 instead of libidn (fixes #1860890)
+
+* Thu Jul 02 2020 Michael J Gruber <mjg@fedoraproject.org> - 9.52-7
+- really require the exact jbig2dec version
+
+* Sat Jun 27 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 9.52-6
+- standard packages should not require -devel packages
+
+* Wed Jun 24 2020 Anna Khaitovich <akhaitov@redhat.com> - 9.52-5
+- Require the exact jbig2dec version in both build and runtime dependencies
+
+* Thu May 21 2020 Anna Khaitovich <akhaitov@redhat.com> - 9.52-4
+- Define %%{jbig2dec_version} global macro
+
+* Wed May 20 2020 Anna Khaitovich <akhaitov@redhat.com> - 9.52-3
+- Require the exact jbig2dec version to avoid a mismatch between header files and library
+
+* Mon May 18 2020 Anna Khaitovich <akhaitov@redhat.com> - 9.52-2
+- Require the exact jbig2dec-devel version
+
+* Thu Apr 02 2020 Zdenek Dohnal <zdohnal@redhat.com> - 9.52-1
+- 9.52
+
+* Wed Mar 11 2020 Zdenek Dohnal <zdohnal@redhat.com> - 9.50-1
+- 9.50
+
+* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 9.27-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
+
+* Thu Nov 14 2019 Zdenek Dohnal <zdohnal@redhat.com> - 9.27-2
+- 1772486 - ghostscript: -dSAFER escape in .charkeys (701841)
+
+* Fri Sep 06 2019 Martin Osvald <mosvald@redhat.com> - 9.27-1
+- rebase to latest upstream version 9.27
+- security fixes added for:
+ - CVE-2019-14811 (bug #1747908)
+ - CVE-2019-14812 (bug #1747907)
+ - CVE-2019-14813 (bug #1747906)
+ - CVE-2019-14817 (bug #1747909)
+
+* Mon Aug 12 2019 Martin Osvald <mosvald@redhat.com> - 9.26-6
+- Fix for CVE-2019-10216 added
+
+* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 9.26-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
+
+* Fri Mar 22 2019 Martin Osvald <mosvald@redhat.com> - 9.26-4
+- Fixes for CVE-2019-3835 and CVE-2019-3838 added
+
+* Mon Mar 11 2019 Martin Osvald <mosvald@redhat.com> - 9.26-3
+- Fix for bug #1687144 added
+
+* Fri Mar 08 2019 Martin Osvald <mosvald@redhat.com> - 9.26-2
+- Fix for CVE-2019-6116 added (bug #1668888)
+
+* Thu Feb 07 2019 Martin Osvald <mosvald@redhat.com> - 9.26-1
+- rebase to latest upstream version 9.26
+- spec change to remove gsdoc.el due to upstream 8bc783cb586
+
+* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 9.25-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
+
+* Mon Sep 17 2018 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 9.25-1
+- rebase to latest upstream version to fix additional issues found in 9.24
+
+* Fri Sep 14 2018 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 9.24-3
+- ghostscript-9.24-002-icc-PermitReading.patch removed
+- ghostscript-9.24-002-fix-for-Canon-and-Kyocera-printers.patch added (bug #1626818)
+- ghostscript-9.24-003-CVE-2018-16802.patch added (bug #1627960)
+
+* Fri Sep 07 2018 Tom Callaway <spot@fedoraproject.org> - 9.24-2
+- add upstream fix for reading in ICC profiles
+
+* Wed Sep 05 2018 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 9.24-1
+- rebase to latest upstream version, which contains important CVE fixes
+- additional ZER0-DAY fixes added
+
+* Wed Aug 29 2018 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 9.23-7
+- ghostscript-9.23-002-fixes-for-set-of-CVEs-reported-by-Google.patch added
+
+* Mon Jul 30 2018 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 9.23-6
+- ghostscript-9.23-001-create-GC-descriptors-for-JPEG-passthrough.patch added (bug #1589467)
+
+* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 9.23-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
+* Tue May 15 2018 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 9.23-4
+- One more rebuild for libidn ABI fix (BZ#'s 1573961 and 1566414)
+
+* Mon May 14 2018 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 9.23-3
+- %%conflicts_vers bumped to fix F27->F28 upgrade
+
+* Thu May 10 2018 Stephen Gallagher <sgallagh@redhat.com> - 9.23-2.1
+- Rebuilding for libidn ABI fix (BZ#'s 1573961 and 1566414)
+
+* Mon Apr 23 2018 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 9.23-2
+- Fix for CVE-2018-10194 added (bug #1569821)
+
+* Wed Mar 21 2018 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 9.23-1
+- Rebase to latest upstream version
+
+* Thu Mar 08 2018 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 9.22-10
+- %%{isa} removed in Conflicts for ghostscript-core in libgs package
+
+* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 9.22-9
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
+* Mon Feb 05 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 9.22-8
+- Switch to %%ldconfig_scriptlets
+ >> https://fedoraproject.org/wiki/Changes/Removing_ldconfig_scriptlets
+
+* Mon Jan 22 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 9.22-7
+- Fix Obsoletes
+ >> https://github.com/rpm-software-management/rpm/commit/9e8e8bcfb1b1fa35
+
+* Sat Jan 20 2018 Björn Esser <besser82@fedoraproject.org> - 9.22-6
+- Rebuilt for switch to libxcrypt
+
+* Thu Jan 18 2018 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 9.22-5
+- ghostscript-tools-dvipdf -- new subpackage
+
+* Tue Jan 09 2018 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 9.22-4
+- complete cleanup in ghostscript specfile according to FPG
+- libgs -- new separate package (Ghostscript library)
+- libgs-devel -- new separate subpackage (devel files for Ghostscript library)
+- libijs -- now shipped as a separate package on Pagure
+- ghostscript-tools-fonts -- new subpackage
+- ghostscript-tools-printing -- new subpackage
+- ghostscript-core -- changed to transitional metapackage
+- package is now completely debundled from already packaged software/resources
+- versioned paths for documentation, resources, etc. are no longer used
+- LPR setup scripts removed (no longer shipped)
+- added symlinks for direct resources location to speedup Ghostscript startup times
+- Ghostscript's search path updated to include only fonts locations as a backup
+- support for /usr/share/ghostscript/conf.d dropped (using Google Droid Sans Fallback instead)
+- examples/ folder dropped from *-doc subpackage
+
+* Mon Dec 04 2017 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 9.22-3
+- Fontmap.GS lookup path for Helvetica-Narrow-Bold-Oblique font fixed (bug #1517518)
+
+* Wed Nov 29 2017 Tom Callaway <spot@fedoraproject.org> - 9.22-2
+- apply post 9.22 upstream commit to restore flushpage operator (xdvi needs it)
+
+* Wed Sep 27 2017 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 9.22-1
+- Rebase to latest upstream version (no API/ABI changes according to upstream)
+
+* Wed Sep 27 2017 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 9.20-14
+- Rebuilt with updated 'search path' for fonts (bug #1500105)
+
+* Wed Sep 27 2017 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 9.20-13
+- Rebuilt with new 'urw-base35-fonts' package (bug #1494563)
+
+* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 9.20-12
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
+
+* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 9.20-11
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
+* Wed May 03 2017 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 9.20-10
+- Added security fix for CVE-2017-7975 (bug #1443940)
+
+* Thu Apr 27 2017 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 9.20-9
+- Added security fixes for:
+ - CVE-2016-10217 (bug #1441564)
+ - CVE-2016-10218 (bug #1441568)
+ - CVE-2016-10219 (bug #1441569)
+ - CVE-2016-10220 (bug #1441571)
+ - CVE-2017-5951 (bug #1441572)
+ - CVE-2017-8291 (bug #1446063)
+
+* Thu Apr 06 2017 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 9.20-8
+- Added security fix for CVE-2017-7207 (bug #1434497)
+
+* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 9.20-7
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
+
+* Tue Jan 24 2017 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 9.20-6
+- Remove and (re-implement) ConvertUTF.c (bug #1404933)
+- Added security fix for CVE-2016-9601 (bug #1410021)
+
+* Thu Nov 3 2016 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 9.20-5
+- Added fix to avoid SIGSEGV for some *.ps files. More info here:
+ <http://bugs.ghostscript.com/show_bug.cgi?id=697286>
+
+* Tue Nov 1 2016 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 9.20-4
+- Added security fix for CVE-2016-7977 (bug #1380415)
+
+* Tue Nov 1 2016 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 9.20-3
+- Added security fix for CVE-2016-8602 (bug #1383940)
+
+* Fri Oct 7 2016 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 9.20-2
+- Added security fixes for:
+ - CVE-2016-7979 (bug #1382305)
+ - CVE-2016-7976 (bug #1382294)
+ - CVE-2016-7978 (bug #1382300)
+
+* Fri Oct 7 2016 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 9.20-1
+- Rebase to latest ghostscript-9.20. Major changes in this rebase:
+ - OpenJPEG support has been re-enabled
+ - ijs-config custom tool has been removed (pkg-config is used by default)
+ - old irrelevant patches removed (changes are part of upstream release now)
+ - remaining patches has been updated & renamed
+ - no API/ABI changes according to upstream
+
+* Tue Oct 4 2016 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 9.16-5
+- [TEMPORARY] Support for OpenJPEG disabled for builds to pass.
+- Security fix for BZ #1380416 backported.
+
+* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 9.16-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
+
+* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.16-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
+
+* Tue Mar 31 2015 Tim Waugh <twaugh@redhat.com> 9.16-2
+- Use old names for urw-fonts (bug #1207577).
+
+* Mon Mar 30 2015 Tim Waugh <twaugh@redhat.com> 9.16-1
+- 9.16.
+
+* Sat Feb 21 2015 Till Maas <opensource@till.name> - 9.15-7
+- Rebuilt for Fedora 23 Change
+ https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
+
+* Fri Dec 19 2014 Tim Waugh <twaugh@redhat.com> 9.15-6
+- Don't ship X11.so in both the main package and the x11 sub-package.
+
+* Fri Dec 19 2014 Rex Dieter <rdieter@fedoraproject.org> 9.15-5
+- fix %%_isa macro usage
+
+* Thu Dec 18 2014 Tim Waugh <twaugh@redhat.com> 9.15-4
+- New ghostscript-x11 package for X11 driver (bug #148939).
+- Ghostscript not requiring X11 is now in ghostscript-core.
+- The 'ghostscript' package requires both of these.
+
+* Tue Oct 7 2014 Tim Waugh <twaugh@redhat.com> 9.15-3
+- Avoid shipping ramfs source as its license is unclear. Similarly
+ with some documentation and example code (bug #1149617).
+
+* Fri Oct 3 2014 Tim Waugh <twaugh@redhat.com> 9.15-2
+- Use system openjpeg2 library so we can decode JPX (upstream
+ bug #695557).
+
+* Tue Sep 23 2014 Tim Waugh <twaugh@redhat.com> 9.15-1
+- 9.15. No longer need iccprofiles-initdir, gs694154, crash, sys-zlib,
+ or trio-g patches.
+
+* Tue Sep 9 2014 Tim Waugh <twaugh@redhat.com>
+- No need to apply patch for already-applied gdevcups-debug-uninit.
+
+* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.14-6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
+
+* Fri Aug 15 2014 Tim Waugh <twaugh@redhat.com> 9.14-5
+- Fix double-to-string conversion on e.g. ppc64 (bug #1014772).
+
+* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.14-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
+
+* Wed Jun 4 2014 Tim Waugh <twaugh@redhat.com> 9.14-3
+- Applied patch from upstream to fix memory handling issue that could
+ lead to crashes (bug #1087071).
+
+* Tue Jun 03 2014 Ralf Corsépius <corsepiu@fedoraproject.org> 9.14-2
+- Add %%{_datadir}/ghostscript/%%{gs_dot_ver}/Resource/IdiomSet
+ (RHBZ #1100338).
+
+* Thu Mar 27 2014 Tim Waugh <twaugh@redhat.com> 9.14-1
+- 9.14.
+
+* Wed Mar 26 2014 Tim Waugh <twaugh@redhat.com> 9.12-1
+- 9.12 (bug #1080814).
+- Fix build when using system zlib.
+
+* Thu Feb 27 2014 Tim Waugh <twaugh@redhat.com> 9.10-6
+- Use upstream patch to fix duplex for some devices (bug #1068896).
+
+* Tue Dec 10 2013 Tim Waugh <twaugh@redhat.com> 9.10-5
+- Use upstream patches to fix gs segfaults (bug #1026428, bug #1039718).
+
+* Wed Sep 25 2013 Tim Waugh <twaugh@redhat.com> 9.09-4
+- Regenerate tarball (bug #1000387).
+
+* Wed Aug 28 2013 Tim Waugh <twaugh@redhat.com> 9.09-3
+- Remove jpegxr to ensure it isn't built (bug #1000387).
+
+* Thu Aug 22 2013 Tim Waugh <twaugh@redhat.com> 9.09-2
+- Fixed character set conversion issue in pdfwrite (bug #999927).
+
+* Thu Aug 22 2013 Tim Waugh <twaugh@redhat.com> 9.09-1
+- 9.09.
+
+* Sat Aug 17 2013 Tim Waugh <twaugh@redhat.com> 9.09-0.rc1.1
+- 9.09rc1.
+
+* Thu Aug 15 2013 Tim Waugh <twaugh@redhat.com> 9.08-1
+- 9.08.
+
+* Mon Aug 12 2013 Tim Waugh <twaugh@redhat.com> 9.08-0.rc1.1
+- 9.08rc1. CUPS filters moved to the cups-filters package.
+
+* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.07-12
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+* Thu Jul 18 2013 Tim Waugh <twaugh@redhat.com> 9.07-11
+- Remove bundled (and unused) lcms source.
+- Fixed license tag (AGPLv3+).
+
+* Wed Jul 17 2013 Tim Waugh <twaugh@redhat.com> 9.07-10
+- Added in missing part of gs_sprintf backport: add in the header to
+ stdio_.h. Without this there are problems with va_args on some
+ platforms (bug #979681).
+
+* Mon Jul 8 2013 Tim Waugh <twaugh@redhat.com> 9.07-9
+- Upstream patch from bug #693921 to avoid zfapi crash (bug #969785).
+
+* Mon Jul 1 2013 Tim Waugh <twaugh@redhat.com> 9.07-8
+- Use correct colord device ID in gstoraster.
+
+* Mon Jul 1 2013 Tim Waugh <twaugh@redhat.com> 9.07-7
+- Use more caution when converting floats to strings (bug #980085).
+
+* Tue Jun 18 2013 Tim Waugh <twaugh@redhat.com> 9.07-6
+- Upstream patch from bug #690692 to handle strange fonts (bug #969660).
+
+* Fri May 17 2013 Tim Waugh <twaugh@redhat.com> 9.07-5
+- Remove pdfopt man pages which were mistakenly left in (bug #963882).
+
+* Thu May 16 2013 Tim Waugh <twaugh@redhat.com> 9.07-4
+- Upstream patch to fix pdfwrite segfault (bug #962120).
+
+* Thu May 9 2013 Tim Waugh <twaugh@redhat.com> - 9.07-3
+- Back-ported locale fix (bug #961149).
+
+* Thu Apr 25 2013 Tim Waugh <twaugh@redhat.com>
+- Unowned directories (bug #902525).
+
+* Mon Apr 8 2013 Tim Waugh <twaugh@redhat.com> - 9.07-2
+- Rebuilt.
+
+* Fri Mar 8 2013 Tim Waugh <twaugh@redhat.com> - 9.07-1
+- 9.07.
+
+* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.06-7
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
+* Fri Jan 18 2013 Adam Tkac <atkac redhat com> - 9.06-6
+- rebuild due to "jpeg8-ABI" feature drop
+
+* Fri Jan 4 2013 Tim Waugh <twaugh@redhat.com> - 9.06-5
+- Updated build requirement from gtk2-devel to gtk3-devel so that gsx
+ gets built using the correct loader (bug #884483).
+
+* Fri Dec 21 2012 Adam Tkac <atkac redhat com> - 9.06-4
+- rebuild against new libjpeg
+
+* Thu Sep 27 2012 Tim Waugh <twaugh@redhat.com> - 9.06-3
+- Remove cups/libs to avoid bundling, although it isn't built in any
+ case.
+
+* Tue Sep 4 2012 Tim Waugh <twaugh@redhat.com> - 9.06-2
+- Fixed encoding of German ps2pdf man page (bug #853764).
+
+* Wed Aug 8 2012 Tim Waugh <twaugh@redhat.com> - 9.06-1
+- 9.06.
+
+* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.05-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Tue Jul 17 2012 Tim Waugh <twaugh@redhat.com> - 9.05-4
+- Ship pkg-config file for ijs (bug #840830).
+
+* Mon Apr 30 2012 Tim Waugh <twaugh@redhat.com> - 9.05-3
+- Removed more bundled packages (bug #816747).
+- Fixed missing error check when setting ICC profile.
+
+* Thu Apr 26 2012 Jon Ciesla <limburgher@gmail.com> - 9.05-2
+- Fixed encodings and changelog version for merge review BZ 225795.
+
+* Thu Feb 9 2012 Tim Waugh <twaugh@redhat.com> 9.05-1.1
+- Avoid mixed tabs and spaces in spec file.
+
+* Thu Feb 9 2012 Tim Waugh <twaugh@redhat.com> 9.05-1
+- 9.05.
+
+* Fri Jan 6 2012 Tim Waugh <twaugh@redhat.com> 9.04-9
+- Use %%_cups_serverbin macro.
+
+* Fri Jan 6 2012 Tim Waugh <twaugh@redhat.com> 9.04-8
+- Rebuilt for GCC 4.7.
+
+* Tue Nov 8 2011 Tim Waugh <twaugh@redhat.com> 9.04-7
+- Applied fix for type 1 font copying code SEAC scanner (bug #728710).
+
+* Mon Nov 7 2011 Tim Waugh <twaugh@redhat.com> 9.04-6
+- Rebuilt for new libpng.
+
+* Tue Nov 1 2011 Tim Waugh <twaugh@redhat.com> 9.04-5
+- Applied upstream fix for skipping "cached" outline glyphs (bug #742349).
+
+* Wed Aug 31 2011 Tim Waugh <twaugh@redhat.com> 9.04-4
+- Fixed typo (EXTRAFLAGS -> EXTRACFLAGS).
+
+* Mon Aug 22 2011 Tim Waugh <twaugh@redhat.com> 9.04-3
+- Updated upstream fix for gdevcups RGBW handling (Ghostscript bug #691922).
+
+* Tue Aug 16 2011 Tim Waugh <twaugh@redhat.com> 9.04-2
+- Applied upstream fix for gdevcups handling of RGBW (Ghostscript
+ bug #691922).
+
+* Mon Aug 1 2011 Tim Waugh <twaugh@redhat.com> 9.04-1
+- 9.04.
+
+* Mon Aug 1 2011 Tim Waugh <twaugh@redhat.com> 9.02-5
+- No longer need jbig2-image-refcount patch.
+- Fixed error reporting in the gstoraster filter.
+
+* Wed May 25 2011 Tim Waugh <twaugh@redhat.com> 9.02-4
+- colord is optional (bug #706619).
+
+* Tue Apr 12 2011 Tim Waugh <twaugh@redhat.com> 9.02-3
+- Prevent segfault when running gstoraster outside CUPS.
+
+* Thu Apr 7 2011 Tim Waugh <twaugh@redhat.com>
+- Remove bundled expat directory. Not used, but this makes it
+ clearer.
+
+* Wed Apr 6 2011 Tim Waugh <twaugh@redhat.com> 9.02-2
+- pxl: match landscape page sizes (bug #692165).
+
+* Mon Apr 4 2011 Tim Waugh <twaugh@redhat.com>
+- Fixed source URL.
+
+* Mon Apr 4 2011 Tim Waugh <twaugh@redhat.com> 9.02-1
+- 9.02.
+
+* Thu Mar 10 2011 Tim Waugh <twaugh@redhat.com> 9.01-3
+- colord support: prefix printer name with "cups-" to get device ID.
+
+* Thu Feb 10 2011 Richard Hughes <rhughes@redhat.com> 9.01-2
+- Backport a patch from svn trunk to enable colord support.
+
+* Thu Feb 10 2011 Tim Waugh <twaugh@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@lists.fedoraproject.org> - 9.00-14
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Wed Feb 2 2011 Tim Waugh <twaugh@redhat.com> 9.00-13
+- Applied fix for upstream bug #691920.
+
+* Fri Jan 28 2011 Tim Waugh <twaugh@redhat.com> 9.00-12
+- Use poppler-data for CMaps (bug #630632).
+
+* Mon Jan 17 2011 Tim Waugh <twaugh@redhat.com> 9.00-11
+- Fixed macro in comment.
+- Include full source URL.
+
+* Fri Jan 14 2011 Tim Waugh <twaugh@redhat.com> 9.00-10
+- Avoid symbol clash with scan_token (bug #590914).
+
+* Mon Jan 10 2011 Tim Waugh <twaugh@redhat.com> 9.00-9
+- Replaced width-and-height patch with the one actually used upstream.
+
+* Fri Jan 7 2011 Tim Waugh <twaugh@redhat.com> 9.00-8
+- Applied upstream ICC fix (bug #655449).
+- gdevcups: use correct width and height values when allocating memory
+ (upstream bug 691733).
+
+* Fri Nov 26 2010 Tim Waugh <twaugh@redhat.com> 9.00-7
+- Fixed more summaries ending with ".".
+
+* Thu Oct 21 2010 Tim Waugh <twaugh@redhat.com> 9.00-6
+- Own more directories (bug #645075).
+
+* Thu Oct 14 2010 Tim Waugh <twaugh@redhat.com> 9.00-5
+- gdevcups: don't use uninitialized variables in debugging output
+ (Ghostscript bug #691683).
+
+* Fri Oct 1 2010 Tim Waugh <twaugh@redhat.com> 9.00-4
+- Reverted incorrect change introduced to fix bug #635786.
+
+* Thu Sep 30 2010 Tim Waugh <twaugh@redhat.com> 9.00-3
+- Don't use carriage return in ps2epsi output (bug #635786).
+- Include more documentation (bug #634354).
+
+* Wed Sep 29 2010 jkeating - 9.00-2
+- Rebuilt for gcc bug 634757
+
+* Thu Sep 23 2010 Tim Waugh <twaugh@redhat.com> 9.00-1
+- Updated to 9.00. No longer need -P-, CVE-2009-4270, CVE-2010-1628,
+ SEARCH_HERE_FIRST, bbox-close, cups-realloc-color-depth,
+ epstopdf-failure, fPIC, gdevcups-ripcache, iname-segfault, ldfalgs,
+ pdf2dsc, pdftoraster-exit, tif-fail-close, tiff-default-strip-size,
+ or tiff-fixes patches.
+
+* Mon Sep 13 2010 Tim Waugh <twaugh@redhat.com> 8.71-16
+- Pulled in gs_fonts.ps modification for .runlibfileifexists from
+ OpenSUSE package (bug #610301).
+
+* Fri Sep 3 2010 Tim Waugh <twaugh@redhat.com> 8.71-15
+- Restored Fontmap.local patch, incorrectly dropped after
+ ghostscript-8.15.4-3 (bug #610301).
+- Applied patch to let gdevcups use automatic memory allocation. Use
+ RIPCache=auto in /etc/cups/cupsd.conf to enable.
+- Applied patch to fix NULL dereference in bbox driver (bug #591624).
+- Applied upstream patch to fix iname.c segfault (bug #465311).
+
+* Thu Aug 26 2010 Tim Waugh <twaugh@redhat.com> 8.71-14
+- Avoid epstopdf failure using upstream patch (bug #627390).
+- More upstream fixes for bug #599564.
+
+* Wed Aug 25 2010 Tim Waugh <twaugh@redhat.com> 8.71-13
+- Fix implementation of -P- (bug #599564).
+- Use -P- and -dSAFER in scripts (bug #599564).
+
+* Wed Aug 25 2010 Tim Waugh <twaugh@redhat.com> 8.71-12
+- Change SEARCH_HERE_FIRST default to make -P- default instead of -P
+ (bug #599564).
+- Removed redundant gs-executable patch (bug #502550).
+
+* Thu Aug 5 2010 Tim Waugh <twaugh@redhat.com> 8.71-11
+- Avoid another NULL pointer dereference in jbig2 code (bug #621569).
+
+* Fri Jul 16 2010 Tim Waugh <twaugh@redhat.com> 8.71-10
+- Applied patch to fix CVE-2010-1628 (memory corruption at PS stack
+ overflow, bug #592492).
+
+* Tue Mar 16 2010 Tim Waugh <twaugh@redhat.com> 8.71-9
+- Backported some more TIFF fixes (bug #573970).
+- Use upstream fix for TIFF default strip size (bug #571520).
+
+* Mon Mar 15 2010 Tim Waugh <twaugh@redhat.com> 8.71-8
+- Restore the TIFF default strip size of 0 (bug #571520).
+- Don't segfault closing tiffg3 device if opening failed (bug #571520).
+- Don't revert gdevcups y-axis change (bug #541604).
+- Reallocate memory in gdevcups when color depth changes (bug #563313).
+
+* Fri Mar 5 2010 Tim Waugh <twaugh@redhat.com> 8.71-7
+- Don't own the %%{_datadir}/ghostscript or
+ %%{_datadir}/ghostscript/conf.d directories as the filesystem
+ package already does (bug #569442).
+
+* Wed Mar 3 2010 Tim Waugh <twaugh@redhat.com> 8.71-6
+- Fixed summary.
+- Fixed macros in changelog.
+- Avoid mixed spaces and tabs.
+- Ship COPYING file.
+- Added comments for all patches.
+- More consistent macro use.
+
+* Mon Feb 22 2010 Tim Waugh <twaugh@redhat.com> 8.71-5
+- The doc subpackage is now noarch (bug #567179).
+
+* Sat Feb 20 2010 Tim Waugh <twaugh@redhat.com> 8.71-4
+- Actually revert the upstream gdevcups changes (bug #563313).
+- Fixed pdf2dsc.ps (bug #565935).
+- Use fixed patch for LDFLAGS to make sure libgs.so gets a soname
+ (bug #565935).
+
+* Fri Feb 19 2010 Tim Waugh <twaugh@redhat.com> 8.71-3
+- Fixed LDFLAGS when building dynamically linked executables (bug #565935).
+
+* Wed Feb 17 2010 Tim Waugh <twaugh@redhat.com> 8.71-2
+- Use system libtiff.
+
+* Wed Feb 17 2010 Tim Waugh <twaugh@redhat.com> 8.71-1
+- 8.71 (bug #565935).
+
+* Tue Feb 16 2010 Tim Waugh <twaugh@redhat.com> 8.70-7
+- Reverted gdevcups duplex changes as they cause a regression
+ (see bug #563313).
+
+* Mon Jan 25 2010 Tim Waugh <twaugh@redhat.com> 8.70-6
+- Fixed pdftoraster so that it waits for its sub-process to exit.
+- Another gdevcups duplex fix from upstream revision 10631
+ (bug #541604).
+
+* Fri Jan 22 2010 Tim Waugh <twaugh@redhat.com> 8.70-5
+- Don't build static library for ijs (bug #556051).
+
+* Thu Jan 21 2010 Tim Waugh <twaugh@redhat.com> 8.70-4
+- Fixed gdevcups duplex output (bug #541604) by backporting upstream
+ revision 10625.
+
+* Thu Dec 24 2009 Tim Waugh <twaugh@redhat.com> 8.70-3
+- Don't ship libtool la files (bug #542674).
+- Fix debugging output from gdevcups (CVE-2009-4270, bug #540760).
+- Harden ghostscript's debugging output functions (bug #540760).
+
+* Thu Oct 15 2009 Tim Waugh <twaugh@redhat.com> 8.70-2
+- New cups sub-package for pstoraster/pdftoraster/pstopxl.
+
+* Mon Aug 3 2009 Tim Waugh <twaugh@redhat.com> 8.70-1
+- 8.70.
+- License has changed to GPLv3+. Packages containing programs that
+ link to libgs/libijs are:
+ - foomatic (GPLv2+)
+ - libspectre (GPLv2+)
+ - ImageMagick (ImageMagick, listed on Licensing wiki page under
+ "Good Licenses" and marked as GPLv3 compat)
+ - gutenprint (GPLv2+)
+
+* Mon Aug 3 2009 Tim Waugh <twaugh@redhat.com> 8.64-12
+- Moved examples to doc subpackage (bug #515167).
+- Converted spec file to UTF-8.
+
+* Thu Jul 30 2009 Tim Waugh <twaugh@redhat.com> 8.64-11
+- Fixed CVE-2009-0583,0584 patch by using 255 as the maximum number of
+ points, not 100, and by not treating a missing black point tag as an
+ error (bug #487744).
+
+* Thu Jul 30 2009 Rex Dieter <rdieter@fedoraproject.org> - 8.64-10
+- License: GPLv2 and Redistributable, no modification permitted (bug #487510)
+
+* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.64-9
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Wed Jun 10 2009 Tim Waugh <twaugh@redhat.com> 8.64-8
+- Fix scripts so they don't get broken on install (bug #502550).
+
+* Thu Jun 4 2009 Tim Waugh <twaugh@redhat.com> 8.64-7
+- Applied patch to fix NULL dereference in JBIG2 decoder (bug #503995).
+
+* Wed Apr 15 2009 Tim Waugh <twaugh@redhat.com> 8.64-6
+- Applied patch to fix CVE-2009-0792 (bug #491853).
+- Applied patch to fix CVE-2009-0196 (bug #493379).
+
+* Fri Mar 20 2009 Tim Waugh <twaugh@redhat.com> 8.64-5
+- Applied patch to fix CVE-2009-0583 (bug #487742) and CVE-2009-0584
+ (bug #487744).
+
+* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.64-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Tue Feb 17 2009 Tim Waugh <twaugh@redhat.com> 8.64-3
+- Fix bitcmyk driver (bug #486644).
+
+* Wed Feb 4 2009 Tim Waugh <twaugh@redhat.com> 8.64-2
+- 8.64 (bug #483958).
+- Removed trade marks to avoid any potential confusion.
+
+* Fri Oct 17 2008 Tim Waugh <twaugh@redhat.com>
+- Removed last patch (unsuccessful).
+
+* Fri Oct 17 2008 Tim Waugh <twaugh@redhat.com> 8.63-4
+- Try out a work-around for bug #465311.
+
+* Wed Oct 15 2008 Tim Waugh <twaugh@redhat.com> 8.63-3
+- Don't ship fixmswrd.pl as it pulls in perl (bug #463948).
+
+* Tue Oct 14 2008 Tim Waugh <twaugh@redhat.com> 8.63-2
+- Split out a doc sub-package (bug #466507).
+
+* Mon Aug 4 2008 Tim Waugh <twaugh@redhat.com> 8.63-1
+- 8.63. No longer need r8591 or incomplete-ccittfax patches.
+- Compile without strict aliasing opts due to warnings across several
+ files.
+- Don't run autogen.sh for main package, just for ijs which doesn't
+ ship with a configure script.
+
+* Mon Jun 23 2008 Tim Waugh <twaugh@redhat.com> 8.62-4
+- Applied patch to work around bug #229174.
+- Applied patch from upstream to fix box_fill_path for shfill (bug #452348).
+
+* Mon Mar 31 2008 Tim Waugh <twaugh@redhat.com> 8.62-3
+- Fix pksmraw output (bug #308211).
+
+* Tue Mar 4 2008 Tim Waugh <twaugh@redhat.com> 8.62-2
+- No longer need CVE-2008-0411 patch.
+- Don't ship URW fonts; we already have them.
+
+* Tue Mar 4 2008 Tim Waugh <twaugh@redhat.com> 8.62-1
+- 8.62. No longer need IJS KRGB patch, or patch for gs bug 689577.
+
+* Wed Feb 27 2008 Tim Waugh <twaugh@redhat.com> 8.61-10
+- Applied patch to fix CVE-2008-0411 (bug #431536).
+
+* Fri Feb 22 2008 Tim Waugh <twaugh@redhat.com> 8.61-9
+- Build with jasper again (bug #433897). Build requires jasper-devel, and
+ a patch to remove jas_set_error_cb reference.
+
+* Wed Feb 13 2008 Tim Waugh <twaugh@redhat.com> 8.61-8
+- Rebuild for GCC 4.3.
+
+* Mon Jan 28 2008 Tim Waugh <twaugh@redhat.com> 8.61-7
+- Don't build with jasper support.
+- Remove bundled libraries.
+
+* Tue Dec 11 2007 Tim Waugh <twaugh@redhat.com> 8.61-6
+- Applied upstream patch for bug #416321.
+
+* Fri Nov 30 2007 Tim Waugh <twaugh@redhat.com> 8.61-5
+- Fixed runlibfileifexists patch.
+
+* Fri Nov 30 2007 Tim Waugh <twaugh@redhat.com> 8.61-4
+- Revert previous change, but define .runlibfileifexists, not just
+ runlibfileifexists.
+
+* Wed Nov 28 2007 Tim Waugh <twaugh@redhat.com> 8.61-3
+- No longer need runlibfileifexists.
+- Use runlibfile in cidfmap.
+
+* Wed Nov 28 2007 Tim Waugh <twaugh@redhat.com> 8.61-2
+- Add /usr/share/fonts to fontpath (bug #402551).
+- Restore cidfmap-switching bits, except for FAPIcidfmap which is no
+ longer used.
+- Add runlibfileifexists to gs_init.ps.
+- Build with --disable-compile-inits (bug #402501).
+
+* Fri Nov 23 2007 Tim Waugh <twaugh@redhat.com> 8.61-1
+- 8.61.
+
+* Tue Oct 23 2007 Tim Waugh <twaugh@redhat.com> 8.60-5
+- Applied patch from upstream to fix CVE-2007-2721 (bug #346511).
+
+* Tue Oct 9 2007 Tim Waugh <twaugh@redhat.com> 8.60-4
+- Marked localized man pages as %%lang (bug #322321).
+
+* Thu Sep 27 2007 Tim Waugh <twaugh@redhat.com> 8.60-3
+- Back-ported mkstemp64 patch (bug #308211).
+
+* Thu Aug 23 2007 Tim Waugh <twaugh@redhat.com> 8.60-2
+- More specific license tag.
+
+* Fri Aug 3 2007 Tim Waugh <twaugh@redhat.com> 8.60-1
+- 8.60.
+
+* Mon Jul 16 2007 Tim Waugh <twaugh@redhat.com> 8.60-0.r8112.2
+- Own %%{_libdir}/ghostscript (bug #246026).
+
+* Tue Jul 10 2007 Tim Waugh <twaugh@redhat.com> 8.60-0.r8112.1
+- 8.60 snapshot from svn. Patches dropped:
+ - big-cmap-post
+ - split-cidfnmap
+ - exactly-enable-cidfnmap
+ - Fontmap.local
+ No longer needed:
+ - gxcht-64bit-crash
+
+* Tue Apr 17 2007 Tim Waugh <twaugh@redhat.com> 8.15.4-3
+- Apply fonts in CIDFnmap even if the same fontnames are already registered
+ (bug #163231).
+- New file CIDFmap (bug #233966).
+- Allow local overrides for FAPIcidfmap, cidfmap and Fontmap (bug #233966).
+
+* Tue Apr 3 2007 Tim Waugh <twaugh@redhat.com> 8.15.4-2
+- Fixed configuration file locations (bug #233966).
+
+* Wed Mar 14 2007 Tim Waugh <twaugh@redhat.com> 8.15.4-1
+- 8.15.4.
+
+* Thu Jan 25 2007 Tim Waugh <twaugh@redhat.com> 8.15.3-7
+- dvipdf script fixes (bug #88906).
+- Moved libijs.so and libgs.so into devel package (bug #203623).
+
+* Wed Jan 24 2007 Tim Waugh <twaugh@redhat.com> 8.15.3-6
+- Configure with --with-drivers=ALL since the advertised default is not
+ what gets used (bug #223819).
+
+* Thu Jan 18 2007 Tim Waugh <twaugh@redhat.com> 8.15.3-5
+- Backported gxcht 64bit crash fix from GPL trunk (bug #177763).
+
+* Fri Jan 12 2007 Tim Waugh <twaugh@redhat.com> 8.15.3-4
+- Own cjkv directory (bug #221380, bug #222375).
+
+* Tue Dec 5 2006 Tim Waugh <twaugh@redhat.com> 8.15.3-3
+- Added split-cidfnmap patch (bug #194592).
+
+* Thu Nov 16 2006 Tim Waugh <twaugh@redhat.com> 8.15.3-2
+- 8.15.3. No longer need gtk2, ps2epsi, badc, pagesize,
+ use-external-freetype, split-font-configuration or cjkv patches.
+- Renumbered patches.
+
+* Tue Oct 3 2006 Tim Waugh <twaugh@redhat.com> 8.15.2-9
+- Apply CJKV patch from svn164:165 plus the fix from svn173:174 (bug #194592,
+ bug #203712, possibly bug #167596).
+
+* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 8.15.2-8.1
+- rebuild
+
+* Fri Jun 23 2006 Tim Waugh <twaugh@redhat.com> 8.15.2-8
+- Revert CJKV patch.
+
+* Wed Jun 14 2006 Tomas Mraz <tmraz@redhat.com> - 8.15.2-7
+- rebuilt with new gnutls
+
+* Tue Jun 13 2006 Tim Waugh <twaugh@redhat.com> 8.15.2-6
+- Undo svn sync.
+- Apply CJKV patch from svn164:165.
+
+* Fri Jun 9 2006 Tim Waugh <twaugh@redhat.com> 8.15.2-5
+- Sync to svn165.
+
+* Fri May 26 2006 Tim Waugh <twaugh@redhat.com> 8.15.2-4
+- Fix ijs-config not to have multilib conflicts (bug #192672)
+
+* Tue May 2 2006 Tim Waugh <twaugh@redhat.com> 8.15.2-3
+- Remove adobe-cmaps and acro5-cmaps, since latest CMaps are already
+ included (bug #190463).
+
+* Tue Apr 25 2006 Tim Waugh <twaugh@redhat.com> 8.15.2-2
+- 8.15.2.
+- No longer need build, krgb, pdfwrite, str1570 patches.
+
+* Mon Apr 24 2006 Tim Waugh <twaugh@redhat.com> 8.15.1-10
+- Fix emacs interaction (bug #189321, STR #1570).
+
+* Mon Apr 10 2006 Tim Waugh <twaugh@redhat.com> 8.15.1-9
+- Add %%{_datadir}/fonts/japanese to font path (bug #188448).
+- Spec file cleanups (bug #188066).
+
+* Sat Apr 8 2006 Tim Waugh <twaugh@redhat.com>
+- Build requires libtool (bug #188341).
+
+* Thu Apr 6 2006 Tim Waugh <twaugh@redhat.com> 8.15.1-8
+- Fix pdfwrite (bug #187834).
+- CUPS filters go in /usr/lib/cups/filter even on lib64 platforms.
+
+* Thu Mar 2 2006 Tim Waugh <twaugh@redhat.com> 8.15.1-7
+- BuildRequires: gnutls-devel
+- Updated KRGB patch for gdevijs.
+
+* Tue Feb 28 2006 Karsten Hopp <karsten@redhat.de> 8.15.1-6
+- BuildRequires: libXt-devel
+
+* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 8.15.1-5.2
+- bump again for double-long bug on ppc(64)
+
+* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 8.15.1-5.1
+- rebuilt for new gcc4.1 snapshot and glibc changes
+
+* Mon Jan 30 2006 Tim Waugh <twaugh@redhat.com> 8.15.1-5
+- Updated adobe-cmaps to 200406 (bug #173613).
+
+* Fri Jan 27 2006 Tim Waugh <twaugh@redhat.com> 8.15.1-4
+- Support reading a big cmap/post table from a TrueType font.
+
+* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
+- rebuilt
+
+* Wed Nov 9 2005 Tomas Mraz <tmraz@redhat.com> 8.15.1-3
+- Build does not explicitly require xorg-x11-devel.
+
+* Wed Nov 9 2005 Tomas Mraz <tmraz@redhat.com> 8.15.1-2
+- rebuilt with new openssl
+
+* Mon Sep 26 2005 Tim Waugh <twaugh@redhat.com> 8.15.1-1
+- Some directories should be "8.15" not "8.15.1" (bug #169198).
+
+* Thu Sep 22 2005 Tim Waugh <twaugh@redhat.com> 8.15.1-0.1
+- 8.15.1.
+- No longer need overflow patch.
+
+* Tue Aug 16 2005 Tim Waugh <twaugh@redhat.com> 8.15-0.rc4.3
+- Rebuilt for new cairo.
+
+* Mon Aug 15 2005 Tim Waugh <twaugh@redhat.com> 8.15-0.rc4.2
+- Parametrize freetype, and disable it (bug #165962).
+
+* Fri Aug 12 2005 Tim Waugh <twaugh@redhat.com> 8.15-0.rc4.1
+- 8.15rc4.
+- Fixed lips4v driver (bug #165713).
+
+* Tue Aug 9 2005 Tim Waugh <twaugh@redhat.com> 8.15-0.rc3.7
+- Install adobe/acro5 CMaps (bug #165428).
+
+* Mon Jul 18 2005 Tim Waugh <twaugh@redhat.com> 8.15-0.rc3.6
+- Fixed split font configuration patch (bug #161187).
+
+* Wed Jul 13 2005 Tim Waugh <twaugh@redhat.com> 8.15-0.rc3.5
+- Split font configuration (bug #161187).
+- Reverted this change:
+ - Build requires xorg-x11-devel, not XFree86-devel.
+
+* Tue Jul 12 2005 Tim Waugh <twaugh@redhat.com> 8.15-0.rc3.4
+- Add Japanese fonts to FAPIcidfmap (bug #161187).
+- Moved Resource directory.
+- Added use-external-freetype patch (bug #161187).
+
+* Mon Jul 11 2005 Tim Waugh <twaugh@redhat.com>
+- Build requires libtiff-devel (bug #162826).
+
+* Thu Jun 9 2005 Tim Waugh <twaugh@redhat.com> 8.15-0.rc3.3
+- Build requires xorg-x11-devel, not XFree86-devel.
+- Include ierrors.h in the devel package.
+
+* Wed Jun 8 2005 Tim Waugh <twaugh@redhat.com> 8.15-0.rc3.2
+- Drop 'Provides: libijs.so' because it is incorrect.
+- Build igcref.c with -O0 to work around bug #150771.
+- Renumber patches.
+
+* Fri Jun 3 2005 Tim Waugh <twaugh@redhat.com> 8.15-0.rc3.1
+- Switch to ESP Ghostscript.
+- 8.15rc3.
+- Lots of patches dropped. Perhaps some will need to be re-added.
+
+* Thu Mar 10 2005 Tim Waugh <twaugh@redhat.com> 7.07-40
+- Build igcref.c with -O0 to work around bug #150771.
+
+* Tue Mar 1 2005 Tim Waugh <twaugh@redhat.com> 7.07-39
+- Rebuilt for new GCC.
+
+* Mon Feb 21 2005 Tim Waugh <twaugh@redhat.com> 7.07-38
+- Fixes inspired by GCC 4.
+
+* Tue Jan 18 2005 Tim Waugh <twaugh@redhat.com>
+- Correct permissions for %%{_datadir}/ghostscript/Resource (bug #145420).
+
+* Fri Dec 10 2004 Tim Waugh <twaugh@redhat.com> 7.07-37
+- Fixed missing return statement (bug #136757).
+
+* Thu Dec 9 2004 Tim Waugh <twaugh@redhat.com> 7.07-36
+- Remove VFlib2 bits (bug #120498).
+
+* Fri Dec 3 2004 Tim Waugh <twaugh@redhat.com> 7.07-35
+- Added /etc/ghostscript to search path and to file manifest (bug #98974).
+
+* Sat Nov 20 2004 Miloslav Trmac <mitr@redhat.com> - 7.07-34
+- Convert man pages to UTF-8
+
+* Wed Oct 20 2004 Tim Waugh <twaugh@redhat.com> 7.07-33
+- Fix for bug #136322 (temporary files).
+
+* Tue Sep 28 2004 Tim Waugh <twaugh@redhat.com> 7.07-32
+- Turn off fontconfig until it's fixed (bug #133353).
+
+* Wed Aug 18 2004 Tim Waugh <twaugh@redhat.com> 7.07-31
+- Only ship gsx in the gtk subpackage.
+
+* Fri Aug 6 2004 Tim Waugh <twaugh@redhat.com>
+- Run /sbin/ldconfig in %%post/%%postun.
+- Stricter requirements for the main package in the subpackages.
+
+* Tue Jul 20 2004 Tim Waugh <twaugh@redhat.com> 7.07-30
+- Updated eplaser driver to add alc4000 (bug #128007).
+
+* Fri Jun 25 2004 Tim Waugh <twaugh@redhat.com> 7.07-29
+- Prevent pdf2ps generating "null setpagesize" (bug #126446).
+
+* Thu Jun 24 2004 Tim Waugh <twaugh@redhat.com> 7.07-28
+- Fix Omni patch assumption about /usr/lib which breaks for multilib
+ architectures.
+
+* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
+- rebuilt
+
+* Tue Jun 1 2004 Tim Waugh <twaugh@redhat.com> 7.07-26
+- Removed another debug message from the fontconfig patch.
+
+* Tue Mar 9 2004 Tim Waugh <twaugh@redhat.com> 7.07-25
+- Added bjc250gs driver (bug #117860).
+
+* Thu Mar 4 2004 Tim Waugh <twaugh@redhat.com> 7.07-24
+- Fix compilation with GCC 3.4.
+
+* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
+- rebuilt
+
+* Wed Feb 18 2004 Tim Waugh <twaugh@redhat.com> 7.07-23
+- Build against gtk2/glib2 (bug #115619). Patch from W. Michael Petullo.
+
+* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> 7.07-22
+- rebuilt
+
+* Thu Feb 12 2004 Tim Waugh <twaugh@redhat.com> 7.07-21
+- Leave gdevpdfm.c seemingly-mistaken bitwise ops alone (bug #115396).
+
+* Thu Feb 5 2004 Tim Waugh <twaugh@redhat.com> 7.07-20
+- Fix compilation with GCC 3.4.
+
+* Wed Jan 28 2004 Tim Waugh <twaugh@redhat.com> 7.07-19
+- Attempt to fix gdevcups crash (bug #114256).
+- Make gs dynamically link to libgs (bug #114276).
+- Fix gdevesmv.c's misuse of const (bug #114250).
+
+* Tue Jan 20 2004 Tim Waugh <twaugh@redhat.com> 7.07-18
+- Turn on libgs again (bug #88175).
+
+* Mon Jan 19 2004 Tim Waugh <twaugh@redhat.com> 7.07-17
+- Removed stp driver. Use the IJS version (ijsgimpprint) instead.
+- No longer conflicts with foomatic for hpijs versioning.
+
+* Mon Jan 12 2004 Tim Waugh <twaugh@redhat.com> 7.07-16
+- Split hpijs out into separate source package.
+
+* Thu Jan 8 2004 Tim Waugh <twaugh@redhat.com>
+- Fix several mistakenly-used bitwise operations.
+
+* Tue Jan 6 2004 Tim Waugh <twaugh@redhat.com> 7.07-15
+- Build for Fedora Core 1 printer drivers update.
+- Conflicts with foomatic before hpijs 1.5 data.
+- Make fontconfig optional.
+
+* Sat Dec 13 2003 Tim Waugh <twaugh@redhat.com> 7.07-14
+- Disable unnecessary debug messages from fontconfig support.
+
+* Fri Dec 5 2003 Tim Waugh <twaugh@redhat.com> 7.07-13
+- Add fontconfig support (bug #111412).
+
+* Thu Nov 27 2003 Tim Waugh <twaugh@redhat.com>
+- Build requires libjpeg-devel (bug #110737).
+
+* Tue Nov 11 2003 Tim Waugh <twaugh@redhat.com> 7.07-12
+- Updated hpijs to 1.5 (bug #109714).
+
+* Mon Nov 10 2003 Tim Waugh <twaugh@redhat.com>
+- Updated lxm3200 patch (bug #109625).
+
+* Tue Sep 30 2003 Tim Waugh <twaugh@redhat.com> 7.07-11
+- Updated gdevcups.c from CUPS 1.1.19.
+- Apply NOMEDIAATTRS patch from CUPS 1.1.19 (bug #105401).
+
+* Thu Aug 28 2003 Tim Waugh <twaugh@redhat.com>
+- Fix lips4v driver (bug #92337).
+
+* Wed Aug 20 2003 Tim Waugh <twaugh@redhat.com> 7.07-10
+- Fix compilation problems in hpijs.
+
+* Mon Aug 4 2003 Tim Waugh <twaugh@redhat.com> 7.07-9
+- Further fix from bug #100685.
+
+* Thu Jul 31 2003 Tim Waugh <twaugh@redhat.com> 7.07-8
+- Further fix from bug #100685.
+
+* Tue Jul 29 2003 Tim Waugh <twaugh@redhat.com> 7.07-7
+- Further fix from bug #100685.
+
+* Fri Jul 25 2003 Tim Waugh <twaugh@redhat.com> 7.07-6
+- Further fix from bug #100557.
+
+* Thu Jul 24 2003 Tim Waugh <twaugh@redhat.com> 7.07-5
+- Further fix from bug #100557.
+- Fix bug #100685.
+
+* Wed Jul 23 2003 Tim Waugh <twaugh@redhat.com> 7.07-4
+- Fix bug #100557.
+
+* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> 7.07-3
+- rebuilt
+
+* Tue May 27 2003 Tim Waugh <twaugh@redhat.com>
+- Fix sed usage in ps2epsi (bug #89300).
+
+* Tue May 20 2003 Tim Waugh <twaugh@redhat.com> 7.07-2
+- HPIJS 1.4 (bug #91219).
+
+* Sun May 18 2003 Tim Waugh <twaugh@redhat.com> 7.07-1
+- 7.07.
+- Parametrize build_libgs.
+- Remove Omni requirement (bug #88177).
+- Fix ghostscript-gtk obsoletes: line (bug #88175).
+
+* Thu Apr 3 2003 Tim Waugh <twaugh@redhat.com> 7.06-1
+- 7.06.
+- Updated config, vflib.fixup patches.
+- No longer need dx6, jpeg patches.
+- No longer need to add in missed GNU drivers.
+- Turn off dj970 driver (hpijs drives that).
+
+* Mon Mar 31 2003 Tim Waugh <twaugh@redhat.com> 7.05-34
+- Apply fix for CJK font search method when the fonts are not available
+ (bug #83516).
+- The gb18030 patch no longer applies here.
+
+* Thu Mar 27 2003 Tim Waugh <twaugh@redhat.com> 7.05-33
+- Add some missing font aliases (bug #73342).
+- Use the system jpeg library.
+- Update hpijs to 1.3.1.
+- Update gdevcups.c from cups-1.1.18.
+
+* Mon Feb 24 2003 Elliot Lee <sopwith@redhat.com> 7.05-32
+- debuginfo rebuild
+
+* Fri Feb 21 2003 Elliot Lee <sopwith@redhat.com> 7.05-31
+- Add ghostscript-7.05-oob-66421.patch to fix the segfault behind #66421
+
+* Thu Jan 30 2003 Tim Waugh <twaugh@redhat.com> 7.05-30
+- Remove rss patch from hpijs (not needed).
+
+* Wed Jan 22 2003 Tim Powers <timp@redhat.com> 7.05-29
+- rebuilt
+
+* Thu Jan 16 2003 Tim Waugh <twaugh@redhat.com> 7.05-28
+- Add Korean font aliases to CIDFnmap CJK resource files (bug #81924).
+
+* Sat Dec 14 2002 Tim Waugh <twaugh@redhat.com> 7.05-27
+- Obsolete ghostscript-gtk (bug #79585).
+- Omni 121002 patch.
+
+* Tue Dec 10 2002 Tim Waugh <twaugh@redhat.com> 7.05-26
+- Don't ship the shared object yet (part of bug #79340).
+- Don't make the gtk package, since that needs the shared object.
+
+* Tue Nov 26 2002 Tim Waugh <twaugh@redhat.com> 7.05-25
+- Fix level 1 PostScript output (bug #78450).
+- No need to carry gomni.c, since it comes from the patch.
+
+* Mon Nov 11 2002 Tim Waugh <twaugh@redhat.com> 7.05-24
+- Omni 071902 patch.
+
+* Mon Nov 11 2002 Tim Waugh <twaugh@redhat.com> 7.05-23
+- hpijs-1.3, with updated rss patch.
+- Fix XLIBDIRS.
+
+* Fri Oct 25 2002 Tim Waugh <twaugh@redhat.com> 7.05-22
+- hpijs-rss 1.2.2.
+
+* Mon Oct 14 2002 Tim Waugh <twaugh@redhat.com> 7.05-21
+- Set libdir when installing.
+
+* Thu Aug 15 2002 Tim Waugh <twaugh@redhat.com> 7.05-20
+- Add cups device (bug #69573).
+
+* Mon Aug 12 2002 Tim Waugh <twaugh@redhat.com> 7.05-19
+- Fix the gb18030 patch (bug #71135, bug #71303).
+
+* Sat Aug 10 2002 Elliot Lee <sopwith@redhat.com> 7.05-18
+- rebuilt with gcc-3.2 (we hope)
+
+* Fri Aug 9 2002 Tim Waugh <twaugh@redhat.com> 7.05-17
+- Add CIDnmap for GB18030 font (bug #71135).
+- Fix URL (bug #70734).
+
+* Tue Jul 23 2002 Tim Waugh <twaugh@redhat.com> 7.05-16
+- Rebuild in new environment.
+
+* Tue Jul 9 2002 Tim Waugh <twaugh@redhat.com> 7.05-15
+- Remove the chp2200 driver again, to fix cdj890 (bug #67578).
+
+* Fri Jul 5 2002 Tim Waugh <twaugh@redhat.com> 7.05-14
+- For CJK font support, use CIDFnmap instead of CIDFont
+ resources (bug #68009).
+
+* Wed Jul 3 2002 Tim Waugh <twaugh@redhat.com> 7.05-13
+- Build requires unzip and gtk+-devel (bug #67799).
+
+* Wed Jun 26 2002 Tim Waugh <twaugh@redhat.com> 7.05-12
+- File list tweaking.
+- More file list tweaking.
+
+* Tue Jun 25 2002 Tim Waugh <twaugh@redhat.com> 7.05-10
+- Rebuild for bootstrap.
+
+* Wed Jun 19 2002 Tim Waugh <twaugh@redhat.com> 7.05-9
+- Omni 052902 patch.
+
+* Mon Jun 10 2002 Tim Waugh <twaugh@redhat.com> 7.05-8
+- Requires recent version of patchutils (bug #65947).
+- Don't ship broken man page symlinks (bug #66238).
+
+* Wed May 29 2002 Tim Waugh <twaugh@redhat.com> 7.05-7
+- Put gsx in its own package.
+
+* Tue May 28 2002 Tim Waugh <twaugh@redhat.com> 7.05-6
+- New gomni.c from IBM to fix an A4 media size problem.
+- Use new Adobe CMaps (bug #65362).
+
+* Sun May 26 2002 Tim Powers <timp@redhat.com> 7.05-5
+- automated rebuild
+
+* Wed May 22 2002 Tim Waugh <twaugh@redhat.com> 7.05-4
+- New gomni.c from IBM to fix bug #65269 (again).
+
+* Tue May 21 2002 Tim Waugh <twaugh@redhat.com> 7.05-2
+- Don't apply bogus parts of vflib patch (bug #65268).
+- Work around Omni -sPAPERSIZE=a4 problem (bug #65269).
+
+* Mon May 20 2002 Tim Waugh <twaugh@redhat.com> 7.05-1
+- 7.05.
+- No longer need mkstemp, vflib.fixup, quoting, or PARANOIDSAFER
+ patches.
+- Don't apply CJK patches any more (no longer needed).
+- Updated Source15, Patch0, Patch10, Patch5, Patch24, Patch14, Patch12.
+- Made gdevdmpr.c compile again.
+- Move gimp-print to a separate package.
+- Ship the shared object too (and a .so file that is dlopened).
+- Update Omni patch. No longer need Omni_path, Omni_quiet, Omni_glib patches.
+- Require Omni >= 0.6.1.
+- Add patch to fix gtk+ initial window size.
+- Add devel package with header files.
+- Turn on IJS support.
+- Update hpijs to 1.1.
+- Don't ship the hpijs binary in the ghostscript package.
+- Use -fPIC when building ijs.
+
+* Wed Apr 3 2002 Tim Waugh <twaugh@redhat.com> 6.52-8
+- New CIDFonts (bug #61015).
+
+* Wed Apr 3 2002 Tim Waugh <twaugh@redhat.com> 6.52-7
+- Fix release numbers of sub packages.
+- Handle info files, use ldconfig (bug #62574).
+
+* Tue Mar 19 2002 Tim Waugh <twaugh@redhat.com> 6.52-6
+- Fix config patch so that gs --help displays the right thing.
+- Don't ship sysvlp.sh.
+- Fix some shell scripts.
+- Ship escputil man page (bug #58919).
+
+* Mon Feb 11 2002 Tim Waugh <twaugh@redhat.com> 6.52-5
+- Add CHP2200 driver (bug #57516).
+- Fix gimp-print-4.2.0 so that it builds without cups-config.
+
+* Sat Feb 2 2002 Bill Nottingham <notting@redhat.com> 6.52-4
+- do condrestart in %%postun, not %%post
+
+* Fri Feb 1 2002 Bernhard Rosenkraenzer <bero@redhat.com> 6.52-3
+- Restart service cups after installing gimp-print-cups
+
+* Sun Jan 27 2002 Bernhard Rosenkraenzer <bero@redhat.com> 6.52-2
+- hpijs is finally free - support it.
+- Add extra package for CUPS support
+
+* Mon Jan 21 2002 Bernhard Rosenkraenzer <bero@redhat.com> 6.52-1
+- Updates:
+ - ghostscript 6.52
+ - hpdj 2.6 -> pcl3 3.3
+ - CJK Patchlevel 3, adobe-cmaps 200109
+ - gimp-print 4.2.0
+- Adapt patches
+- Fix various URLs
+- Begin cleaning up spec file
+- Fix bugs #21879 and #50923
+
+* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
+- automated rebuild
+
+* Thu Oct 18 2001 Crutcher Dunnavant <crutcher@redhat.com> 6.51-16
+- update the Omni driver, and patch it to seek in /usr/lib/Omni/ first
+- require Omni
+
+* Mon Oct 01 2001 Crutcher Dunnavant <crutcher@redhat.com> 6.51-15
+- change -dPARANOIDSAFER to punch a hole for OutputFile
+
+* Mon Sep 17 2001 Crutcher Dunnavant <crutcher@redhat.com> 6.51-14
+- add -dPARANOIDSAFER to let us breathe a little easier in the print spooler.
+
+* Thu Sep 13 2001 Crutcher Dunnavant <crutcher@redhat.com> 6.51-13
+- apply jakub's fix to ghostscript's jmp_buf problems; #49591
+
+* Wed Sep 5 2001 Crutcher Dunnavant <crutcher@redhat.com> 6.51-12
+- fix lprsetup.sh; #50925
+
+* Fri Aug 24 2001 Crutcher Dunnavant <crutcher@redhat.com> 6.51-11
+- added Epson's old eplaseren drivers,
+- pointed out by Till Kamppeter <till.kamppeter@gmx.net>
+
+* Tue Aug 21 2001 Paul Howarth <paul@city-fan.org> 6.51-10
+- included Samsung GDI driver for ML-4500 printer support.
+
+* Sun Aug 19 2001 Crutcher Dunnavant <crutcher@redhat.com> 6.51-9
+- applied IBM's glib patches for Omni, which now works.
+- BE AWARE: we now link against libstdc++ and glib for this, and use a c++
+- link stage to do the dirty.
+- added glib-devel buildreq and glib req, I don't think we require everything
+- yet, I could pull in sasl.
+
+* Sun Aug 19 2001 David Suffield <david_suffield@hp.com> 6.51-8
+- Added gs device hpijs and updated gdevhpij.c to hpijs 0.97
+
+* Wed Aug 15 2001 Crutcher Dunnavant <crutcher@redhat.com> 6.51-7
+- pull in ynakai's update to the cjk resources.
+
+* Thu Aug 9 2001 Crutcher Dunnavant <crutcher@redhat.com> 6.51-6
+- turn dmprt and cdj880 back on. for some reason, they work now.
+- voodoo, who knows.
+
+* Thu Aug 9 2001 Yukihiro Nakai <ynakai@redhat.com> 6.51-5
+- Add cjk resources
+
+* Wed Aug 1 2001 Crutcher Dunnavant <crutcher@redhat.com> 6.51-4
+- applied drepper@redhat.com's patch for #50300
+- fixed build deps on zlib-devel and libpng-devel, #49853
+- made gs_init.ps a config file; #25096
+- O\^/nZ the daTa directorieZ now; #50693
+
+* Tue Jul 24 2001 Crutcher Dunnavant <crutcher@redhat.com> 6.51-3
+- wired up the Resource dir and the Font and CIDFont maps.
+
+* Mon Jul 23 2001 Crutcher Dunnavant <crutcher@redhat.com> 6.51-2
+- luckily, I had a spare chicken. Thanks to some work by Nakai, and one last
+- desperate search through google, everything /seems/ to be working. I know
+- that there are going to be problems in the japanese code, and I need to turn
+- on the cjk font map from adobe, but it /works/ at the moment.
+
+* Thu Jun 21 2001 Crutcher Dunnavant <crutcher@redhat.com>
+- upgraded to 6.51, a major version upgrade
+- rewrote spec file, threw out some patches
+- turned on IBM's Omni print drivers interface
+- turned on HP's hpijs print drivers interface
+- turned on every driver that looked usable from linux
+- sacrificed a chicken to integrate the old Japanese drivers
+- - This didn't work. The japanese patches are turned off, pending review.
+- - I can do loops with C, but the bugs are in Postscript init files
+
+* Wed Apr 11 2001 Crutcher Dunnavant <crutcher@redhat.com>
+- added P. B. West's lx5000 driver
+
+* Tue Feb 27 2001 Crutcher Dunnavant <crutcher@redhat.com>
+- added xtt-fonts requirement (for VFlib)
+
+* Fri Feb 9 2001 Adrian Havill <havill@redhat.com>
+- cmpskit removed as a build prereq
+
+* Thu Feb 8 2001 Crutcher Dunnavant <crutcher@redhat.com>
+- merged in some patches that got away:
+ * Fri Sep 1 2000 Mitsuo Hamada <mhamada@redhat.com>
+ - add support JIS B size
+ - fix the problem of reconverting GNUPLOT output
+
+* Thu Feb 8 2001 Crutcher Dunnavant <crutcher@redhat.com>
+- switched to japanese for everybody
+
+* Thu Feb 8 2001 Crutcher Dunnavant <crutcher@redhat.com>
+- tweaked time_.h to test for linux, and include the right
+- header
+
+* Wed Feb 7 2001 Crutcher Dunnavnat <crutcher@redhat.com>
+- added the lxm3200 driver
+
+* Mon Dec 11 2000 Crutcher Dunnavant <crutcher@redhat.com>
+- merged in the (accendental) branch that contained the mktemp
+- and LD_RUN_PATH bug fixes.
+
+* Tue Oct 17 2000 Jeff Johnson <jbj@redhat.com>
+- tetex using xdvi with ghostscript patch (#19212).
+
+* Tue Sep 12 2000 Michael Stefaniuc <mstefani@redhat.com>
+- expanded the gcc296 patch to fix a compilation issue with the new stp
+ driver
+
+* Mon Sep 11 2000 Michael Stefaniuc <mstefani@redhat.com>
+- added the stp driver from the gimp-print project.
+ It supports high quality printing especialy with Epson Stylus Photo.
+
+* Wed Aug 2 2000 Matt Wilson <msw@redhat.com>
+- rebuilt against new libpng
+
+* Wed Aug 2 2000 Bernhard Rosenkraenzer <bero@redhat.com>
+- Fix up the cdj880 patch (Bug #14978)
+- Fix build with gcc 2.96
+
+* Fri Jul 21 2000 Bill Nottingham <notting@redhat.com>
+- turn off japanese support
+
+* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
+- automatic rebuild
+
+* Fri Jul 07 2000 Trond Eivind Glomsrød <teg@redhat.com>
+- fixed the broken inclusion of files in /usr/doc
+- Build requires freetype-devel
+
+* Fri Jun 16 2000 Matt Wilson <msw@redhat.com>
+- build japanese support in main distribution
+- FHS manpage paths
+
+* Sun Mar 26 2000 Chris Ding <cding@redhat.com>
+- enabled bmp16m driver
+
+* Thu Mar 23 2000 Matt Wilson <msw@redhat.com>
+- added a boatload of Japanese printers
+
+* Thu Mar 16 2000 Matt Wilson <msw@redhat.com>
+- add japanese support, enable_japanese macro
+
+* Mon Feb 14 2000 Bernhard Rosenkraenzer <bero@redhat.com>
+- 5.50 at last...
+- hpdj 2.6
+- Added 3rd party drivers:
+ - Lexmark 5700 (lxm5700m)
+ - Alps MD-* (md2k, md5k)
+ - Lexmark 2050, 3200, 5700 and 7000 (lex2050, lex3200, lex5700, lex7000)
+
+* Fri Feb 4 2000 Bernhard Rosenkraenzer <bero@redhat.com>
+- rebuild to compress man page
+- fix gs.1 symlink
+
+* Wed Jan 26 2000 Bill Nottingham <notting@redhat.com>
+- add stylus 740 uniprint files
+
+* Thu Jan 13 2000 Preston Brown <pbrown@redhat.com>
+- add lq850 dot matrix driver (#6357)
+
+* Thu Oct 28 1999 Bill Nottingham <notting@redhat.com>
+- oops, include oki182 driver.
+
+* Tue Aug 24 1999 Bill Nottingham <notting@redhat.com>
+- don't optimize on Alpha. This way it works.
+
+* Thu Jul 29 1999 Michael K. Johnson <johnsonm@redhat.com>
+- added hpdj driver
+- changed build to use tar_cat so adding new drivers is sane
+
+* Thu Jul 1 1999 Bill Nottingham <notting@redhat.com>
+- add OkiPage 4w+, HP 8xx drivers
+* Mon Apr 5 1999 Bill Nottingham <notting@redhat.com>
+- fix typo in config patch.
+
+* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
+- auto rebuild in the new build environment (release 6)
+
+* Mon Mar 15 1999 Cristian Gafton <gafton@redhat.com>
+- added patch from rth to fix alignement problems on the alpha.
+
+* Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
+- Injected new description and group.
+
+* Mon Feb 08 1999 Bill Nottingham <notting@redhat.com>
+- add uniprint .upp files
+
+* Sat Feb 06 1999 Preston Brown <pbrown@redhat.com>
+- fontpath update.
+
+* Wed Dec 23 1998 Preston Brown <pbrown@redhat.com>
+- updates for ghostscript 5.10
+
+* Fri Nov 13 1998 Preston Brown <pbrown@redhat.com>
+- updated to use shared urw-fonts package.
+* Mon Nov 09 1998 Preston Brown <pbrown@redhat.com>
+- turned on truetype (ttf) font support.
+
+* Thu Jul 2 1998 Jeff Johnson <jbj@redhat.com>
+- updated to 4.03.
+
+* Tue May 05 1998 Cristian Gafton <gafton@redhat.com>
+- enabled more printer drivers
+- buildroot
+
+* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
+- translations modified for de, fr, tr
+
+* Mon Mar 03 1997 Erik Troan <ewt@redhat.com>
+- Made /usr/share/ghostscript/3.33/Fontmap a config file.
diff --git a/sources b/sources
new file mode 100644
index 0000000..5dd1c43
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+72535d31018129a1a8ff636a47ba1f92 ghostscript-9.54.0.tar.xz