Wed Apr 17 08:28:44 2019 UTC ()
ghostscript-agpl: updated to 9.27

Version 9.27:
Highlights in this release include:

We have extensively cleaned up the Postscript name space: removing access to internal and/or undocumented Postscript operators, procedures and data. This has benefits for security and maintainability.

We have added a new "product": "gpdl". This is a rethink/redesign of the old "language_switch" product (pspcl6), and includes all the interpreters we develop based on the Ghostscript graphics library: Postscript, PDF, PCL6, PXL and XPS. This is experimental, and should be considered of beta testing quality, and thus is not built by default: it can be built by using the "experimental" target.

gpdl uses a heuristic to judge the file type being passed to it. In general, it supports most of the widely used command line options for each interpreter, but compatibility is not complete (the practicalities of swapping interpreters means it is unlikely that full parity of command line options will be possible).

Fontmap can now reference invidual fonts in a TrueType Collection for font subsitution. Previously, a Fontmap entry could only reference a TrueType collection and use the default (first) font. Now, the Fontmap syntax allows for specifying a specific index in a TTC. See the comments at the top of (the default) Fontmap.GS for details.

IMPORTANT: We are in the process of forking LittleCMS. LCMS2 is not thread safe, and cannot be made thread safe without breaking the ABI. Our fork will be thread safe, and include performance enhancements (these changes have all be been offered and rejected upstream). We will maintain compatibility between Ghostscript and LCMS2 for a time, but not in perpetuity. Our fork will be available as its own package separately from Ghostscript (and MuPDF).

The usual round of bug fixes, compatibility changes, and incremental improvements.


(adam)
diff -r1.40 -r1.41 pkgsrc/print/ghostscript-agpl/Makefile
diff -r1.16 -r1.17 pkgsrc/print/ghostscript-agpl/Makefile.common
diff -r1.13 -r1.14 pkgsrc/print/ghostscript-agpl/PLIST
diff -r1.24 -r1.25 pkgsrc/print/ghostscript-agpl/distinfo
diff -r1.1 -r1.2 pkgsrc/print/ghostscript-agpl/patches/patch-base_ttobjs.h

cvs diff -r1.40 -r1.41 pkgsrc/print/ghostscript-agpl/Makefile (expand / switch to unified diff)

