head 1.7; access; symbols pkgsrc-2026Q1:1.7.0.50 pkgsrc-2026Q1-base:1.7 pkgsrc-2025Q4:1.7.0.48 pkgsrc-2025Q4-base:1.7 pkgsrc-2025Q3:1.7.0.46 pkgsrc-2025Q3-base:1.7 pkgsrc-2025Q2:1.7.0.44 pkgsrc-2025Q2-base:1.7 pkgsrc-2025Q1:1.7.0.42 pkgsrc-2025Q1-base:1.7 pkgsrc-2024Q4:1.7.0.40 pkgsrc-2024Q4-base:1.7 pkgsrc-2024Q3:1.7.0.38 pkgsrc-2024Q3-base:1.7 pkgsrc-2024Q2:1.7.0.36 pkgsrc-2024Q2-base:1.7 pkgsrc-2024Q1:1.7.0.34 pkgsrc-2024Q1-base:1.7 pkgsrc-2023Q4:1.7.0.32 pkgsrc-2023Q4-base:1.7 pkgsrc-2023Q3:1.7.0.30 pkgsrc-2023Q3-base:1.7 pkgsrc-2023Q2:1.7.0.28 pkgsrc-2023Q2-base:1.7 pkgsrc-2023Q1:1.7.0.26 pkgsrc-2023Q1-base:1.7 pkgsrc-2022Q4:1.7.0.24 pkgsrc-2022Q4-base:1.7 pkgsrc-2022Q3:1.7.0.22 pkgsrc-2022Q3-base:1.7 pkgsrc-2022Q2:1.7.0.20 pkgsrc-2022Q2-base:1.7 pkgsrc-2022Q1:1.7.0.18 pkgsrc-2022Q1-base:1.7 pkgsrc-2021Q4:1.7.0.16 pkgsrc-2021Q4-base:1.7 pkgsrc-2021Q3:1.7.0.14 pkgsrc-2021Q3-base:1.7 pkgsrc-2021Q2:1.7.0.12 pkgsrc-2021Q2-base:1.7 pkgsrc-2021Q1:1.7.0.10 pkgsrc-2021Q1-base:1.7 pkgsrc-2020Q4:1.7.0.8 pkgsrc-2020Q4-base:1.7 pkgsrc-2020Q3:1.7.0.6 pkgsrc-2020Q3-base:1.7 pkgsrc-2020Q2:1.7.0.4 pkgsrc-2020Q2-base:1.7 pkgsrc-2020Q1:1.7.0.2 pkgsrc-2020Q1-base:1.7 pkgsrc-2019Q4:1.6.0.14 pkgsrc-2019Q4-base:1.6 pkgsrc-2019Q3:1.6.0.10 pkgsrc-2019Q3-base:1.6 pkgsrc-2019Q2:1.6.0.8 pkgsrc-2019Q2-base:1.6 pkgsrc-2019Q1:1.6.0.6 pkgsrc-2019Q1-base:1.6 pkgsrc-2018Q4:1.6.0.4 pkgsrc-2018Q4-base:1.6 pkgsrc-2018Q3:1.6.0.2 pkgsrc-2018Q3-base:1.6 pkgsrc-2018Q2:1.5.0.20 pkgsrc-2018Q2-base:1.5 pkgsrc-2018Q1:1.5.0.18 pkgsrc-2018Q1-base:1.5 pkgsrc-2017Q4:1.5.0.16 pkgsrc-2017Q4-base:1.5 pkgsrc-2017Q3:1.5.0.14 pkgsrc-2017Q3-base:1.5 pkgsrc-2017Q2:1.5.0.10 pkgsrc-2017Q2-base:1.5 pkgsrc-2017Q1:1.5.0.8 pkgsrc-2017Q1-base:1.5 pkgsrc-2016Q4:1.5.0.6 pkgsrc-2016Q4-base:1.5 pkgsrc-2016Q3:1.5.0.4 pkgsrc-2016Q3-base:1.5 pkgsrc-2016Q2:1.5.0.2 pkgsrc-2016Q2-base:1.5 pkgsrc-2016Q1:1.4.0.4 pkgsrc-2016Q1-base:1.4 pkgsrc-2015Q4:1.4.0.2 pkgsrc-2015Q4-base:1.4 pkgsrc-2015Q3:1.3.0.4 pkgsrc-2015Q3-base:1.3 pkgsrc-2015Q2:1.3.0.2 pkgsrc-2015Q2-base:1.3 pkgsrc-2014Q3:1.1.0.4 pkgsrc-2014Q3-base:1.1 pkgsrc-2014Q2:1.1.0.2 pkgsrc-2014Q2-base:1.1; locks; strict; comment @# @; 1.7 date 2020.03.24.16.34.45; author adam; state Exp; branches; next 1.6; commitid YumxfwBEaablPF1C; 1.6 date 2018.09.05.13.19.40; author adam; state Exp; branches; next 1.5; commitid uxGNakXrjdplWUQA; 1.5 date 2016.04.07.08.52.06; author adam; state Exp; branches; next 1.4; commitid AaXpOWZDbKPhMF1z; 1.4 date 2015.10.10.11.55.19; author adam; state Exp; branches; next 1.3; commitid X6cIdkh9wg13AyEy; 1.3 date 2015.04.06.11.24.55; author adam; state Exp; branches; next 1.2; commitid x9DxkVLOz9Geqwgy; 1.2 date 2014.10.01.09.04.32; author adam; state dead; branches; next 1.1; commitid FUqCaM5PEMqMEtSx; 1.1 date 2014.04.04.08.48.43; author adam; state Exp; branches; next ; commitid U3FN4jy2Lm1Zllvx; desc @@ 1.7 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 @$NetBSD: patch-devices_devs.mak,v 1.6 2018/09/05 13:19:40 adam Exp $ Don't depend on src/zlib.h. --- devices/devs.mak.orig 2020-03-19 08:21:42.000000000 +0000 +++ devices/devs.mak @@@@ -1093,7 +1093,7 @@@@ $(gximdecode_h) $(DEVS_MAK) $(MAKEDIRS) $(DEVOBJ)gdevxps_0.$(OBJ) : $(DEVVECSRC)gdevxps.c $(gdevvec_h) \ $(string__h) $(stdio__h) $(libtiff_dev) $(gx_h) $(gserrors_h) \ -$(gxpath_h) $(gzcpath_h) $(stream_h) $(zlib_h) \ +$(gxpath_h) $(gzcpath_h) $(stream_h) \ $(stdint__h) $(gdevtifs_h) $(gsicc_create_h) $(gsicc_cache_h) \ $(gximdecode_h) $(DEVS_MAK) $(MAKEDIRS) $(XPSDEVCC) $(I_)$(TI_)$(_I) $(GLO_)gdevxps_0.$(OBJ) $(C_) $(DEVVECSRC)gdevxps.c @@@@ -1514,7 +1514,7 @@@@ $(DD)pngalpha.dev : $(libpng_dev) $(png_ fpng_=$(DEVOBJ)gdevfpng.$(OBJ) $(DEVOBJ)gdevpccm.$(OBJ) $(DEVOBJ)gdevfpng_0.$(OBJ) : $(DEVSRC)gdevfpng.c\ - $(gdevprn_h) $(gxdevsop_h) $(gdevpccm_h) $(gscdefs_h) $(zlib_h) $(DEVS_MAK) $(MAKEDIRS) + $(gdevprn_h) $(gxdevsop_h) $(gdevpccm_h) $(gscdefs_h) $(DEVS_MAK) $(MAKEDIRS) $(CC_) $(I_)$(DEVI_) $(II)$(ZI_)$(_I) $(PCF_) $(GLF_) $(DEVO_)gdevfpng_0.$(OBJ) $(C_) $(DEVSRC)gdevfpng.c $(DEVOBJ)gdevfpng_1.$(OBJ) : $(DEVSRC)gdevfpng.c\ @ 1.6 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-devices_devs.mak,v 1.5 2016/04/07 08:52:06 adam Exp $ d5 1 a5 1 --- devices/devs.mak.orig 2018-09-03 08:50:27.000000000 +0000 d7 1 a7 1 @@@@ -1084,7 +1084,7 @@@@ $(gximdecode_h) $(DEVS_MAK) $(MAKEDIRS) d16 2 a17 1 @@@@ -1224,7 +1224,7 @@@@ $(DEVOBJ)gdevgprf_1.$(OBJ) : $(DEVSRC)gd d19 6 a24 7 $(DEVOBJ)gdevgprf_0.$(OBJ) : $(DEVSRC)gdevgprf.c $(PDEVH) $(math__h)\ $(gdevdcrd_h) $(gscrd_h) $(gscrdp_h) $(gsparam_h) $(gxlum_h)\ - $(gstypes_h) $(gxdcconv_h) $(gdevdevn_h) $(gsequivc_h) $(zlib_h)\ + $(gstypes_h) $(gxdcconv_h) $(gdevdevn_h) $(gsequivc_h) \ $(gscms_h) $(gsicc_cache_h) $(gsicc_manage_h) $(gxgetbit_h)\ $(gdevppla_h) $(gxdevsop_h) $(DEVS_MAK) $(MAKEDIRS) $(DEVCC) $(DEVO_)gdevgprf_0.$(OBJ) $(II)$(ZI_)$(_I) $(C_) $(DEVSRC)gdevgprf.c @ 1.5 log @Changes 9.19: * New custom PJL (near) equivalents for pdfmark and setdistillerparams. * Metadata pdfmark is now implemented. * An experimental, rudimentary raster trapping implementation implementation has been added to the Ghostscript graphics library. * The halftone threshold array generation tools (part of toolbin/halftone) have been improved with thresh_remap which allows folding the transfer function (AKA toner response curve (TRC)) into the threshold array so that highlights are improved. Further, gen_stochastic has improved support for minimum dot size and shape. * Plus the usual round of bug fixes, compatibility changes, and incremental improvements. @ text @d1 1 a1 1 $NetBSD: patch-devices_devs.mak,v 1.4 2015/10/10 11:55:19 adam Exp $ d5 1 a5 1 --- devices/devs.mak.orig 2016-03-23 08:22:48.000000000 +0000 d7 1 a7 1 @@@@ -1233,7 +1233,7 @@@@ $(gximdecode_h) $(DEVS_MAK) $(MAKEDIRS) d16 1 a16 1 @@@@ -1417,7 +1417,7 @@@@ $(DEVOBJ)gdevgprf_1.$(OBJ) : $(DEVSRC)gd d23 1 a23 1 $(gdevppla_h) $(DEVS_MAK) $(MAKEDIRS) @ 1.4 log @Changes 9.18: A substantial revision of the build system and GhostPDL directory structure, meaning the GhostPCL and GhostXPS "products" are now built by the Ghostscript build system "proper" rather than having their own builds which called the Ghostscript build system for certain parts of the builds. Ghostscript-only users should not be affected by this change. For users of the PCL and XPS interpreters (collectively downloaded as "GhostPDL") there is a new, "flatter" directory structure and only one configure and one make invocation to build all the products. There are also some executable default name changes to bring the PCL and XPS binaries in line with the Ghostscript ones. All executables now end up in the "bin" directory (or build specific variant thereof, e.g. "debugbin"). The PCL executable, by default, is now "gpcl6" on Unix like systems and "gpcl6win??.exe" (where "??" is either "32" or "64"). The XPS executable remains "gxps" on Unix-like systems, but similarly becomes "gxpswin??.exe" on Windows. Those using scripts or other automated processes will need to take steps to cope with these changes. A new method of internally inserting devices into the device chain has been developed, named "device subclassing". This allows suitably written devices to be more easily and consistently as "filter" devices. The first fruit of this is a new implementation of the "-dFirstPage"/"-dLastPage" feature which functions a device filter in the Ghostscript graphics library, meaning it works consistently with all input languages. The "ghostpdl.inf" file, provided to simplify installing a Postscript printer configure to produce output to suit Ghostscript's "pdfwrite" device is now available as a digitally signed version: "ghostpdl.cat". Plus the usual round of bug fixes, compatibility changes, and incremental improvements. @ text @d1 1 a1 1 $NetBSD: patch-devices_devs.mak,v 1.3 2015/04/06 11:24:55 adam Exp $ d5 1 a5 1 --- devices/devs.mak.orig 2015-10-05 08:21:11.000000000 +0000 d7 1 a7 1 @@@@ -1226,7 +1226,7 @@@@ $(libtiff_dev) $(MAKEDIRS) d9 1 a9 1 $(DEVOBJ)gdevxps.$(OBJ) : $(DEVVECSRC)gdevxps.c $(gdevvec_h) \ d14 3 a16 3 $(gximdecode_h) $(MAKEDIRS) $(XPSDEVCC) $(I_)$(TI_)$(_I) $(GLO_)gdevxps.$(OBJ) $(C_) $(DEVVECSRC)gdevxps.c @@@@ -1399,7 +1399,7 @@@@ $(DD)gprf.dev : $(DEVS_MAK) $(gprf_) $(G d18 1 a18 1 $(DEVOBJ)gdevgprf.$(OBJ) : $(DEVSRC)gdevgprf.c $(PDEVH) $(math__h)\ d23 2 a24 2 $(gdevppla_h) $(MAKEDIRS) $(DEVCC) $(DEVO_)gdevgprf.$(OBJ) $(II)$(ZI_)$(_I) $(C_) $(DEVSRC)gdevgprf.c @ 1.3 log @Changes 9.16: * "LockColorants" command line option for tiffsep and psdcmyk devices. Specifying -dLockColorants will restrict those devices to only the colorants list on the command line (thus: -c "<< /SeparationColorNames [ /Cyan /Magenta /Yellow /Black /Violet /Orange] /SeparationOrder [ /Cyan /Magenta /Yellow /Black /Violet /Orange]>> setpagedevice"), rather than allowing the devices to add new colorants as encountered in the input. This is, obviously, preferable for real printers, where only a certain of inks will be available. * Improved high level devices handling of Forms. Whilst High level devices (eg pdfwrite) already checked Forms to see if they are duplicates, and if so use the initial definition. However, this does not improve performance, since the Form PaintProc still needs to be executed for each instance of the Form, and the matching algorithm could, in very odd circumstances, be defeated. The new implementation benefits both causes, meaning the second and subsequent invocation of the form need not re-run the PaintProc, and removes the heurisic aspect of the reuse detection. * New URW+ fonts in which the families NimbusMono, NimbusRoman and NimbusSans have been augmented with production quality Greek and Cyrillic glyphs. These correspond to our substitutes for the PDF base 14 fonts. * Plus the usual round of bug fixes, compatibility changes, and incremental improvements. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- devices/devs.mak.orig 2015-04-06 11:15:42.000000000 +0000 d7 1 a7 1 @@@@ -1231,7 +1231,7 @@@@ $(libtiff_dev) $(MAKEDIRS) d16 9 @ 1.2 log @Changes 9.15: Ghostscript now supports the PDF security handler revision 6. The pdfwrite and ps2write (and related) devices can now be forced to "flatten" glyphs into "basic" marking operations (rather than writing fonts to the output), by giving the -dNoOutputFonts command line option (defaults to "false") PostScript programs can now use get_params or get_param to determine if a page contains color markings by reading the pageneutralcolor state from the device (so whether the page is "color" or "mono"). Note that this is only accurate when in clist mode, so -dMaxBitmap=0 and -dGrayDetection=true should both be used. The pdfwrite device now supports Link annotations with GoTo and GoToR actions The pdfwrite device now supports BMC/BDC/EMC pdfmarks Regarding the new color management for the pdfwrite device introduced in the previous release, the proscription on using the new color management when producing PDF/A-1 compliant files is now lifted. To reiterate, also, with the new color management implementation, using the UseCIEColor option is strongly discouraged. For further information on the new pdfwrite color management, see: Color Conversion and Management Plus the usual round of bug fixes, compatibility changes, and incremental improvement @ text @d1 1 a1 1 $NetBSD: patch-devices_devs.mak,v 1.1 2014/04/04 08:48:43 adam Exp $ d3 1 a3 1 Don't explicitly depend on zlib.h header file. d5 1 a5 1 --- devices/devs.mak.orig 2014-04-03 16:42:54.000000000 +0000 d7 1 a7 2 @@@@ -1597,7 +1597,7 @@@@ $(DD)pngalpha.dev : $(DEVS_MAK) $(libpng fpng_=$(DEVOBJ)gdevfpng.$(OBJ) $(DEVOBJ)gdevpccm.$(OBJ) d9 7 a15 6 $(DEVOBJ)gdevfpng.$(OBJ) : $(DEVSRC)gdevfpng.c\ - $(gdevprn_h) $(gdevpccm_h) $(gscdefs_h) $(zlib_h) + $(gdevprn_h) $(gdevpccm_h) $(gscdefs_h) $(CC_) $(I_)$(DEVI_) $(II)$(PI_)$(_I) $(PCF_) $(GLF_) $(DEVO_)gdevfpng.$(OBJ) $(C_) $(DEVSRC)gdevfpng.c $(DD)fpng.dev : $(DEVS_MAK) $(fpng_) $(GLD)page.dev $(GDEV) @ 1.1 log @Changes 9.14: pdfwrite now uses the same color management engine as Ghostscript rendering devices (by default LCMS2). This provides much better control over color conversion and color management generally, but will result in some small color differences when compared to the old system. It is no longer necessary to specify UseCIEColor (and we very much encourage you not to do this) or the ProcessColorModel if you want to convert a PDF file to a specific color space, simply set the ColorConversionStrategy appropriately. We do not expect any major problems to arise with this new code, but for the duration of this release a new switch -dPDFUseOldCMS is available which will restore the old color management. See: Color Conversion and Management Please note that due to constraints of the PDF/A-1 specification, the new color management does not yet apply when producing PDF/A files. A new device 'eps2write' has been added which allows for the creation of EPS files using the ps2write device instead of the old (deprecated and removed) pswrite device. This produces considerably better quality EPS files than the old epswrite device which is now also deprecated and will be removed in a future release. ps2write now has a feature to allow customisation of the output for specific devices. Please see PSDocOptions and PSPageOptions described in ps2ps2.htm Additional Distiller Params Ghostscript now reduces memory usage when processing PDF files that use transparency and output is to display devices such as Windows display or x11 (i.e. devices that are strictly full framebuffer devices), and to high level vector devices that cannot reproduce the PDF transparency model, such as the ps2write device or pdfwrite when 'flattening' to PDF 1.3 or earlier (-dCompatibilityLevel=1.3). This uses banding (clist) files to render the transparent areas in bands to reduce memory use, and unlike the existing page level banding, this is hidden from the target device. Ghostscript can now collect information for pages in temp files (in Ghostscript's clist format), then render and output pages for the job in arbitrary order, including normal, reverse, odd, even, or any order or subset of the pages. This is controlled with the --saved-page=___ option. (Note that this only applies to rendering devices, and not high level devices such as pdfwrite and ps2write.) See: Deferred Page Rendering The Ghostscript device architecture has been extended so that, when rendering bands into multiple threads, it is now possible to perform post-processing in multiple threads, such as downscale, post-render halftoning, or compression. Previously, post processing was only possible in the single main thread. This can improve performance significantly. Ghostscript has a new "pwgraster" output device for PWG Raster output The CUPS device now has improved support for PPD-less printing Plus the usual round of bug fixes, compatibility changes, and incremental improvements. @ text @d1 1 a1 1 $NetBSD$ @