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/c0cafc6ab559
branches:  trunk
changeset: 454332:c0cafc6ab559
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Jun 09 20:20:09 2021 +0000

description:
ghostscript-agpl: updated to 9.54.0

The 9.54.0 release is a maintenance release, and also adds new functionality.

Highlights in this release include:

Overprint simulation is now available to all output devices, allowing quality previewing/proofing of PostScript and PDF jobs that rely on overprint. See the -dOverprint option documentation in: 
Overprint

The "docxwrite" device adds the ability to output to Microsoft Word "docx" format. See: docxwrite

The pdfwrite device is now capable of using the Tesseract OCR engine when it is built into Ghostscript to improve searchability and copy and paste functionality when the input lacks the metadata for 
that purpose. See: UseOCR

Ghostscript/GhostPDL now includes a "map text to black" function, where text drawn by an input job (except when drawn using a Type 3 font) can be forced to draw in solid black. See: BlackText

Ghostscript/GhostPDL now supports simple N-up imposition "internally". See: NupControl

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).

Mainly due to time constraints, we only support including Tesseract from source included in our release packages, and not linking to Tesseract/Leptonica shared libraries. Whether we add this 
capability will be largely dependent on community demand for the feature.

diffstat:

 print/ghostscript-agpl/Makefile                      |   4 +-
 print/ghostscript-agpl/Makefile.common               |   4 +-
 print/ghostscript-agpl/PLIST                         |   5 +-
 print/ghostscript-agpl/distinfo                      |  11 +++---
 print/ghostscript-agpl/patches/patch-base_fapi__ft.c |  33 --------------------
 5 files changed, 12 insertions(+), 45 deletions(-)

diffs (114 lines):

diff -r 41c43fe35694 -r c0cafc6ab559 print/ghostscript-agpl/Makefile
--- a/print/ghostscript-agpl/Makefile   Wed Jun 09 17:04:47 2021 +0000
+++ b/print/ghostscript-agpl/Makefile   Wed Jun 09 20:20:09 2021 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.61 2021/05/24 19:53:45 wiz Exp $
+# $NetBSD: Makefile,v 1.62 2021/06/09 20:20:09 adam Exp $
 
 DISTNAME=      ghostscript-${GS_VERSION}
 PKGNAME=       ${DISTNAME:S/ghostscript/ghostscript-agpl/}
-PKGREVISION=   2
 CATEGORIES=    print
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=ArtifexSoftware/}
 GITHUB_PROJECT=        ghostpdl-downloads
@@ -32,6 +31,7 @@
 
 CONFIGURE_ARGS+=       --enable-openjpeg
 CONFIGURE_ARGS+=       --with-system-libtiff
+CONFIGURE_ARGS+=       --without-tesseract
 CONFIGURE_ENV+=                LPLIBDIR=${PREFIX}/lib
 CONFIGURE_ENV.HPUX+=   ac_cv_func_fopen64=no
 
diff -r 41c43fe35694 -r c0cafc6ab559 print/ghostscript-agpl/Makefile.common
--- a/print/ghostscript-agpl/Makefile.common    Wed Jun 09 17:04:47 2021 +0000
+++ b/print/ghostscript-agpl/Makefile.common    Wed Jun 09 20:20:09 2021 +0000
@@ -1,5 +1,5 @@
-# $NetBSD: Makefile.common,v 1.23 2020/10/21 08:28:06 adam Exp $
+# $NetBSD: Makefile.common,v 1.24 2021/06/09 20:20:09 adam Exp $
 # used by print/ghostscript-agpl/Makefile
 # used by fonts/ghostscript-cidfonts-ryumin/Makefile
 
-GS_VERSION=    9.53.3
+GS_VERSION=    9.54.0
diff -r 41c43fe35694 -r c0cafc6ab559 print/ghostscript-agpl/PLIST
--- a/print/ghostscript-agpl/PLIST      Wed Jun 09 17:04:47 2021 +0000
+++ b/print/ghostscript-agpl/PLIST      Wed Jun 09 20:20:09 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.17 2020/09/13 14:16:30 leot Exp $
+@comment $NetBSD: PLIST,v 1.18 2021/06/09 20:20:09 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.53
+lib/libgs.so.9.54
 man/de/man1/dvipdf.1
 man/de/man1/eps2eps.1
 man/de/man1/gsnd.1
