summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2020-09-29 14:29:42 +0000
committerryoon <ryoon@pkgsrc.org>2020-09-29 14:29:42 +0000
commita332d6e8c0911d66cf009b0f6111ace45bc077eb (patch)
tree25703e14dd8c6a67d760c6bbd13350810029fa7d /print
parentf80f4d00e6b8dc0409e8330e849e45a1d840685a (diff)
downloadpkgsrc-a332d6e8c0911d66cf009b0f6111ace45bc077eb.tar.gz
ghostscript-agpl: Update to 9.53.2
Changelog: Version 9.53.2 (2020-09-25) Highlights in this release include: The 9.53.2 release is primarily maintenance. Three issues arose with 9.53.0/1 that prompted the release of a .2 patch: A crash (or silent, erroneous exit) on 64 bit Windows and other LLP64 type environments. A parameter type mismatch that would cause Ghostcript to error out during initialisation, which affected 64 big, big endian architectures. An expected side effect of another change that prevented multithreaded rendering and background rendering from working correctly. Details of those can be found in the changelog. The most obvious change is the (re-)introduction of the patch level to the version number, this helps facilitate a revised policy on handling security related issues. To clarify: in the event we decide to release a patch revision, it will replace the release with the previous patch number. Release notes, highlights and warnings will remain the same, except for the addition of whatever fix(es) prompted the patch. Our efforts in code hygiene and maintainability continue. 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). Due to some patches to the Tesseract sources that are required (integrated upstream, but awaiting release), time constraints, and the experimental nature of the feature, we only support including Tesseract from source, not linking to Tesseract shared libraries. Whether we add this capability will be largely dependant on community demand for the feature. See Enabling OCR for more details. We have added Python bindings for the gsapi interface, can be found in demos/python. These are experimental, and we welcome feedback from interested developers. For those integrating Ghostscript/GhostPDL via the gsapi interface, we have added new capabilities to that, specifically in terms of setting and interrogating device parameters. These, along with the existing interface calls, are documented in: Ghostscript Interpreter API IMPORTANT: In consultation with a representative of (OpenPrinting) it is our intention to deprecate and, in the not distant future, remove the OpenPrinting Vector/Raster Printer Drivers (that is, the opvp and oprp devices). If you rely on either of these devices, please get in touch with us, so we can discuss your use case, and revise our plans accordingly. IMPORTANT: We have forked LittleCMS2 into LittleCMS2mt (the "mt" indicating "multi-thread"). 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. If there is sufficient interest, 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.
Diffstat (limited to 'print')
-rw-r--r--print/ghostscript-agpl/Makefile.common4
-rw-r--r--print/ghostscript-agpl/distinfo12
-rw-r--r--print/ghostscript-agpl/patches/patch-configure23
3 files changed, 15 insertions, 24 deletions
diff --git a/print/ghostscript-agpl/Makefile.common b/print/ghostscript-agpl/Makefile.common
index 9d0ad386fd1..fdf01ebee5b 100644
--- a/print/ghostscript-agpl/Makefile.common
+++ b/print/ghostscript-agpl/Makefile.common
@@ -1,5 +1,5 @@
-# $NetBSD: Makefile.common,v 1.21 2020/09/20 08:28:24 wiz Exp $
+# $NetBSD: Makefile.common,v 1.22 2020/09/29 14:29:42 ryoon Exp $
# used by print/ghostscript-agpl/Makefile
# used by fonts/ghostscript-cidfonts-ryumin/Makefile
-GS_VERSION= 9.53.1
+GS_VERSION= 9.53.2
diff --git a/print/ghostscript-agpl/distinfo b/print/ghostscript-agpl/distinfo
index a4fd5d5bd0e..bdf9a9e6c3b 100644
--- a/print/ghostscript-agpl/distinfo
+++ b/print/ghostscript-agpl/distinfo
@@ -1,13 +1,13 @@
-$NetBSD: distinfo,v 1.32 2020/09/20 08:28:24 wiz Exp $
+$NetBSD: distinfo,v 1.33 2020/09/29 14:29:42 ryoon Exp $
-SHA1 (ghostscript-9.53.1.tar.xz) = bc62c33d1dde52bcc46397a0b1996539b7cf85f7
-RMD160 (ghostscript-9.53.1.tar.xz) = 3154a35f3b891408c7e12f954f98147e60026fd4
-SHA512 (ghostscript-9.53.1.tar.xz) = 5c78ed0a03983cbf9d55885c5ee8fbfc987db367b020ad0148b8861de42923e38c688447cfc6efcea5521121545ecfbea9690058fd3c4438629a43b5990800c5
-Size (ghostscript-9.53.1.tar.xz) = 41362600 bytes
+SHA1 (ghostscript-9.53.2.tar.xz) = a40cbe16ce6382ba1950b25b8053697e9510f1d5
+RMD160 (ghostscript-9.53.2.tar.xz) = 53d44ec49a996791a3cef1bc6587fe7bb1f5c6ee
+SHA512 (ghostscript-9.53.2.tar.xz) = fe430e96b67a082b58942d66193a89b8af042574929e8299e1f8b1ef2a7f71565ba5a96b72d26db38f4a05e70119a019c5fe73b842d51afd357d642d39d95320
+Size (ghostscript-9.53.2.tar.xz) = 41362364 bytes
SHA1 (patch-base_gserrors_h) = ce75cfb7528871842a3bd35e18a6d91c89823909
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) = bd7cfaab732f698b39fa4ddfc971c31fd1216f07
+SHA1 (patch-configure) = 8de018c1f7978423faf0b8d2c52e590a5ee484fe
SHA1 (patch-devices_devs.mak) = e9937d401a278cc6d0a6d4cff78c526375bc18ca
diff --git a/print/ghostscript-agpl/patches/patch-configure b/print/ghostscript-agpl/patches/patch-configure
index 93c06730365..caf44c4cb96 100644
--- a/print/ghostscript-agpl/patches/patch-configure
+++ b/print/ghostscript-agpl/patches/patch-configure
@@ -1,13 +1,13 @@
-$NetBSD: patch-configure,v 1.6 2020/09/13 14:16:31 leot Exp $
+$NetBSD: patch-configure,v 1.7 2020/09/29 14:29:42 ryoon 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-10 15:37:32.000000000 +0000
+--- configure.orig 2020-09-25 12:33:30.000000000 +0000
+++ configure
-@@ -4027,7 +4027,7 @@ CFLAGSAUX_STANDARDTMP="\$(CFLAGS_STANDAR
+@@ -4028,7 +4028,7 @@ CFLAGSAUX_STANDARDTMP="\$(CFLAGS_STANDAR
CFLAGSAUX_DEBUGTMP="\$(CFLAGS_DEBUG)"
CFLAGSAUX_PROFILETMP="\$(CFLAGS_PROFILE)"
LDFLAGSAUXTMP="\$(LDFLAGS)"
@@ -16,7 +16,7 @@ Use correct install_name with path on Darwin.
# purposefully do not include "help" output for this
# Check whether --enable-save_confaux was given.
-@@ -4659,9 +4659,7 @@ case $host in
+@@ -4660,9 +4660,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 @@ Use correct install_name with path on Darwin.
if test $GCC = yes; then
CC_OPT_FLAGS_TO_TRY="-O2 -DNDEBUG"
CC_DBG_FLAGS_TO_TRY="-gdwarf-2 -g3 -O0"
-@@ -7692,7 +7690,7 @@ fi
+@@ -7693,7 +7691,7 @@ fi
fi
if test x$with_libpaper != xno; then
@@ -36,16 +36,7 @@ Use correct install_name with path on Darwin.
$as_echo "#define USE_LIBPAPER 1" >>confdefs.h
-@@ -7994,7 +7992,7 @@ $as_echo_n "checking for system freetype
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
- $as_echo "yes" >&6; }
- FT_CFLAGS="$CFLAGS `$PKGCONFIG --cflags freetype2`"
-- FT_LIBS="`$PKGCONFIG --libs-only-l freetype2`"
-+ FT_LIBS="`$PKGCONFIG --libs freetype2`"
- FT_BRIDGE=1
- SHARE_FT=1
- else
-@@ -11608,10 +11606,10 @@ case $host in
+@@ -11620,10 +11618,10 @@ case $host in
;;
*-darwin*)
DYNAMIC_CFLAGS="-fPIC $DYNAMIC_CFLAGS"
@@ -60,7 +51,7 @@ Use correct install_name with path on Darwin.
DYNAMIC_LIBS=""
SO_LIB_EXT=".dylib"
;;
-@@ -11627,10 +11625,10 @@ case $host in
+@@ -11639,10 +11637,10 @@ case $host in
#fi
# ^^^ untested
fi