diff options
author | nia <nia@pkgsrc.org> | 2020-02-26 15:19:20 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2020-02-26 15:19:20 +0000 |
commit | 21be0e3c21754f1ab3a5180f4f121cfcb1e6262f (patch) | |
tree | c6d078ab6cbc17fe2ec44bd3446e4dfa83020e9a /graphics | |
parent | 69a858e256c1e86a4be75adc8594d34b7383f3c2 (diff) | |
download | pkgsrc-21be0e3c21754f1ab3a5180f4f121cfcb1e6262f.tar.gz |
graphicsmagick: Update to 1.3.35
1.3.35 (February 23, 2020)
==========================
Special Issues:
* It has been discovered that the 'ICU' library (a perhaps 30MB C++
library) which is now often a libxml2 dependendency causes huge
process initialization overhead. This is noticed as unexpected
slowness when GraphicsMagick utilities are used to process small to
medium sized files. The time to initialize the 'ICU' library is
often longer than the time that GraphicsMagick would otherwise
require to read the input file, process the image, and write the
output file. If the 'ICU' dependency can not be avoided, then make
sure to use the modules build so there is only impact for file
formats which require libxml2. Please lobby the 'ICU' library
developers to change their implementation to avoid long start-up
times due to merely linking with the library.
Security Fixes:
* GraphicsMagick is now participating in Google's oss-fuzz project due
to the contributions and assistance of Alex Gaynor. Since February 4
2018, 398 issues have been opened by oss-fuzz (some of which were
benign build issues) and 11 issues remain open.
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. There are too many
fixes to list here. Please consult the GraphicsMagick ChangeLog
file, Mercurial repository commit log, and the oss-fuzz issues list
for details.
Bug fixes:
* Fix broken definition of ResourceInfinity which resulted in that
GetMagickResource() would return -1 rather than the maximum range
value for the return type as documented. (problem added by the
1.3.32 release).
* ModifyCache(): Re-open the pixel cache if the cache rows/columns do
not match the owning image rows/columns.
* Fix DisplayImages() return status. The return status was inverted.
* HISTOGRAM: Histogram once again includes the histogram as a text
comment. This became broken by previous security fixes.
* PICT: Fixed heap buffer overuns reported multiple sources.
* JNG: Detect when JPEG encoder has failed and throw an exception.
* MVG/DrawImage(): Performs even more parsing validations.
* Clang static analyzer fixes: A great many fixes were made based on
problem reports by the Clang static analyzer.
* Visual Studio static analyzer fixes: A great many fixes were made
based on problem reports by the Visual Studio 2019 static analyzer.
Many of these may improve the robustness of 64-bit code.
New Features:
* GRADIENT/GradientImage(): Improved accuracy of gradient levels as
well as dramaticaly improving performance. Output PseudoClass
images if we can. Add support for using the image 'gravity'
attribute as well as the "gradient:direction" definition to produce
gradient vector directions corresponding to SouthGravity (the
previously-existing default), NorthGravity, WestGravity,
EastGravity, NorthWestGravity, NorthEastGravity, SouthWestGravity,
and SouthEastGravity.
API Updates:
* InitializeMagickEx(): New function which may be used in place of
InitializeMagick() to initialize GraphicsMagick. This
initialization function returns an error status value, may update a
passed ExceptionInfo structure with error information, and provides
an options parameter which supports simple bit-flags to tailor
initialization. The signal handler registrations are skipped if the
MAGICK_OPT_NO_SIGNAL_HANDER flag is set in the options.
Feature improvements:
* Replace use of non-reentrant legacy POSIX functions with reentrant
equivalents.
* Timing of image reads should now be very accurate. The timer was
sometimes not stopped as soon as it should be.
* PICT: The PICT reader is working pretty good now. It handles all
the PICT image files I have available to me.
Windows Delegate Updates/Additions:
* None
Build Changes:
* Visual Studio Build: Configure program now provides a checkbox to
enable common optimizations for better performance.
Behavior Changes:
* POSIX Signals: Use the normal termination signal handler for SIGXCPU
and SIGXFSZ so that ulimit or setrlimit(2) may be used to apply CPU
(RLIMIT_CPU) and output file size (RLIMIT_FSIZE) limits with the
normal cleanup, and without dumping core. Note that any output files
currently being written may be truncated and files being written by
external programs (e.g. Ghostscript) might be left behind unless
they are to a temporary file assigned by GraphicsMagick.
* Some private string and integer constants were removed from the
apparent library ABI. Some private functions were marked static and
removed from the apparent library ABI. This is mentioned because
someone is sure to notice and be concerned about it.
* The remaining private content in installed header files was moved
into -private.h header files which are not installed. This should
not be cause for concern but is mentiond because someone is sure to
notice and be concerned about it.
Diffstat (limited to 'graphics')
-rwxr-xr-x | graphics/GraphicsMagick/Makefile.common | 4 | ||||
-rw-r--r-- | graphics/GraphicsMagick/PLIST | 4 | ||||
-rw-r--r-- | graphics/GraphicsMagick/distinfo | 10 |
3 files changed, 10 insertions, 8 deletions
diff --git a/graphics/GraphicsMagick/Makefile.common b/graphics/GraphicsMagick/Makefile.common index 6d0c9330e0d..d9d703e2211 100755 --- a/graphics/GraphicsMagick/Makefile.common +++ b/graphics/GraphicsMagick/Makefile.common @@ -1,10 +1,10 @@ -# $NetBSD: Makefile.common,v 1.25 2020/01/08 12:11:36 nia Exp $ +# $NetBSD: Makefile.common,v 1.26 2020/02/26 15:19:20 nia Exp $ # # used by graphics/GraphicsMagick/Makefile # used by graphics/p5-GraphicsMagick/Makefile GM_MAJOR_VER= 1.3 -GM_MINOR_VER= 34 +GM_MINOR_VER= 35 DISTVERSION= ${GM_MAJOR_VER}.${GM_MINOR_VER} DISTNAME= GraphicsMagick-${DISTVERSION} CATEGORIES= graphics diff --git a/graphics/GraphicsMagick/PLIST b/graphics/GraphicsMagick/PLIST index ecd180b4947..1ecdc2bac88 100644 --- a/graphics/GraphicsMagick/PLIST +++ b/graphics/GraphicsMagick/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.28 2019/06/18 13:30:52 adam Exp $ +@comment $NetBSD: PLIST,v 1.29 2020/02/26 15:19:20 nia Exp $ bin/GraphicsMagick++-config bin/GraphicsMagick-config bin/GraphicsMagickWand-config @@ -222,6 +222,7 @@ share/doc/GraphicsMagick/ChangeLog.2015 share/doc/GraphicsMagick/ChangeLog.2016 share/doc/GraphicsMagick/ChangeLog.2017 share/doc/GraphicsMagick/ChangeLog.2018 +share/doc/GraphicsMagick/ChangeLog.2019 share/doc/GraphicsMagick/Copyright.txt share/doc/GraphicsMagick/NEWS.txt share/doc/GraphicsMagick/www/ChangeLog-2001.html @@ -242,6 +243,7 @@ share/doc/GraphicsMagick/www/ChangeLog-2015.html share/doc/GraphicsMagick/www/ChangeLog-2016.html 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.html share/doc/GraphicsMagick/www/Changes.html share/doc/GraphicsMagick/www/Copyright.html diff --git a/graphics/GraphicsMagick/distinfo b/graphics/GraphicsMagick/distinfo index 80072c82528..fb097e72013 100644 --- a/graphics/GraphicsMagick/distinfo +++ b/graphics/GraphicsMagick/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.51 2020/01/08 12:11:36 nia Exp $ +$NetBSD: distinfo,v 1.52 2020/02/26 15:19:20 nia Exp $ -SHA1 (GraphicsMagick-1.3.34.tar.xz) = cc1b77b7f2e4b0b345f97f7963704dbb4d0d3e3b -RMD160 (GraphicsMagick-1.3.34.tar.xz) = 62ae36203e0b456da54e5c261513f14b020b6182 -SHA512 (GraphicsMagick-1.3.34.tar.xz) = 50bfd016badd6a1a336ba8b10fdfdde2d760d6c098d44c80ff95e4df9a811957127ee24d241df6a1f6daff34b8a6b0c0d892f1050c003d651a1bbbecbf28ced8 -Size (GraphicsMagick-1.3.34.tar.xz) = 5518784 bytes +SHA1 (GraphicsMagick-1.3.35.tar.xz) = b0460d7fb8b2d542a44446322ea62c053bc54b0c +RMD160 (GraphicsMagick-1.3.35.tar.xz) = 5f0ae6461cbcb0aece88e9e1430e6085351b747e +SHA512 (GraphicsMagick-1.3.35.tar.xz) = baae92089d52147ef961f93495abc8a9d8b1a963af61d87a650c1ab105d46816aa38c83f654edcb5a0e1b7f07ccc06eaeaa443b9bde3a63a0b9bfb45f3ae144c +Size (GraphicsMagick-1.3.35.tar.xz) = 5543224 bytes SHA1 (patch-config_delegates.mgk.in) = c52192a35bede530d310688a576ef2181a9f073c SHA1 (patch-configure) = bdb76557cd8a5c116b6c84dc63f4e35ddde39c87 |