@@ -484,6 +484,7 @@
 share/ghostscript/${PKGVERSION}/lib/font2pcl.ps
 share/ghostscript/${PKGVERSION}/lib/ghostpdf.ppd
 share/ghostscript/${PKGVERSION}/lib/gs_ce_e.ps
+share/ghostscript/${PKGVERSION}/lib/gs_css_e.ps
 share/ghostscript/${PKGVERSION}/lib/gs_il2_e.ps
 share/ghostscript/${PKGVERSION}/lib/gs_kanji.ps
 share/ghostscript/${PKGVERSION}/lib/gs_ksb_e.ps
diff -r 41c43fe35694 -r c0cafc6ab559 print/ghostscript-agpl/distinfo
--- a/print/ghostscript-agpl/distinfo   Wed Jun 09 17:04:47 2021 +0000
+++ b/print/ghostscript-agpl/distinfo   Wed Jun 09 20:20:09 2021 +0000
@@ -1,10 +1,9 @@
-$NetBSD: distinfo,v 1.34 2020/10/21 08:28:06 adam Exp $
+$NetBSD: distinfo,v 1.35 2021/06/09 20:20:09 adam Exp $
 
-SHA1 (ghostscript-9.53.3.tar.xz) = 0b02d35279f3c475dcba50b0ec4b0c6997539dfb
-RMD160 (ghostscript-9.53.3.tar.xz) = 1ba3059c53bafc2de50df92d59b8cf875c2e02f5
-SHA512 (ghostscript-9.53.3.tar.xz) = eb832c27eecd30f15e346408c592d7096fd23ef0a6fa59bd50ca327578915434530a4868e69249c2594def0910c527302e99d54f0877f726a8ca8bea6f0f17b7
-Size (ghostscript-9.53.3.tar.xz) = 41368160 bytes
-SHA1 (patch-base_fapi__ft.c) = a8312cd851fdfb8520e76db2f3193b1d7b58afa0
+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 (patch-base_gserrors_h) = ce75cfb7528871842a3bd35e18a6d91c89823909
 SHA1 (patch-base_lib.mak) = 723926f167b49568376ef0c0da6aa4ec01fe1516
 SHA1 (patch-base_mkromfs.c) = 9d9afbd0fbb8c70c8f4f7de3cadc5b54541f0db0
diff -r 41c43fe35694 -r c0cafc6ab559 print/ghostscript-agpl/patches/patch-base_fapi__ft.c
--- a/print/ghostscript-agpl/patches/patch-base_fapi__ft.c      Wed Jun 09 17:04:47 2021 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-$NetBSD: patch-base_fapi__ft.c,v 1.1 2020/10/21 08:28:06 adam Exp $
-
-Build with FreeType 2.10.3.
-
---- base/fapi_ft.c.orig        2020-10-01 08:11:07.000000000 +0000
-+++ base/fapi_ft.c
-@@ -125,7 +125,7 @@ static void
- delete_inc_int_info(gs_fapi_server * a_server,
-                     FT_IncrementalRec * a_inc_int_info);
- 
--FT_CALLBACK_DEF(void *)
-+static void *
- FF_alloc(FT_Memory memory, long size)
- {
-     gs_memory_t *mem = (gs_memory_t *) memory->user;
-@@ -133,7 +133,7 @@ FF_alloc(FT_Memory memory, long size)
-     return (gs_malloc(mem, size, 1, "FF_alloc"));
- }
- 
--FT_CALLBACK_DEF(void *)
-+static void *
-     FF_realloc(FT_Memory memory, long cur_size, long new_size, void *block)
- {
-     gs_memory_t *mem = (gs_memory_t *) memory->user;
-@@ -153,7 +153,7 @@ FT_CALLBACK_DEF(void *)
-     return (tmp);
- }
- 
--FT_CALLBACK_DEF(void)
-+static void
-     FF_free(FT_Memory memory, void *block)
- {
-     gs_memory_t *mem = (gs_memory_t *) memory->user;



Home | Main Index | Thread Index | Old Index