pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics GraphicsMagick: updated to 1.3.37
details: https://anonhg.NetBSD.org/pkgsrc/rev/7c6099e88762
branches: trunk
changeset: 771198:7c6099e88762
user: adam <adam%pkgsrc.org@localhost>
date: Tue Dec 14 19:56:24 2021 +0000
description:
GraphicsMagick: updated to 1.3.37
1.3.37 (December ?, 2021)
==========================
Special Issues:
* The FTP site ftp.graphicsmagick.org is now shut down due to a lack
of bandwith, extremely abusive users (including from Google and
customers of Amazon Web Services), and a lack of support from the
user community. Another factor is that FTP support has been removed
from popular web browsers. This is very unfortunate since the site
served multiple usages, including providing a lot of historical data
(e.g. related to PNG) which may not be available elsewhere.
* The Microsoft Visual Studio build has not been updated for this
release (although it does compile and the results do work fine) and
I will not be providing any Windows installation packages
corresponding to this release. The problem is that the third-party
'delegate' libraries are out of date and they need to be updated
since some of them are known to contain severe security
vulnerabilities. Several third-party 'delegate' libraries now
require real C'99 support, which means that Visual Studio 2015 or
later would be required to build them. The 'configure' program used
to build the Visual Studio project files needs to be updated since
otherwise a 20 minute project upgrade cycle is needed when using
Visual Studio 2019, and to make minor path changes to avoid a
multitude of project-file warnings while building. The installation
requirements for Visual Studio 2015 or later are different (related
to run-time "redistributables", which are now very onerous) and so
the Inno Setup installer needs some minor (or major) changes. Many
pleas for assistance have been made (e.g. even to help with testing
to see if the software executes at all) but thus far the Microsoft
Windows user community has not been helpful with regards to the
Microsoft Visual Studio build.
* GraphicsMagick really does need some additional productive
volunteers. For several years now, the burden has entirely been on
me. I have been sheparding the project for 19 years already (and
contributed to ImageMagick and GraphicsMagick combined for 25 years
already). It is not reasonable to expect someone with a full time
job (and expecting to retire in a couple of years) to do all of the
work.
Security Fixes:
* GraphicsMagick is participating in Google's oss-fuzz project due to
the contributions and assistance of Alex Gaynor. Since February 4
2018, 590 issues have been opened by oss-fuzz and 23 issues remain
open (most of which are in third-party software such as development
JasPer). 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.
Bug fixes:
* CAPTION: Eliminate an assertion upon deallocation.
* CMYK: Fix broken reading of planar CMYK files (a regression since 1.3.27).
* ExecuteModuleProcess(): Add missing error reporting related to
the -module command option.
* GIF: Handle GIF files where the 'opaque' index matches the number of
colors by producing an extra colormap entry of transparent
black.
* JP2: Adaptations to compile cleanly with JasPer 2.0.20.
* META: Fix types used to prefer unsigned types where possible and to
use 'size_t' rather than 'int' for size values.
* MSL: A great many MSL parser fixes.
* Microsoft Windows: Detect and use Ghostscript point versions added
after 9.52, after which the version number format was changed.
* PCX: Fix problem that 16-colors are used rather than 256-colors
* PDF: Fix MediaBox dimensions ("Incorrect MediaBox in PDF export").
* PDF: Use appropriate memory deallocator for memory returned by
StringToList().
* RGB: Fix broken reading of planar RGB files (a regression since
1.3.27).
* TIFF: Fix double-charging for memory allocations (a regression since
1.3.36).
* TIFF: Make sure that loops using TIFFReadScanline(), etc, do quit
upon first reported error.
* WEBP: Enforce that embedded profiles provided by libWebP are not
zero-sized.
* WEBP: Use SetImagePixelsEx() rather than GetImagePixelsEx() in
reader.
* WriteBlob(): Use appropriate handle for bzip2.
New Features:
* None
API Updates:
* DisposeTypeToString(): New utility function to convert a DisposeType
to a string.
* StringToDisposeType(): New utility function to convert a string to a
DisposeType.
Feature improvements:
* JP2: Support building using development JasPer 3.0.0 and request
that it use our managed-memory allocators for resource control.
* Pixel Cache: Memory cache implementation of pixel cache now uses
resource limited memory allocator.
* Analyze filter module: Add OpenMP speed-ups.
* IsImagesEqual(): Allow comparing images when the 'matte' channel
flag differs.
Windows Delegate Updates/Additions:
* Remove bundled hp2xx.exe, mpeg2dec.exe, and mpeg2enc.exe.
Build Changes:
* Microsoft Windows: configure.ac fixes for gdi32 to depend on user32
as well.
* Microsoft Windows: VisualMagick/All/All.vcproj.in updated to fix
problem with not being able to load the 'All' project if the project
supports the x64 target.
* Autotools build, many more TAP tests have been added, including to
exercise all of the 'convert' commands.
* TIFF: Adaptations to compile cleanly for libtiff versions
beyond 20201219.
* Magick++: Support compiling with C++'98 through C++'17.
* Autotools build, Add support for using an external
'graphicsmagick_snapshot_copy' script to copy files for the
'snapshot' target. This provides local control over how files are
copied and where they are copied to.
Behavior Changes:
* TranslateTextEx(): If image resolution is impossibly small, then
report the default resolution of 72 DPI, or the equivalent in
centimeters if units is in pixels-per-centimeter.
diffstat:
graphics/GraphicsMagick/Makefile | 3 +--
graphics/GraphicsMagick/Makefile.common | 4 ++--
graphics/GraphicsMagick/PLIST | 4 +++-
graphics/GraphicsMagick/buildlink3.mk | 6 +++---
graphics/GraphicsMagick/distinfo | 10 +++++-----
graphics/GraphicsMagick/patches/patch-configure | 16 +++++++++++++---
graphics/p5-GraphicsMagick/Makefile | 3 +--
7 files changed, 28 insertions(+), 18 deletions(-)
diffs (128 lines):
diff -r 2f0c74e1c9b4 -r 7c6099e88762 graphics/GraphicsMagick/Makefile
--- a/graphics/GraphicsMagick/Makefile Tue Dec 14 19:12:20 2021 +0000
+++ b/graphics/GraphicsMagick/Makefile Tue Dec 14 19:56:24 2021 +0000
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.120 2021/12/08 16:02:07 adam Exp $
+# $NetBSD: Makefile,v 1.121 2021/12/14 19:56:24 adam Exp $
-PKGREVISION= 5
.include "Makefile.common"
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
diff -r 2f0c74e1c9b4 -r 7c6099e88762 graphics/GraphicsMagick/Makefile.common
--- a/graphics/GraphicsMagick/Makefile.common Tue Dec 14 19:12:20 2021 +0000
+++ b/graphics/GraphicsMagick/Makefile.common Tue Dec 14 19:56:24 2021 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile.common,v 1.27 2021/01/24 15:29:26 nia Exp $
+# $NetBSD: Makefile.common,v 1.28 2021/12/14 19:56:24 adam Exp $
#
# used by graphics/GraphicsMagick/Makefile
# used by graphics/p5-GraphicsMagick/Makefile
GM_MAJOR_VER= 1.3
-GM_MINOR_VER= 36
+GM_MINOR_VER= 37
DISTVERSION= ${GM_MAJOR_VER}.${GM_MINOR_VER}
DISTNAME= GraphicsMagick-${DISTVERSION}
CATEGORIES= graphics
diff -r 2f0c74e1c9b4 -r 7c6099e88762 graphics/GraphicsMagick/PLIST
--- a/graphics/GraphicsMagick/PLIST Tue Dec 14 19:12:20 2021 +0000
+++ b/graphics/GraphicsMagick/PLIST Tue Dec 14 19:56:24 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.30 2021/01/24 15:29:26 nia Exp $
+@comment $NetBSD: PLIST,v 1.31 2021/12/14 19:56:24 adam Exp $
bin/GraphicsMagick++-config
bin/GraphicsMagick-config
bin/GraphicsMagickWand-config
@@ -223,6 +223,7 @@
share/doc/GraphicsMagick/ChangeLog.2017
share/doc/GraphicsMagick/ChangeLog.2018
share/doc/GraphicsMagick/ChangeLog.2019
+share/doc/GraphicsMagick/ChangeLog.2020
share/doc/GraphicsMagick/Copyright.txt
share/doc/GraphicsMagick/NEWS.txt
share/doc/GraphicsMagick/www/ChangeLog-2001.html
@@ -244,6 +245,7 @@
share/doc/GraphicsMagick/www/ChangeLog-2017.html
share/doc/GraphicsMagick/www/ChangeLog-2018.html
share/doc/GraphicsMagick/www/ChangeLog-2019.html
+share/doc/GraphicsMagick/www/ChangeLog-2020.html
share/doc/GraphicsMagick/www/Changelog.html
share/doc/GraphicsMagick/www/Changes.html
share/doc/GraphicsMagick/www/Copyright.html
diff -r 2f0c74e1c9b4 -r 7c6099e88762 graphics/GraphicsMagick/buildlink3.mk
--- a/graphics/GraphicsMagick/buildlink3.mk Tue Dec 14 19:12:20 2021 +0000
+++ b/graphics/GraphicsMagick/buildlink3.mk Tue Dec 14 19:56:24 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.53 2021/09/29 19:00:07 adam Exp $
+# $NetBSD: buildlink3.mk,v 1.54 2021/12/14 19:56:24 adam Exp $
BUILDLINK_TREE+= GraphicsMagick
@@ -12,10 +12,10 @@
pkgbase := GraphicsMagick
.include "../../mk/pkg-build-options.mk"
-.if !empty(PKG_BUILD_OPTIONS.GraphicsMagick:Mghostscript)
+.if ${PKG_BUILD_OPTIONS.GraphicsMagick:Mghostscript}
.include "../../print/ghostscript/buildlink3.mk"
.endif
-.if !empty(PKG_BUILD_OPTIONS.GraphicsMagick:Mx11)
+.if ${PKG_BUILD_OPTIONS.GraphicsMagick:Mx11}
.include "../../x11/libSM/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
diff -r 2f0c74e1c9b4 -r 7c6099e88762 graphics/GraphicsMagick/distinfo
--- a/graphics/GraphicsMagick/distinfo Tue Dec 14 19:12:20 2021 +0000
+++ b/graphics/GraphicsMagick/distinfo Tue Dec 14 19:56:24 2021 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.55 2021/10/26 10:45:53 nia Exp $
+$NetBSD: distinfo,v 1.56 2021/12/14 19:56:24 adam Exp $
-BLAKE2s (GraphicsMagick-1.3.36.tar.xz) = 659dd1b523e9181562935fe4a5bc5058c8bcac781d1da4adee21c2f8bdac77ce
-SHA512 (GraphicsMagick-1.3.36.tar.xz) = 27ed5fcbfb0303436bdcb0f11d18257a967d471251b51e633e2c655b0a7e5ed01f61a61f9702cc7d4c02714e005ac18ca9ba0f690c0580e41d07947a03c5cbb4
-Size (GraphicsMagick-1.3.36.tar.xz) = 5600712 bytes
+BLAKE2s (GraphicsMagick-1.3.37.tar.xz) = f642cdf943f63a199c80e204308b1ec1f1023727f2eda27734e7f4b45a630a47
+SHA512 (GraphicsMagick-1.3.37.tar.xz) = 971e05480a65eb99ff3c0d874675bcbffc24eafec1cacd03f5ef410ae014f82329f3590393100927f753feb183be1105fe0cfc5b0f775a30b0e6dc0c6b8a77af
+Size (GraphicsMagick-1.3.37.tar.xz) = 5623688 bytes
SHA1 (patch-config_delegates.mgk.in) = c52192a35bede530d310688a576ef2181a9f073c
-SHA1 (patch-configure) = bdb76557cd8a5c116b6c84dc63f4e35ddde39c87
+SHA1 (patch-configure) = 0f5597fb4184bdf69ecbac04643ad78af57b40f2
diff -r 2f0c74e1c9b4 -r 7c6099e88762 graphics/GraphicsMagick/patches/patch-configure
--- a/graphics/GraphicsMagick/patches/patch-configure Tue Dec 14 19:12:20 2021 +0000
+++ b/graphics/GraphicsMagick/patches/patch-configure Tue Dec 14 19:56:24 2021 +0000
@@ -1,10 +1,20 @@
-$NetBSD: patch-configure,v 1.3 2018/11/22 16:09:23 adam Exp $
+$NetBSD: patch-configure,v 1.4 2021/12/14 19:56:25 adam Exp $
+Portability fix.
Do not save configure args; they reference workdir.
---- configure.orig 2018-11-20 10:05:54.000000000 +0000
+--- configure.orig 2021-12-12 21:09:14.000000000 +0000
+++ configure
-@@ -30127,9 +30127,6 @@ MAGICK_API_LIBS=`echo $MAGICK_API_LIBS |
+@@ -29058,7 +29058,7 @@ fi
+
+
+ # Tests for programs only used while in maintainer mode
+-if test "$MAINT" == '' ; then
++if test "$MAINT" = '' ; then
+ # Test for optional rst2html.py utility and define automake conditional HasRST2HTML if found.
+ for ac_prog in rst2html.py rst2html
+ do
+@@ -30160,9 +30160,6 @@ MAGICK_API_LIBS=`echo $MAGICK_API_LIBS |
# Save configure/build parameters for later reference
diff -r 2f0c74e1c9b4 -r 7c6099e88762 graphics/p5-GraphicsMagick/Makefile
--- a/graphics/p5-GraphicsMagick/Makefile Tue Dec 14 19:12:20 2021 +0000
+++ b/graphics/p5-GraphicsMagick/Makefile Tue Dec 14 19:56:24 2021 +0000
@@ -1,6 +1,5 @@
-# $NetBSD: Makefile,v 1.59 2021/12/08 16:05:03 adam Exp $
+# $NetBSD: Makefile,v 1.60 2021/12/14 19:56:25 adam Exp $
-PKGREVISION= 10
.include "../../graphics/GraphicsMagick/Makefile.common"
PKGNAME= p5-GraphicsMagick-${DISTVERSION}
Home |
Main Index |
Thread Index |
Old Index