Wed Jan 25 06:40:46 2023 UTC ()
GraphicsMagick p5-GraphicsMagick: updated to 1.3.40

1.3.40 (January 14, 2023)

Special Issues:

GraphicsMagick really does need some additional productive volunteers. For several years now, the burden has entirely been on me (Bob Friesenhahn). I have been sheparding the project for 20 years already (and contributed to ImageMagick and GraphicsMagick combined for 26 years already). It is not reasonable to expect someone with a full time job (and expecting to retire in a few years) to do all of the work.

Security Fixes:

GraphicsMagick is participating in Google's oss-fuzz project since February 4 2018 due to the contributions and assistance of Alex Gaynor and Paul Kehrer. The issues list is available at https://bugs.chromium.org/p/oss-fuzz/issues/list under search term "graphicsmagick". Issues are available for anyone to view and duplicate if they have been in "Verified" status for 30 days, or if they have been in "New" status for 90 days. Please consult the GraphicsMagick ChangeLog file, Mercurial repository commit log, and the oss-fuzz issues list for details.

Security Fixes:

DCX: Fixed heap overflow when writing more than 1023 scenes, and also eliminated use of uninitialized memory.

Bug fixes:

GetMagickGeometry(): Fix a scaling issue where dimensions could be scaled down to zero.
PCD: Handle writing image with a dimension of 1.
PNG: When writing, use lower-case raw profile identifiers (e.g. 'Raw profile type xmp') because exiftool expects that.
SUN: The sense of monochrome images was inverted. Fix scanline size calculation.
WPG: Fix 20-year old bug in WPG header reading.

New Features:

JXL: Decode and log extra channel information. This information is not yet used.
PCX and DCX: Support writing uncompressed format (use -compress none for no compression).
Added IM1, IM8, and IM24 magick aliases for the Sun Raster format since those are the historically correct extensions.

API Updates:

AppendImageToList() now updates the image list pointer to be the image which was just added. Use GetFirstImageInList() when the pointer to the first image in the list is needed.

Windows Delegate Updates/Additions:

Jasper is updated to release 2.0.33.

Build Changes:

Visual Studio build possible with Visual Studio 2008 - 2022.
Windows Inno Setup installer now installs Microsoft redistributables rather than using a side-by-side DLL configuration.

Behavior Changes:

AppendImageToList() now updates the image list pointer to be the image which was just added. Use GetFirstImageInList() when the pointer to the first image in the list is needed.


(adam)
diff -r1.126 -r1.127 pkgsrc/graphics/GraphicsMagick/Makefile
diff -r1.28 -r1.29 pkgsrc/graphics/GraphicsMagick/Makefile.common
diff -r1.32 -r1.33 pkgsrc/graphics/GraphicsMagick/PLIST
diff -r1.56 -r1.57 pkgsrc/graphics/GraphicsMagick/distinfo
diff -r1.4 -r1.5 pkgsrc/graphics/GraphicsMagick/patches/patch-configure
diff -r1.63 -r1.64 pkgsrc/graphics/p5-GraphicsMagick/Makefile

cvs diff -r1.126 -r1.127 pkgsrc/graphics/GraphicsMagick/Makefile (expand / switch to unified diff)

--- pkgsrc/graphics/GraphicsMagick/Makefile 2023/01/03 17:36:22 1.126
+++ pkgsrc/graphics/GraphicsMagick/Makefile 2023/01/25 06:40:45 1.127
@@ -1,16 +1,15 @@ @@ -1,16 +1,15 @@
1# $NetBSD: Makefile,v 1.126 2023/01/03 17:36:22 wiz Exp $ 1# $NetBSD: Makefile,v 1.127 2023/01/25 06:40:45 adam Exp $
2 2
3PKGREVISION= 5 
4.include "Makefile.common" 3.include "Makefile.common"
5 4
6MAINTAINER= pkgsrc-users@NetBSD.org 5MAINTAINER= pkgsrc-users@NetBSD.org
7HOMEPAGE= http://www.graphicsmagick.org/ 6HOMEPAGE= http://www.graphicsmagick.org/
8COMMENT= Tools and libraries for reading, writing, and manipulating images 7COMMENT= Tools and libraries for reading, writing, and manipulating images
9LICENSE= mit 8LICENSE= mit
10 9
11DEPENDS+= urw-fonts-[0-9]*:../../fonts/urw-fonts 10DEPENDS+= urw-fonts-[0-9]*:../../fonts/urw-fonts
12 11
13USE_LANGUAGES= c c++ 12USE_LANGUAGES= c c++
14USE_LIBTOOL= yes 13USE_LIBTOOL= yes
15USE_TOOLS+= gmake pkg-config:run 14USE_TOOLS+= gmake pkg-config:run
16USE_FEATURES= vsnprintf # optional but recommended for security 15USE_FEATURES= vsnprintf # optional but recommended for security

