pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/ghostscript-agpl ghostscript-agpl: updated to 9....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f1e0a8ca7039
branches:  trunk
changeset: 459114:f1e0a8ca7039
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Sep 29 19:19:23 2021 +0000

description:
ghostscript-agpl: updated to 9.55.0

Version 9.55.0 (2021-09-27)

Highlights in this release include:

This release includes the fix for the %pipe% security issue (CVE-2021-3781).

New PDF Interpreter: This is an entirely new implementation written in C (rather than PostScript, as before). For a full discussion of this change and reasons for it see: Changes Coming to the PDF 
Interpreter.

In this (9.55.0) release, the new PDF interpreter is disabled by default in Ghostscript, but can be used by specifying -dNEWPDF. We hope to make it the default in 9.56.0, and fully deprecate the 
PostScript implementation shortly after that (depending on the feedback we get).

This also allows us to offer a new executable (gpdf, or gpdfwin??.exe on Windows) which is purely for PDF input. For this release, those new binaries are not included in the "install" make targets, 
nor in the Windows installers (they will be from 9.56.0 onwards).

We would ask that as many users as possible take the opportunity to test with the new PDF implementation (i.e. using -dNEWPDF on your gs command line), and discuss any problems with us, before the 
new implementation becomes the default.

The pdfwrite device now supports "passthrough" for JPX/JPG2000 data images (as well as the already supported JPEG/DCT Encoded). That means that if no rescaling or color conversion of the image data 
is required, the encoded/compressed image data from the input file will be written unchanged to the output, preventing potential image degradation caused by decompressing and recompressing.

The Ghostscript/GhostPDL demo apps for C, C#, Java and Python have all had improvements and the C#/Java/Python language bindings have now been documented, see Ghostscript Language Bindings

The Zugferd compliant PDF generating definitions (lib/zugferd.ps) have been updated and expanded to support the current version (2.1.1) of the Zugferd spec, and optionally different versions of the 
specification.

The PCL/m output devices now support Duplex/Tumble.

The internal support for "n-up" style simple imposition (introduced in 9.54.0) has been extended and improved for better support across all input formats.

Ghostscript now supports object specific halftone - for example, different halftones can be specified for text and images, reflecting the differing needs of rendering those two types of object.

Our efforts in code hygiene and maintainability continue.

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

(9.53.0) We have added the capability to build with the Tesseract OCR engine. In such a build, new devices are available (pdfocr8/pdfocr24/pdfocr32) which render the output file to an image, OCR that 
image, and output the image "wrapped" up as a PDF file, with the OCR generated text information included as "invisible" text (in PDF terms, text rendering mode 3).

diffstat:

 print/ghostscript-agpl/Makefile.common         |   4 ++--
 print/ghostscript-agpl/PLIST                   |   4 ++--
 print/ghostscript-agpl/distinfo                |  13 +++++++------
 print/ghostscript-agpl/patches/patch-configure |  18 +++++++++++-------
 4 files changed, 22 insertions(+), 17 deletions(-)

diffs (131 lines):

diff -r b48966c507d9 -r f1e0a8ca7039 print/ghostscript-agpl/Makefile.common
--- a/print/ghostscript-agpl/Makefile.common    Wed Sep 29 19:00:02 2021 +0000
+++ b/print/ghostscript-agpl/Makefile.common    Wed Sep 29 19:19:23 2021 +0000
@@ -1,5 +1,5 @@
-# $NetBSD: Makefile.common,v 1.24 2021/06/09 20:20:09 adam Exp $
+# $NetBSD: Makefile.common,v 1.25 2021/09/29 19:19:23 adam Exp $
 # used by print/ghostscript-agpl/Makefile
 # used by fonts/ghostscript-cidfonts-ryumin/Makefile
 
-GS_VERSION=    9.54.0
+GS_VERSION=    9.55.0
diff -r b48966c507d9 -r f1e0a8ca7039 print/ghostscript-agpl/PLIST
--- a/print/ghostscript-agpl/PLIST      Wed Sep 29 19:00:02 2021 +0000
+++ b/print/ghostscript-agpl/PLIST      Wed Sep 29 19:19:23 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.19 2021/06/15 12:39:31 mef Exp $
+@comment $NetBSD: PLIST,v 1.20 2021/09/29 19:19:23 adam Exp $
 bin/dvipdf
 bin/eps2eps
 bin/gs
@@ -33,7 +33,7 @@
 include/ghostscript/ierrors.h
 lib/libgs.so
 lib/libgs.so.9
