head 1.13; access; symbols pkgsrc-2026Q2:1.13.0.4 pkgsrc-2026Q2-base:1.13 pkgsrc-2026Q1:1.13.0.2 pkgsrc-2026Q1-base:1.13 pkgsrc-2025Q4:1.12.0.12 pkgsrc-2025Q4-base:1.12 pkgsrc-2025Q3:1.12.0.10 pkgsrc-2025Q3-base:1.12 pkgsrc-2025Q2:1.12.0.8 pkgsrc-2025Q2-base:1.12 pkgsrc-2025Q1:1.12.0.6 pkgsrc-2025Q1-base:1.12 pkgsrc-2024Q4:1.12.0.4 pkgsrc-2024Q4-base:1.12 pkgsrc-2024Q3:1.12.0.2 pkgsrc-2024Q3-base:1.12 pkgsrc-2024Q2:1.10.0.10 pkgsrc-2024Q2-base:1.10 pkgsrc-2024Q1:1.10.0.8 pkgsrc-2024Q1-base:1.10 pkgsrc-2023Q4:1.10.0.6 pkgsrc-2023Q4-base:1.10 pkgsrc-2023Q3:1.10.0.4 pkgsrc-2023Q3-base:1.10 pkgsrc-2023Q2:1.10.0.2 pkgsrc-2023Q2-base:1.10 pkgsrc-2023Q1:1.9.0.8 pkgsrc-2023Q1-base:1.9 pkgsrc-2022Q4:1.9.0.6 pkgsrc-2022Q4-base:1.9 pkgsrc-2022Q3:1.9.0.4 pkgsrc-2022Q3-base:1.9 pkgsrc-2022Q2:1.9.0.2 pkgsrc-2022Q2-base:1.9 pkgsrc-2022Q1:1.8.0.4 pkgsrc-2022Q1-base:1.8 pkgsrc-2021Q4:1.8.0.2 pkgsrc-2021Q4-base:1.8 pkgsrc-2021Q3:1.7.0.8 pkgsrc-2021Q3-base:1.7 pkgsrc-2021Q2:1.7.0.6 pkgsrc-2021Q2-base:1.7 pkgsrc-2021Q1:1.7.0.4 pkgsrc-2021Q1-base:1.7 pkgsrc-2020Q4:1.7.0.2 pkgsrc-2020Q4-base:1.7 pkgsrc-2020Q3:1.6.0.2 pkgsrc-2020Q3-base:1.6 pkgsrc-2020Q2:1.5.0.4 pkgsrc-2020Q2-base:1.5 pkgsrc-2020Q1:1.5.0.2 pkgsrc-2020Q1-base:1.5 pkgsrc-2019Q4:1.3.0.14 pkgsrc-2019Q4-base:1.3 pkgsrc-2019Q3:1.3.0.10 pkgsrc-2019Q3-base:1.3 pkgsrc-2019Q2:1.3.0.8 pkgsrc-2019Q2-base:1.3 pkgsrc-2019Q1:1.3.0.6 pkgsrc-2019Q1-base:1.3 pkgsrc-2018Q4:1.3.0.4 pkgsrc-2018Q4-base:1.3 pkgsrc-2018Q3:1.3.0.2 pkgsrc-2018Q3-base:1.3 pkgsrc-2018Q2:1.2.0.4 pkgsrc-2018Q2-base:1.2 pkgsrc-2018Q1:1.2.0.2 pkgsrc-2018Q1-base:1.2 pkgsrc-2017Q4:1.1.0.8 pkgsrc-2017Q4-base:1.1 pkgsrc-2017Q3:1.1.0.6 pkgsrc-2017Q3-base:1.1 pkgsrc-2017Q2:1.1.0.2 pkgsrc-2017Q2-base:1.1; locks; strict; comment @# @; 1.13 date 2026.03.16.12.12.19; author nia; state Exp; branches; next 1.12; commitid ovoevanyyEwWccyG; 1.12 date 2024.09.25.20.27.24; author triaxx; state Exp; branches; next 1.11; commitid nIRGBPBQIMa1derF; 1.11 date 2024.09.22.15.22.57; author wiz; state Exp; branches; next 1.10; commitid HaJXFU8Bd0hsCOqF; 1.10 date 2023.04.23.09.19.13; author wiz; state Exp; branches; next 1.9; commitid HhO8VZHfFV33gdmE; 1.9 date 2022.05.27.08.26.52; author adam; state Exp; branches; next 1.8; commitid FUGkgOnofHFBBFFD; 1.8 date 2021.09.29.19.19.23; author adam; state Exp; branches; next 1.7; commitid ZN15kvriX5ENVSaD; 1.7 date 2020.09.29.14.29.42; author ryoon; state Exp; branches 1.7.8.1; next 1.6; commitid Bf1fAS9P2S5W3XpC; 1.6 date 2020.09.13.14.16.31; author leot; state Exp; branches; next 1.5; commitid b90AiCDegePevTnC; 1.5 date 2020.03.25.07.46.19; author adam; state Exp; branches; next 1.4; commitid tV1hUUvuBmDeSK1C; 1.4 date 2020.03.24.16.34.45; author adam; state Exp; branches; next 1.3; commitid YumxfwBEaablPF1C; 1.3 date 2018.09.05.13.19.40; author adam; state Exp; branches; next 1.2; commitid uxGNakXrjdplWUQA; 1.2 date 2018.01.25.10.38.57; author jperkin; state Exp; branches; next 1.1; commitid Y20uVP8L9jeudfoA; 1.1 date 2017.03.31.07.26.23; author adam; state Exp; branches; next ; commitid 6GxPo7C4ma4xNFLz; 1.7.8.1 date 2021.10.13.20.47.09; author tm; state Exp; branches; next ; commitid bGJ61OKk1sG7YGcD; desc @@ 1.13 log @ghostscript-agpl: Avoid warnings-as-errors. @ text @$NetBSD: patch-configure,v 1.12 2024/09/25 20:27:24 triaxx Exp $ Use system zlib for linking. Add rpath. Get all LDFLAGS for FreeType2. Use correct install_name with path on Darwin. Remove -Werror flags that are suitable for development but not for packaging for a wide range of OSes and architectures. --- configure.orig 2025-09-09 09:36:39.000000000 +0000 +++ configure @@@@ -4845,7 +4845,7 @@@@ CFLAGSAUX_STANDARDTMP="\$(CFLAGS_STANDAR CFLAGSAUX_DEBUGTMP="\$(CFLAGS_DEBUG)" CFLAGSAUX_PROFILETMP="\$(CFLAGS_PROFILE)" LDFLAGSAUXTMP="\$(LDFLAGS)" -AUXEXTRALIBSTMP="\$(EXTRALIBS)" +AUXEXTRALIBSTMP="\$(EXTRALIBS) -lz" # purposefully do not include "help" output for this # Check whether --enable-save_confaux was given. @@@@ -5601,10 +5601,7 @@@@ case $host in *-sun*|*-solaris*) 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! - if test $GCC = no; then - SET_DT_SONAME="-h " - fi + SET_DT_SONAME="-h," if test x"$GCC" = x"yes"; then CC_OPT_FLAGS_TO_TRY="-O2 -DNDEBUG" CC_DBG_FLAGS_TO_TRY="-gdwarf-2 -g3 -O0" @@@@ -5630,8 +5627,8 @@@@ esac if test x"$GCC" = x"yes"; then cflags_to_try="-Wall -Wstrict-prototypes -Wundef \ -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings \ --fno-strict-aliasing -Werror=declaration-after-statement \ --fno-builtin -fno-common -Werror=return-type -Wno-unused-local-typedefs $CFLAGS_LARGEFILE" +-fno-strict-aliasing \ +-fno-builtin -fno-common -Wno-unused-local-typedefs $CFLAGS_LARGEFILE" optflags_to_try="$CC_OPT_FLAGS_TO_TRY" dbgflags_to_try="$CC_DBG_FLAGS_TO_TRY" else @@@@ -9257,7 +9254,7 @@@@ fi fi if test x$with_libpaper != xno; then - LIBS="$LIBS -lpaper" + LIBS="$LIBS -L${LPLIBDIR} -Wl,-R${LPLIBDIR} -lpaper" printf "%s\n" "#define USE_LIBPAPER 1" >>confdefs.h @@@@ -13496,11 +13493,11 @@@@ case $host in ;; *-darwin*) DYNAMIC_CFLAGS="-fPIC $DYNAMIC_CFLAGS" - GS_DYNAMIC_LDFLAGS="-dynamiclib -install_name $DARWIN_LDFLAGS_SO_PREFIX\$(GS_SONAME_MAJOR)" - PCL_DYNAMIC_LDFLAGS="-dynamiclib -install_name $DARWIN_LDFLAGS_SO_PREFIX\$(PCL_SONAME_MAJOR)" - XPS_DYNAMIC_LDFLAGS="-dynamiclib -install_name $DARWIN_LDFLAGS_SO_PREFIX\$(XPS_SONAME_MAJOR)" - PDL_DYNAMIC_LDFLAGS="-dynamiclib -install_name $DARWIN_LDFLAGS_SO_PREFIX\$(GPDL_SONAME_MAJOR)" - PDF_DYNAMIC_LDFLAGS="-dynamiclib -install_name $DARWIN_LDFLAGS_SO_PREFIX\$(PDF_SONAME_MAJOR)" + GS_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(DESTDIR)\$(libdir)/\$(GS_SONAME_MAJOR)" + PCL_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(DESTDIR)\$(libdir)/\$(PCL_SONAME_MAJOR)" + XPS_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(DESTDIR)\$(libdir)/\$(XPS_SONAME_MAJOR)" + PDL_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(DESTDIR)\$(libdir)/\$(GPDL_SONAME_MAJOR)" + PDF_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(DESTDIR)\$(libdir)/\$(PDF_SONAME_MAJOR)" DYNAMIC_LIBS="" SO_LIB_EXT="" DLL_EXT=".dylib" @@@@ -13517,11 +13514,11 @@@@ case $host in #fi # ^^^ untested fi - GS_DYNAMIC_LDFLAGS="-G -shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(GS_SONAME_MAJOR) $_ldflags" - 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" ;; @ 1.12 log @ghostscript-agpl: Fix build on Darwin @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.11 2024/09/22 15:22:57 wiz Exp $ d7 2 d10 1 a10 1 --- configure.orig 2024-09-18 07:34:15.000000000 +0000 d12 1 a12 1 @@@@ -4837,7 +4837,7 @@@@ CFLAGSAUX_STANDARDTMP="\$(CFLAGS_STANDAR d21 1 a21 1 @@@@ -5593,10 +5593,7 @@@@ case $host in d33 12 a44 1 @@@@ -9251,7 +9248,7 @@@@ fi d53 1 a53 1 @@@@ -13333,11 +13330,11 @@@@ case $host in d70 1 a70 1 @@@@ -13354,11 +13351,11 @@@@ case $host in @ 1.11 log @ghostscript-agpl: update to 10.04.0 Version 10.04.0 (2024-09-18) Highlights in this release include: • This release addresses CVEs: CVE-2024-46951, CVE-2024-46952, CVE-2024-46953, CVE-2024-46954, CVE-2024-46955, CVE-2024-46956 • IMPORTANT: In this release (10.04.0) we have be added protection for device selection from PostScript input. This will mean that, by default, only the device specified on the command line will be permitted. Similar to the file permissions, there will be a "--permit-devices=" allowing a comma separation list of allowed devices. This will also take a single wildcard "*" allowing any device. Any application which relies on allowing PostScript to change devices during a job will have to be aware, and take action to deal with this change. The exception is "nulldevice", switching to that requires no special action. • Our efforts in code hygiene and maintainability continue. • The usual round of bug fixes, compatibility changes, and incremental improvements. @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.10 2023/04/23 09:19:13 wiz Exp $ d49 5 a53 5 + GS_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(DESTDIR)\$(libdir)\$(GS_SONAME_MAJOR)" + PCL_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(DESTDIR)\$(libdir)\$(PCL_SONAME_MAJOR)" + XPS_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(DESTDIR)\$(libdir)\$(XPS_SONAME_MAJOR)" + PDL_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(DESTDIR)\$(libdir)\$(GPDL_SONAME_MAJOR)" + PDF_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(DESTDIR)\$(libdir)\$(PDF_SONAME_MAJOR)" @ 1.10 log @ghostscript-agpl: update to 10.01.0. Version 10.01.0 (2023-03-22) Highlights in this release include: • We've continued to improve the performance of the PDF interpreter written in C and improve it's behaviour in edge and out-of-specification cases. • Our efforts in code hygiene and maintainability continue. • The usual round of bug fixes, compatibility changes, and incremental improvements. @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.9 2022/05/27 08:26:52 adam Exp $ d8 1 a8 1 --- configure.orig 2023-03-22 09:33:42.000000000 +0000 d10 1 a10 1 @@@@ -4834,7 +4834,7 @@@@ CFLAGSAUX_STANDARDTMP="\$(CFLAGS_STANDAR d19 1 a19 1 @@@@ -5590,10 +5590,7 @@@@ case $host in d31 1 a31 1 @@@@ -8701,7 +8698,7 @@@@ fi d40 1 a40 1 @@@@ -12805,11 +12802,11 @@@@ case $host in d44 10 a53 10 - GS_DYNAMIC_LDFLAGS="-dynamiclib -install_name $DARWIN_LDFLAGS_SO_PREFIX\$(GS_SONAME_MAJOR_MINOR)" - 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)" d55 3 a57 3 SO_LIB_EXT=".dylib" ;; @@@@ -12825,11 +12822,11 @@@@ case $host in @ 1.9 log @ghostscript-agpl: updated to 9.56.1 9.56.1 New PDF Interpreter is now enabled by default: See Changes Coming to the PDF Interpreter libgs is now threadsafe The PSD output devices now write ICC profiles to their output files for improved color fidelity. Ghostscript/GhostPDL can now output Apple Raster and URF format image files: via the "appleraster" or "urf" output devices (using the cups implementation of those formats). @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.8 2021/09/29 19:19:23 adam Exp $ d8 1 a8 1 --- configure.orig 2022-04-04 13:48:49.000000000 +0000 d10 1 a10 1 @@@@ -4036,7 +4036,7 @@@@ CFLAGSAUX_STANDARDTMP="\$(CFLAGS_STANDAR d19 1 a19 1 @@@@ -4667,10 +4667,7 @@@@ case $host in d31 1 a31 1 @@@@ -7605,7 +7602,7 @@@@ fi d38 1 a38 1 $as_echo "#define USE_LIBPAPER 1" >>confdefs.h d40 1 a40 1 @@@@ -11530,11 +11527,11 @@@@ case $host in d57 1 a57 1 @@@@ -11550,11 +11547,11 @@@@ case $host in @ 1.8 log @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). @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.7 2020/09/29 14:29:42 ryoon Exp $ d8 1 a8 1 --- configure.orig 2021-09-27 07:44:02.000000000 +0000 d10 1 a10 1 @@@@ -4049,7 +4049,7 @@@@ CFLAGSAUX_STANDARDTMP="\$(CFLAGS_STANDAR d19 2 a20 1 @@@@ -4681,9 +4681,7 @@@@ case $host in d23 1 a23 1 # the trailing space is required! d28 1 a28 1 if test $GCC = yes; then d31 1 a31 1 @@@@ -7627,7 +7625,7 @@@@ fi d40 1 a40 1 @@@@ -11587,11 +11585,11 @@@@ case $host in d57 1 a57 1 @@@@ -11607,11 +11605,11 @@@@ case $host in @ 1.7 log @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. @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.6 2020/09/13 14:16:31 leot Exp $ d8 1 a8 1 --- configure.orig 2020-09-25 12:33:30.000000000 +0000 d10 1 a10 1 @@@@ -4028,7 +4028,7 @@@@ CFLAGSAUX_STANDARDTMP="\$(CFLAGS_STANDAR d19 1 a19 1 @@@@ -4660,9 +4660,7 @@@@ case $host in d30 1 a30 1 @@@@ -7693,7 +7691,7 @@@@ fi d39 1 a39 1 @@@@ -11620,10 +11618,10 @@@@ case $host in d47 1 d52 1 d56 1 a56 1 @@@@ -11639,10 +11637,10 @@@@ case $host in d64 1 d69 1 @ 1.7.8.1 log @Pullup ticket #6512 - requested by mlelstv print/ghostscript-agpl: pullup and build fix Revisions pulled up: - print/ghostscript-agpl/Makefile.common 1.25 - print/ghostscript-agpl/PLIST 1.20 - print/ghostscript-agpl/distinfo 1.37 - print/ghostscript-agpl/patches/patch-configure 1.8 @ text @d1 1 a1 1 $NetBSD$ d8 1 a8 1 --- configure.orig 2021-09-27 07:44:02.000000000 +0000 d10 1 a10 1 @@@@ -4049,7 +4049,7 @@@@ CFLAGSAUX_STANDARDTMP="\$(CFLAGS_STANDAR d19 1 a19 1 @@@@ -4681,9 +4681,7 @@@@ case $host in d30 1 a30 1 @@@@ -7627,7 +7625,7 @@@@ fi d39 1 a39 1 @@@@ -11587,11 +11585,11 @@@@ case $host in a46 1 - PDF_DYNAMIC_LDFLAGS="-dynamiclib -install_name $DARWIN_LDFLAGS_SO_PREFIX\$(PDF_SONAME_MAJOR_MINOR)" a50 1 + PDF_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(DESTDIR)\$(libdir)/\$(PDF_SONAME_MAJOR_MINOR)" d54 1 a54 1 @@@@ -11607,11 +11605,11 @@@@ case $host in a61 1 - PDF_DYNAMIC_LDFLAGS="-G -shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(PDF_SONAME_MAJOR)" a65 1 + PDF_DYNAMIC_LDFLAGS="-shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(PDF_SONAME_MAJOR)" @ 1.6 log @ghostscript-agpl: Update to 9.53.0 pkgsrc changes (for fonts/ghostscript-cidfonts-ryumin): - Add SUBST_NOOP_OK.ttf_path, at least for the default `cidfmap-adobe' that's a noop Changes: 9.53.0 ====== Highlights in this release include: - The 9.53.0 release is primarily maintenance. - 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. - 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. - 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. @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.5 2020/03/25 07:46:19 adam Exp $ d8 1 a8 1 --- configure.orig 2020-09-10 15:37:32.000000000 +0000 d10 1 a10 1 @@@@ -4027,7 +4027,7 @@@@ CFLAGSAUX_STANDARDTMP="\$(CFLAGS_STANDAR d19 1 a19 1 @@@@ -4659,9 +4659,7 @@@@ case $host in d30 1 a30 1 @@@@ -7692,7 +7690,7 @@@@ fi d39 1 a39 10 @@@@ -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 d54 1 a54 1 @@@@ -11627,10 +11625,10 @@@@ case $host in @ 1.5 log @ghostscript-agpl: get all LDFLAGS for FreeType2 @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.4 2020/03/24 16:34:45 adam Exp $ d8 1 a8 1 --- configure.orig 2020-03-19 08:22:25.000000000 +0000 d10 1 a10 1 @@@@ -3917,7 +3917,7 @@@@ CFLAGSAUX_STANDARDTMP="\$(CFLAGS_STANDAR d19 1 a19 1 @@@@ -4544,9 +4544,7 @@@@ case $host in d23 1 a23 1 - if test $ac_cv_c_compiler_gnu = no; then d27 1 a27 1 if test $ac_cv_c_compiler_gnu = yes; then d30 1 a30 1 @@@@ -7022,7 +7020,7 @@@@ fi d39 1 a39 1 @@@@ -7324,7 +7322,7 @@@@ $as_echo_n "checking for system freetype d48 1 a48 1 @@@@ -10881,10 +10879,10 @@@@ case $host in d52 4 a55 4 - GS_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(GS_SONAME_MAJOR_MINOR)" - PCL_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(PCL_SONAME_MAJOR_MINOR)" - XPS_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(XPS_SONAME_MAJOR_MINOR)" - PDL_DYNAMIC_LDFLAGS="-dynamiclib -install_name \$(GPDL_SONAME_MAJOR_MINOR)" d63 1 a63 1 @@@@ -10900,10 +10898,10 @@@@ case $host in @ 1.4 log @ghostscript-agpl: updated to 9.52 Version 9.52: Highlights in this release include: The 9.52 release replaces the 9.51 release after a problem was reported with 9.51 which warranted the quick turnaround. Thus, like 9.51, 9.52 is primarily a maintenance release, consolidating the changes we introduced in 9.50. We have continued our work on code hygiene for this release, with a focus on the static analysis tool Coverity (from Synopsys, Inc) and we have now adopted a policy of maintaining zero Coverity issues in the Ghostscript/GhostPDL source base. 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. @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.3 2018/09/05 13:19:40 adam Exp $ d5 1 d39 9 @ 1.3 log @ghostscript-agpl: updated to 9.24 Version 9.24: Highlights in this release include: Security issues have been the primary focus of this release, including solving several (well publicised) real and potential exploits. PLEASE NOTE: We strongly urge users to upgrade to this latest release to avoid these issues. As well as Ghostscript itself, jbig2dec has had a significant amount of work improving its robustness in the face of out specification files. 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. @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.2 2018/01/25 10:38:57 jperkin Exp $ d7 1 a7 1 --- configure.orig 2018-09-03 08:51:26.000000000 +0000 d9 1 a9 1 @@@@ -3757,7 +3757,7 @@@@ CFLAGSAUX_STANDARDTMP="\$(CFLAGS_STANDAR a15 1 d17 4 a20 3 @@@@ -4371,9 +4371,7 @@@@ else SunOS) CC_OPT_FLAGS_TO_TRY="-O2" d27 1 a27 1 CC_OPT_FLAGS_TO_TRY="-O2" d29 1 a29 1 @@@@ -6772,7 +6770,7 @@@@ fi d38 1 a38 2 @@@@ -10193,10 +10191,10 @@@@ else SO_LIB_EXT=".so" d40 2 a41 1 Darwin*) d53 3 a55 3 @@@@ -10206,10 +10204,10 @@@@ else else DYNAMIC_CFLAGS="-KPIC" d57 8 a64 8 - GS_DYNAMIC_LDFLAGS="-G -shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(GS_SONAME_MAJOR)" - PCL_DYNAMIC_LDFLAGS="-G -shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(PCL_SONAME_MAJOR)" - XPS_DYNAMIC_LDFLAGS="-G -shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(XPS_SONAME_MAJOR)" - PDL_DYNAMIC_LDFLAGS="-G -shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(GPDL_SONAME_MAJOR)" + GS_DYNAMIC_LDFLAGS="-shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(GS_SONAME_MAJOR)" + PCL_DYNAMIC_LDFLAGS="-shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(PCL_SONAME_MAJOR)" + XPS_DYNAMIC_LDFLAGS="-shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(XPS_SONAME_MAJOR)" + PDL_DYNAMIC_LDFLAGS="-shared -Wl,\$(LD_SET_DT_SONAME)\$(LDFLAGS_SO_PREFIX)\$(GPDL_SONAME_MAJOR)" d67 1 a67 1 ;; @ 1.2 log @ghostscript-agpl: Use correct linker flags on SunOS. @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.1 2017/03/31 07:26:23 adam Exp $ d7 1 a7 1 --- configure.orig 2017-10-04 08:54:03.000000000 +0000 d9 1 a9 1 @@@@ -3742,7 +3742,7 @@@@ CFLAGSAUX_STANDARDTMP="\$(CFLAGS_STANDAR d18 1 a18 1 @@@@ -4356,9 +4356,7 @@@@ else d29 1 a29 1 @@@@ -6705,7 +6703,7 @@@@ fi d38 1 a38 1 @@@@ -10047,9 +10045,9 @@@@ else d45 1 d49 1 d53 1 a53 1 @@@@ -10059,9 +10057,9 @@@@ else d60 1 d64 1 @ 1.1 log @Version 9.21 (2017-03-16) This is the fifteenth full release in the stable 9.x series. Highlights in this release include: * pdfwrite now preserves annotations from input PDFs (where possible). * The GhostXPS interpreter now provides the pdfwrite device with the data it requires to emit a ToUnicode CMap: thus allowing fully searchable PDFs to be created from XPS input (in the vast majority of cases). * Ghostscript now allows the default color space for PDF transparency blends. * The Ghostscript/GhostPDL configure script now has much better/fuller support for cross compiling. * The tiffscaled and tiffscaled4 devices can now use ETS (Even Tone Screening) * The toolbin/pdf_info.ps utility can now emit the PDF XML metadata. * Ghostscript has a new scan converter available (currently optional, but will become the default in a near future release). It can be enabled by using the command line option: '-dSCANCONVERTERTYPE=2'. This new implementation provides vastly improved performance with large and complex paths. * The usual round of bug fixes, compatibility changes, and incremental improvements. @ text @d1 1 a1 1 $NetBSD$ d7 1 a7 1 --- configure.orig 2017-03-16 10:12:44.000000000 +0000 d18 12 a29 1 @@@@ -6705,7 +6705,7 @@@@ fi d38 1 a38 1 @@@@ -10047,9 +10047,9 @@@@ else d51 13 @