Update to ghostscript-9.06.

This fixes a crash when using PDF printing with gtk-print.

ok kili@ (maintainer)
This commit is contained in:
ajacoutot 2012-08-22 06:24:17 +00:00
parent a581250db8
commit 3e1fd36b4b
9 changed files with 59 additions and 52 deletions

View File

@ -1,12 +1,11 @@
# $OpenBSD: Makefile,v 1.92 2012/08/04 17:51:44 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.93 2012/08/22 06:24:17 ajacoutot Exp $
COMMENT= GNU PostScript interpreter
VERSION= 9.05
VERSION= 9.06
DISTNAME= ghostscript-${VERSION}
CATEGORIES= print lang
SHARED_LIBS= gs 15.0
REVISION= 0
MASTER_SITES= http://downloads.ghostscript.com/public/

View File

@ -1,5 +1,2 @@
MD5 (ghostscript-9.05.tar.gz) = 98bwQxyo1E7hMqVdWDISwQ==
RMD160 (ghostscript-9.05.tar.gz) = hjUwDmhFE/S40fcIhp7+ric5NRQ=
SHA1 (ghostscript-9.05.tar.gz) = r5N4e6lmNgq74IWyE+xWO121qMw=
SHA256 (ghostscript-9.05.tar.gz) = WT9391hHBL353kFZighKQgjDrTuUCh3h+q+PWaFcwgc=
SIZE (ghostscript-9.05.tar.gz) = 32570231
SHA256 (ghostscript-9.06.tar.gz) = wzZyHDtpFhiTTyqFgtGb5IX3asEXNKPEDBFgV0kVHvs=
SIZE (ghostscript-9.06.tar.gz) = 33552015

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-base_devs_mak,v 1.4 2012/07/11 10:26:31 kili Exp $
--- base/devs.mak.orig Wed Feb 8 09:48:48 2012
+++ base/devs.mak Sun Jul 8 15:50:17 2012
@@ -1828,14 +1828,11 @@ $(DD)plibk.dev : $(DEVS_MAK) $(plib_) $(GLD)page.dev $
$OpenBSD: patch-base_devs_mak,v 1.5 2012/08/22 06:24:17 ajacoutot Exp $
--- base/devs.mak.orig Wed Aug 8 10:01:36 2012
+++ base/devs.mak Fri Aug 17 15:12:56 2012
@@ -1831,14 +1831,11 @@ $(DD)plibk.dev : $(DEVS_MAK) $(plib_) $(GLD)page.dev $
$(SETPDEV2) $(DD)plibk $(plib_)
### ------------------------------- CUPS ------------------------------- ###

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-base_jasper_mak,v 1.1 2011/06/08 19:15:48 kili Exp $
--- base/jasper.mak.orig Thu Oct 18 02:36:37 2007
+++ base/jasper.mak Sat Apr 26 14:03:43 2008
@@ -159,7 +159,7 @@ JAS_EXCF_=\
$OpenBSD: patch-base_jasper_mak,v 1.2 2012/08/22 06:24:17 ajacoutot Exp $
--- base/jasper.mak.orig Wed Aug 8 10:01:36 2012
+++ base/jasper.mak Fri Aug 17 15:12:56 2012
@@ -161,7 +161,7 @@ JAS_EXCF_=\
$(D_)EXCLUDE_PNG_SUPPORT$(_D_)1$(_D)
# define our specific compiler

View File