cvs diff -r1.28 -r1.29 pkgsrc/graphics/GraphicsMagick/Makefile.common (expand / switch to unified diff)

--- pkgsrc/graphics/GraphicsMagick/Makefile.common 2021/12/14 19:56:24 1.28
+++ pkgsrc/graphics/GraphicsMagick/Makefile.common 2023/01/25 06:40:45 1.29
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile.common,v 1.28 2021/12/14 19:56:24 adam Exp $ 1# $NetBSD: Makefile.common,v 1.29 2023/01/25 06:40:45 adam Exp $
2# 2#
3# used by graphics/GraphicsMagick/Makefile 3# used by graphics/GraphicsMagick/Makefile
4# used by graphics/p5-GraphicsMagick/Makefile 4# used by graphics/p5-GraphicsMagick/Makefile
5 5
6GM_MAJOR_VER= 1.3 6GM_MAJOR_VER= 1.3
7GM_MINOR_VER= 37 7GM_MINOR_VER= 40
8DISTVERSION= ${GM_MAJOR_VER}.${GM_MINOR_VER} 8DISTVERSION= ${GM_MAJOR_VER}.${GM_MINOR_VER}
9DISTNAME= GraphicsMagick-${DISTVERSION} 9DISTNAME= GraphicsMagick-${DISTVERSION}
10CATEGORIES= graphics 10CATEGORIES= graphics
11MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=graphicsmagick/} 11MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=graphicsmagick/}
12MASTER_SITES+= ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/${GM_MAJOR_VER}/ 12MASTER_SITES+= ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/${GM_MAJOR_VER}/
13EXTRACT_SUFX= .tar.xz 13EXTRACT_SUFX= .tar.xz
14 14
15DISTINFO_FILE= ${.CURDIR}/../../graphics/GraphicsMagick/distinfo 15DISTINFO_FILE= ${.CURDIR}/../../graphics/GraphicsMagick/distinfo
16PATCHDIR= ${.CURDIR}/../../graphics/GraphicsMagick/patches 16PATCHDIR= ${.CURDIR}/../../graphics/GraphicsMagick/patches

cvs diff -r1.32 -r1.33 pkgsrc/graphics/GraphicsMagick/PLIST (expand / switch to unified diff)

--- pkgsrc/graphics/GraphicsMagick/PLIST 2022/09/29 09:21:10 1.32
+++ pkgsrc/graphics/GraphicsMagick/PLIST 2023/01/25 06:40:45 1.33
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.32 2022/09/29 09:21:10 nros Exp $ 1@comment $NetBSD: PLIST,v 1.33 2023/01/25 06:40:45 adam Exp $
2bin/GraphicsMagick++-config 2bin/GraphicsMagick++-config
3bin/GraphicsMagick-config 3bin/GraphicsMagick-config
4bin/GraphicsMagickWand-config 4bin/GraphicsMagickWand-config
5bin/gm 5bin/gm
6include/GraphicsMagick/Magick++.h 6include/GraphicsMagick/Magick++.h
7include/GraphicsMagick/Magick++/Blob.h 7include/GraphicsMagick/Magick++/Blob.h
8include/GraphicsMagick/Magick++/CoderInfo.h 8include/GraphicsMagick/Magick++/CoderInfo.h
9include/GraphicsMagick/Magick++/Color.h 9include/GraphicsMagick/Magick++/Color.h
10include/GraphicsMagick/Magick++/Drawable.h 10include/GraphicsMagick/Magick++/Drawable.h
11include/GraphicsMagick/Magick++/Exception.h 11include/GraphicsMagick/Magick++/Exception.h
12include/GraphicsMagick/Magick++/Geometry.h 12include/GraphicsMagick/Magick++/Geometry.h
13include/GraphicsMagick/Magick++/Image.h 13include/GraphicsMagick/Magick++/Image.h
14include/GraphicsMagick/Magick++/Include.h 14include/GraphicsMagick/Magick++/Include.h
@@ -237,26 +237,28 @@ share/doc/GraphicsMagick/www/ChangeLog-2 @@ -237,26 +237,28 @@ share/doc/GraphicsMagick/www/ChangeLog-2
237share/doc/GraphicsMagick/www/ChangeLog-2008.html 237share/doc/GraphicsMagick/www/ChangeLog-2008.html
238share/doc/GraphicsMagick/www/ChangeLog-2009.html 238share/doc/GraphicsMagick/www/ChangeLog-2009.html
239share/doc/GraphicsMagick/www/ChangeLog-2010.html 239share/doc/GraphicsMagick/www/ChangeLog-2010.html
240share/doc/GraphicsMagick/www/ChangeLog-2011.html 240share/doc/GraphicsMagick/www/ChangeLog-2011.html
241share/doc/GraphicsMagick/www/ChangeLog-2012.html 241share/doc/GraphicsMagick/www/ChangeLog-2012.html
242share/doc/GraphicsMagick/www/ChangeLog-2013.html 242share/doc/GraphicsMagick/www/ChangeLog-2013.html
243share/doc/GraphicsMagick/www/ChangeLog-2014.html 243share/doc/GraphicsMagick/www/ChangeLog-2014.html
244share/doc/GraphicsMagick/www/ChangeLog-2015.html 244share/doc/GraphicsMagick/www/ChangeLog-2015.html
245share/doc/GraphicsMagick/www/ChangeLog-2016.html 245share/doc/GraphicsMagick/www/ChangeLog-2016.html
246share/doc/GraphicsMagick/www/ChangeLog-2017.html 246share/doc/GraphicsMagick/www/ChangeLog-2017.html
247share/doc/GraphicsMagick/www/ChangeLog-2018.html 247share/doc/GraphicsMagick/www/ChangeLog-2018.html
248share/doc/GraphicsMagick/www/ChangeLog-2019.html 248share/doc/GraphicsMagick/www/ChangeLog-2019.html
249share/doc/GraphicsMagick/www/ChangeLog-2020.html 249share/doc/GraphicsMagick/www/ChangeLog-2020.html
 250share/doc/GraphicsMagick/www/ChangeLog-2021.html
 251share/doc/GraphicsMagick/www/ChangeLog-2022.html
