Here is an update to GraphicsMagick 1.3.43.
1.3.43 (March 23, 2024) =========================== Bug fixes: * JBIG: Add support for 'width', 'height', and 'pixels', resource limits. Your mileage may vary. * WPG: Many fixes based on oss-fuzz testing. * Ghostscript: When invoking Ghostscript, re-direct Ghostscript stdout to stderr to avoid output corruption when GM stdout is redirected to a file. New Features: * File write limit: Add support for a per-file write limit (-limit write or MAGICK_LIMIT_WRITE). This imposes a limit on the number of uncompressed bytes written. The behavior when the limit is hit is similar to an unexpected write error, as if the disk is full. * Resource limit highwater: Resource highwater values are maintained for successful resource requests and final values are traced via -debug resource' at the end of program execution. These values may be used to understand the most restrictive resource limits which may be applied while still achieving successful operation. * BMP: Support BI_PNG compression (PNG inside BMP). * BMP: Support reading 64 bits-per-pixel. * BMP: Support reading 48 bits-per-pixel. * HEIF: Call heif_init() and heif_deinit() if they are available. Support setting image width limit. * HRZ: Added support for Slow scan TV format. * JPEG: Added support for reading and writing lossy or lossless 12 bits, and lossless 16-bits using libjpeg-turbo-3.0 * JXL: Improve JXL reader/writer exception information. * TIFF: Remove miniswhite/minisblack prohibitions when using Group3 and Group4 compression in order to allow using inverted photometric from the standard. * TIFF: Store EXIF IFD and GPS IFD tag information natively in TIFF sub-IFDs, the same as it would be produced in a camera supporting TIFF. This allows an EXIF profile from HEIF, JPEG, JXL, PNG, WebP, or from the META coder to be preserved in TIFF. API Updates: * ExpandFilenames(): Fix memory leak of existing allocations if realloc() fails. Windows Delegate Updates/Additions: * libjpeg: Update bundled IJG JPEG sources to version 9f. * libtiff: Update bundled libtiff sources to version 4.5.1. Build Changes: * Since it seems that OSDN has died, Hepapod is now used to provide a redundant https-capable Hg service and may provide services that SourceForge does not offer. Hg checkouts may now be made from "https://foss.heptapod.net/graphicsmagick/graphicsmagick". * Autotools-based build: pkg-config provided data is now used to the maximal extent possible. However, if pkg-config fails to provide useful data, then the previously existing tests will still prevail. Document that `PKG_CONFIG='pkg-config --static' ./configure` should reveal the private library dependencies needed for a fully-static build to succeed. * Autotools-based build: Base decision on if OpenMP is supported on the '_OPENMP' pre-processor define. * Autotools-based build: No longer search for (and use) libtrio by default. The user now needs to request using it. * Autotools-based build: Fixes for autoconf-2.72. Bootstrapped using Autoconf 2.69, Automake 1.16.5, and Libtool 2.4.7. * oss-fuzz build: The fuzzing/oss-fuzz-build.sh is re-written in order to support almost all possible dependency libraries. For example, JXL and HEIF (with HEIC and AVIF reader support) are now included in oss-fuzz testing. Index: Makefile =================================================================== RCS file: /cvs/ports/graphics/GraphicsMagick/Makefile,v retrieving revision 1.74 diff -u -p -u -p -r1.74 Makefile --- Makefile 28 Feb 2024 06:05:06 -0000 1.74 +++ Makefile 25 Jul 2024 22:16:19 -0000 @@ -1,6 +1,6 @@ COMMENT= image processing tools with stable ABI -DISTNAME= GraphicsMagick-1.3.42 +DISTNAME= GraphicsMagick-1.3.43 CATEGORIES= graphics devel SITES= ${SITE_SOURCEFORGE:=graphicsmagick/} EXTRACT_SUFX= .tar.xz Index: distinfo =================================================================== RCS file: /cvs/ports/graphics/GraphicsMagick/distinfo,v retrieving revision 1.34 diff -u -p -u -p -r1.34 distinfo --- distinfo 28 Feb 2024 06:05:06 -0000 1.34 +++ distinfo 25 Jul 2024 22:16:19 -0000 @@ -1,2 +1,2 @@ -SHA256 (GraphicsMagick-1.3.42.tar.xz) = SE/M/Ssvr2wrqRUUaezlByvLkbpO1z517T2ORsdZ1Vc= -SIZE (GraphicsMagick-1.3.42.tar.xz) = 5553692 +SHA256 (GraphicsMagick-1.3.43.tar.xz) = K4hYBzLNfkCdniLGEWI4vvSuBvzaEUUb8z0ln5y/OZ8= +SIZE (GraphicsMagick-1.3.43.tar.xz) = 5657460 Index: patches/patch-configure =================================================================== RCS file: /cvs/ports/graphics/GraphicsMagick/patches/patch-configure,v retrieving revision 1.23 diff -u -p -u -p -r1.23 patch-configure --- patches/patch-configure 28 Feb 2024 06:05:06 -0000 1.23 +++ patches/patch-configure 25 Jul 2024 22:16:19 -0000 @@ -1,7 +1,7 @@ Index: configure --- configure.orig +++ configure -@@ -28663,7 +28663,7 @@ done +@@ -30112,7 +30112,7 @@ done # # Subdirectory under lib to place GraphicsMagick lib files @@ -10,7 +10,7 @@ Index: configure cat >>confdefs.h <<_ACEOF #define MagickLibSubdir "$MagickLibSubdir" -@@ -28767,7 +28767,7 @@ _ACEOF +@@ -30216,7 +30216,7 @@ _ACEOF # # Path to GraphicsMagick share files Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/graphics/GraphicsMagick/pkg/PLIST,v retrieving revision 1.29 diff -u -p -u -p -r1.29 PLIST --- pkg/PLIST 9 Apr 2023 06:02:45 -0000 1.29 +++ pkg/PLIST 25 Jul 2024 22:16:19 -0000 @@ -352,6 +352,8 @@ share/doc/GraphicsMagick/ChangeLog.2017 share/doc/GraphicsMagick/ChangeLog.2018 share/doc/GraphicsMagick/ChangeLog.2019 share/doc/GraphicsMagick/ChangeLog.2020 +share/doc/GraphicsMagick/ChangeLog.2021 +share/doc/GraphicsMagick/ChangeLog.2022 share/doc/GraphicsMagick/Copyright.txt share/doc/GraphicsMagick/NEWS.txt share/doc/GraphicsMagick/www/ @@ -377,7 +379,8 @@ share/doc/GraphicsMagick/www/ChangeLog-2 share/doc/GraphicsMagick/www/ChangeLog-2020.html share/doc/GraphicsMagick/www/ChangeLog-2021.html share/doc/GraphicsMagick/www/ChangeLog-2022.html -share/doc/GraphicsMagick/www/Changelog.html +share/doc/GraphicsMagick/www/ChangeLog-2023.html +share/doc/GraphicsMagick/www/ChangeLog.html share/doc/GraphicsMagick/www/Changes.html share/doc/GraphicsMagick/www/Copyright.html share/doc/GraphicsMagick/www/FAQ.html