@ -1,10 +1,10 @@
$OpenBSD: patch-base_lib_mak,v 1.3 2012/07/11 10:26:31 kili Exp $
--- base/lib.mak.orig Wed Feb 8 09:48:48 2012
+++ base/lib.mak Sun Jul 8 15:50:17 2012
@@ -27,12 +27,12 @@ AUXO_=$(O_)$(AUX)
$OpenBSD: patch-base_lib_mak,v 1.4 2012/08/22 06:24:17 ajacoutot Exp $
--- base/lib.mak.orig Wed Aug 8 10:01:36 2012
+++ base/lib.mak Fri Aug 17 15:14:10 2012
@@ -28,12 +28,12 @@ AUXO_=$(O_)$(AUX)
GLI_=$(GLGENDIR) $(II)$(GLSRCDIR)
GLF_=
GLCCFLAGS=$(I_)$(GLI_)$(_I) $(GLF_) -DWHICH_CMS="$(WHICH_CMS)"
GLCCFLAGS=$(I_)$(GLI_)$(_I) $(GLF_) $(D_)WHICH_CMS="$(WHICH_CMS)"$(_D)
-GLCC=$(CC_) $(GLCCFLAGS)
+GLCC=$(CC) $(GLCCFLAGS) $(CCFLAGS)
GLCCAUX=$(CCAUX_) $(GLCCFLAGS)

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-base_unix-dll_mak,v 1.4 2012/07/11 10:26:31 kili Exp $
--- base/unix-dll.mak.orig Wed Feb 8 09:48:48 2012
+++ base/unix-dll.mak Sun Jul 8 16:04:24 2012
@@ -23,10 +23,6 @@
$OpenBSD: patch-base_unix-dll_mak,v 1.5 2012/08/22 06:24:17 ajacoutot Exp $
--- base/unix-dll.mak.orig Wed Aug 8 10:01:36 2012
+++ base/unix-dll.mak Fri Aug 17 15:12:56 2012
@@ -24,10 +24,6 @@
# export LD_LIBRARY_PATH=/insert-path-here/sobin
# export GS_LIB=/insert-path-here/lib
@ -12,7 +12,7 @@ $OpenBSD: patch-base_unix-dll_mak,v 1.4 2012/07/11 10:26:31 kili Exp $
# ------------------- Ghostscript shared object --------------------------- #
# Shared object names
@@ -34,12 +30,16 @@ SODEBUGDIRPREFIX=sodebug
@@ -35,12 +31,16 @@ SODEBUGDIRPREFIX=sodebug
# simple loader (no support for display device)
GSSOC_XENAME=$(GS)c$(XE)
GSSOC_XE=$(BINDIR)/$(GSSOC_XENAME)
@ -31,9 +31,9 @@ $OpenBSD: patch-base_unix-dll_mak,v 1.4 2012/07/11 10:26:31 kili Exp $
# shared library
GS_SONAME_BASE=lib$(GS)
@@ -47,16 +47,10 @@ GS_SONAME_BASE=lib$(GS)
@@ -48,16 +48,10 @@ GS_SONAME_BASE=lib$(GS)
# GNU/Linux
GS_SOEXT=so
GS_SOEXT=$(DYNANIC_LIB_EXT)
GS_SONAME=$(GS_SONAME_BASE).$(GS_SOEXT)
-GS_SONAME_MAJOR=$(GS_SONAME).$(GS_VERSION_MAJOR)
-GS_SONAME_MAJOR_MINOR=$(GS_SONAME).$(GS_VERSION_MAJOR).$(GS_VERSION_MINOR)
@ -51,7 +51,7 @@ $OpenBSD: patch-base_unix-dll_mak,v 1.4 2012/07/11 10:26:31 kili Exp $
# MacOS X
#GS_SOEXT=dylib
#GS_SONAME=$(GS_SONAME_BASE).$(GS_SOEXT)
@@ -83,13 +77,13 @@ $(GS_SO_MAJOR): $(GS_SO_MAJOR_MINOR)
@@ -84,13 +78,13 @@ $(GS_SO_MAJOR): $(GS_SO_MAJOR_MINOR)
ln -s $(GS_SONAME_MAJOR_MINOR) $(GS_SO_MAJOR)
# Build the small Ghostscript loaders, with Gtk+ and without
@ -71,7 +71,7 @@ $OpenBSD: patch-base_unix-dll_mak,v 1.4 2012/07/11 10:26:31 kili Exp $
# ------------------------- Recursive make targets ------------------------- #
@@ -99,6 +93,13 @@ SODEFS=\
@@ -100,6 +94,13 @@ SODEFS=\
STDIO_IMPLEMENTATION=c\
BUILDDIRPREFIX=$(BUILDDIRPREFIX)
@ -85,7 +85,7 @@ $OpenBSD: patch-base_unix-dll_mak,v 1.4 2012/07/11 10:26:31 kili Exp $
# This is a bit nasty; because of the directory name rewriting that happens
# on a recursive build, we have to recurse twice before we are sure that
# all the targets are correct.
@@ -117,19 +118,27 @@ sodebug:
@@ -118,19 +119,27 @@ sodebug:
fi
$(MAKE) so-subtarget$(FOR_MAC) GENOPT='-DDEBUG' BUILDDIRPREFIX=$(SODEBUGDIRPREFIX)
@ -115,7 +115,7 @@ $OpenBSD: patch-base_unix-dll_mak,v 1.4 2012/07/11 10:26:31 kili Exp $
# special so-subtarget for MAC OS X
so-subtarget_1:
@@ -161,13 +170,11 @@ install-so-subtarget: so-subtarget$(FOR_MAC)
@@ -162,13 +171,11 @@ install-so-subtarget: so-subtarget$(FOR_MAC)
-mkdir -p $(DESTDIR)$(bindir)
-mkdir -p $(DESTDIR)$(libdir)
-mkdir -p $(DESTDIR)$(gsincludedir)
@ -131,7 +131,7 @@ $OpenBSD: patch-base_unix-dll_mak,v 1.4 2012/07/11 10:26:31 kili Exp $
$(INSTALL_DATA) $(PSSRC)iapi.h $(DESTDIR)$(gsincludedir)iapi.h
$(INSTALL_DATA) $(PSSRC)ierrors.h $(DESTDIR)$(gsincludedir)ierrors.h
$(INSTALL_DATA) $(GLSRC)gdevdsp.h $(DESTDIR)$(gsincludedir)gdevdsp.h
@@ -179,6 +186,8 @@ sodebuginstall:
@@ -180,6 +187,8 @@ sodebuginstall:
$(MAKE) soinstall-subtarget GENOPT='-DDEBUG' BUILDDIRPREFIX=$(SODEBUGDIRPREFIX)
soinstall-subtarget: install-so install-scripts install-data $(INSTALL_SHARED) $(INSTALL_CONTRIB)

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-base_unix-gcc_mak,v 1.6 2012/08/04 17:51:44 ajacoutot Exp $
--- base/unix-gcc.mak.orig Wed Feb 8 09:48:47 2012
+++ base/unix-gcc.mak Sun Jul 29 21:15:58 2012
@@ -31,6 +31,7 @@ PSLIBDIR=./lib
$OpenBSD: patch-base_unix-gcc_mak,v 1.7 2012/08/22 06:24:17 ajacoutot Exp $
--- base/unix-gcc.mak.orig Wed Aug 8 10:01:36 2012
+++ base/unix-gcc.mak Fri Aug 17 15:12:56 2012
@@ -32,6 +32,7 @@ PSLIBDIR=./lib
PSRESDIR=./Resource
PSGENDIR=./$(BUILDDIRPREFIX)obj
PSOBJDIR=./$(BUILDDIRPREFIX)obj
@ -9,7 +9,7 @@ $OpenBSD: patch-base_unix-gcc_mak,v 1.6 2012/08/04 17:51:44 ajacoutot Exp $
# Do not edit the next group of lines.
@@ -69,12 +70,12 @@ gsincludedir = $(includedir)/ghostscript/
@@ -70,12 +71,12 @@ gsincludedir = $(includedir)/ghostscript/
docdir=$(gsdatadir)/doc
exdir=$(gsdatadir)/examples
@ -24,7 +24,7 @@ $OpenBSD: patch-base_unix-gcc_mak,v 1.6 2012/08/04 17:51:44 ajacoutot Exp $
# Define whether or not searching for initialization files should always
# look in the current directory first. This leads to well-known security
@@ -211,9 +212,17 @@ IJS_NAME=
@@ -212,9 +213,17 @@ IJS_NAME=
IJSSRCDIR=ijs
IJSEXECTYPE=unix
@ -42,7 +42,7 @@ $OpenBSD: patch-base_unix-gcc_mak,v 1.6 2012/08/04 17:51:44 ajacoutot Exp $
AR=ar
ARFLAGS=qc
RANLIB=ranlib
@@ -222,7 +231,7 @@ RANLIB=ranlib
@@ -223,7 +232,7 @@ RANLIB=ranlib
# Define the name of the C compiler.
@ -51,7 +51,7 @@ $OpenBSD: patch-base_unix-gcc_mak,v 1.6 2012/08/04 17:51:44 ajacoutot Exp $
# Define the name of the linker for the final link step.
# Normally this is the same as the C compiler.
@@ -234,7 +243,7 @@ CCLD=$(CC)
@@ -235,7 +244,7 @@ CCLD=$(CC)
# the 2.7.0-2.7.2 optimizer bug, either "-Dconst=" or
# "-Wcast-qual -Wwrite-strings" is automatically included.
@ -60,7 +60,7 @@ $OpenBSD: patch-base_unix-gcc_mak,v 1.6 2012/08/04 17:51:44 ajacoutot Exp $
# Define the added flags for standard, debugging, profiling
# and shared object builds.
@@ -371,8 +380,6 @@ DISPLAY_DEV=
@@ -375,8 +384,6 @@ DISPLAY_DEV=
# Choose the device(s) to include. See devs.mak for details,
# devs.mak and contrib.mak for the list of available devices.
@ -69,7 +69,7 @@ $OpenBSD: patch-base_unix-gcc_mak,v 1.6 2012/08/04 17:51:44 ajacoutot Exp $
#DEVICE_DEVS1=
#DEVICE_DEVS2=
#DEVICE_DEVS3=
@@ -394,36 +401,18 @@ DEVICE_DEVS=$(DISPLAY_DEV) $(DD)x11.dev $(DD)x11alpha.
@@ -398,36 +405,18 @@ DEVICE_DEVS=$(DISPLAY_DEV) $(DD)x11.dev $(DD)x11alpha.
#DEVICE_DEVS19=
#DEVICE_DEVS20=
@ -112,7 +112,7 @@ $OpenBSD: patch-base_unix-gcc_mak,v 1.6 2012/08/04 17:51:44 ajacoutot Exp $
# ---------------------------- End of options --------------------------- #
@@ -472,8 +461,9 @@ include $(GLSRCDIR)/zlib.mak
@@ -476,8 +465,9 @@ include $(GLSRCDIR)/zlib.mak
include $(GLSRCDIR)/png.mak
include $(GLSRCDIR)/tiff.mak
include $(GLSRCDIR)/jbig2.mak
@ -123,7 +123,7 @@ $OpenBSD: patch-base_unix-gcc_mak,v 1.6 2012/08/04 17:51:44 ajacoutot Exp $
include $(GLSRCDIR)/ijs.mak
include $(GLSRCDIR)/devs.mak
include $(GLSRCDIR)/contrib.mak
@@ -482,6 +472,8 @@ include $(GLSRCDIR)/unixlink.mak
@@ -486,6 +476,8 @@ include $(GLSRCDIR)/unixlink.mak
include $(GLSRCDIR)/unix-dll.mak
include $(GLSRCDIR)/unix-end.mak
include $(GLSRCDIR)/unixinst.mak

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-lib_ps2epsi,v 1.6 2007/11/19 20:06:56 kili Exp $
--- lib/ps2epsi.orig Thu Jul 5 21:04:29 2007
+++ lib/ps2epsi Mon Sep 3 15:27:31 2007
@@ -11,20 +11,7 @@ fi
$OpenBSD: patch-lib_ps2epsi,v 1.7 2012/08/22 06:24:17 ajacoutot Exp $
--- lib/ps2epsi.orig Wed Aug 8 10:01:36 2012
+++ lib/ps2epsi Fri Aug 17 15:12:56 2012
@@ -10,20 +10,7 @@ fi
GS_EXECUTABLE="$gs"
# try to create a temporary file securely