250share/doc/GraphicsMagick/www/Changelog.html 252share/doc/GraphicsMagick/www/Changelog.html
251share/doc/GraphicsMagick/www/Changes.html 253share/doc/GraphicsMagick/www/Changes.html
252share/doc/GraphicsMagick/www/Copyright.html 254share/doc/GraphicsMagick/www/Copyright.html
253share/doc/GraphicsMagick/www/FAQ.html 255share/doc/GraphicsMagick/www/FAQ.html
254share/doc/GraphicsMagick/www/GraphicsMagick.html 256share/doc/GraphicsMagick/www/GraphicsMagick.html
255share/doc/GraphicsMagick/www/Hg.html 257share/doc/GraphicsMagick/www/Hg.html
256share/doc/GraphicsMagick/www/INSTALL-unix.html 258share/doc/GraphicsMagick/www/INSTALL-unix.html
257share/doc/GraphicsMagick/www/INSTALL-windows.html 259share/doc/GraphicsMagick/www/INSTALL-windows.html
258share/doc/GraphicsMagick/www/ImageMagickObject.html 260share/doc/GraphicsMagick/www/ImageMagickObject.html
259share/doc/GraphicsMagick/www/Magick++/Blob.html 261share/doc/GraphicsMagick/www/Magick++/Blob.html
260share/doc/GraphicsMagick/www/Magick++/Cache.png 262share/doc/GraphicsMagick/www/Magick++/Cache.png
261share/doc/GraphicsMagick/www/Magick++/ChangeLog.html 263share/doc/GraphicsMagick/www/Magick++/ChangeLog.html
262share/doc/GraphicsMagick/www/Magick++/CoderInfo.html 264share/doc/GraphicsMagick/www/Magick++/CoderInfo.html

cvs diff -r1.56 -r1.57 pkgsrc/graphics/GraphicsMagick/distinfo (expand / switch to unified diff)

--- pkgsrc/graphics/GraphicsMagick/distinfo 2021/12/14 19:56:24 1.56
+++ pkgsrc/graphics/GraphicsMagick/distinfo 2023/01/25 06:40:45 1.57
@@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
1$NetBSD: distinfo,v 1.56 2021/12/14 19:56:24 adam Exp $ 1$NetBSD: distinfo,v 1.57 2023/01/25 06:40:45 adam Exp $
2 2
3BLAKE2s (GraphicsMagick-1.3.37.tar.xz) = f642cdf943f63a199c80e204308b1ec1f1023727f2eda27734e7f4b45a630a47 3BLAKE2s (GraphicsMagick-1.3.40.tar.xz) = 72e78a94e255d00850d118813fed2f9a46d7a61c7300e28e75ee2895fde2c3a9
4SHA512 (GraphicsMagick-1.3.37.tar.xz) = 971e05480a65eb99ff3c0d874675bcbffc24eafec1cacd03f5ef410ae014f82329f3590393100927f753feb183be1105fe0cfc5b0f775a30b0e6dc0c6b8a77af 4SHA512 (GraphicsMagick-1.3.40.tar.xz) = e64902aa2a8702d03d188350bd4252a2263e431611f9a70f38cd8beede8a38cc91bb4de3603fedf15420ebbba488f609f218e9b45e356b9f8dc8e4a75f380ee5
5Size (GraphicsMagick-1.3.37.tar.xz) = 5623688 bytes 5Size (GraphicsMagick-1.3.40.tar.xz) = 5507792 bytes
6SHA1 (patch-config_delegates.mgk.in) = c52192a35bede530d310688a576ef2181a9f073c 6SHA1 (patch-config_delegates.mgk.in) = c52192a35bede530d310688a576ef2181a9f073c
7SHA1 (patch-configure) = 0f5597fb4184bdf69ecbac04643ad78af57b40f2 7SHA1 (patch-configure) = 327dcb718ebaf65f2d2c97440c1cc7fdb9e03482