--- pkgsrc/print/ghostscript-agpl/Makefile 2019/03/24 00:36:27 1.40
+++ pkgsrc/print/ghostscript-agpl/Makefile 2019/04/17 08:28:44 1.41
@@ -1,18 +1,17 @@ @@ -1,18 +1,17 @@
1# $NetBSD: Makefile,v 1.40 2019/03/24 00:36:27 gdt Exp $ 1# $NetBSD: Makefile,v 1.41 2019/04/17 08:28:44 adam Exp $
2 2
3DISTNAME= ghostscript-${GS_VERSION} 3DISTNAME= ghostscript-${GS_VERSION}
4PKGNAME= ${DISTNAME:S/ghostscript/ghostscript-agpl/} 4PKGNAME= ${DISTNAME:S/ghostscript/ghostscript-agpl/}
5PKGREVISION= 3 
6CATEGORIES= print 5CATEGORIES= print
7MASTER_SITES= ${MASTER_SITE_GITHUB:=ArtifexSoftware/} 6MASTER_SITES= ${MASTER_SITE_GITHUB:=ArtifexSoftware/}
8GITHUB_PROJECT= ghostpdl-downloads 7GITHUB_PROJECT= ghostpdl-downloads
9GITHUB_RELEASE= gs${GS_VERSION:S/.//} 8GITHUB_RELEASE= gs${GS_VERSION:S/.//}
10EXTRACT_SUFX= .tar.xz 9EXTRACT_SUFX= .tar.xz
11 10
12MAINTAINER= pkgsrc-users@NetBSD.org 11MAINTAINER= pkgsrc-users@NetBSD.org
13HOMEPAGE= https://ghostscript.com/ 12HOMEPAGE= https://ghostscript.com/
14COMMENT= Postscript interpreter 13COMMENT= Postscript interpreter
15 14
16# Upstream calls this "GPL Ghostscript", which is confusing; 15# Upstream calls this "GPL Ghostscript", which is confusing;
17# see https://bugs.ghostscript.com/show_bug.cgi?id=700877 16# see https://bugs.ghostscript.com/show_bug.cgi?id=700877
18# Plus adobe verbatim for Resources/CMap. 17# Plus adobe verbatim for Resources/CMap.

cvs diff -r1.16 -r1.17 pkgsrc/print/ghostscript-agpl/Makefile.common (expand / switch to unified diff)

--- pkgsrc/print/ghostscript-agpl/Makefile.common 2018/11/22 01:12:43 1.16
+++ pkgsrc/print/ghostscript-agpl/Makefile.common 2019/04/17 08:28:44 1.17
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1# $NetBSD: Makefile.common,v 1.16 2018/11/22 01:12:43 leot Exp $ 1# $NetBSD: Makefile.common,v 1.17 2019/04/17 08:28:44 adam Exp $
2# used by print/ghostscript-agpl/Makefile 2# used by print/ghostscript-agpl/Makefile
3# used by fonts/ghostscript-cidfonts-ryumin/Makefile 3# used by fonts/ghostscript-cidfonts-ryumin/Makefile
4 4
5GS_VERSION= 9.26 5GS_VERSION= 9.27

cvs diff -r1.13 -r1.14 pkgsrc/print/ghostscript-agpl/PLIST (expand / switch to unified diff)

--- pkgsrc/print/ghostscript-agpl/PLIST 2019/01/15 10:49:01 1.13
+++ pkgsrc/print/ghostscript-agpl/PLIST 2019/04/17 08:28:44 1.14
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.13 2019/01/15 10:49:01 markd Exp $ 1@comment $NetBSD: PLIST,v 1.14 2019/04/17 08:28:44 adam Exp $
2bin/dvipdf 2bin/dvipdf
3bin/eps2eps 3bin/eps2eps
4bin/gs 4bin/gs
5bin/gsbj 5bin/gsbj
6bin/gsc 6bin/gsc
7bin/gsdj 7bin/gsdj
8bin/gsdj500 8bin/gsdj500
9bin/gslj 9bin/gslj
10bin/gslp 10bin/gslp
11bin/gsnd 11bin/gsnd
12bin/gsx 12bin/gsx
13bin/lprsetup.sh 13bin/lprsetup.sh
14bin/pdf2dsc 14bin/pdf2dsc
@@ -59,26 +59,27 @@ man/man1/pdf2dsc.1 @@ -59,26 +59,27 @@ man/man1/pdf2dsc.1
59man/man1/pdf2ps.1 59man/man1/pdf2ps.1
60man/man1/pf2afm.1 60man/man1/pf2afm.1
61man/man1/pfbtopfa.1 61man/man1/pfbtopfa.1
62man/man1/printafm.1 62man/man1/printafm.1
63man/man1/ps2ascii.1 63man/man1/ps2ascii.1
64man/man1/ps2epsi.1 64man/man1/ps2epsi.1
65man/man1/ps2pdf.1 65man/man1/ps2pdf.1
66man/man1/ps2pdf12.1 66man/man1/ps2pdf12.1
67man/man1/ps2pdf13.1 67man/man1/ps2pdf13.1
68man/man1/ps2pdf14.1 68man/man1/ps2pdf14.1
69man/man1/ps2pdfwr.1 69man/man1/ps2pdfwr.1
70man/man1/ps2ps.1 70man/man1/ps2ps.1
71share/doc/ghostscript/${PKGVERSION}/API.htm 71share/doc/ghostscript/${PKGVERSION}/API.htm
 72share/doc/ghostscript/${PKGVERSION}/COPYING
72share/doc/ghostscript/${PKGVERSION}/C-style.htm 73share/doc/ghostscript/${PKGVERSION}/C-style.htm
73share/doc/ghostscript/${PKGVERSION}/Commprod.htm 74share/doc/ghostscript/${PKGVERSION}/Commprod.htm
74share/doc/ghostscript/${PKGVERSION}/DLL.htm 75share/doc/ghostscript/${PKGVERSION}/DLL.htm
75share/doc/ghostscript/${PKGVERSION}/Deprecated.htm 76share/doc/ghostscript/${PKGVERSION}/Deprecated.htm
76share/doc/ghostscript/${PKGVERSION}/Develop.htm 77share/doc/ghostscript/${PKGVERSION}/Develop.htm
77share/doc/ghostscript/${PKGVERSION}/Devices.htm 78share/doc/ghostscript/${PKGVERSION}/Devices.htm
78share/doc/ghostscript/${PKGVERSION}/Drivers.htm 79share/doc/ghostscript/${PKGVERSION}/Drivers.htm
79share/doc/ghostscript/${PKGVERSION}/Fonts.htm 80share/doc/ghostscript/${PKGVERSION}/Fonts.htm
80share/doc/ghostscript/${PKGVERSION}/GS9_Color_Management.pdf 81share/doc/ghostscript/${PKGVERSION}/GS9_Color_Management.pdf
81share/doc/ghostscript/${PKGVERSION}/History9.htm 82share/doc/ghostscript/${PKGVERSION}/History9.htm
82share/doc/ghostscript/${PKGVERSION}/Install.htm 83share/doc/ghostscript/${PKGVERSION}/Install.htm
83share/doc/ghostscript/${PKGVERSION}/Language.htm 84share/doc/ghostscript/${PKGVERSION}/Language.htm
84share/doc/ghostscript/${PKGVERSION}/Lib.htm 85share/doc/ghostscript/${PKGVERSION}/Lib.htm
@@ -316,31 +317,31 @@ ${PLIST.no_cidfmap}share/ghostscript/${P @@ -316,31 +317,31 @@ ${PLIST.no_cidfmap}share/ghostscript/${P
316${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/C059-Roman 317${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/C059-Roman
317${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/D050000L 318${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/D050000L
318${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/NimbusMonoPS-Bold 319${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/NimbusMonoPS-Bold
319${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/NimbusMonoPS-BoldItalic 320${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/NimbusMonoPS-BoldItalic
320${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/NimbusMonoPS-Italic 321${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/NimbusMonoPS-Italic
321${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/NimbusMonoPS-Regular 322${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/NimbusMonoPS-Regular
322${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/NimbusRoman-Bold 323${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/NimbusRoman-Bold
323${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/NimbusRoman-BoldItalic 324${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/NimbusRoman-BoldItalic
324${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/NimbusRoman-Italic 325${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/NimbusRoman-Italic
325${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/NimbusRoman-Regular 326${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/NimbusRoman-Regular
326${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/NimbusSans-Bold 327${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/NimbusSans-Bold
327${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/NimbusSans-BoldItalic 328${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/NimbusSans-BoldItalic
328${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/NimbusSans-Italic 329${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/NimbusSans-Italic
 330${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/NimbusSans-Regular
329${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/NimbusSansNarrow-Bold 331${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/NimbusSansNarrow-Bold
330${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/NimbusSansNarrow-BoldOblique 332${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/NimbusSansNarrow-BoldOblique
331${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/NimbusSansNarrow-Oblique 333${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/NimbusSansNarrow-Oblique
332${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/NimbusSansNarrow-Regular 334${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/NimbusSansNarrow-Regular
333${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/NimbusSans-Regular 
334${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/P052-Bold 335${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/P052-Bold
335${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/P052-BoldItalic 336${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/P052-BoldItalic
336${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/P052-Italic 337${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/P052-Italic
337${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/P052-Roman 338${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/P052-Roman
338${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/StandardSymbolsPS 339${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/StandardSymbolsPS
339${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/URWBookman-Demi 340${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/URWBookman-Demi
340${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/URWBookman-DemiItalic 341${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/URWBookman-DemiItalic
341${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/URWBookman-Light 342${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/URWBookman-Light
342${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/URWBookman-LightItalic 343${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/URWBookman-LightItalic
343${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/URWGothic-Book 344${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/URWGothic-Book
344${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/URWGothic-BookOblique 345${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/URWGothic-BookOblique
345${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/URWGothic-Demi 346${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/URWGothic-Demi
346${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/URWGothic-DemiOblique 347${PLIST.no_cidfmap}share/ghostscript/${PKGVERSION}/Resource/Font/URWGothic-DemiOblique

cvs diff -r1.24 -r1.25 pkgsrc/print/ghostscript-agpl/distinfo (expand / switch to unified diff)

--- pkgsrc/print/ghostscript-agpl/distinfo 2018/11/22 01:12:43 1.24
+++ pkgsrc/print/ghostscript-agpl/distinfo 2019/04/17 08:28:44 1.25
@@ -1,13 +1,13 @@ @@ -1,13 +1,13 @@
1$NetBSD: distinfo,v 1.24 2018/11/22 01:12:43 leot Exp $ 1$NetBSD: distinfo,v 1.25 2019/04/17 08:28:44 adam Exp $
2 2
3SHA1 (ghostscript-9.26.tar.xz) = 2727000ebee0d08311705859a31a504e259f0d98 3SHA1 (ghostscript-9.27.tar.xz) = f926d2cfb418a7c5d92dce0a9843fa01ee62fe2c
4RMD160 (ghostscript-9.26.tar.xz) = c03fe07b078986754cf36b909063b981e4b6e536 4RMD160 (ghostscript-9.27.tar.xz) = f735c54b15af3b425fb8c60bf8fadd8361a5ec2f
5SHA512 (ghostscript-9.26.tar.xz) = 3ddb83029edf32282357bf606f4045a9ac73df6543cd423cfad09158ec12ada083a0dbb5aac3b73ae24cbc6c1e9d7574257a5c1fae63ba8776fbb00150ef2a3e 5SHA512 (ghostscript-9.27.tar.xz) = 5e67ad45a80f01c6ef0eabb1c76dfa8fb6e7f0fde8d82fd5daaf12f370c288a672f8fa69c74d9e30255582267e9a906e4e8b13655f8d993fefdfc8dbdb5d5401
6Size (ghostscript-9.26.tar.xz) = 33059724 bytes 6Size (ghostscript-9.27.tar.xz) = 33182608 bytes
7SHA1 (patch-base_gserrors_h) = ce75cfb7528871842a3bd35e18a6d91c89823909 7SHA1 (patch-base_gserrors_h) = ce75cfb7528871842a3bd35e18a6d91c89823909
8SHA1 (patch-base_lib.mak) = 723926f167b49568376ef0c0da6aa4ec01fe1516 8SHA1 (patch-base_lib.mak) = 723926f167b49568376ef0c0da6aa4ec01fe1516
9SHA1 (patch-base_mkromfs.c) = 96006928e0b5381e7101027372b6e6408f1c4a0b 9SHA1 (patch-base_mkromfs.c) = 96006928e0b5381e7101027372b6e6408f1c4a0b
10SHA1 (patch-base_ttobjs.h) = 4250d77127d5b7c2fcdd912bc764a59deca97fa2 10SHA1 (patch-base_ttobjs.h) = 378ad7d316a4a9dc53b9c8e612582a7c8e9b3688
11SHA1 (patch-base_unix-dll.mak) = 73b5ee7fcbc7940ce72f44b35417d624f7ae5bca 11SHA1 (patch-base_unix-dll.mak) = 73b5ee7fcbc7940ce72f44b35417d624f7ae5bca
12SHA1 (patch-configure) = 08ed9451fc3cf1aade8992e4297c7df736416c8b 12SHA1 (patch-configure) = 08ed9451fc3cf1aade8992e4297c7df736416c8b
13SHA1 (patch-devices_devs.mak) = 9857c177e7a6a28ee326dbc878bbe52ccbcfedce 13SHA1 (patch-devices_devs.mak) = 9857c177e7a6a28ee326dbc878bbe52ccbcfedce

cvs diff -r1.1 -r1.2 pkgsrc/print/ghostscript-agpl/patches/patch-base_ttobjs.h (expand / switch to unified diff)

--- pkgsrc/print/ghostscript-agpl/patches/patch-base_ttobjs.h 2018/10/01 09:21:32 1.1
+++ pkgsrc/print/ghostscript-agpl/patches/patch-base_ttobjs.h 2019/04/17 08:28:44 1.2
@@ -1,17 +1,17 @@ @@ -1,17 +1,17 @@
1$NetBSD: patch-base_ttobjs.h,v 1.1 2018/10/01 09:21:32 jperkin Exp $ 1$NetBSD: patch-base_ttobjs.h,v 1.2 2019/04/17 08:28:44 adam Exp $
2 2
3Avoid GS conflict on older SunOS. 3Avoid GS conflict on older SunOS.
4 4
5--- base/ttobjs.h.orig 2018-09-13 10:02:01.000000000 +0000 5--- base/ttobjs.h.orig 2019-04-04 07:43:14.000000000 +0000
6+++ base/ttobjs.h 6+++ base/ttobjs.h
7@@ -42,6 +42,10 @@ 7@@ -43,6 +43,10 @@
8 #include "tttables.h" 
9 #include "setjmp_.h" 8 #include "setjmp_.h"
 9 #include "ttfoutl.h"
10  10
11+#ifdef __sun 11+#ifdef __sun
12+#undef GS 12+#undef GS
13+#endif 13+#endif
14+ 14+
15 #ifdef __cplusplus 15 #ifdef __cplusplus
16 extern "C" { 16 extern "C" {
17 #endif 17 #endif