-lib/libgs.so.9.54
+lib/libgs.so.9.55
 man/de/man1/dvipdf.1
 man/de/man1/eps2eps.1
 man/de/man1/gsnd.1
diff -r b48966c507d9 -r f1e0a8ca7039 print/ghostscript-agpl/distinfo
--- a/print/ghostscript-agpl/distinfo   Wed Sep 29 19:00:02 2021 +0000
+++ b/print/ghostscript-agpl/distinfo   Wed Sep 29 19:19:23 2021 +0000
@@ -1,13 +1,14 @@
-$NetBSD: distinfo,v 1.35 2021/06/09 20:20:09 adam Exp $
+$NetBSD: distinfo,v 1.36 2021/09/29 19:19:23 adam Exp $
 
-SHA1 (ghostscript-9.54.0.tar.xz) = 23cce513d4e80504da0778e4ce6f05db73ae2bee
-RMD160 (ghostscript-9.54.0.tar.xz) = 2229023643022c1e6a22db4cce3f5004abb245cd
-SHA512 (ghostscript-9.54.0.tar.xz) = a3c96925f4dbf5e276fc543b88df185a0435c68166db15ac532094329ba8db314d739a292da18be7954daaafeeb290e641ea03edf888854d7e752998ec6062cc
-Size (ghostscript-9.54.0.tar.xz) = 56001768 bytes
+SHA1 (ghostscript-9.55.0.tar.xz) = 8bdb24d0dbb429c5bd574fa94a613206d5543ec9
+RMD160 (ghostscript-9.55.0.tar.xz) = 4e4833825b1645953afb56bbdde5fd14c6e04d6f
+SHA512 (ghostscript-9.55.0.tar.xz) = 42c7e05ba72e9fdd626c5412187b13fc3c9459cae57dfe49ddd3011bf4e2cbd10bc88f09068a9f777c2ec6ae881cd737fd700ab62ec5108f2aca69152588f38e
+Size (ghostscript-9.55.0.tar.xz) = 67417724 bytes
 SHA1 (patch-base_gserrors_h) = ce75cfb7528871842a3bd35e18a6d91c89823909
+SHA1 (patch-base_gsicc__lcms2.c) = 94a1799e37dbb6072b029d128ece367fa8ca20b0
 SHA1 (patch-base_lib.mak) = 723926f167b49568376ef0c0da6aa4ec01fe1516
 SHA1 (patch-base_mkromfs.c) = 9d9afbd0fbb8c70c8f4f7de3cadc5b54541f0db0
 SHA1 (patch-base_ttobjs.h) = 378ad7d316a4a9dc53b9c8e612582a7c8e9b3688
 SHA1 (patch-base_unix-dll.mak) = 73b5ee7fcbc7940ce72f44b35417d624f7ae5bca
-SHA1 (patch-configure) = 8de018c1f7978423faf0b8d2c52e590a5ee484fe
+SHA1 (patch-configure) = f3f2583ef56a01f4107fec75057b7fc1be519c39
 SHA1 (patch-devices_devs.mak) = e9937d401a278cc6d0a6d4cff78c526375bc18ca
diff -r b48966c507d9 -r f1e0a8ca7039 print/ghostscript-agpl/patches/patch-configure
--- a/print/ghostscript-agpl/patches/patch-configure    Wed Sep 29 19:00:02 2021 +0000
+++ b/print/ghostscript-agpl/patches/patch-configure    Wed Sep 29 19:19:23 2021 +0000
@@ -1,13 +1,13 @@
-$NetBSD: patch-configure,v 1.7 2020/09/29 14:29:42 ryoon Exp $
+$NetBSD: patch-configure,v 1.8 2021/09/29 19:19:23 adam Exp $
 
 Use system zlib for linking.
 Add rpath.
 Get all LDFLAGS for FreeType2.
 Use correct install_name with path on Darwin.
 
---- configure.orig     2020-09-25 12:33:30.000000000 +0000
+--- configure.orig     2021-09-27 07:44:02.000000000 +0000
 +++ configure
-@@ -4028,7 +4028,7 @@ CFLAGSAUX_STANDARDTMP="\$(CFLAGS_STANDAR
+@@ -4049,7 +4049,7 @@ CFLAGSAUX_STANDARDTMP="\$(CFLAGS_STANDAR
  CFLAGSAUX_DEBUGTMP="\$(CFLAGS_DEBUG)"
  CFLAGSAUX_PROFILETMP="\$(CFLAGS_PROFILE)"
  LDFLAGSAUXTMP="\$(LDFLAGS)"