cvs diff -r1.4 -r1.5 pkgsrc/graphics/GraphicsMagick/patches/patch-configure (expand / switch to unified diff)

--- pkgsrc/graphics/GraphicsMagick/patches/patch-configure 2021/12/14 19:56:25 1.4
+++ pkgsrc/graphics/GraphicsMagick/patches/patch-configure 2023/01/25 06:40:46 1.5
@@ -1,26 +1,16 @@ @@ -1,26 +1,16 @@
1$NetBSD: patch-configure,v 1.4 2021/12/14 19:56:25 adam Exp $ 1$NetBSD: patch-configure,v 1.5 2023/01/25 06:40:46 adam Exp $
2 2
3Portability fix. 
4Do not save configure args; they reference workdir. 3Do not save configure args; they reference workdir.
5 4
6--- configure.orig 2021-12-12 21:09:14.000000000 +0000 5--- configure.orig 2022-12-26 16:56:04.000000000 +0000
7+++ configure 6+++ configure
8@@ -29058,7 +29058,7 @@ fi 7@@ -30779,9 +30779,6 @@ MAGICK_API_LIBS=`echo $MAGICK_API_LIBS |
9  
10  
11 # Tests for programs only used while in maintainer mode 
12-if test "$MAINT" == '' ; then 
13+if test "$MAINT" = '' ; then 
14 # Test for optional rst2html.py utility and define automake conditional HasRST2HTML if found. 
15 for ac_prog in rst2html.py rst2html 
16 do 
17@@ -30160,9 +30160,6 @@ MAGICK_API_LIBS=`echo $MAGICK_API_LIBS | 
18  8
19 # Save configure/build parameters for later reference 9 # Save configure/build parameters for later reference
20  10
21-cat >>confdefs.h <<_ACEOF 11-cat >>confdefs.h <<_ACEOF
22-#define GM_BUILD_CONFIGURE_ARGS "$0 ${ac_configure_args}" 12-#define GM_BUILD_CONFIGURE_ARGS "$0 ${ac_configure_args}"
23-_ACEOF 13-_ACEOF
24  14
25  15
26 cat >>confdefs.h <<_ACEOF 16 cat >>confdefs.h <<_ACEOF

cvs diff -r1.63 -r1.64 pkgsrc/graphics/p5-GraphicsMagick/Makefile (expand / switch to unified diff)

--- pkgsrc/graphics/p5-GraphicsMagick/Makefile 2023/01/03 17:37:27 1.63
+++ pkgsrc/graphics/p5-GraphicsMagick/Makefile 2023/01/25 06:40:46 1.64
@@ -1,16 +1,15 @@ @@ -1,16 +1,15 @@
1# $NetBSD: Makefile,v 1.63 2023/01/03 17:37:27 wiz Exp $ 1# $NetBSD: Makefile,v 1.64 2023/01/25 06:40:46 adam Exp $
2 2
3PKGREVISION= 3 
4.include "../../graphics/GraphicsMagick/Makefile.common" 3.include "../../graphics/GraphicsMagick/Makefile.common"
5 4
6PKGNAME= p5-GraphicsMagick-${DISTVERSION} 5PKGNAME= p5-GraphicsMagick-${DISTVERSION}
7 6
8MAINTAINER= pkgsrc-users@NetBSD.org 7MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://www.graphicsmagick.org/perl.html 8HOMEPAGE= http://www.graphicsmagick.org/perl.html
10COMMENT= Object-oriented Perl interface to GraphicMagick 9COMMENT= Object-oriented Perl interface to GraphicMagick
11LICENSE= mit 10LICENSE= mit
12 11
13USE_LIBTOOL= yes 12USE_LIBTOOL= yes
14GNU_CONFIGURE= yes 13GNU_CONFIGURE= yes
15CONFIGURE_ARGS+= --with-perl=${PERL5:Q} 14CONFIGURE_ARGS+= --with-perl=${PERL5:Q}
16 15