View File

@ -1,10 +1,9 @@
@comment $OpenBSD: PLIST,v 1.24 2012/08/04 17:51:44 ajacoutot Exp $
@comment $OpenBSD: PLIST,v 1.25 2012/08/22 06:24:17 ajacoutot Exp $
@conflict gstoraster-*
@pkgpath print/gstoraster
@pkgpath print/ghostscript/afpl${FLAVOR_STRING}
@pkgpath print/ghostscript/gnu${FLAVOR_STRING},cups
%%SHARED%%
bin/dumphint
bin/dvipdf
bin/eps2eps
bin/font2c
@ -387,7 +386,9 @@ share/ghostscript/${VERSION}/Resource/SubstCID/Japan1-WMode
share/ghostscript/${VERSION}/Resource/SubstCID/Korea1-WMode
share/ghostscript/${VERSION}/doc/
share/ghostscript/${VERSION}/doc/API.htm
share/ghostscript/${VERSION}/doc/AUTHORS
share/ghostscript/${VERSION}/doc/C-style.htm
share/ghostscript/${VERSION}/doc/COPYING
share/ghostscript/${VERSION}/doc/Changes.htm
share/ghostscript/${VERSION}/doc/Commprod.htm
share/ghostscript/${VERSION}/doc/DLL.htm
@ -399,6 +400,8 @@ share/ghostscript/${VERSION}/doc/Develop.htm
share/ghostscript/${VERSION}/doc/Devices.htm
share/ghostscript/${VERSION}/doc/Drivers.htm
share/ghostscript/${VERSION}/doc/Fonts.htm
share/ghostscript/${VERSION}/doc/GS9_Color_Management.pdf
share/ghostscript/${VERSION}/doc/GS9_Color_Management.tex
share/ghostscript/${VERSION}/doc/Helpers.htm
share/ghostscript/${VERSION}/doc/Hershey.htm
share/ghostscript/${VERSION}/doc/History1.htm
@ -420,15 +423,21 @@ share/ghostscript/${VERSION}/doc/Projects.htm
share/ghostscript/${VERSION}/doc/Ps-style.htm
share/ghostscript/${VERSION}/doc/Ps2epsi.htm
share/ghostscript/${VERSION}/doc/Ps2pdf.htm
share/ghostscript/${VERSION}/doc/Ps2ps2.htm
share/ghostscript/${VERSION}/doc/Psfiles.htm
share/ghostscript/${VERSION}/doc/Readme.htm
share/ghostscript/${VERSION}/doc/Release.htm
share/ghostscript/${VERSION}/doc/Source.htm
share/ghostscript/${VERSION}/doc/Unix-lpr.htm
share/ghostscript/${VERSION}/doc/Use.htm
share/ghostscript/${VERSION}/doc/WhatIsGS.htm
share/ghostscript/${VERSION}/doc/Xfonts.htm
share/ghostscript/${VERSION}/doc/gs-vms.hlp
share/ghostscript/${VERSION}/doc/gs.css
share/ghostscript/${VERSION}/doc/gsdoc.el
share/ghostscript/${VERSION}/doc/index.html
share/ghostscript/${VERSION}/doc/pscet_status.txt
share/ghostscript/${VERSION}/doc/thirdparty.htm
share/ghostscript/${VERSION}/examples/
share/ghostscript/${VERSION}/examples/alphabet.ps
share/ghostscript/${VERSION}/examples/annots.pdf
@ -456,7 +465,10 @@ share/ghostscript/${VERSION}/examples/golfer.eps
share/ghostscript/${VERSION}/examples/grayalph.ps
share/ghostscript/${VERSION}/examples/ridt91.eps
share/ghostscript/${VERSION}/examples/snowflak.ps
share/ghostscript/${VERSION}/examples/text_graph_image_cmyk_rgb.pdf
share/ghostscript/${VERSION}/examples/text_graphic_image.pdf
share/ghostscript/${VERSION}/examples/tiger.eps
share/ghostscript/${VERSION}/examples/transparency_example.ps
share/ghostscript/${VERSION}/examples/vasarely.ps
share/ghostscript/${VERSION}/examples/waterfal.ps
share/ghostscript/${VERSION}/iccprofiles/
@ -510,7 +522,6 @@ share/ghostscript/${VERSION}/lib/decrypt.ps
share/ghostscript/${VERSION}/lib/dnj750c.upp
share/ghostscript/${VERSION}/lib/dnj750m.upp
share/ghostscript/${VERSION}/lib/docie.ps
share/ghostscript/${VERSION}/lib/dumphint.ps
share/ghostscript/${VERSION}/lib/font2c.ps
share/ghostscript/${VERSION}/lib/font2pcl.ps
share/ghostscript/${VERSION}/lib/ghostpdf.ppd