@@ -16,7 +16,7 @@
  
  # purposefully do not include "help" output for this
  # Check whether --enable-save_confaux was given.
-@@ -4660,9 +4660,7 @@ case $host in
+@@ -4681,9 +4681,7 @@ case $host in
          CC_OPT_FLAGS_TO_TRY="-O2 -DNDEBUG"
          CFLAGS_LARGEFILE="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
          # the trailing space is required!
@@ -27,7 +27,7 @@
          if test $GCC = yes; then
              CC_OPT_FLAGS_TO_TRY="-O2 -DNDEBUG"
              CC_DBG_FLAGS_TO_TRY="-gdwarf-2 -g3 -O0"
-@@ -7693,7 +7691,7 @@ fi
+@@ -7627,7 +7625,7 @@ fi
  fi
  
  if test x$with_libpaper != xno; then
@@ -36,7 +36,7 @@
  
  $as_echo "#define USE_LIBPAPER 1" >>confdefs.h
  
-@@ -11620,10 +11618,10 @@ case $host in
+@@ -11587,11 +11585,11 @@ case $host in
      ;;
      *-darwin*)
        DYNAMIC_CFLAGS="-fPIC $DYNAMIC_CFLAGS"
@@ -44,14 +44,16 @@
 -      PCL_DYNAMIC_LDFLAGS="-dynamiclib -install_name $DARWIN_LDFLAGS_SO_PREFIX\$(PCL_SONAME_MAJOR_MINOR)"
 -      XPS_DYNAMIC_LDFLAGS="-dynamiclib -install_name $DARWIN_LDFLAGS_SO_PREFIX\$(XPS_SONAME_MAJOR_MINOR)"
 -      PDL_DYNAMIC_LDFLAGS="-dynamiclib -install_name $DARWIN_LDFLAGS_SO_PREFIX\$(GPDL_SONAME_MAJOR_MINOR)"
+-      PDF_DYNAMIC_LDFLAGS="-dynamiclib -install_name $DARWIN_LDFLAGS_SO_PREFIX\$(PDF_SONAME_MAJOR_MINOR)"
 +      GS_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(DESTDIR)\$(libdir)/\$(GS_SONAME_MAJOR_MINOR)"
 +      PCL_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(DESTDIR)\$(libdir)/\$(PCL_SONAME_MAJOR_MINOR)"
 +      XPS_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(DESTDIR)\$(libdir)/\$(XPS_SONAME_MAJOR_MINOR)"
 +      PDL_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(DESTDIR)\$(libdir)/\$(GPDL_SONAME_MAJOR_MINOR)"
++      PDF_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(DESTDIR)\$(libdir)/\$(PDF_SONAME_MAJOR_MINOR)"
        DYNAMIC_LIBS=""
        SO_LIB_EXT=".dylib"
      ;;
-@@ -11639,10 +11637,10 @@ case $host in
+@@ -11607,11 +11605,11 @@ case $host in
          #fi
          # ^^^ untested
        fi
@@ -59,10 +61,12 @@
 -      PCL_DYNAMIC_LDFLAGS="-G -shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(PCL_SONAME_MAJOR) $_ldflags"
 -      XPS_DYNAMIC_LDFLAGS="-G -shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(XPS_SONAME_MAJOR) $_ldflags"
 -      PDL_DYNAMIC_LDFLAGS="-G -shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(GPDL_SONAME_MAJOR) $_ldflags"
+-      PDF_DYNAMIC_LDFLAGS="-G -shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(PDF_SONAME_MAJOR)"
 +      GS_DYNAMIC_LDFLAGS="-shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(GS_SONAME_MAJOR) $_ldflags"
 +      PCL_DYNAMIC_LDFLAGS="-shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(PCL_SONAME_MAJOR) $_ldflags"
 +      XPS_DYNAMIC_LDFLAGS="-shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(XPS_SONAME_MAJOR) $_ldflags"
 +      PDL_DYNAMIC_LDFLAGS="-shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(GPDL_SONAME_MAJOR) $_ldflags"
++      PDF_DYNAMIC_LDFLAGS="-shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(PDF_SONAME_MAJOR)"
        DYNAMIC_LIBS=""
        SO_LIB_EXT=".so"
      ;;



Home | Main Index | Thread Index | Old Index