The NetBSD Project

CVS log for pkgsrc/graphics/GraphicsMagick/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / graphics / GraphicsMagick

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.136 / (download) - annotate - [select for diffs], Wed Nov 15 13:20:53 2023 UTC (4 months, 1 week ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4, HEAD
Changes since 1.135: +1 -2 lines
Diff to previous 1.135 (colored) to selected 1.19 (colored)

GraphicsMagick p5-GraphicsMagick: updated to 1.3.42

1.3.42 (September 23, 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 22 years already (and contributed to ImageMagick and GraphicsMagick combined for 27 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.
GraphicsMagick has been participating in Synopsys's Coverity program for free software projects since 2015. There has been a continuing objective to keep outstanding defects at 0, or very close to 0. Information about the Coverity status may be found at https://scan.coverity.com/projects/graphicsmagick.
Bug fixes:

TIFF: Default the alpha channel to type EXTRASAMPLE_UNASSALPHA(2).
BMP: Many fixes for reading esoteric BMP sub-formats.
TranslateTextEx(): Revert change so now a NULL pointer is returned when given an empty string. Some algorithms (e.g. montage) were depending on this!.
PAM: Fix reading comments.
PNG: Added Add missing module aliases "PNG00", "PNG48", "PNG64", so it is again possible to request these subformats directly.
TIFF: For common formats with the required number of channels, but one is an 'unspecified' channel, promote unspecified alpha to unassociated alpha so that the alpha channel is not ignored.
"Magick" command line emulation: Eliminate duplicate utility name output in error messages
New Features:

BMP: Added the ability to read and write BMP using JPEG compression. Use '-define bmp:allow-jpeg' to allow use of JPEG compression.
BMP: Added support for BI_ALPHABITFIELDS compression
BMP: Added support for reading BMP with PNG compression.
API Updates:

None.
Windows Delegate Updates/Additions:

None.
Build Changes:

Inno-Setup installer script now also supports MSVC 2010 and 2013 runtimes.
Support for the 'XTRN' coder (needed by ImageMagickObject) is now optional and disabled by default.
Visual Studio 2013 (MSVC 12.0) (or later) is needed to build 64-bit applications given that 'strtod()' is broken in earlier versions. Not much works at all if strtod() does not work properly.
Behavior Changes:

Decided to not deprecate the ability to extend existing image attribute text by calling SetImageAttribute() multiple times. There are too many subtle usages of this feature. The annoying printf introduced in 1.3.41 has been disabled.

Revision 1.135 / (download) - annotate - [select for diffs], Sun Nov 12 13:21:49 2023 UTC (4 months, 2 weeks ago) by wiz
Branch: MAIN
Changes since 1.134: +2 -2 lines
Diff to previous 1.134 (colored) to selected 1.19 (colored)

*: revebump for new brotli option for freetype2

Addresses PR 57693

Revision 1.134 / (download) - annotate - [select for diffs], Thu Nov 9 20:55:19 2023 UTC (4 months, 2 weeks ago) by nia
Branch: MAIN
Changes since 1.133: +2 -3 lines
Diff to previous 1.133 (colored) to selected 1.19 (colored)

GraphicsMagick: Make zstd optional, disabled by default.

Rationale: zstd support is only used for tiff files. Since this is a
non-standard extension, it can be assumed to be extremely rare for what's
already a quite uncommon image file format.

Revision 1.133 / (download) - annotate - [select for diffs], Wed Nov 8 13:19:26 2023 UTC (4 months, 2 weeks ago) by wiz
Branch: MAIN
Changes since 1.132: +2 -2 lines
Diff to previous 1.132 (colored) to selected 1.19 (colored)

*: recursive bump for icu 74.1

Revision 1.132 / (download) - annotate - [select for diffs], Tue Oct 24 22:09:21 2023 UTC (5 months ago) by wiz
Branch: MAIN
Changes since 1.131: +2 -2 lines
Diff to previous 1.131 (colored) to selected 1.19 (colored)

*: bump for openssl 3

Revision 1.131 / (download) - annotate - [select for diffs], Sat Oct 21 17:10:21 2023 UTC (5 months ago) by gdt
Branch: MAIN
Changes since 1.130: +2 -2 lines
Diff to previous 1.130 (colored) to selected 1.19 (colored)

recursive revbump for tiff update

Revision 1.130 / (download) - annotate - [select for diffs], Wed Apr 19 08:08:22 2023 UTC (11 months, 1 week ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2
Changes since 1.129: +2 -2 lines
Diff to previous 1.129 (colored) to selected 1.19 (colored)

revbump after textproc/icu update

Revision 1.129 / (download) - annotate - [select for diffs], Tue Apr 11 06:10:58 2023 UTC (11 months, 2 weeks ago) by adam
Branch: MAIN
Changes since 1.128: +2 -2 lines
Diff to previous 1.128 (colored) to selected 1.19 (colored)

revbump for jasper 4.0.0

Revision 1.128 / (download) - annotate - [select for diffs], Sun Jan 29 21:14:36 2023 UTC (13 months, 4 weeks ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2023Q1-base, pkgsrc-2023Q1
Changes since 1.127: +2 -1 lines
Diff to previous 1.127 (colored) to selected 1.19 (colored)

*: Recursive revbup from graphics/freetype2

Revision 1.127 / (download) - annotate - [select for diffs], Wed Jan 25 06:40:45 2023 UTC (14 months ago) by adam
Branch: MAIN
Changes since 1.126: +1 -2 lines
Diff to previous 1.126 (colored) to selected 1.19 (colored)

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.

Revision 1.126 / (download) - annotate - [select for diffs], Tue Jan 3 17:36:22 2023 UTC (14 months, 3 weeks ago) by wiz
Branch: MAIN
Changes since 1.125: +2 -2 lines
Diff to previous 1.125 (colored) to selected 1.19 (colored)

*: recursive bump for tiff shlib major bump

Revision 1.125 / (download) - annotate - [select for diffs], Wed Nov 23 16:20:12 2022 UTC (16 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4
Changes since 1.124: +2 -2 lines
Diff to previous 1.124 (colored) to selected 1.19 (colored)

massive revision bump after textproc/icu update

Revision 1.124 / (download) - annotate - [select for diffs], Wed Oct 26 10:31:03 2022 UTC (17 months ago) by wiz
Branch: MAIN
Changes since 1.123: +2 -2 lines
Diff to previous 1.123 (colored) to selected 1.19 (colored)

*: bump PKGREVISION for libunistring shlib major bump

Revision 1.123 / (download) - annotate - [select for diffs], Tue Jun 28 11:33:58 2022 UTC (21 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2022Q3-base, pkgsrc-2022Q3
Changes since 1.122: +2 -2 lines
Diff to previous 1.122 (colored) to selected 1.19 (colored)

*: recursive bump for perl 5.36

Revision 1.122 / (download) - annotate - [select for diffs], Mon Apr 18 19:11:14 2022 UTC (23 months, 1 week ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2
Changes since 1.121: +2 -1 lines
Diff to previous 1.121 (colored) to selected 1.19 (colored)

revbump for textproc/icu update

Revision 1.121 / (download) - annotate - [select for diffs], Tue Dec 14 19:56:24 2021 UTC (2 years, 3 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4
Changes since 1.120: +1 -2 lines
Diff to previous 1.120 (colored) to selected 1.19 (colored)

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.

Revision 1.120 / (download) - annotate - [select for diffs], Wed Dec 8 16:02:07 2021 UTC (2 years, 3 months ago) by adam
Branch: MAIN
Changes since 1.119: +2 -2 lines
Diff to previous 1.119 (colored) to selected 1.19 (colored)

revbump for icu and libffi

Revision 1.119 / (download) - annotate - [select for diffs], Wed Sep 29 19:00:07 2021 UTC (2 years, 5 months ago) by adam
Branch: MAIN
Changes since 1.118: +2 -2 lines
Diff to previous 1.118 (colored) to selected 1.19 (colored)

revbump for boost-libs

Revision 1.118 / (download) - annotate - [select for diffs], Mon May 24 19:52:19 2021 UTC (2 years, 10 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2
Changes since 1.117: +2 -2 lines
Diff to previous 1.117 (colored) to selected 1.19 (colored)

*: recursive bump for perl 5.34

Revision 1.117 / (download) - annotate - [select for diffs], Wed Apr 21 13:24:11 2021 UTC (2 years, 11 months ago) by adam
Branch: MAIN
Changes since 1.116: +2 -2 lines
Diff to previous 1.116 (colored) to selected 1.19 (colored)

revbump for boost-libs

Revision 1.116 / (download) - annotate - [select for diffs], Wed Apr 21 11:41:49 2021 UTC (2 years, 11 months ago) by adam
Branch: MAIN
Changes since 1.115: +2 -1 lines
Diff to previous 1.115 (colored) to selected 1.19 (colored)

revbump for textproc/icu

Revision 1.115 / (download) - annotate - [select for diffs], Sun Jan 24 15:29:26 2021 UTC (3 years, 2 months ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2021Q1-base, pkgsrc-2021Q1
Changes since 1.114: +1 -2 lines
Diff to previous 1.114 (colored) to selected 1.19 (colored)

graphicsmagick: Update to 1.3.36

1.3.36 (December 26, 2020)
==========================

Special Issues:

* None

Security Fixes:

* GraphicsMagick is participating in Google's oss-fuzz project due to
  the contributions and assistance of Alex Gaynor. Since February 4
  2018, 454 issues have been opened by oss-fuzz (some of which were
  benign build issues such as SourceForge Mercurial not working
  correctly) and 7 issues remain open (all of which are marked in an
  "unreproducible" state).  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.

* WPG: Fixes for heap buffer overflow.

Bug fixes:

* ConstituteImage(): Set image depth appropriately based on the
  storage size specified by StorageType and QuantumDepth.

* GetImageBoundingBox(): Fix problem that MagickTrimImage with extreme
  fuzz values could produce an image with negative width.

* ImageToFile(): Improve error handling to avoid possible deferred
  deletion of temporary files, causing unexpected excessive use of
  temporary file space.

* JNG: Add validations for alpha compression method values and use
  this information to enforce decoding using the appropriate
  sub-format (rather than auto-detecting the format).  Also, address
  memory leaks which may occur if the sub-decoder does something other
  than was expected.

* MagickCondSignal(): Improvements to conditional signal handler
  registration (which avoids over-riding signal handlers previously
  registered by an API user).

* ModifyCache(): Fix memory leak.

* ReadCacheIndexes(): Don't blunder into accessing a null pointer if
  the using code has ignored a previous error report bubled-up from
  SetNexus().

* MNG: When doing image scaling and the image width or height is 1
  then always use simple pixel replication as per the MNG
  specification.

* MVG: Fixes to 'push clip-path foo' and 'pop clip-path foo' parsing
  to eliminate a class of malign behavior.

* MVG: Place an aribrary limit on stroke dash polygon unit maximum
  length in order to avoid possibly rendering "forever".

* PCL: No longer attempt to handle reading HP PCL format via the
  external 'hp2xx' program since it seems worthless for that task.

* PS: Fix corrupt image when writing PseudoClass image with a colormap
  larger than two entries as bilevel.

* SVG: Memory leak fixes.

* SVG reader: Now support 'ping' support so the identify command works
  as expected.

* TIFF: WEBP compression only supports a depth of 8 so force that
  value.

* Wand MagickSetSamplingFactors(): Correct formatting of sampling
  factors string.

New Features:

* Logging is now fully programmable.

* DPX format: Support dpx:swap-samples-read define which behaves
  similar to dpx:swap-samples, but is only applied when reading, as
  well as dpx:swap-samples-write, which is only applied when
  writing. This provides for use when there is both reading and
  writing in the same operation (otherwise the final result was no
  effect!).

API Updates:

* magick/api.h: Add "magick/enum_strings.h" to API headers.

* New log settings accessor C functions: SetLogDefaultFileName(),
  SetLogDefaultFormat(), SetLogDefaultOutputType(),
  SetLogDefaultLogMethod(), SetLogDefaultLimit(),
  SetLogDefaultGenerations(), SetLogDefaultEventType().  These
  functions allow a program to set the same parameters which may be
  set by loading a "log.mgk" function.  If a default logging callback
  was provided via SetLogDefaultLogMethod() such that MethodOutput is
  used, then the search for a "log.mgk" is avoided entirely.

* New log settings accessor C++ functions: SetLogDefaultFileName(),
  SetLogDefaultFormat(), SetLogDefaultOutputType(),
  SetLogDefaultLogMethod(), SetLogDefaultLimit(),
  SetLogDefaultGenerations(), SetLogDefaultEventType().  These C++
  functions just pass through to the equivalent C functions and
  provide the same benefits.

Feature improvements:

* A simple resource-limit respecting memory allocator has been
  developed for internal use wherever arbitrarily-large amounts of
  memory might be requested.  This will gradually be added wherever it
  appears to be needed.  The memory resource limits are at the overall
  process level.  The MVG/SVG rendering code is updated to use this
  new allocator.  Almost all of the coders (image format
  readers/writers) have now been updated to use this new allocator.
  This means that '-limit memory 300MB' would be more complete and
  meaningful now.  Temporary allocations by the image processing
  algorithms (other than for the images themselves) are still not
  accounted for in the resource limiting.

* MVG Renderer / DrawImage(): Use resource-limit respecting memory
  allocators for remaining large memory allocations.

* PNG writer: Don't skip optional Exif identifier code if it isn't present.

* DPX reader/writer: decode/encode of 10-bit packed DPX is now twice
  as fast due to code simplification.

* TIFF reader: Apply the same resource limits to TIFF tile sizes as
  apply to the image itself.

Windows Delegate Updates/Additions:

* None

Build Changes:

* configure.ac: Update syntax to avoid using deprecated syntax
  according to Autoconf 2.69.  Also added copious m4 quoting.

* Magick++ Drawable base class no longer uses std::unary_function when
  compiled using C++'17 or later, since this feature has been removed
  from the language.

* Support the configure option --disable-compressed-files to disable
  automatic decompress of gzip and bzip2 compressed files (e.g. files
  with extension 'gz' or 'bz2', and sometimes 'svgz', but sometimes
  posing as some other format).  It turns out that there are some
  extremely compressed files (e.g. over 1000x compression ratio) which
  can take a long time to decompress and produce large temporary
  files.  We currently normally wait for the whole file to be
  decompressed before decoding it.  The only exception is for coders
  with native 'blob' support and which do not require seeking, and
  that the user forced forced the format by adding a magick prefix
  like "DPX:file.dpx" to avoid the automatic file format detection.

* Support the configure option --without-gs to disable reading PS,
  EPS, and PDF formats via an external Ghostscript delegate program.
  This corresponds to the HasGS definition in the source code.

* Support the configure option --without-gdi32 to support disabling
  use of the Microsoft Windows gdi32 library if it is not wanted.

* The Automake-based test suite now applies a memory limit of 128MB
  for the Q8, or 256MB for the Q16, or 512MB for the Q32 build, as
  well as setting a disk space limit of 0.  The limits place an upper
  bound on the resources required, while assuring that tests do pass
  with resource limits applied, while also assuring that disk-based
  pixel-cache files are not used.

Behavior Changes:

* Previously the formatting settings from "log.mgk" were only used
  when writing to a file, or to the console, via a file handle.  Now
  the log formatting has been normalized so that the settings provided
  by "log.mgk" (or SetLogDefaultFormat()) will always be used.  It is
  possible this may result in some formatting changes.

* In the Windows Visual Studio build, the ProvideDllMain option is now
  disabled by default (can still be enabled) since it causes
  InitializeMagick() to be invoked prior to when the program's main()
  routine is called, thereby blocking configuration activities or use
  of InitializeMagickEx().  With this change it is even more
  imperative that InitializeMagick() be explicitly invoked by all
  programs using GraphicsMagick.

Revision 1.114 / (download) - annotate - [select for diffs], Fri Dec 4 04:55:56 2020 UTC (3 years, 3 months ago) by riastradh
Branch: MAIN
CVS Tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4
Changes since 1.113: +2 -2 lines
Diff to previous 1.113 (colored) to selected 1.19 (colored)

Revbump for openpam cppflags change months ago, belatedly.

Revision 1.113 / (download) - annotate - [select for diffs], Thu Nov 5 09:08:17 2020 UTC (3 years, 4 months ago) by ryoon
Branch: MAIN
Changes since 1.112: +2 -2 lines
Diff to previous 1.112 (colored) to selected 1.19 (colored)

*: Recursive revbump from textproc/icu-68.1

Revision 1.112 / (download) - annotate - [select for diffs], Thu Oct 22 11:09:05 2020 UTC (3 years, 5 months ago) by jperkin
Branch: MAIN
Changes since 1.111: +3 -1 lines
Diff to previous 1.111 (colored) to selected 1.19 (colored)

GraphicsMagick: Skip a file with CTF issues.

Revision 1.111 / (download) - annotate - [select for diffs], Mon Aug 31 18:09:36 2020 UTC (3 years, 6 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3
Changes since 1.110: +2 -2 lines
Diff to previous 1.110 (colored) to selected 1.19 (colored)

*: bump PKGREVISION for perl-5.32.

Revision 1.110 / (download) - annotate - [select for diffs], Mon Aug 17 20:17:26 2020 UTC (3 years, 7 months ago) by leot
Branch: MAIN
Changes since 1.109: +2 -2 lines
Diff to previous 1.109 (colored) to selected 1.19 (colored)

*: revbump after fontconfig bl3 changes (libuuid removal)

Revision 1.109 / (download) - annotate - [select for diffs], Tue Jun 2 08:23:58 2020 UTC (3 years, 9 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2020Q2-base, pkgsrc-2020Q2
Changes since 1.108: +2 -2 lines
Diff to previous 1.108 (colored) to selected 1.19 (colored)

Revbump for icu

Revision 1.108 / (download) - annotate - [select for diffs], Fri May 22 10:55:46 2020 UTC (3 years, 10 months ago) by adam
Branch: MAIN
Changes since 1.107: +2 -2 lines
Diff to previous 1.107 (colored) to selected 1.19 (colored)

revbump after updating security/nettle

Revision 1.107 / (download) - annotate - [select for diffs], Sun May 3 07:07:03 2020 UTC (3 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.106: +1 -3 lines
Diff to previous 1.106 (colored) to selected 1.19 (colored)

graphics/GraphicsMagick: remove unknown configure options

Revision 1.106 / (download) - annotate - [select for diffs], Tue Mar 10 22:08:48 2020 UTC (4 years ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1
Changes since 1.105: +2 -2 lines
Diff to previous 1.105 (colored) to selected 1.19 (colored)

librsvg: update bl3.mk to remove libcroco in rust case

recursive bump for the dependency change

Revision 1.105 / (download) - annotate - [select for diffs], Sun Mar 8 16:47:45 2020 UTC (4 years ago) by wiz
Branch: MAIN
Changes since 1.104: +2 -1 lines
Diff to previous 1.104 (colored) to selected 1.19 (colored)

*: recursive bump for libffi

Revision 1.102.6.1 / (download) - annotate - [select for diffs], Thu Jan 9 14:58:32 2020 UTC (4 years, 2 months ago) by bsiegert
Branch: pkgsrc-2019Q4
Changes since 1.102: +1 -2 lines
Diff to previous 1.102 (colored) next main 1.103 (colored) to selected 1.19 (colored)

Pullup ticket #6112 - requested by nia
graphics/GraphicsMagick: security fix

Revisions pulled up:
- graphics/GraphicsMagick/Makefile                              1.103
- graphics/GraphicsMagick/Makefile.common                       1.25
- graphics/GraphicsMagick/distinfo                              1.51
- graphics/p5-GraphicsMagick/Makefile                           1.49

---
   Module Name:	pkgsrc
   Committed By:	nia
   Date:		Wed Jan  8 12:11:36 UTC 2020

   Modified Files:
   	pkgsrc/graphics/GraphicsMagick: Makefile Makefile.common distinfo
   	pkgsrc/graphics/p5-GraphicsMagick: Makefile

   Log Message:
   GraphicsMagick: Update to 1.3.34

   1.3.34 (December 24, 2019)
   ==========================

   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, 386 issues have been opened by oss-fuzz (some of which were
     benign build issues) and 376 of those issues have been resolved.
     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:

   * DPS: Eliminate a memory leak.

   * Debug Trace: Only output text to terminate an XML format log file if
     XML format is active.

   * EXIF Parser: Detect non-terminal parsing and report an error.

   * EXIF Parser: Eliminate heap buffer overflows.

   * HuffmanDecodeImage(): Fix heap overflow in 32-bit applications.

   * MAT: Implement subimage/subrange support.

   * MVG: Address non-terminal loops, excessive run-time, thrown
     assertions, divide-by-zero, heap overflow, and memory leaks.

   * OpenModule(): Now properly case-insensitive, as it used to be.

   * PCX: Verify that pixel region is not negative. Assure that opacity
     channel is initialized to opaqueOpacity.  Update DirectClass
     representation while PseudoClass representation is updated.  Improve
     read performance with uncompressed PCX.

   * PICT: Fix heap overflow in PICT writer.

   * PNG: Fix validation of raw profile length.

   * PNG: Skip coalescing layers if there is only one layer.

   * PNM: Fix denial of service opportunity by limiting the length of PNM
     comment text.

   * WPG: Avoid Avoid dereferencing a null pointer.

   * WPG: Implement subimage/subrange support.

   * WPG: Improve performance when reading an embedded image.

   * Wand library: In MagickClearException(), destroy any existing
     exception info before re-initializing the exception info or else
     there will be a memory leak.

   * XPM: Rquire that image properties appear in the first 512 bytes of
     the XPM file header.

   New Features:

   * Visual Studio build supports JBIG and WebP compression in TIFF format.

   API Updates:

   * None

   Feature improvements:

   * Compliles clean using GCC 9.

   Windows Delegate Updates/Additions:

   * bzlib: bzip is updated to 1.0.8 release.

   * jbig: jbigkit is updated to 2.1 release.

   * lcms: lcms2 is updated to 2.9 release.

   * libxml: libxml2 is updated to 2.9.10 release.

   * png: libpng is updated to 1.6.37 release.

   * tiff: libtiff is updated to 4.1.0 release.

   * webp: libwebp is updated to the 1.0.3 release.

   * zlib: zlib is updated to 1.2.11 release.

   * TIFF: Now also supports reading JBIG-compressed TIFF, and
     reading/writing WebP-compressed TIFF.  A number of libtiff feature
     options which are now commonly enabled were disabled and are now
     enabled by default.

   Build Changes:

   * MinGW: Static and shared library builds were not working.  Only the
     modules build was actually working!

   * Python scripts related to the build (enabled by
     --enable-maintainer-mode) are now compatible with Python 3.

   * Now supports using Google gperftools tcmalloc library for the memory
     allocator.  This improves performance for certain repetitive
     work-loads and heavily-threaded algorithms.

   * Configure now reports the status of zstd (FaceBook Zstandard)
     compression in its configuration summary.

   * TclMagick: Address many issues mentioned by SourceForge issue #420
     "TclMagick issues and patch".

   Behavior Changes:

   * PNG: Post-processing to convert the image type in the PNG reader
     based on a specified magick prefix string is now disabled.  This can
     (and should) be done after the image has been returned.

   * Trace Logging: The compiled-in logging default is always to stderr,
     which may be over-ridden using log.mgk as soon as it is loaded.

   * Windows Build: Search registry key HKEY_CURRENT_USER as well as
     HKEY_LOCAL_MACHINE when searching for Ghostscript.  By following the
     procedure documented in SourceForge bug 615 "GhostScript
     installation check", this allows for local user installations
     without "administrator" privileges.

Revision 1.104 / (download) - annotate - [select for diffs], Wed Jan 8 17:32:15 2020 UTC (4 years, 2 months ago) by nia
Branch: MAIN
Changes since 1.103: +2 -2 lines
Diff to previous 1.103 (colored) to selected 1.19 (colored)

GraphicsMagick: Update COMMENT

Revision 1.103 / (download) - annotate - [select for diffs], Wed Jan 8 12:11:36 2020 UTC (4 years, 2 months ago) by nia
Branch: MAIN
Changes since 1.102: +1 -2 lines
Diff to previous 1.102 (colored) to selected 1.19 (colored)

GraphicsMagick: Update to 1.3.34

1.3.34 (December 24, 2019)
==========================

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, 386 issues have been opened by oss-fuzz (some of which were
  benign build issues) and 376 of those issues have been resolved.
  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:

* DPS: Eliminate a memory leak.

* Debug Trace: Only output text to terminate an XML format log file if
  XML format is active.

* EXIF Parser: Detect non-terminal parsing and report an error.

* EXIF Parser: Eliminate heap buffer overflows.

* HuffmanDecodeImage(): Fix heap overflow in 32-bit applications.

* MAT: Implement subimage/subrange support.

* MVG: Address non-terminal loops, excessive run-time, thrown
  assertions, divide-by-zero, heap overflow, and memory leaks.

* OpenModule(): Now properly case-insensitive, as it used to be.

* PCX: Verify that pixel region is not negative. Assure that opacity
  channel is initialized to opaqueOpacity.  Update DirectClass
  representation while PseudoClass representation is updated.  Improve
  read performance with uncompressed PCX.

* PICT: Fix heap overflow in PICT writer.

* PNG: Fix validation of raw profile length.

* PNG: Skip coalescing layers if there is only one layer.

* PNM: Fix denial of service opportunity by limiting the length of PNM
  comment text.

* WPG: Avoid Avoid dereferencing a null pointer.

* WPG: Implement subimage/subrange support.

* WPG: Improve performance when reading an embedded image.

* Wand library: In MagickClearException(), destroy any existing
  exception info before re-initializing the exception info or else
  there will be a memory leak.

* XPM: Rquire that image properties appear in the first 512 bytes of
  the XPM file header.

New Features:

* Visual Studio build supports JBIG and WebP compression in TIFF format.

API Updates:

* None

Feature improvements:

* Compliles clean using GCC 9.

Windows Delegate Updates/Additions:

* bzlib: bzip is updated to 1.0.8 release.

* jbig: jbigkit is updated to 2.1 release.

* lcms: lcms2 is updated to 2.9 release.

* libxml: libxml2 is updated to 2.9.10 release.

* png: libpng is updated to 1.6.37 release.

* tiff: libtiff is updated to 4.1.0 release.

* webp: libwebp is updated to the 1.0.3 release.

* zlib: zlib is updated to 1.2.11 release.

* TIFF: Now also supports reading JBIG-compressed TIFF, and
  reading/writing WebP-compressed TIFF.  A number of libtiff feature
  options which are now commonly enabled were disabled and are now
  enabled by default.

Build Changes:

* MinGW: Static and shared library builds were not working.  Only the
  modules build was actually working!

* Python scripts related to the build (enabled by
  --enable-maintainer-mode) are now compatible with Python 3.

* Now supports using Google gperftools tcmalloc library for the memory
  allocator.  This improves performance for certain repetitive
  work-loads and heavily-threaded algorithms.

* Configure now reports the status of zstd (FaceBook Zstandard)
  compression in its configuration summary.

* TclMagick: Address many issues mentioned by SourceForge issue #420
  "TclMagick issues and patch".

Behavior Changes:

* PNG: Post-processing to convert the image type in the PNG reader
  based on a specified magick prefix string is now disabled.  This can
  (and should) be done after the image has been returned.

* Trace Logging: The compiled-in logging default is always to stderr,
  which may be over-ridden using log.mgk as soon as it is loaded.

* Windows Build: Search registry key HKEY_CURRENT_USER as well as
  HKEY_LOCAL_MACHINE when searching for Ghostscript.  By following the
  procedure documented in SourceForge bug 615 "GhostScript
  installation check", this allows for local user installations
  without "administrator" privileges.

Revision 1.102 / (download) - annotate - [select for diffs], Sun Aug 11 13:21:06 2019 UTC (4 years, 7 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q3-base, pkgsrc-2019Q3
Branch point for: pkgsrc-2019Q4
Changes since 1.101: +2 -1 lines
Diff to previous 1.101 (colored) to selected 1.19 (colored)

Bump PKGREVISIONs for perl 5.30.0

Revision 1.101 / (download) - annotate - [select for diffs], Thu Aug 8 20:56:40 2019 UTC (4 years, 7 months ago) by nia
Branch: MAIN
Changes since 1.100: +1 -2 lines
Diff to previous 1.100 (colored) to selected 1.19 (colored)

{p5-}GraphicsMagick: Update to 1.3.33

1.3.33 (July 20, 2019)
==========================

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 is often longer than the
  time 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.  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, 353 issues have been opened by oss-fuzz and 338 of those
  issues have been resolved.  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.

* Documentation has been added regarding security hazards due to
  commands which support a '@filename' syntax.

* MontageImages(): Fix wrong length argument to strlcat() when
  building montage directory, which could allow heap overwrite.

Bug fixes:

* PNG: Pass correct size value to strlcat() in module registration
  code.  This bug is noticed to cause problems for Apple's OS X and
  Linux Alpine with musl libc.  This fixes a regression introduced by
  the 1.3.32 release.

* Re-implement command-line utility `'@'` file inclusion support for
  `-comment`, `-draw`, `-format`, and `-label` which was removed for
  the 1.3.32 release.  The new implementation is isolated to
  command-line utility implementation code rather than being deeply
  embedded in the library and exposed in other usage contexts.  This
  fixes a regression introduced by the 1.3.32 release.

* CAPTION: The The CAPTION reader did not appear to work at all any
  more.  Now it works again, but still not very well.

* MagickXDisplayImage(): Fix heap overwrite of windows->image.name and
  windows->image.icon_name buffers.  This bug has surely existed since
  early GraphicsMagick releases.

* MagickXAnimateImages(): Fix memory leak of scene_info.pixels.

* AcquireTemporaryFileDescriptor(): Fix compilation under Cygwin. This
  fixes a regression introduced by the 1.3.32 release.

* PNG: Fix saving to palette when mage has an alpha channel but no
  color is marked as transparent.

* Compilation warnings in the Visual Studio WIN64 build due to the
  'long' type being only 32-bits have been addressed.

New Features:

* None

API Updates:

* None

Feature improvements:

* None

Windows Delegate Updates/Additions:

* None

Build Changes:

* None

Behavior Changes:

* Support for `'@'` file inclusion support for `-comment`, `-draw`,
  `-format`, and `-label` has been restored.

Revision 1.100 / (download) - annotate - [select for diffs], Sun Jul 21 22:24:03 2019 UTC (4 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.99: +2 -2 lines
Diff to previous 1.99 (colored) to selected 1.19 (colored)

*: recursive bump for gdk-pixbuf2-2.38.1

Revision 1.99 / (download) - annotate - [select for diffs], Sat Jul 20 22:46:01 2019 UTC (4 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.98: +2 -2 lines
Diff to previous 1.98 (colored) to selected 1.19 (colored)

*: recursive bump for nettle 3.5.1

Revision 1.98 / (download) - annotate - [select for diffs], Tue Jul 16 19:31:16 2019 UTC (4 years, 8 months ago) by nia
Branch: MAIN
Changes since 1.97: +2 -1 lines
Diff to previous 1.97 (colored) to selected 1.19 (colored)

GraphicsMagick: Disable jp2 support by default

Re-enable it with the 'jasper' option.

Part of the process of trying to minimize the potential impact of a
vulnerable jasper.

Bump PKGREVISION

Revision 1.97 / (download) - annotate - [select for diffs], Tue Jun 18 13:30:52 2019 UTC (4 years, 9 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2019Q2-base, pkgsrc-2019Q2
Changes since 1.96: +1 -2 lines
Diff to previous 1.96 (colored) to selected 1.19 (colored)

{p5-}GraphicsMagick: updated to 1.3.32

1.3.32:

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 is often longer than the time 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. 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, 343 issues have been opened by oss-fuzz and 331 of those issues have been resolved. 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.
BMP reader: Fix heap overflow in 32-bit build due to arithmetic overflow. Only happens if limits are changed from defaults.
BMP reader/writer: Improve buffer-size calculations to guard against buffer overflows.
DIB reader: Reject files which claim more than 8-bits per pixel but also claim to be colormapped.
DIB reader/writer: Improve buffer-size calculations to guard against buffer overflows.
MIFF reader: Detect end of file while reading RLE packets.
MIFF reader: Fix heap overflow (for some files using RLE compression) caused by a typo in the code.
MAT writer: Added missing error handling to avoid heap overflow.
MNG reader: Fixed a small heap buffer overflow.
SVG reader: Fixed a stack buffer overflow.
TGA writer: Fix heap overflow when image rows/columns are larger than 65535.
TIFF reader: Rationalize tile width/height to reject large tile sizes which are much larger than the image dimensions.
TIFF reader: Apply memory resource limits to strip and tile allocations.
WMF reader: Fixed a division by zero problem.
XWD reader: Many heap buffer overflows and uses of uninitialized data were fixed.
Pixel cache: Now apply resource limits to pixel nexus allocations using the same limits (total pixels, width, height, memory) as applied to the whole image since some requests are directly influenced by the input file. More tests are added for arithmetic overflow. Care was taken to minimize performance impact due to the many extra checks.

Bug fixes:

See above note about oss-fuzz fixes.
Fixed include order of magick/api.h vs wand/wand_symbols.h.
WriteImage(): Eliminate use of just-freed memory in clone_info->magick when throwing exception due to no support for format.
Magick++/lib/Magick++/Drawable.h: Fix use of clang diagnostic syntax.
DIB: Preserve PseudoClass opaque representation if ICO mask is opaque.
JPEG reader: Restore ability to access detailed image properties while in 'ping' mode.
JPEG reader: Base test for "Unreasonable dimensions" on original JPEG dimensions and not the scaled dimensions.
JPEG reader: Allow input files to have a compression ratio as high as 2500. Extremely compressed files were being rejected.
FreeType renderer: Fixed a memory leak.
PDF writer: Fixed a memory leak.
PDF writer: Fixed a thread safety problem.
PICT reader: Fix a thread safety problem.
Exception reporting: Throwing an exception was not thread safe. Now it is.
Exception reporting: Handle the case where some passed character strings refer to existing exception character strings.
Command-line parser now does not attempt to read a list of filenames from a file in '@name' syntax if the path '@name' exists. Previously it would attempt to read a list of file names from 'name' even if '@name' did exist.
Rendering: Short-circuit path parsing and return and error immediately if an error occurs.

New Features:

Added support for writing the Braille image format (by Samuel Thibault).
WebP writer: Support WebP 'use_sharp_yuv' option ("if needed, use sharp (and slow) RGB->YUV conversion") via -define webp:use-sharp-yuv=true.
The version command output now reports the OpenMP specification number rather than just the integer version identifier.

API Updates:

ReallocateImageColormap() added to re-allocate an existing colormap.
Some improperly-exposed globals are now static as they should have been.

Revision 1.96 / (download) - annotate - [select for diffs], Mon Apr 1 09:21:23 2019 UTC (4 years, 11 months ago) by abs
Branch: MAIN
Changes since 1.95: +2 -2 lines
Diff to previous 1.95 (colored) to selected 1.19 (colored)

Fix build of GraphicsMagick with ghostscript disabled

(No change to default build)

Revision 1.95 / (download) - annotate - [select for diffs], Mon Mar 18 16:17:47 2019 UTC (5 years ago) by gdt
Branch: MAIN
CVS Tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1
Changes since 1.94: +2 -1 lines
Diff to previous 1.94 (colored) to selected 1.19 (colored)

Recursive bump for ghostscript default change

Revision 1.94 / (download) - annotate - [select for diffs], Thu Nov 22 16:09:23 2018 UTC (5 years, 4 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2018Q4-base, pkgsrc-2018Q4
Changes since 1.93: +1 -3 lines
Diff to previous 1.93 (colored) to selected 1.19 (colored)

GraphicsMagick: commit missing patch, fix buildlink.mk

Revision 1.93 / (download) - annotate - [select for diffs], Thu Nov 22 15:51:45 2018 UTC (5 years, 4 months ago) by prlw1
Branch: MAIN
Changes since 1.92: +3 -1 lines
Diff to previous 1.92 (colored) to selected 1.19 (colored)

Build fix for GraphicsMagick 1.3.31 update

[It is worth building packages with PKG_DEVELOPER=yes set before committing
updates.]

GraphicsMagick 1.3.31 added PKG_CONFIG, PKG_CONFIG_PATH, and presumably
PKG_CONFIG_LIBDIR to its build system, which then appear in the output
of "gm version". Ignore the WRKDIR which appears listed there.

Revision 1.92 / (download) - annotate - [select for diffs], Tue Nov 20 10:19:29 2018 UTC (5 years, 4 months ago) by adam
Branch: MAIN
Changes since 1.91: +4 -2 lines
Diff to previous 1.91 (colored) to selected 1.19 (colored)

GraphicsMagick: updated to 1.3.31

1.3.31:

Special Issues:
Firmware and operating system updates to address the Spectre vulnerability (and possibly to some extent the Meltdown vulnerability) have substantially penalized GraphicsMagick's OpenMP performance. Performance is reduced even with GCC 7 and 8's improved optimizers. There does not appear to be anything we can do about this.
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, 292 issues have been opened by oss-fuzz and 279 of those issues have been resolved. 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:
See above note about oss-fuzz fixes.
CINEON: Fix unexpected hang on a crafted Cineon image. SourceForge issue 571.
Drawing recursion is limited to 100 and may be tuned via the MAX_DRAWIMAGE_RECURSION pre-processor definition.
Fix reading MIFF files using legacy keyword 'color-profile' for ICC color profile as was used by ImageMagick 4.2.9.
Fix reading/writing files when 'magick' is specified in lower case. This bug was a regression in 1.3.30.

New Features:
TIFF: Support Zstd compression in TIFF. This requires libtiff 4.0.10 or later.
TIFF: Support WebP compression in TIFF. This requires libtiff 4.0.10 or later.

API Updates:
MagickMonitor() is marked as deprecated. Code should not be using this function any more.

Feature improvements:
The progress monitor callbacks (registered using MagickMonitor() or MagickMonitorFormatted()) are serialized via a common semaphore rather than via critical sections in OpenMP loops. OpenMP loops are updated to use OpenMP 'atomic' and 'flush' to update shared loop variables rather than using a OpenMP 'critical' construct, reducing contention. Performance on some targets is observed to have been improved by this change.

Build Changes:
There was already a 'compare' command installed with the '--enable-magick-compat' configure option was used but it did not function. Now it functions. There was no compare command in ImageMagick 5.5.2 and this compare command is only roughly similar to a compare command in some subsequent ImageMagick release.
Removed Remove Ghostscript library support (--with-gslib) from configure script. The 'HasGS' pre-processor defines which were enabled by this remain in the source code so it is still possible to use this library if absolutely necessary (e.g. CPPFLAGS=-DHasGS LIBS=-lgs).
No longer explicitly link with the OpenMP library when it will be supplied already due to CFLAGS.

Behavior Changes:
JPEG: Libjpeg-turbo is allowed 1/5th the memory resource limit provided for Graphicsmagick via the cinfo->mem->max_memory_to_use option, which is part of the IJG JPEG API/ABI, but usually not supported there. This feature works for libjpeg-turbo 1.5.2 and later. Limiting the memory usage is useful since libjpeg-turbo may otherwise consume arbitrary amounts of memory even before Graphicsmagick is informed of the image dimensions.
JPEG: The maximum number of JPEG progressive scans is limited to 50. Otherwise some technically valid files could be read for almost forever.

Revision 1.91 / (download) - annotate - [select for diffs], Wed Nov 14 22:21:34 2018 UTC (5 years, 4 months ago) by kleink
Branch: MAIN
Changes since 1.90: +2 -2 lines
Diff to previous 1.90 (colored) to selected 1.19 (colored)

Revbump after cairo 1.16.0 update.

Revision 1.90 / (download) - annotate - [select for diffs], Mon Nov 12 03:51:16 2018 UTC (5 years, 4 months ago) by ryoon
Branch: MAIN
Changes since 1.89: +2 -2 lines
Diff to previous 1.89 (colored) to selected 1.19 (colored)

Recursive revbump from hardbuzz-2.1.1

Revision 1.89 / (download) - annotate - [select for diffs], Wed Aug 22 09:45:10 2018 UTC (5 years, 7 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3
Changes since 1.88: +2 -1 lines
Diff to previous 1.88 (colored) to selected 1.19 (colored)

Recursive bump for perl5-5.28.0

Revision 1.88 / (download) - annotate - [select for diffs], Sun May 6 10:03:33 2018 UTC (5 years, 10 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2
Changes since 1.87: +1 -2 lines
Diff to previous 1.87 (colored) to selected 1.19 (colored)

GraphicsMagick: updated to 1.3.29

1.3.29:
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, 180 issues have been opened by oss-fuzz and 173 of those issues have been resolved. 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.
JNG: Require that the embedded JPEG image have the same dimensions as the JNG image as provided by JHDR. Avoids a heap write overflow.
MNG: Arbitrarily limit the number of loops which may be requested by the MNG LOOP chunk to 512 loops, and provide the '-define mng:maximum-loops=value' option in case the user wants to change the limit. This fixes a denial of service caused by large LOOP specifications.

Bug fixes:
Many oss-fuzz fixes are bug fixes.
DICOM: Pre/post rescale functions are temporarily disabled (until the implementation is fixed).
JPEG: Fix regression in last release in which reading some JPEG files produces the error "Improper call to JPEG library in state 201".
ICON: Some DIB-based Windows ICON files were reported as corrupt to an unexpectedly missing opacity mask image.
In-memory Blob I/O: Don't implicitly increase the allocation size due to seek offsets.
MNG: Detect and handle failure to allocate global PLTE. Fix divide by zero.
DrawGetStrokeDashArray(): Check for failure to allocate memory.
BlobToImage(): Now produces useful exception reports to cover the cases where 'magick' was not set and the file format could not be deduced from its header.

API Updates:
Wand API: Added MagickIsPaletteImage(), MagickIsOpaqueImage(), MagickIsMonochromeImage(), MagickIsGrayImage(), MagickHasColormap() based on contributions by Troy Patteson.
New structure ImageExtra added and Image 'clip_mask' member is replaced by 'extra' which points to private ImageExtra allocation. The ImageGetClipMask() function now provides access to the clip mask image.
New structure DrawInfoExtra and DrawInfo 'clip_path' is replaced by 'extra' which points to private DrawInfoExtra allocation. The DrawInfoGetClipPath() function now provides access to the clip path.
New core library functions: GetImageCompositeMask(), CompositeMaskImage(), CompositePathImage(), SetImageCompositeMask(), ImageGetClipMask(), ImageGetCompositeMask(), DrawInfoGetClipPath(), DrawInfoGetCompositePath()
Deprecated core library functions: RegisterStaticModules(), UnregisterStaticModules().

Feature improvements:
Static modules (in static library or shared library without dynamically loadable modules) are now lazy-loaded using the same external interface as the lazy-loader for dynamic modules. This results in more similarity between the builds and reduces the fixed initialization overhead by only initializing the modules which are used.
SVG: The quality of SVG support has been significantly improved due to the efforts of Greg Wolfe.
FreeType/TTF rendering: Rendering fixes for opacity.

Revision 1.87 / (download) - annotate - [select for diffs], Tue Apr 17 22:29:32 2018 UTC (5 years, 11 months ago) by wiz
Branch: MAIN
Changes since 1.86: +2 -2 lines
Diff to previous 1.86 (colored) to selected 1.19 (colored)

Add p11-kit to gnutls/bl3.mk and bump dependencies.

Revision 1.86 / (download) - annotate - [select for diffs], Mon Apr 16 14:33:50 2018 UTC (5 years, 11 months ago) by wiz
Branch: MAIN
Changes since 1.85: +2 -2 lines
Diff to previous 1.85 (colored) to selected 1.19 (colored)

Recursive bump for new fribidi dependency in pango.

Revision 1.85 / (download) - annotate - [select for diffs], Mon Mar 12 11:15:32 2018 UTC (6 years ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2018Q1-base, pkgsrc-2018Q1
Changes since 1.84: +2 -2 lines
Diff to previous 1.84 (colored) to selected 1.19 (colored)

Recursive bumps for fontconfig and libzip dependency changes.

Revision 1.84 / (download) - annotate - [select for diffs], Sun Jan 28 20:10:36 2018 UTC (6 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.83: +2 -1 lines
Diff to previous 1.83 (colored) to selected 1.19 (colored)

Bump PKGREVISION for gdbm shlib major bump

Revision 1.83 / (download) - annotate - [select for diffs], Tue Dec 19 08:09:29 2017 UTC (6 years, 3 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2017Q4-base, pkgsrc-2017Q4
Changes since 1.82: +2 -3 lines
Diff to previous 1.82 (colored) to selected 1.19 (colored)

GraphicsMagick: updated to 1.3.27a

1.3.27:
Security Fixes:
* CMYK: Fix heap overwrites in raw CMYK writer.  Fix heap overwrites
  in raw CMYK reader (noticed when doing montage).
* GIF: Assure that global colormap is initialized.
* DescribeImage(): Fix possible heap write overflow when describing
  visual image directory. Fix possible heap read overflow while
  accessing heap data, and possible information disclosure while
  describing the IPTC profile.
* DICOM: Fix huge memory allocation based on bogus length value (DOS
  opportunity).
* DrawDashPolygon(): Fix heap out of bounds read in render code.
* GRAY: Fix heap overwrites in raw GRAY reader (noticed when doing
  montage).
* JNG: Fix heap overruns.  Fix assertions.
* JNG: Prevent a crash due to zero-length color_image while reading a
  JNG image. (CVE-2017-11102).  Reject JNG files with unreasonable
  dimensions given the file size (avoid DOS).
* JNX: Fix DOS due to excessive memory allocations with corrupt file.
* JPEG: Do not allocate backing image pixels until a scanline has been
  successfully read.  Avoids DOS opportunity with suitably
  manufactured file.
* MAP: Fix null pointer dereference or segmentation violation.
* MAT: Fix heap write overflow.
* MNG: Reject over-large (65k by 65k) image.  Fix heap overwrites.
* PAM: Fix heap buffer overflow in PAM writer for 1 bit/sample + alpha.
* PICT: Fix excessive memory allocation due to malformed image file.
* PNG: Fix heap buffer overflow in PNG writer when promoting from
  indexed PNG to RGBA.
* PNM: Fix DOS due to excessive memory allocations with corrupt file.
* RGB: Fix heap overwrite in raw RGB writer. Fix heap overwrites in
  raw RGB reader (noticed when doing montage).
* RLE: Fix DOS opportunities due to false claims in image header.  Fix
  heap out of bounds read.
* SFW: Avoid possible heap write overflow.
* SUN: Fix heap read overflow.  Fix DOS due to excessive memory
  allocations with corrupt file.
* SVG: Fix heap write overflow.
* TIFF: Use heuristics to avoid DOS (excessive memory use) due to
  false claims by input file.  It is possible that this may reject
  some valid files.  Fix possible small heap overwrite beyond the
  allocated scanline buffer due to the NumberOfObjectsInArray() macro
  rounding up rather than down.
* UIL: Fix heap overwrite in writer.
* WPG: Fix DOS issues (memory, disk space, CPU time) due to
  insufficient validations.  Fix heap overwrites.
* XBM: Fix DOS issue where code remains stuck in loop and does not
  return.
* XV 332 (PNM): Fix null pointer dereference due to malformed file.
* TracePSClippingPath()/TraceSVGClippingPath(): Fix heap out of bounds
  read.
* Validate path entries in the MAGICK_CODER_MODULE_PATH and
  MAGICK_FILTER_MODULE_PATH environment variables and convert all
  paths to real paths if possible. This avoids possible use of
  relative paths to load modules (a possible security issue), or the
  possibility of adding a directory which was in the path, but
  missing, and may improve efficiency by removing non-existent paths.

Bug fixes:
* AVS: Memory leaks eliminated.
* CINEON: Fix possible use of NULL pointer.
* CMYK: Memory leaks eliminated.
* CUT: Memory leaks eliminated.  Fix possible use of NULL pointer.
* DCM: Fix possible use of NULL pointer.
* DrawImage(): Avoid "negative" strncpy().  This seems to be benign
  with glibc but perhaps not with other implementations.
* DPX: Memory leaks eliminated.
* EMF: Fix possible use of NULL pointer.
* FindMagickModule(): Fix possible use of NULL pointer.
* FITS: Fix memory leak.
* GIF: Fix memory leak.
* HDF: Memory leaks eliminated.
* HISTOGRAM: Fix memory leak.
* JNG: Memory leaks eliminated. Memory use after free and double-free
  issues eliminated.  Error reporting fixes.
* Magick::Options::strokeDashArray(): Fix possible use of NULL pointer.
* MagickXFileBrowserWidget(): Fix possible use of NULL pointer.
* MAT: Memory leaks eliminated.
* MagickMapCloneMap(): Fix possible assertion failure.
* MNG: Memory use after free issues eliminated.  Fix possible use of
  NULL pointer.  Fix memory leaks.
* MontageImageCommand(): Fix memory leaks.
* MPC: Fix memory leak in writer.
* MPEG: Fix memory leaks in writer.
* MTV: Memory leaks eliminated.
* NTRegistryKeyLookup(): Fix possible use of NULL pointer.
* NTGetTypeList(): Fix possible use of NULL pointer.
* PCD: Memory leaks eliminated.
* PCL: Fix null pointer dereference in PCL writer.
* PCX: Memory leaks eliminated.
* PALM: Fix possible use of NULL pointer. Fix memory leak.
* PICT: Memory leaks eliminated.
* PNG: Fix small (one-off) heap read overflow.
* PNM: Fix memory leaks.
* PS: Fix use of null pointer in error path.
* PWP: Fix possible use of null pointer.
* ReplaceImageColormap(): Throw an exception rather than assertion if
  the input image is not colormapped.
* RGB: Fix memory leak.
* SegmentImage(): Fix possible use of NULL pointer.
* SetImageProfile(): Fix possible assertion failure.
* SGI: Check for EOF while reading SGI file header.
* SUN: Fix memory leak.
* TIFF: Fix possible use of NULL pointer.  Fix memory leaks in writer.
* TIM: Fix memory leak.
* TOPOL: Fix possible use of NULL pointer.  Fix memory leaks.
* VIFF: Fix memory leak.
* WEBP: Detect partial write to output file.
* WPG: Fix possible use of null pointer. Fix excessive use of disk
  resources due to insufficient validations.
* WriteImage(): Restore use of GetBlobStatus() to test if an I/O error
  was encountered while writing output file. This assures that I/O
  failure in writers which do not themselves verify writes is assured
  to be reported.
* WMF: Memory use after free issues eliminated.
* YUV: Fix memory leaks.

New Features:
* PNG: Implemented eXIf chunk support.
* WEBP: Add support for EXIF and ICC metadata provided that at least
  libwebp 0.5.0 is used.
* Magick++ Image autoOrient(): New Image method to auto-orient an
  image so it looks right-side up by default.

Windows Delegate Updates/Additions:
* Libtiff is updated to libtiff 4.0.9.

Build Changes:
* JPEG/PNG: The SETJMP_IS_THREAD_SAFE definition is used to determine
  if setjmp/longjmp are thread safe.  If these interfaces are thread
  safe, then concurrent reads/writes are possible.  This definition is
  false for Solaris but true for Linux.  JPEG and PNG will be fully
  concurrent if this definition is enabled.

Behavior Changes:
* PALM: PALM writer is disabled.
* ThrowLoggedException(): Capture the first exception at
  ErrorException level or greater, or only capture exception if it is
  more severe than an already reported exception.
* DestroyJNG(): This internal function is now declared static and is
  removed from shared library or DLL namespace.

Revision 1.82 / (download) - annotate - [select for diffs], Thu Nov 23 17:19:42 2017 UTC (6 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.81: +2 -1 lines
Diff to previous 1.81 (colored) to selected 1.19 (colored)

recursive bump for libxkbcommon removal from at-spi2-core

Revision 1.80.4.1 / (download) - annotate - [select for diffs], Sun Jul 23 19:52:42 2017 UTC (6 years, 8 months ago) by spz
Branch: pkgsrc-2017Q2
Changes since 1.80: +1 -2 lines
Diff to previous 1.80 (colored) next main 1.81 (colored) to selected 1.19 (colored)

Pullup ticket #5518 - requested by taca
graphics/GraphicsMagick: security update

Revisions pulled up:
- graphics/GraphicsMagick/Makefile                              1.81
- graphics/GraphicsMagick/Makefile.common                       1.17
- graphics/GraphicsMagick/PLIST                                 1.25
- graphics/GraphicsMagick/distinfo                              1.43

-------------------------------------------------------------------
   Module Name:	pkgsrc
   Committed By:	adam
   Date:		Sun Jul  9 20:02:28 UTC 2017

   Modified Files:
   	pkgsrc/graphics/GraphicsMagick: Makefile Makefile.common PLIST distinfo
   	pkgsrc/graphics/p5-GraphicsMagick: Makefile

   Log Message:
   1.3.26:

   Security Fixes:
   ---------------
   DPX: Fix excessive use of memory (DOS issue) due to file header claiming large image dimensions but insufficient backing data. (CVE-2017-10799).
   JNG: Fix memory leak when reading invalid JNG image (CVE-2017-8350).
   MAT: Fix excessive use of memory (DOS issue) due to continuing processing with insufficient data and claimed large image size. Verify each file extent to make sure that it is within range of file size. (CVE-2017-10800).
   META: Fix heap overflow while parsing 8BIM chunk (CVE-2016-7800).
   PCX: Fix denial of service issue.
   RLE: Fix abnomally slow operation (denial of service issue) with intentionally corrupt colormapped file.
   PICT: Fix possible buffer overflow vulnerability given suitably truncated input file.
   PNG: Enforce spec requirement that the dimensions of the JPEG embedded in a JDAT chunk must match the JHDR dimensions (CVE-2016-9830).
   PNG: Avoid NULL dereference when MAGN chunk processing fails.
   SCT: Fix stack-buffer read overflow (underflow?) while reading SCT header.
   SGI: Fix denial of service issues. Delay large memory allocations until file header has fully passed sanity checks.
   TIFF: Fix out of bounds read when reading CMYKA TIFF which claims to have only 2 samples per pixel (CVE-2017-6335).
   TIFF: Fix out of bounds read when reading RGB TIFF which claims to have only 1 sample per pixel (CVE-2017-10794).
   WPG: Fix heap overflow (CVE-2016-7996). Fix assertion crash (CVE-2016-7997).

   Bug fixes:
   ----------
   DifferenceImage(): Fix Fix all-black difference image if an input file is colormapped.
   EXIF orientation was not being properly detected for some files.
   -frame: The import command -frame handling was improperly implemented and was using already freed data.
   GIF: Fixes for "Excessive LZW string data" problem.
   Magick++: Bug fixes to PathSmoothCurvetoRel::operator() and PathSmoothCurvetoRel::operator().
   PAM: Support writing GRAYSCALE PAM format.
   PNG: Fix memory leaks.
   SVG: Fixed a memory leak. Fixed a possible null pointer dereference.
   TclMagick: Problem that TkMagick could not resolve functions from TclMagick under Linux is fixed.
   TclMagick: Fix parser validatation in magickCmd() to avoid crash given a syntax error.
   TIFF: Fix for reading old JPEG files (avoids "Improper call to JPEG library in state 0. (LibJpeg).").
   TXT: Fixed memory leak.
   XCF: Error checking is improved.

   New Features:
   -------------
   EXIF rotation: Support is added such that the EXIF orientation tag is updated when the image is rotated.
   MAT: Now support reading multiple images from Matlab V4 format.
   Magick++: Orientation method now updates orientation in EXIF profile, if it exists.
   Magick++: Added Image attribute method which accepts a 'char *' argument, and will remove the attribute if the value argument is NULL.
   -orient: The -orient command line option now also updates the orientation in the EXIF profile, if it exists.
   PGX: Support PGX JPEG 2000 format for reading and writing (within the bounds of what JasPer supports).
   Wand API: Added MagickAutoOrientImage(), MagickGetImageOrientation(), MagickSetImageOrientation(), MagickRemoveImageOption(), and MagickClearException().


   To generate a diff of this commit:
   cvs rdiff -u -r1.80 -r1.81 pkgsrc/graphics/GraphicsMagick/Makefile
   cvs rdiff -u -r1.16 -r1.17 pkgsrc/graphics/GraphicsMagick/Makefile.common
   cvs rdiff -u -r1.24 -r1.25 pkgsrc/graphics/GraphicsMagick/PLIST
   cvs rdiff -u -r1.42 -r1.43 pkgsrc/graphics/GraphicsMagick/distinfo

Revision 1.81 / (download) - annotate - [select for diffs], Sun Jul 9 20:02:28 2017 UTC (6 years, 8 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2017Q3-base, pkgsrc-2017Q3
Changes since 1.80: +1 -2 lines
Diff to previous 1.80 (colored) to selected 1.19 (colored)

1.3.26:

Security Fixes:
---------------
DPX: Fix excessive use of memory (DOS issue) due to file header claiming large image dimensions but insufficient backing data. (CVE-2017-10799).
JNG: Fix memory leak when reading invalid JNG image (CVE-2017-8350).
MAT: Fix excessive use of memory (DOS issue) due to continuing processing with insufficient data and claimed large image size. Verify each file extent to make sure that it is within range of file size. (CVE-2017-10800).
META: Fix heap overflow while parsing 8BIM chunk (CVE-2016-7800).
PCX: Fix denial of service issue.
RLE: Fix abnomally slow operation (denial of service issue) with intentionally corrupt colormapped file.
PICT: Fix possible buffer overflow vulnerability given suitably truncated input file.
PNG: Enforce spec requirement that the dimensions of the JPEG embedded in a JDAT chunk must match the JHDR dimensions (CVE-2016-9830).
PNG: Avoid NULL dereference when MAGN chunk processing fails.
SCT: Fix stack-buffer read overflow (underflow?) while reading SCT header.
SGI: Fix denial of service issues. Delay large memory allocations until file header has fully passed sanity checks.
TIFF: Fix out of bounds read when reading CMYKA TIFF which claims to have only 2 samples per pixel (CVE-2017-6335).
TIFF: Fix out of bounds read when reading RGB TIFF which claims to have only 1 sample per pixel (CVE-2017-10794).
WPG: Fix heap overflow (CVE-2016-7996). Fix assertion crash (CVE-2016-7997).

Bug fixes:
----------
DifferenceImage(): Fix Fix all-black difference image if an input file is colormapped.
EXIF orientation was not being properly detected for some files.
-frame: The import command -frame handling was improperly implemented and was using already freed data.
GIF: Fixes for "Excessive LZW string data" problem.
Magick++: Bug fixes to PathSmoothCurvetoRel::operator() and PathSmoothCurvetoRel::operator().
PAM: Support writing GRAYSCALE PAM format.
PNG: Fix memory leaks.
SVG: Fixed a memory leak. Fixed a possible null pointer dereference.
TclMagick: Problem that TkMagick could not resolve functions from TclMagick under Linux is fixed.
TclMagick: Fix parser validatation in magickCmd() to avoid crash given a syntax error.
TIFF: Fix for reading old JPEG files (avoids "Improper call to JPEG library in state 0. (LibJpeg).").
TXT: Fixed memory leak.
XCF: Error checking is improved.

New Features:
-------------
EXIF rotation: Support is added such that the EXIF orientation tag is updated when the image is rotated.
MAT: Now support reading multiple images from Matlab V4 format.
Magick++: Orientation method now updates orientation in EXIF profile, if it exists.
Magick++: Added Image attribute method which accepts a 'char *' argument, and will remove the attribute if the value argument is NULL.
-orient: The -orient command line option now also updates the orientation in the EXIF profile, if it exists.
PGX: Support PGX JPEG 2000 format for reading and writing (within the bounds of what JasPer supports).
Wand API: Added MagickAutoOrientImage(), MagickGetImageOrientation(), MagickSetImageOrientation(), MagickRemoveImageOption(), and MagickClearException().

Revision 1.80 / (download) - annotate - [select for diffs], Thu Mar 9 10:47:24 2017 UTC (7 years ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2017Q2-base, pkgsrc-2017Q1-base, pkgsrc-2017Q1
Branch point for: pkgsrc-2017Q2
Changes since 1.79: +3 -3 lines
Diff to previous 1.79 (colored) to selected 1.19 (colored)

Make pkg-config a runtime dependency so GraphicsMagick*config work.

Bump PKGREVISION.

Revision 1.79 / (download) - annotate - [select for diffs], Tue Feb 28 15:20:04 2017 UTC (7 years ago) by ryoon
Branch: MAIN
Changes since 1.78: +2 -1 lines
Diff to previous 1.78 (colored) to selected 1.19 (colored)

Recursive revbump from graphics/libwebp

Revision 1.78 / (download) - annotate - [select for diffs], Wed Sep 7 06:29:31 2016 UTC (7 years, 6 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3
Changes since 1.77: +1 -2 lines
Diff to previous 1.77 (colored) to selected 1.19 (colored)

Updated GraphicsMagick to 1.3.25.

1.3.25 (September 5, 2016)
==========================

Special Issues:

* None

Security Fixes:

* EscapeParenthesis(): I was notified by Gustavo Grieco of a heap
  overflow in EscapeParenthesis() used in the text annotation code.
  While not being able to reproduce the issue, the implementation of
  this function is completely redone.

* Utah RLE: Reject truncated/absurd files which caused huge memory
  allocations and/or consumed huge CPU.  Problem was reported by
  Agostino Sarubbo based on testing with AFL.

* SVG/MVG: Fix another case of CVE-2016-2317 (heap buffer overflow) in
  the MVG rendering code (also impacts SVG).

* TIFF: Fix heap buffer read overflow while copying sized TIFF
  attributes.  Problem was reported by Agostino Sarubbo based on
  testing with AFL.

Bug fixes:

* GetToken(): Fix obscure bug (read beyond end of string buffer)
  noticed while parsing a MVG file.  This problem was reported by
  Gustavo Grieco.

* MVG rendering: Fix undesired hard errors when some objects were
  drawn outside of the image bounds.  Requests to draw objects
  entirely outside of the image should be silently ignored.

* MVG/SVG rendering: Fix gradient size sanity checks which were
  causing gradient requests to fail.  Due to a design weakness in that
  gradient images allocate resources rather than being computations at
  point of use, the maximum gradient image size is now hard-limited to
  5000x5000 pixels until the design problem is fixed.  Some SVG icons
  (as small as 8x8 pixels) authored using Inkscape request absurdly
  huge gradients.  Gradient sizes as large as 20,000x20,000 have been
  observed in SVG icon files delivered by packages on an Ubuntu Linux
  system.

* SVG: Fix some memory leaks which occur on parsing error.

New Features:

* None

Feature improvements:

* ElapsedTime(): Use clock_gettime() (when available with default
  linkage) to obtain elapsed time.

* DescribeImage(): Provide 6 digits of seconds precision in in elapsed
  time output.  Previously the resolution was rounded up to a full
  second.

Windows Delegate Updates/Additions:

* webp: Updated bundled libwebp to release 0.5.1.

* libxml: Updated bundled libxml2 to release 2.9.4.

* lcms: Updated bundled lcms2 to release 2.8.

* png: Update bundled libpng to release 1.6.24.

Build Changes:

* OpenMP is properly configured for clang 3.8 using its own '-lomp'
  rather than '-lgomp'.

Behavior Changes:

* SVG: Some SVG files may be rejected due to absurdly large gradient
  requests.

* The 'identify' and 'info' functionality only shows the pixel read
  rate if image was not read in 'ping' mode. Provide 6 digits of
  seconds precision in in elapsed time output.

Revision 1.77 / (download) - annotate - [select for diffs], Sat Jul 9 06:38:19 2016 UTC (7 years, 8 months ago) by wiz
Branch: MAIN
Changes since 1.76: +2 -1 lines
Diff to previous 1.76 (colored) to selected 1.19 (colored)

Bump PKGREVISION for perl-5.24.0 for everything mentioning perl.

Revision 1.76 / (download) - annotate - [select for diffs], Mon Jun 6 11:46:04 2016 UTC (7 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2016Q2-base, pkgsrc-2016Q2
Changes since 1.75: +1 -2 lines
Diff to previous 1.75 (colored) to selected 1.19 (colored)

Updated GraphicsMagick to 1.3.24.

1.3.24 (May 30, 2016)
==========================

.. _`GCC bug 53967` : http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53967

Special Issues:

* A shell exploit (CVE-2016-5118) was discovered associated with a
  filename syntax where file names starting with '|' are intepreted as
  shell commands executed via popen().  Insufficient sanitization in
  the SVG and MVG renderers allows such filenames to be passed through
  from potentially untrusted files.  There might be other ways for
  untrusted inputs to produce such filenames.  Due to this issue,
  support for the feature is removed entirely.

* A shell exploit was discovered associated with the gnuplot delegate
  and which is triggered by the 'gplt' entry in delegates.mgk.  A
  remote exploit is possible if the attacker can cause a provided SVG
  or MVG file to be rendered (or the user opens a provided file).  The
  gnuplot program must be installed in order for the exploit to be
  successful.  It is strongly recommended to remove this entry in all
  delegates.mgk files.

* Due to `GCC bug 53967`_, several key agorithms (e.g. convolution)
  may execute much faster (e.g. 2-3X) for x86-64 and/or when SSE is
  enabled for floating point math (`-mfpmath=sse`) if the GCC option
  `-frename-registers` is used. Default 32-bit builds do not
  experience the problem since they use '387 math.  It is not clear in
  what version of GCC this problem started but it was not noticed by
  the developers until the GCC 4.6 timeframe.  Other compilers do not
  suffer from this bug.  Please lobby the GCC project to fix this
  embarrassing performance bug.

Security Fixes:

* BLOB: Remove support for reading input from a shell command, or
  writing output to a shell command, by prefixing the specified
  filename (containing the command) with a '|'.  This feature provided
  a remote shell execution opportunity.

* DIB: Fixed out of bounds reads.  Added more header validations.

* JNG: File size limits are enforced.

* MAT: Fixed denial of service opportunity.  Fix hang on corrupt deflate stream.

* META: Fixed out of bounds reads and writes.

* MIFF: Fixed thrown assertion.

* MSL: Ignore the file extension on MSL files.  It is necessary to add
  a "msl:" prefix to MSL files to read the as an image.

* MVG: No longer assume that files ending with extension ".mvg" are
  MVG files.  MVG parsing does more validity checking on its input.
  Assure that enough PrimitiveInfo structures are allocated in advance
  to support a given vector path (heap overflow problem).

* PCX: Fixed unreasonable memory allocation due to intentionally
  corrupt file.

* PDB: Fixed a heap buffer overflow and out of bounds read.

* PICT: Fixed an out of bounds write.

* PS: Ghostscript is now always run with -dSAFER for safer execution.

* PSD: Fixed segmentation violations, heap buffer overflows, and out
  of bounds writes.

* RLE: Fixed out of bounds reads and writes.

* ReadImages(): Fixed a possible infinite recursion due to a crafted input file.

* RotateImage(): Fixed thrown assertion.

* SGI: Fixed out of bounds writes.

* SUN: Fixed out of bounds reads and writes.

* SVG: Fixed heap and stack buffer overflows, as well as segmentation
  violations (CVE-2016-2317 and CVE-2016-2318).  Also fixed endless
  loop, unexpectedly large memory allocation, divide by zero, and
  recursion issues.

* TIFF: Fixed an assertion while reading.  Fixed benign heap overflow.

* TMP: Adding a "tmp:" prefix to a filename no longer removes the file
  since this seems dangerous.

* VIFF: Fix excessive memory allocation with intentionally corrupted input file.

* XCF: Fixed a heap buffer overflow.

* XPM: Fixed several heap buffer overflows, and out of bound
  reads/writes.  Also fixed a case of excessive memory allocation.

* delegate.mgk: The default delegate.mgk file has been pared down in
  order to reduce security exposure.

* gnuplot ('gplt' delegate in delegates.mgk): Support for rendering
  gnuplot files is removed since the format is inherently insecure.

* File names: File names starting with a '|' character are no longer
  interpreted as shell commands to be executed as input or output.


Bug fixes:

* BMP: Fix reading 24-bit Microsoft BMP which claims to have a
  colormap.

* FILE: `file://` URLs are properly supported now (they never worked
  before).

* JP2: It is now possible to write lossless JPEG 2000 "JP2" format.

* SVG: Support font-size "medium".

New Features:

* Blob I/O C APIs: Added signed versions of short and long Read/Write
  functions.

* FILE: `file://` URLs are properly supported now (they never worked
  before).

* MAT: Matlab V4 is now partially supported.

* Magick++: Added double-precision xResolution() and yResolution()
  methods to support setting the horizontal and vertical resolution
  with double floating point precision.

* Mogrify now supports a -preserve-timestamp option to preserve file
  access and modification timestamps.

Feature improvements:

Windows Delegate Updates/Additions:

* Updated bundled libpng to release 1.6.19.

* Updated bundled libwebp to release 0.4.4.

* Update bundled libxml2 to release 2.9.3.

* Update bundled freetype to release 2.6.2.

Build Changes:

* Added ``--enable-broken-coders`` configure option to enable file
  format support which may be broken or cause security issues.  The
  PSD format is now classified as "broken" (until it is fixed).

Behavior Changes:

* PSD format is not included in the build by default.

* Files ending with ".mvg" and ".msl" are not assumed to be image
  files by default.

* File names starting with '|' are no longer treated as shell
  commands.

* Gnuplot and POV delegate support is removed from the default
  delegate.mgk file.

Revision 1.75 / (download) - annotate - [select for diffs], Sat Mar 5 11:27:47 2016 UTC (8 years ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2016Q1-base, pkgsrc-2016Q1
Changes since 1.74: +2 -2 lines
Diff to previous 1.74 (colored) to selected 1.19 (colored)

Bump PKGREVISION for security/openssl ABI bump.

Revision 1.74 / (download) - annotate - [select for diffs], Wed Jan 6 10:46:52 2016 UTC (8 years, 2 months ago) by adam
Branch: MAIN
Changes since 1.73: +2 -2 lines
Diff to previous 1.73 (colored) to selected 1.19 (colored)

Revbump after updating graphics/libwebp

Revision 1.73 / (download) - annotate - [select for diffs], Sun Dec 13 07:13:36 2015 UTC (8 years, 3 months ago) by richard
Branch: MAIN
CVS Tags: pkgsrc-2015Q4-base, pkgsrc-2015Q4
Changes since 1.72: +3 -1 lines
Diff to previous 1.72 (colored) to selected 1.19 (colored)

Add libwebp dependency and bump PKGREVISION accordingly.

Revision 1.72 / (download) - annotate - [select for diffs], Wed Nov 25 12:50:43 2015 UTC (8 years, 4 months ago) by jperkin
Branch: MAIN
Changes since 1.71: +2 -5 lines
Diff to previous 1.71 (colored) to selected 1.19 (colored)

Remove mk/find-prefix.mk usage from the graphics category.

The find-prefix infrastructure was required in a pkgviews world where
packages installed from pkgsrc could have different installation
prefixes, and this was a way for a dependency prefix to be determined.

Now that pkgviews has been removed there is no longer any need for the
overhead of this infrastructure.  Instead we use BUILDLINK_PREFIX.pkg
for dependencies pulled in via buildlink, or LOCALBASE/PREFIX where the
dependency is coming from pkgsrc.

Provides a reasonable performance win due to the reduction of `pkg_info
-qp` calls, some of which were redundant anyway as they were duplicating
the same information provided by BUILDLINK_PREFIX.pkg.

Revision 1.71 / (download) - annotate - [select for diffs], Tue Oct 6 16:50:31 2015 UTC (8 years, 5 months ago) by adam
Branch: MAIN
Changes since 1.70: +1 -2 lines
Diff to previous 1.70 (colored) to selected 1.19 (colored)

Changes 1.3.22:

Special Issues:
* Due to GCC bug 53967, several key agorithms (e.g. convolution) may execute much faster (e.g. 2-3X) for x86-64 and/or when SSE is enabled for floating point math (-mfpmath=sse) if the GCC option -frename-registers is used. Default 32-bit builds do not experience the problem since they use '387 math. It is not clear in what version of GCC this problem started but it was not noticed by the developers until the GCC 4.6 timeframe. Other compilers do not suffer from this bug. Please lobby the GCC project to fix this embarrassing performance bug.
* Magick++: Any libraries or applications using Magick++ should be rebuilt in order to use this new release. Libraries and applications will be able to continue to use prior versions of Magick++ without being re-built, while benefiting from updated C libraries, provided that the system supports library versioning.

Security Fixes:
* General Coverity fixes. Some might have security consequences.
* Ghostscript options concatenation is more secure against buffer overflow.
* Windows: Built-in random number generator is now salted using CryptGenRandom(). This improves the robustness of the temporary file allocator.

Bug fixes:
* ...

Revision 1.70 / (download) - annotate - [select for diffs], Fri Jun 12 10:50:08 2015 UTC (8 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2
Changes since 1.69: +2 -1 lines
Diff to previous 1.69 (colored) to selected 1.19 (colored)

Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.

Revision 1.69 / (download) - annotate - [select for diffs], Mon Aug 18 11:13:45 2014 UTC (9 years, 7 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3
Changes since 1.68: +1 -3 lines
Diff to previous 1.68 (colored) to selected 1.19 (colored)

Changes 1.3.20:

Special Issues:

Due to GCC bug 53967, several key agorithms (e.g. convolution) may execute much faster (e.g. 2-3X) for x86-64 and/or when SSE is enabled for floating point math (-mfpmath=sse) if the GCC option -frename-registers is used. Default 32-bit builds do not experience the problem since they use '387 math. It is not clear in what version of GCC this problem started but it was not noticed by the developers until the GCC 4.6 timeframe. Other compilers do not suffer from this bug. Please lobby the GCC project to fix this embarrassing performance bug.

Bug fixes:

Compilation: No longer undefine __attribute__ since this may be used by system or compiler headers and cause problems.
BMP: Alpha channel from BMP3 format was inverted.
PNG: Fix round-trip repeatability issue (due to rounding algorithm) with modern versions of libpng. Prefer the less accurate method which does not alter the image.
PNG: Fix some memory leaks in error-handling paths.
PNM: Scaling of alpha in sub-ranged pixels is fixed.
Wand API: Removed development debug fprintf which causes each drawing primitive to be printed to stderr.
PS, PS2, PS3, PDF: Only use resolution from image or -density if units was properly specified. Without units, resolution is worthless.
PS, PS2, PS3, PDF: Use resolution from image if it appears to be valid.
WebP: Fix inverted return status which caused failure to be reported instead of success.
Rotation clipping/shearing errors for short wide images at some angles is fixed.
-geometry: Deal with resize geometry missing width or height (e.g. '640x' or 'x480') by substituting the missing value with one which preserves the image aspect ratio. This has been documented to be supported since almost the dawn of GraphicsMagick but was not actually supported until now.
-geometry: Support '>' and '<' qualifiers with '@' qualifier to specify if image should be resized if larger or lesser than given area specification.

New Features:

Wand API: MagickSetImageGravity() - New function to set image gravity.
Wand API: MagickGetImageGravity() - New function to get image gravity.
Wand API: MagickSetImageMatte() - New function to set the image matte channel enable flag.
Wand API: MagickGetImageMatte() - New function to read the image matte channel enable flag.
Wand API: MagickSetImageGeometry() - New function to set the image geometry string.
Wand API: MagickGetImageGeometry() - New function to get the image geometry string.
Wand API: MagickOperatorImageChannel() - New function to apply an operator to an image channel.
Magick++ API: New Image::thumbnail() method for fast image resizing, particularly to make thumbnails.
Core C API: Added SetLogMethod() to allow an application/library to specify a function to be called for logging.
Clang/LLVM: Provide support for clang/llvm attribute and builtin specifiers similar to that provided for GCC.
OpenMP: OpenMP native locking and thread specific data is supported via a configuration option (is not the default). This offers a "pure" OpenMP compilation mode. No real value for this compilation mode has been observed yet but it seems worthy to support.
Coders: Added BrokenCoderClass to mark coders which often malfunction or are not very useful in their current condition.
Composition: Added HardLight composition operator, which is now used by PSD and XCF formats, and available via command line, Magick++ API, PerlMagick API, and Wand API.
Composition: Added ScreenCompositePixels composition operator.
Composition: Added missing Photoshop separable compositing operations, Overlay, Exclusion, ColorBurn, ColorDodge, SoftLight, LinearBurn, LinearDodge, LinearLight, VividLight, PinLight, HardMix.
+set: Command line utilities now support +set to remove an existing image attribute.
-format: Support additional format specifiers 'g', 'A', 'C', 'D', 'G', 'H', 'M', 'O', 'P', 'Q', 'T', 'U', 'W', 'X', and '@', similar to the major brand.
-operator: New quantum operators ThresholdBlackNegateQuantumOp and ThresholdWhiteNegateQuantumOp These correspond to -operator "Threshold-Black-Negate" and "Threshold-White-Negate".
TIFF: Now support setting the TIFF "Software" tag for users who do not want to admit to using GraphicsMagick.
WebP: All of the WebP encoder encoder options are now supported by -define arguments.

Feature improvements:

Pixel interpolation quality is greatly improved, with minimal impact on performance. Pixel interpolation now also works well given an alpha channel.
WebP: WebP support is now prepared to compile with most WebP library versions and supports all features except for those pertaining to "RIFF" container support.
Performance Improvements:

Non-integral image rotation performance has been improved by about 40%, with lower memory usage as well.
GradientImage: Update image is_grayscale and is_monochrome flags based on gradient color properties.
Windows Delegate Updates/Additions:

PNG: Libpng 1.6.12 - June 12, 2014.
JPEG: libjpeg 9a of January 19, 2014.
FreeType: FreeType 2.5.3 of March 6, 2014.
WebP: webp 0.4.0 of January 20, 2013.
zlib: zlib 1.2.8 of April 28, 2013.
Build Changes:

--without-threads no longer disables use of OpenMP. Use the already existing option --disable-openmp to disable OpenMP.
Makefiles: Include paths are now exceedingly pedantic to make sure that only the required directories are included.
VisualMagick configure: Improve configure program so that it is possible to select QuantumDepth, OpenMP, and 64-bit build via configure dialog boxes as well as options on the command line. Also automatically detects and deals with similarly named files in subdirectories so that WebP support can now build successfully.
Behavior Changes:

MultiplyCompositePixels: Multiply composition now uses SVG interpretation of how alpha should be handled. No longer does a simple multiply of alpha channel.
Composition: The Difference, Darken, Lighten, and HardLight composition operators were modified to support alpha in their computations.
PNG: Using -optimize no longer triggers palette and depth optimizations since their implementations have been problematic.

Revision 1.68 / (download) - annotate - [select for diffs], Thu Aug 14 15:23:59 2014 UTC (9 years, 7 months ago) by jperkin
Branch: MAIN
Changes since 1.67: +1 -8 lines
Diff to previous 1.67 (colored) to selected 1.19 (colored)

Move GCC optimisation bug workaround to hacks.mk

Revision 1.67 / (download) - annotate - [select for diffs], Thu Aug 14 10:28:28 2014 UTC (9 years, 7 months ago) by jperkin
Branch: MAIN
Changes since 1.66: +9 -2 lines
Diff to previous 1.66 (colored) to selected 1.19 (colored)

On the suggestion of Bob Friesenhahn (GraphicsMagick maintainer) via private
mail, add -frename-registers to CFLAGS when building with GCC 4.* on x86_64
to work around GCC bug 53967 and gain a 2-3X speedup in certain sections.

Bump PKGREVISION.

Revision 1.66 / (download) - annotate - [select for diffs], Thu May 29 23:36:36 2014 UTC (9 years, 10 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2014Q2-base, pkgsrc-2014Q2
Changes since 1.65: +2 -2 lines
Diff to previous 1.65 (colored) to selected 1.19 (colored)

Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.

Revision 1.65 / (download) - annotate - [select for diffs], Wed Feb 12 23:17:58 2014 UTC (10 years, 1 month ago) by tron
Branch: MAIN
CVS Tags: pkgsrc-2014Q1-base, pkgsrc-2014Q1
Changes since 1.64: +3 -1 lines
Diff to previous 1.64 (colored) to selected 1.19 (colored)

Recursive PKGREVISION bump for OpenSSL API version bump.

Revision 1.64 / (download) - annotate - [select for diffs], Wed Jan 1 23:21:34 2014 UTC (10 years, 2 months ago) by adam
Branch: MAIN
Changes since 1.63: +1 -2 lines
Diff to previous 1.63 (colored) to selected 1.19 (colored)

Changes 1.3.19:

Security Fixes:
EPT: Fix crash observed when Ghostscript fails to produce useful output. This was particularly noticeable when Ghostscript was not installed. This crash could be used to cause denial of service.
PNG: With libpng 1.6.X, avoid a crash while copying a PNG with a "known incorrect ICC profile". This crash could be used to cause denial of service.

Bug fixes:
Build: Fix cross-compilation for MinGW64 on Linux build machine.
Build: configure FreeType test no longer insists that <freetype/freetype.h> can be included.
CMS profile: Only delete the CMS transform if it is non-null. Fixes assersion observed when lcms returned a null profile and GraphicsMagick attempted to deallocate it.
Drawing: Improve error handling logic so that drawing returns quickly on pixel access errors rather than plowing on ahead. This avoids problems with SVGs which take seemingly forever to render.
Drawing via C/C++ APIs: BevelJoin no longer causes a MVG parsing error.
EPT: Fix crash observed when Ghostscript fails to produce useful output. This was particularly noticeable when Ghostscript was not installed.
OpenMP: Revert use of omp_set_dynamic() since it caused performance issues when using GCC's GOMP implementation and the number of threads to use is specified.
EXIF profile: Support the SubjectArea EXIF tag.
MIFF writer: PseudoClass format was written incorrectly for depth greater than 8.
MIFF writer: RLE compressed format used inverted alpha from the other subformats and contrary to the MIFF specification.
MIFF reader: Fixes Fixes to be able to read MIFF written by ImageMagick 6.X, including DirectClass grayscale images (except for RLE compressed).
Mosaic: Fixed unsigned underflow problem with -mosaic when page offset is negative and exceeds image width or height, resulting in assertions, out of memory errors, or pixel cache limit errors.
PDF: Consistently initialize Image page width and height to image width and height. While general to all of GraphicsMagick, this change is to assure that the PDF writer computes page dimensioning consistently. PDF page dimensioning was wrong if the image had been resized with -geometry "100%".
PAM: Fix MAXVAL scaling when reading PAM images. PAM was only working correctly for images with 256 or 64k levels.
PNM: PGM "P2" format writer wrote bad output for 8-bit depth.
PNG: With libpng 1.6.X, avoid a crash while copying a PNG with a "known incorrect ICC profile".
PNG: Q8 GM build now correctly reads 16-bit PNG files.
TIFF writer: Try to avoid writing more than 32k strips per image by increasing rows-per-strip since some programs fail to read images with more than 32k strips per image.
TIM reader: PSX TIM reports 8-bit depth (rather than 16).
TTF font rendering: Improve FreeType rendering error logic so that rendering returns immediately on pixel access errors rather than plowing on ahead.
TTF font rendering: Support rendering UTF-8 up to 21-bit code points. Was only supporting 16-bit code points.
Wand API: DrawSetStrokeDashArray() / DrawGetStrokeDashArray(), fix failure to work properly due to this code path never being tested.
Windows Ghostscript: 64-bit GraphicsMagick no longer requires both 32-bit and 64-bit builds of Ghostscript to be installed in order to read Postscript and PDF formats.
XPM reader: Reported depth now depends on the colormap rather than always claiming to be 16-bit.

New Features:
JPEG: Add support for writing 'XMP' profile.
PNM: As a simple non-standard extension to the standard PNM and PAM formats, support writing and reading 32-bit sample depth. Writing such files is only supported by the Q32 build although they may be read by any build.
WebP: Now supports reading and writing Google's WebP format. This feature is not currently supported by the Windows Visual Studio build.

Revision 1.63 / (download) - annotate - [select for diffs], Tue Jun 4 22:16:13 2013 UTC (10 years, 9 months ago) by tron
Branch: MAIN
CVS Tags: pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2
Changes since 1.62: +2 -2 lines
Diff to previous 1.62 (colored) to selected 1.19 (colored)

Try to fix the fallout caused by the fix for PR pkg/47882. Part 3:

Recursively bump package revisions again after the "freetype2" and
"fontconfig" handling was fixed.

Revision 1.62 / (download) - annotate - [select for diffs], Mon Jun 3 10:05:06 2013 UTC (10 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.61: +2 -2 lines
Diff to previous 1.61 (colored) to selected 1.19 (colored)

Bump freetype2 and fontconfig dependencies to current pkgsrc versions,
to address issues with NetBSD-6(and earlier)'s fontconfig not being
new enough for pango.

While doing that, also bump freetype2 dependency to current pkgsrc
version.

Suggested by tron in PR 47882

Revision 1.61 / (download) - annotate - [select for diffs], Fri May 31 12:41:04 2013 UTC (10 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.60: +2 -2 lines
Diff to previous 1.60 (colored) to selected 1.19 (colored)

Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.

Revision 1.60 / (download) - annotate - [select for diffs], Thu Apr 25 03:53:11 2013 UTC (10 years, 11 months ago) by sbd
Branch: MAIN
Changes since 1.59: +2 -2 lines
Diff to previous 1.59 (colored) to selected 1.19 (colored)

For all packages include ghostscript.buildlink3.mk:

s/ghostscript.buildlink3.mk/buildlink3.mk/

Bump PKGREVISIONs

Revision 1.59 / (download) - annotate - [select for diffs], Wed Apr 24 10:06:48 2013 UTC (10 years, 11 months ago) by sbd
Branch: MAIN
Changes since 1.58: +2 -2 lines
Diff to previous 1.58 (colored) to selected 1.19 (colored)

Revbump for all packages that have USE_TOOLS+=gs

Revision 1.58 / (download) - annotate - [select for diffs], Sat Mar 16 22:39:20 2013 UTC (11 years ago) by dholland
Branch: MAIN
CVS Tags: pkgsrc-2013Q1-base, pkgsrc-2013Q1
Changes since 1.57: +2 -1 lines
Diff to previous 1.57 (colored) to selected 1.19 (colored)

Update ghostscript depends.

Revision 1.57 / (download) - annotate - [select for diffs], Mon Mar 11 17:45:05 2013 UTC (11 years ago) by adam
Branch: MAIN
Changes since 1.56: +1 -3 lines
Diff to previous 1.56 (colored) to selected 1.19 (colored)

Changes 1.3.18:
Special Issues:

Due to GCC bug 53967, several key agorithms (e.g. convolution) may execute much faster (e.g. 2-3X) for x86-64 and/or when SSE is enabled for floating point math (-mfpmath=sse) if the GCC option -frename-registers is used. Default 32-bit builds do not experience the problem since they use '387 math. It is not clear in what version of GCC this problem started but it was not noticed by the developers until the GCC 4.6 timeframe. Other compilers do not suffer from this bug.
Security Fixes:

None.
Bug fixes:

Fixed bug with format substitutions if input string ends with a single '%'.
BMP: Fixed an old bug with decoding chromaticity primaries.
PNG: Fixed reading of interlaced images. Fix reading of sub-8-bit palette and grayscale images. Some PNG sub-formats were written incorrectly. Fix crash in PNG8 writer if image colors happened to be non-zero but image was not actually colormapped.
PNG: Configure script now also searches for libpng versions 16 and 17.
TIFF: Fix a crash which was noticed when writing RGBA separated (planar) format.
--enable-symbol-prefix was not prefixing all of the C symbols. Some core C library functions were not prefixed. This option applies to the Wand library API as well now.
C API: When input is from a user-provided file descriptor, the file position is restored after reading the file header bytes. Previously the file position was rewound to the beginning of the file. This allows reading embedded image data from the current offset in a file, and allows continuing to use the stream after GraphicsMagick has returned the image.
C API: It is now possible to invoke CloseBlob() multiple times.
display: Display was supposed to respond to +/-usePixmap, but was not. It was responding to +/-use_pixmap. Now it responds to both.
Windows/VisualMagick: Fix building GraphicsMagick with Intel ICC compiler driven by Visual Studio Professional 2012.
Windows: Avoid a crash and produce a useful diagnostic if Ghostscript is needed but not yet installed.
New Features:

GM utility: New 'batch' command was contributed by Kenneth Xu which supports executing any number of other GM utility sub-commands in a single invokation in a sort of "batch" script. Input may be piped from standard input, from a specified file, or from a 'GM >' command prompt. This utilities front-end allows any other program/script to drive 'gm' using a co-process model and speeds up execution by eliminating utility start-up/shut-down time.
WIN64 (64-bit Windows): Windows 64-bit is now officially supported.
convert/mogrify: Now support -auto-orient to automatically rotate the image upright for viewing based on its current orientation setting. Also support -orient to support setting the current image orientation. Please note that the orientation property of EXIF profiles is not yet updated so the EXIF profile will be wrong after using -auto-orient.
C API: AutoOrientImage(), new New function to automatically orient the image so that it is upright for normal viewing.
Wand API: MagickGetImagePage()/MagickSetImagePage(), new functions to support getting and setting the image page size and offsets.
PNG: Added PNG48 and PNG64 support. Added PNG00 support (png encoder that inherits its color-type and bit-depth from the input, if the input was a PNG datastream).
Feature improvements:

GraphicsMagick TAP tests may now be run stand-alone using Perl's 'prove' TAP test driver.
Performance Improvements:

Detection of glob specifications in file names is more efficient.
Windows Delegate Updates:

None.
Behavior Changes:

ltdl: Libltdl is no longer bundled. Libltdl must be previously installed on the system in order to build the modules configuration.
AppendImages() now converts subsequent images to the colorspace of the first image, and no longer converts the first image to RGB. Instead, it is assumed the user knows what she is doing.
SetImageColorRegion() no longer automatically converts the image to RGB. The user is responsible for assuring that the provided color is in the same colorspace as the image.

Revision 1.56 / (download) - annotate - [select for diffs], Tue Feb 19 00:23:36 2013 UTC (11 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.55: +2 -2 lines
Diff to previous 1.55 (colored) to selected 1.19 (colored)

Bump PKGREVISION for png detection fix.

Revision 1.55 / (download) - annotate - [select for diffs], Sat Feb 16 11:20:00 2013 UTC (11 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.54: +2 -2 lines
Diff to previous 1.54 (colored) to selected 1.19 (colored)

Recursive bump for png-1.6.

Revision 1.54 / (download) - annotate - [select for diffs], Wed Feb 6 23:21:20 2013 UTC (11 years, 1 month ago) by jperkin
Branch: MAIN
Changes since 1.53: +2 -2 lines
Diff to previous 1.53 (colored) to selected 1.19 (colored)

PKGREVISION bumps for the security/openssl 1.0.1d update.

Revision 1.53 / (download) - annotate - [select for diffs], Sat Jan 26 21:36:26 2013 UTC (11 years, 2 months ago) by adam
Branch: MAIN
Changes since 1.52: +3 -1 lines
Diff to previous 1.52 (colored) to selected 1.19 (colored)

Revbump after graphics/jpeg and textproc/icu

Revision 1.52 / (download) - annotate - [select for diffs], Sat Nov 3 20:45:46 2012 UTC (11 years, 4 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.51: +15 -20 lines
Diff to previous 1.51 (colored) to selected 1.19 (colored)

Changes 1.3.17:

Security Fixes:
  * PNG: Fix for CVE-2012-3438. The Magick_png_malloc function in
    coders/png.c in GraphicsMagick 6.7.8-6 does not use the proper
    variable type for the allocation size, which might allow remote
    attackers to cause a denial of service (crash) via a crafted PNG
    file that triggers incorrect memory allocation.
  * Automake (derived): Fix for CVE-2012-3386: The "make distcheck"
    rule in GNU Automake before 1.11.6 and 1.12.x before 1.12.2 grants
    world-writable permissions to the extraction directory, which
    introduces a race condition that allows local users to execute
    arbitrary code via unspecified vectors.

Bug fixes:
  * PNG: Reading sub-8-bit palette images is fixed (images looked
    stretched).
  * SVG: Fixed bug which allowed MVG and SVG files with long vector
    paths to crash the software.
  * SVG: Ignore XML headers rather than rendering them as text.
  * MVG/SVG/WMF/-draw: It is now possible to draw a plain ','
    character.
  * WMF: Fixed a bug which caused wrong centered-text placement.
  * import: Return status was inverted.
  * configure: Don't force that liblzma is used just because libtiff
    is used.

New Features:
  * The configure script now supports a --enable-quantum-library-names
    option to enable that shared library name includes quantum depth
    to allow shared libraries with different quantum depths to
    co-exist in same directory (only one can be used for development).
  * JNX: Support is added for reading the Garmin proprietary Image
    Format.
  * BMP: Support an alpha channel in uncompressed 32-bit BMP.

Feature improvements:
  * -lat: The adaptive threshold algorithm is replaced with a new
     algorithm which scales linearly (rather than quadratically) with
     area size.
  * Tests: Test suite is re-written to use TAP-based tests.
  * GIF: Reader tries to be better at detecting and reporting
    failures.

Performance Improvements:
  * -lat: Adaptive threshold is much faster with large area sizes.

Windows Delegate Updates:
  * Dcraw 9.16 is now included in the build (with JPEG and JPEG2000
    support).
  * Libxml2 is updated to the 2.9.0 release.
  * Libtiff is updated to the 4.0.3 release.
  * Lcms2 is updated to the 2.4 release.
  * Libpng is updated to the 1.5.13 release.

Behavior Changes:
  * Loading modules is only supported for the modules build.
    Previously any build using shared libraries could load modules.
  * Bundled libltdl is now configured as 'installable' rather than
    'convenience'.
  * -enhance: Only filter based on color channels (ignore opacity).
  * BrowseDelegate: Web browser (for viewing help information) now
    defaults to 'xdg-open', but if it is not found, then configure
    will search for firefox, google-chrome, mozilla (in that order).

Revision 1.51 / (download) - annotate - [select for diffs], Sat Oct 6 14:10:39 2012 UTC (11 years, 5 months ago) by asau
Branch: MAIN
Changes since 1.50: +1 -3 lines
Diff to previous 1.50 (colored) to selected 1.19 (colored)

Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.

Revision 1.50 / (download) - annotate - [select for diffs], Wed Oct 3 21:56:07 2012 UTC (11 years, 5 months ago) by wiz
Branch: MAIN
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 (colored) to selected 1.19 (colored)

Bump all packages that use perl, or depend on a p5-* package, or
are called p5-*.

I hope that's all of them.

Revision 1.48.2.1 / (download) - annotate - [select for diffs], Tue Jul 31 18:01:01 2012 UTC (11 years, 7 months ago) by tron
Branch: pkgsrc-2012Q2
Changes since 1.48: +3 -1 lines
Diff to previous 1.48 (colored) next main 1.49 (colored) to selected 1.19 (colored)

Pullup ticket #3884 - requested by wiz
graphics/GraphicsMagick: security patch

Revisions pulled up:
- graphics/GraphicsMagick/Makefile                              1.49
- graphics/GraphicsMagick/distinfo                              1.31
- graphics/GraphicsMagick/patches/patch-coders_png.c            1.3

---
   Module Name:	pkgsrc
   Committed By:	wiz
   Date:		Mon Jul 30 09:25:29 UTC 2012

   Modified Files:
   	pkgsrc/graphics/GraphicsMagick: Makefile distinfo
   Added Files:
   	pkgsrc/graphics/GraphicsMagick/patches: patch-coders_png.c

   Log Message:
   Fix possible security problem. Bump PKGREVISION.

Revision 1.49 / (download) - annotate - [select for diffs], Mon Jul 30 09:25:29 2012 UTC (11 years, 8 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3
Changes since 1.48: +3 -1 lines
Diff to previous 1.48 (colored) to selected 1.19 (colored)

Fix possible security problem. Bump PKGREVISION.

Revision 1.48 / (download) - annotate - [select for diffs], Sun Jun 24 02:03:45 2012 UTC (11 years, 9 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2012Q2-base
Branch point for: pkgsrc-2012Q2
Changes since 1.47: +1 -2 lines
Diff to previous 1.47 (colored) to selected 1.19 (colored)

Update GraphicsMagick to 1.3.16.

1.3.16 (June 24, 2012)
==========================

Security Fixes:

  * Don't translate 'comment' and 'label' attributes if the request is
    made while a file is being read.  Only translate such attributes
    if they come from the command line or API user.

Bug fixes:

  * SWT: SWT reader suffered from a number of implementation errors
         which caused it not to work any more.  Works again.

  * XBM: Fix memory leak observed when reading file in 'ping' mode.

  * Support -trim on images which use a consistent (single color)
    transparent background.  In this case, trim is done based on
    opacity rather than foreground color.

  * Include <sys/types.h> in order to assure that 'size_t' and
    'ssize_t' are declared.  This is necessary since
    MagickExtentImage() uses these types as part of its definition.

  * +repage was not working because parser was insisting that it
    should include an argument.

  * -units was scaling existing resolution the wrong way around
     (i.e. multiplying rather than dividing).

  * PerlMagick: Fix compilation with Perl 5.16.

  * PingBlob(): PingBlob was not working for all cases.  Is now based
    on BlobToImage() for assured reliability.

New Features:

  None

Feature improvements:

  * MAT: Animated movies inside 4D matrices are loaded now.

  * PDF: File base name is used as the document title.

  * PNG: Fix issues observed specifically with libpng 1.5.10.

Performance Improvements:

  * Pixel iterators should be more efficient now if the image uses a
    file-backed cache.

  * Motion blur algorithm does scale well as cores are added so
    include OpenMP support for it by default.

Windows Delegate Updates:

  * JPEG: Updated to IJG 8d release.

  * PNG: Updated to 1.5.11 release

  * TIFF: Updated to 4.0.2 release.

  * Zlib: Updated to 1.2.7 release.

  * libxml2: Updated to 2.8.0 release.

Behavior Changes:

  None

Revision 1.47 / (download) - annotate - [select for diffs], Thu Jun 14 07:45:09 2012 UTC (11 years, 9 months ago) by sbd
Branch: MAIN
Changes since 1.46: +2 -1 lines
Diff to previous 1.46 (colored) to selected 1.19 (colored)

Recursive PKGREVISION bump for libxml2 buildlink addition.

Revision 1.46 / (download) - annotate - [select for diffs], Sun Feb 26 12:23:31 2012 UTC (12 years, 1 month ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2012Q1-base, pkgsrc-2012Q1
Changes since 1.45: +1 -3 lines
Diff to previous 1.45 (colored) to selected 1.19 (colored)

reset PKGREVISION.

Revision 1.45 / (download) - annotate - [select for diffs], Mon Feb 6 12:40:16 2012 UTC (12 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.44: +4 -1 lines
Diff to previous 1.44 (colored) to selected 1.19 (colored)

Revbump for
a) tiff update to 4.0 (shlib major change)
b) glib2 update 2.30.2 (adds libffi dependency to buildlink3.mk)

Enjoy.

Revision 1.44 / (download) - annotate - [select for diffs], Sun Jan 8 05:25:54 2012 UTC (12 years, 2 months ago) by obache
Branch: MAIN
Changes since 1.43: +1 -4 lines
Diff to previous 1.43 (colored) to selected 1.19 (colored)

Update GraphicsMagick to 1.3.13.

While here, remove unwanted buildlink and add lzma option.

1.3.13 (December 24, 2011)
==========================

Security Fixes:

  None

Bug fixes:

  * In I/O blob, don't rewind already open file handle passed to
    OpenBlob() since we don't know the intended state of this file
    handle, and because it prevents appending to an existing file.

  * In AppendImageProfile(), don't leak profile buffer while appending
    a chunk to an existing profile.

  * Fix deadlock in ClonePixelCache() which was caused by using the
    same semaphore pointer in the source and destination images.

  * Removed bogus SyncBlob() code which sometimes caused a crash and
    was not useful.

  * Fixed crash or hang which occured when the user entered CONTROL-C
    while threaded code was being executed.

  * Fix core dump in AcquireOneCacheViewPixelInlined() when the image
    is in CMYK space.

  * In MontageImages (montage), fix crash observed with "-geometry
    x+0+0".

  * The TIFF reader was crashing for images which use the
    TIFFTAG_OPIIMAGEID tag.

  * AppendImages() (-append) was failing when only one image was
    provided.

  * The `animate`, `display`, and `identify` commands now report any
    error only once, and then proceed to the next file name rather
    than quitting.

  * Don't change the locale settings in InitializeMagick() since this
    may cause problems for international users.  API users are still
    responsible for assuring that locale settings don't break floating
    point parsing and output (i.e. floating point decimal needs to be
    '.' rather than ',').

  * RPM build is fixed (PerlMagick build was broken).

  * RPM build installs documentation to expected places on Red Hat
    type systems.

  * Fixes for usage with OpenSolaris.

  * DESTDIR is supported by PerlMagick build.

  * The matte channel was not being properly enabled or respected for
    TXT images.

  * InitializeMagick() and DestroyMagick() are now fully thread safe.

  * When a shear angle was as zero, the shear request was being
    ignored entirely.

  * In DispatchImage(), the `K` channel was always output as black for
    "CMYK" specification unless the image matte flag was True.

  * MATLAB fixes.

  * PNG fixes.

  * PCL fixes for printing bi-level image on Konica-Minolta printers.

  * EPT error handling fixes.

  * JPEG reader was sometimes truncating large IPTC profiles.

  * JPEG writer now handles errors properly rather than allowing
    libjpeg to exit the program (or hanging if driven by Magick++).

  * JPEG reader now treats an unhandled EXP marker as a warning rather
    than a hard error.

  * File open errors are now reliably reported.

  * Improved rendering precision when using the drawing APIs.

  * For the Magick++ Image backgroundColor(), borderColor(), and
    matteColor() methods, preserve the opacity part of the
    user-specified color.

New Features:

  * Add support for drawing text using a bitmap font.

  * benchmark command supports a -stepthreads option to execute the
    specified command with an increasing number of threads to measure
    how an algorithm benefits from threading.  This mode includes a
    column to show the speedup compared with one thread, and the
    Karp-Flatt metric

  * Added Add support for invoking "gs-cmyk" and "gs-cmyka" entries in
    delegates.mgk when ColorSeparationType or ColorSeparationMatteType
    is requested.  These cause Ghostscript to always output CMYK PAM
    format (even if the input file was not in CMYK format).

  * EXIF profiles are preserved when writing JPEG files.

  * The -mosaic command now respects the composition option specified
    by -compose as well as the image background color specified by
    -background.

  * The TXT coder now supports multiple image frames.

  * For image normalization (-normalize), add support for
    histogram-threshold setting to specify the percentage of the
    histogram to discard when computing image normalization parameters
    (default is 0.1%).  For example `-set histogram-threshold 0.01
    -normalize`.

  * Added an `INFO` coder which produces textual image description
    output similar to `identify` but may be used with convert like "gm
    convert myfile info:-".

  * Support application of the PDF crop box via '-define
    pdf:use-cropbox=true'.

  * For PCL printer output, define pcl:fit-to-page in order for the
    printer to scale the image to fit the page.

  * Added order dither 5x5, 6x6, and 7x7 circular dither patterns to
    create a halftone effect.

  * PNM subformats are now reported as the specific subformat rather
    than just "PNM".

  * NetPBM's PAM format is now supported.

  * MacPaint image format reader is added.

  * Added TIFF LZMA compressor support.

  * Added TIFF support for a tiff:group-three-options define to allow
    power-users to set the value of the GROUP3OPTIONS tag.

  * New core C API function SetImageColorRegion() to set the constant
    pixel color for a specified region of the image.

  * New Wand C API function MagickWriteImagesFile() to append images
    to a provided file handle.

  * New Wand C API function MagickSetImageSavedType() to allow
    specifying the storage type used when saving the file (rather than
    changing the current image characteristics).

  * In Wand C API, the functions NewPixelWand(), NewDrawingWand(), and
    NewMagickWand() invoke InitializeMagick() automatically in case
    user forgets to do so.

  * New Wand C API function MagickSetFormat() to allow setting the
    file or blob format before it has been read.

  * New Wand C API function MagickSetDepth() to set the depth used
    when reading from an image format which requires that the depth be
    specified in advance.

Feature improvements:

  * Now compiles properly with libpng 1.4.X and 1.5.X.

  * Lcms 2.X is supported.

Performance Improvements:

  * TGA read performance improved.

  * PNM read/write performance improved.

  * Convolution (-convolve, -sharpen, -guassian, etc.) is faster.

  * Adaptive threshold image (-lat) is faster.

  * Image trimming (-trim) is faster.

Behavior Changes:

  * For DPX format and packed 10 bits, datums are now represented in
    the same (reversed) order for all RGB and YCbCr formats.
    Previously YCbCr 4:4:4 formats were not swapping the word datums
    because the only real-world files encountered did not swap the
    word datums.

  * The -colors, -map, and -monochrome options now take effect
    immediately rather than at the end of all other processing.

  * Removed non-standard multi-frame extension for SGI format.

  * Windows install footprint is more consistent between DLL and
    static builds.

  * LZMA compressed tarball is in 'xz' format rather than deprecated
    'lzma' format.

Revision 1.43 / (download) - annotate - [select for diffs], Tue Nov 1 06:01:25 2011 UTC (12 years, 4 months ago) by sbd
Branch: MAIN
CVS Tags: pkgsrc-2011Q4-base, pkgsrc-2011Q4
Changes since 1.42: +2 -2 lines
Diff to previous 1.42 (colored) to selected 1.19 (colored)

Recursive bump for graphics/freetype2 buildlink addition.

Revision 1.42 / (download) - annotate - [select for diffs], Wed May 18 14:26:26 2011 UTC (12 years, 10 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2
Changes since 1.41: +6 -3 lines
Diff to previous 1.41 (colored) to selected 1.19 (colored)

Moudulalize GraphicsMagick, for let PerlMagick to lightweight.
Bump PKGREVISION.

It introduce bump PKGREVISION of p5-GraphicsMagick.
While here,
 * move distinfo and patches location to Makefile.common.
 * let to exactly linked against installed GraphicsMagick.

Revision 1.41 / (download) - annotate - [select for diffs], Tue May 17 11:44:28 2011 UTC (12 years, 10 months ago) by obache
Branch: MAIN
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored) to selected 1.19 (colored)

out of my control anymore...

Revision 1.40 / (download) - annotate - [select for diffs], Mon May 16 10:00:40 2011 UTC (12 years, 10 months ago) by dmcmahill
Branch: MAIN
Changes since 1.39: +2 -2 lines
Diff to previous 1.39 (colored) to selected 1.19 (colored)

repair PKGREVISION which was messed up in the previous commit

Revision 1.39 / (download) - annotate - [select for diffs], Mon May 16 01:18:54 2011 UTC (12 years, 10 months ago) by dmcmahill
Branch: MAIN
Changes since 1.38: +10 -15 lines
Diff to previous 1.38 (colored) to selected 1.19 (colored)

Add options.mk for GraphicsMagic and add options for building without X
or a few other dependencies.  This is part of PR pkg/43929 from
Edgar Fu

Revision 1.38 / (download) - annotate - [select for diffs], Fri Apr 22 13:42:47 2011 UTC (12 years, 11 months ago) by obache
Branch: MAIN
Changes since 1.37: +2 -2 lines
Diff to previous 1.37 (colored) to selected 1.19 (colored)

recursive bump from gettext-lib shlib bump.

Revision 1.37 / (download) - annotate - [select for diffs], Thu Jan 13 13:36:09 2011 UTC (13 years, 2 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2011Q1-base, pkgsrc-2011Q1
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored) to selected 1.19 (colored)

png shlib name changed for png>=1.5.0, so bump PKGREVISIONs.

Revision 1.36 / (download) - annotate - [select for diffs], Thu Dec 23 11:44:32 2010 UTC (13 years, 3 months ago) by dsainty
Branch: MAIN
CVS Tags: pkgsrc-2010Q4-base, pkgsrc-2010Q4
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored) to selected 1.19 (colored)

Mechanically replace references to graphics/jpeg with the suitable
alternative from mk/jpeg.buildlink3.mk

This allows selection of an alternative jpeg library (namely the x86 MMX,
SSE, SSE2 accelerated libjpeg-turbo) via JPEG_DEFAULT=libjpeg-turbo, and
follows the current standard model for alternatives (fam, motif, fuse etc).

The mechanical edits were applied via the following script:

#!/bin/sh
for d in */*; do
  [ -d "$d" ] || continue
  for i in "$d/"Makefile* "$d/"*.mk; do
    case "$i" in *.orig|*"*"*) continue;; esac
    out="$d/x"
    sed -e 's;graphics/jpeg/buildlink3\.mk;mk/jpeg.buildlink3.mk;g' \
        -e 's;BUILDLINK_PREFIX\.jpeg;JPEGBASE;g' \
        < "$i" > "$out"
    if cmp -s "$i" "$out"; then
      rm -f "$out"
    else
      echo "Edited $i"
      mv -f "$i" "$i.orig" && mv "$out" "$i"
    fi
  done
done

Revision 1.35 / (download) - annotate - [select for diffs], Sun Jun 13 22:44:26 2010 UTC (13 years, 9 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored) to selected 1.19 (colored)

Bump PKGREVISION for libpng shlib name change.
Also add some patches to remove use of deprecated symbols and fix other
problems when looking for or compiling against libpng-1.4.x.

Revision 1.34 / (download) - annotate - [select for diffs], Sat Jun 5 13:30:33 2010 UTC (13 years, 9 months ago) by obache
Branch: MAIN
Changes since 1.33: +9 -2 lines
Diff to previous 1.33 (colored) to selected 1.19 (colored)

* enable jbig support, add dependency to jbigkit.
* ghostscript-font-std part had been moved from ghostscript-fonts to
  urw-fonts.  add dependency on urw-fonts and adjust gs-font-dir.

Bump PKGREVISION (and ABI bump).

Revision 1.33 / (download) - annotate - [select for diffs], Sat Jun 5 12:36:08 2010 UTC (13 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.32: +2 -1 lines
Diff to previous 1.32 (colored) to selected 1.19 (colored)

Fix included path to ghostscript fonts by giving explicit path.
From obache@

Revision 1.32 / (download) - annotate - [select for diffs], Mon May 17 07:53:29 2010 UTC (13 years, 10 months ago) by obache
Branch: MAIN
Changes since 1.31: +2 -1 lines
Diff to previous 1.31 (colored) to selected 1.19 (colored)

Note for LICENSE.

Revision 1.31 / (download) - annotate - [select for diffs], Tue Mar 9 01:19:48 2010 UTC (14 years ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2010Q1-base, pkgsrc-2010Q1
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored) to selected 1.19 (colored)

Update GraphicsMagick to 1.3.12.

1.3.12 (March 8, 2010)
==========================

Security Fixes:

  * Updated libpng Windows sources to 1.2.43 in order to resolve
    CVE-2010-0205 as it pertains to the GraphicsMagick Windows build.

Bug fixes:

  * Filter mode (write to stdout) was completely broken.

  * Should now compile with libpng 1.4.

  * Windows PerlMagick build identified itself as the wrong version.

New Features:

  * None

Feature improvements:

  * None

Performance Improvements:

  * None

Behavior Changes:

  * DCX output format is only written on request.  Previously the PCX
    coder would automatically switch to DCX format if multiple frames
    would be written.

Revision 1.25.4.2 / (download) - annotate - [select for diffs], Mon Feb 22 13:21:41 2010 UTC (14 years, 1 month ago) by tron
Branch: pkgsrc-2009Q4
Changes since 1.25.4.1: +1 -1 lines
Diff to previous 1.25.4.1 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored) to selected 1.19 (colored)

Pullup ticket #3017 - requested by obache
GraphicsMagick: security update

Revisions pulled up:
- graphics/GraphicsMagick/Makefile		1.28-1.29-1.30
- graphics/GraphicsMagick/PLIST			1.14
- graphics/GraphicsMagick/distinfo		1.22-1.24
---
Module Name:	pkgsrc
Committed By:	obache
Date:		Fri Feb  5 05:09:07 UTC 2010

Modified Files:
	pkgsrc/graphics/GraphicsMagick: Makefile PLIST distinfo

Log Message:
Update GraphicsMagick to 1.3.9.

1.3.9 (February 4, 2010)
========================

Security Fixes:

   * None

Bug fixes:

   * Fix "double free" error when using gm import -frame.

   * XPM does not support RGBA color syntax, so return RGB instead.

   * The display '-update' option was only working in conjunction with
     the '-delay' option with a delay setting of 2 or greater.

   * For formats which support multiple frames, output with +adjoing to
     filenames containing a scene specification (e.g. foo%02d.tiff) was
     resulting in wrong output file names.

   * -convolve was crashing rather than reporting an error.

   * Fixed crash if the number of OpenMP threads was reduced from the
     original value via '-limit threads' or omp_set_num_threads().

   * -blur was not blurring the opacity channel for solid-color images.

   * When installing HTML documentation, many files were included which
     are not part of the formatted documentation.

   * Several deleted global string constants are restored with
     deprecated status in order to assure that symbols are not removed
     from the ABI.

New Features:

   * None

Feature improvements:

   * None

Performance Improvements:

   * None

Behavior Changes:

   * There is no longer an implicit 'adjoin' if an output filename
     contains an apparent scene specification (e.g. foo%02d.tiff) and
     multiple files are not needed to save the image..  It is necessary
     to use +adjoin.  For example ``gm convert foo.pdf +adjoin
     %02d.tiff``.

   * -flatten now applies the image background color under the first
     image in the list if it is not already opaque.
---
Module Name:	pkgsrc
Committed By:	obache
Date:		Thu Feb 11 06:43:55 UTC 2010

Modified Files:
	pkgsrc/graphics/GraphicsMagick: Makefile distinfo

Log Message:
Update GraphicsMagick to 1.3.10.

1.3.10 (February 10, 2010)
==========================

Security Fixes:

   * None

Bug fixes:

   * +adjoin was not working correctly for the case when only one image
     frame is present.  With +adjoin and writing one frame to
     "foo%d.jpg" it was outputting "foo%d.jpg" rather than "foo0.jpg".

   * When drawing paths, memory allocation for the points was much
     larger than it needed to be (patch by Vladimir Lukianov).

New Features:

   * None

Feature improvements:

   * None

Performance Improvements:

   * None

Behavior Changes:

   * To reiterate the change which first appeared in 1.3.9, there is no
     longer an implicit +adjoin if the output file name happens to
     contain a %d sequence, or there are multiple frames and the output
     file format only supports storing one frame.  Specify +adjoin if
     scene number substition is desired in the output file names.
---
Module Name:	pkgsrc
Committed By:	obache
Date:		Mon Feb 22 06:10:32 UTC 2010

Modified Files:
	pkgsrc/graphics/GraphicsMagick: Makefile distinfo

Log Message:
Update GraphicsMagick to 1.3.11.

1.3.11 (February 21, 2010)
==========================

Security Fixes:

   * Fixed array underflow on systems using signed char which could
     result in a program crash due to extended characters in filenames
     or in certain file formats.

Bug fixes:

   * Fixed array underflow on systems using signed char which could
     result in a program crash due to extended characters in filenames
     or in certain file formats.

New Features:

   * Added a -thumbnail command to 'convert' and 'mogrify'.  This is a
     faster way to scale down the image when speed is a primary
     concern.

   * Added a -extent command to 'convert' and 'mogrify' which
     composites the image on top of a backing canvas image of solid
     color.

   * Added support for -compose to the 'convert' and 'mogrify', which
     were documented to support it (but did not).

Feature improvements:

   * None

Performance Improvements:

   * Requests for 'Over' and 'Atop' composition are converted to a
     request for the (faster) 'Copy' composition when both images are
     opaque.

Behavior Changes:

   * None

Revision 1.30 / (download) - annotate - [select for diffs], Mon Feb 22 06:10:32 2010 UTC (14 years, 1 month ago) by obache
Branch: MAIN
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored) to selected 1.19 (colored)

Update GraphicsMagick to 1.3.11.

1.3.11 (February 21, 2010)
==========================

Security Fixes:

  * Fixed array underflow on systems using signed char which could
    result in a program crash due to extended characters in filenames
    or in certain file formats.

Bug fixes:

  * Fixed array underflow on systems using signed char which could
    result in a program crash due to extended characters in filenames
    or in certain file formats.

New Features:

  * Added a -thumbnail command to 'convert' and 'mogrify'.  This is a
    faster way to scale down the image when speed is a primary
    concern.

  * Added a -extent command to 'convert' and 'mogrify' which
    composites the image on top of a backing canvas image of solid
    color.

  * Added support for -compose to the 'convert' and 'mogrify', which
    were documented to support it (but did not).

Feature improvements:

  * None

Performance Improvements:

  * Requests for 'Over' and 'Atop' composition are converted to a
    request for the (faster) 'Copy' composition when both images are
    opaque.

Behavior Changes:

  * None

Revision 1.29 / (download) - annotate - [select for diffs], Thu Feb 11 06:43:55 2010 UTC (14 years, 1 month ago) by obache
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored) to selected 1.19 (colored)

Update GraphicsMagick to 1.3.10.

1.3.10 (February 10, 2010)
==========================

Security Fixes:

  * None

Bug fixes:

  * +adjoin was not working correctly for the case when only one image
    frame is present.  With +adjoin and writing one frame to
    "foo%d.jpg" it was outputting "foo%d.jpg" rather than "foo0.jpg".

  * When drawing paths, memory allocation for the points was much
    larger than it needed to be (patch by Vladimir Lukianov).

New Features:

  * None

Feature improvements:

  * None

Performance Improvements:

  * None

Behavior Changes:

  * To reiterate the change which first appeared in 1.3.9, there is no
    longer an implicit +adjoin if the output file name happens to
    contain a %d sequence, or there are multiple frames and the output
    file format only supports storing one frame.  Specify +adjoin if
    scene number substition is desired in the output file names.

Revision 1.28 / (download) - annotate - [select for diffs], Fri Feb 5 05:09:06 2010 UTC (14 years, 1 month ago) by obache
Branch: MAIN
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored) to selected 1.19 (colored)

Update GraphicsMagick to 1.3.9.

1.3.9 (February 4, 2010)
========================

Security Fixes:

  * None

Bug fixes:

  * Fix "double free" error when using gm import -frame.

  * XPM does not support RGBA color syntax, so return RGB instead.

  * The display '-update' option was only working in conjunction with
    the '-delay' option with a delay setting of 2 or greater.

  * For formats which support multiple frames, output with +adjoing to
    filenames containing a scene specification (e.g. foo%02d.tiff) was
    resulting in wrong output file names.

  * -convolve was crashing rather than reporting an error.

  * Fixed crash if the number of OpenMP threads was reduced from the
    original value via '-limit threads' or omp_set_num_threads().

  * -blur was not blurring the opacity channel for solid-color images.

  * When installing HTML documentation, many files were included which
    are not part of the formatted documentation.

  * Several deleted global string constants are restored with
    deprecated status in order to assure that symbols are not removed
    from the ABI.

New Features:

  * None

Feature improvements:

  * None

Performance Improvements:

  * None

Behavior Changes:

  * There is no longer an implicit 'adjoin' if an output filename
    contains an apparent scene specification (e.g. foo%02d.tiff) and
    multiple files are not needed to save the image..  It is necessary
    to use +adjoin.  For example ``gm convert foo.pdf +adjoin
    %02d.tiff``.

  * -flatten now applies the image background color under the first
    image in the list if it is not already opaque.

Revision 1.25.4.1 / (download) - annotate - [select for diffs], Sun Jan 24 11:16:19 2010 UTC (14 years, 2 months ago) by tron
Branch: pkgsrc-2009Q4
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored) to selected 1.19 (colored)

Pullup ticket #2968 - requested by obache
graphics/GraphicsMagick: security update

Revisions pulled up:
- graphics/GraphicsMagick/Makefile		1.27 via patch
- graphics/GraphicsMagick/PLIST			1.13
- graphics/GraphicsMagick/distinfo		1.21
---
Module Name:	pkgsrc
Committed By:	obache
Date:		Fri Jan 22 06:16:18 UTC 2010

Modified Files:
	pkgsrc/graphics/GraphicsMagick: Makefile PLIST distinfo

Log Message:
Update GraphicsMagick to 1.3.8.

1.3.8 (January 21, 2010)
========================

Security Fixes:

   * Fix for CVE-2009-1882 "Integer overflow in the XMakeImage
     function".

   * Fix lockup due to hanging in loop while parsing malformed
     sub-image specification (SourceForge issue 2886560).

   * Libltdl: Updated libtool to 2.2.6b in order to fix security issue.
     Resolves CVE-2009-3736 as it pertains to GraphicsMagick.

Bug fixes:

   * -convolve, -recolor: Validate that user-provided matrix is square
     when parsing -convolve and -recolor commands in order to avoid a
     core dump.

   * CALS: Reading images taller than the image width resulted in a
     failure.

   * ConstituteImage(), DispatchImage(): 'A' and 'T' should indicate
     transparency and 'O' should indicate opacity.  Behavior was
     inconsistent.  In some cases 'O' meant transparency while in other
     cases it meant opacity. Also, in a few cases, matte was not
     getting enabled in the image as it should.

   * DCRAW: Module name was not registered so modules based builds were
     not supporting formats provided via 'dcraw'.

   * GetOptimalKernelWidth1D(), GetOptimalKernelWidth2D(): In the Q32
     build, convolution kernel size was estimated incorrectly for large
     sigmas on 32-bit systems due to arithmetic overflow.  This could
     cause wrong results for -convolve, -blur, -sharpen, and other
     algorithms which use these functions.

   * Image Size: Fixed the ability to pass the image size via the
     filename specification like "myfile.jpg[640x480]" rather than
     needing to use -size.

   * IPTC: Blob data needed to be padded to an even size.  Size is now
     correctly reported.

   * IPTC: Returned IPTC string values were one character too short.

   * Large Files: Large pixel cache files were not working under GNU
     Linux.

   * JP2: Fixed some value scaling problems.

   * JP2: Fix possible crash at exit when Jasper is used by a modules
     build.

   * MPC: is_monochrome and is_grayscale flags were not managed
     properly for the MPC coder.

   * PCL: Page was not always being ejected.

   * PNG: The png8 encoder would fail when trying to write a 1-color
     image.

   * PSD: PSD parser was confused by 0x0 pixel layers, resulting in
     image data corruption of all following layers.

   * -rotate, -shear: Some internally-reported errors were potentially
     being lost.

   * Subrange/stdin: Commands now support reading an image from stdin
     in conjunction with a subrange specification (e.g. "-[1]").

   * Magick++ STL ShadeImage: Implementation was completely botched.

New Features:

   * CALS Type 1 files may now be written (Work contributed by John
     Sergeant).  CALS support is dependent on the TIFF library.

   * GROUP4RAW encoder supports reading/writing RAW Group4 data.

   * JP2: JPEG 2000 may now be written in arbitrary bit depths ranging
     from 2 to 16 rather than just 8 or 16.

   * JPEG: IJG JPEG library version 7 is now supported.

   * JPEG: Added jpeg:block-smoothing and jpeg:fancy-upsampling defines
     to control these JPEG library options.

   * JPEG: Detect and apply colorspaces appropriately for ITU FAX JPEG.

   * Resource Limits: There is now a "threads" resource limit which
     allows specifying the number of OpenMP threads which may be used,
     similar to the OMP_NUM_THREADS environment variable.

   * TIFF: Allow CIELAB TIFF to be read.

   * MagickGetImageAttribute()/MagickSetImageAttribute(): New Wand
     methods to support getting and setting an image attribute.
     Contributed by Mikko Koppanen.

   * ClonePixelWand(): New Wand method to deep-copy an existing pixel
     wand.

   * ClonePixelWands(): New Wand method to deep-copy an array of
     existing pixel wands.

   * MagickCdlImage(): New Wand method to apply the ASC CDL to an
     image.

   * MagickGetImageBoundingBox(): New Wand method to return the crop
     bounding box required to remove any solid-color border from the
     image.

   * MagickGetImageFuzz(), MagickSetImageFuzz(): New Wand methods to
     get and set the color comparison fuzz factor.

   * MagickHaldClutImage(): New Wand method to apply a Hald CLUT to an
     image.

   * MagickSetResolution(): New Wand method to set the wand resolution.

   * MagickSetResolutionUnits(): New Wand method to set the wand
     resolution units.

   * Magick++: Allow Magick++ library to built as a DLL under MinGW and
     Cygwin.  This requires a modern GCC in order for C++ exceptions to
     work.

Feature improvements:

   * Cygwin: Cygwin 1.7 is now supported.

   * JPEG compression settings are preserved (if possible) when
     inserting JPEG blobs into formats which use JPEG.

   * PDF: If the original file used JPEG compression, then use JPEG
     compression with original settings (if possible).

   * TIFF: Update Windows build to use libtiff 3.9.2.

   * X11 Display: Apply a checkerboard pattern underneath transparent
     images which use more than simple binary transparency.

Performance Improvements:

   * Gamma: Performance is improved for Q8 and Q16 builds.  Also
     preserve full precision in Q32 build.

   * String data is dealt with a bit more efficiently (fewer
     allocations, less memory, and less CPU).

Behavior Changes:

   * InitializeMagick() MUST be invoked prior to using any Magick API
     function.  Failure to do so will likely lead to an immediate
     application crash.  This is due to initialization and runtime
     changes intended to improve thread safety and efficiency.
     Previously it was only strongly recommended to invoke
     InitializeMagick().

   * ConstituteImage(), DispatchImage(): 'A' and 'T' should indicate
     transparency and 'O' should indicate opacity.  Behavior was
     inconsistent.  In some cases 'O' meant transparency while in other
     cases it meant opacity. Also, in a few cases, matte was not
     getting enabled in the image as it should.

   * colors.mgk: Is now empty to default and is optional.  Previous
     content is now compiled into the library in an efficient way, but
     existing values may be modified, or new values added by adding
     entries to color.mgk.

   * DisableSlowOpenMP is now the default.  Use --enable-openmp-slow to
     enable OpenMP for algorithms which sometimes run slower rather
     than faster.

   * magic.mgk: This configuration file is no longer used since this
     data is now compiled into the library in an efficient way.

   * modules.mgk: Is now empty to default and is optional.  Previous
     content is now compiled into the library in an efficient way, but
     existing values may be modified, or new values added by adding
     entries to modules.mgk.

   * Third party executables not included in the Visual Studio build
     are no longer bundled in the GraphicsMagick installer.  This means
     that hp2xx.exe, mpeg2dec.exe, and mpeg2enc.exe are no longer
     distributed.

Revision 1.27 / (download) - annotate - [select for diffs], Fri Jan 22 06:16:18 2010 UTC (14 years, 2 months ago) by obache
Branch: MAIN
Changes since 1.26: +2 -3 lines
Diff to previous 1.26 (colored) to selected 1.19 (colored)

Update GraphicsMagick to 1.3.8.

1.3.8 (January 21, 2010)
========================

Security Fixes:

  * Fix for CVE-2009-1882 "Integer overflow in the XMakeImage
    function".

  * Fix lockup due to hanging in loop while parsing malformed
    sub-image specification (SourceForge issue 2886560).

  * Libltdl: Updated libtool to 2.2.6b in order to fix security issue.
    Resolves CVE-2009-3736 as it pertains to GraphicsMagick.

Bug fixes:

  * -convolve, -recolor: Validate that user-provided matrix is square
    when parsing -convolve and -recolor commands in order to avoid a
    core dump.

  * CALS: Reading images taller than the image width resulted in a
    failure.

  * ConstituteImage(), DispatchImage(): 'A' and 'T' should indicate
    transparency and 'O' should indicate opacity.  Behavior was
    inconsistent.  In some cases 'O' meant transparency while in other
    cases it meant opacity. Also, in a few cases, matte was not
    getting enabled in the image as it should.

  * DCRAW: Module name was not registered so modules based builds were
    not supporting formats provided via 'dcraw'.

  * GetOptimalKernelWidth1D(), GetOptimalKernelWidth2D(): In the Q32
    build, convolution kernel size was estimated incorrectly for large
    sigmas on 32-bit systems due to arithmetic overflow.  This could
    cause wrong results for -convolve, -blur, -sharpen, and other
    algorithms which use these functions.

  * Image Size: Fixed the ability to pass the image size via the
    filename specification like "myfile.jpg[640x480]" rather than
    needing to use -size.

  * IPTC: Blob data needed to be padded to an even size.  Size is now
    correctly reported.

  * IPTC: Returned IPTC string values were one character too short.

  * Large Files: Large pixel cache files were not working under GNU
    Linux.

  * JP2: Fixed some value scaling problems.

  * JP2: Fix possible crash at exit when Jasper is used by a modules
    build.

  * MPC: is_monochrome and is_grayscale flags were not managed
    properly for the MPC coder.

  * PCL: Page was not always being ejected.

  * PNG: The png8 encoder would fail when trying to write a 1-color
    image.

  * PSD: PSD parser was confused by 0x0 pixel layers, resulting in
    image data corruption of all following layers.

  * -rotate, -shear: Some internally-reported errors were potentially
    being lost.

  * Subrange/stdin: Commands now support reading an image from stdin
    in conjunction with a subrange specification (e.g. "-[1]").

  * Magick++ STL ShadeImage: Implementation was completely botched.

New Features:

  * CALS Type 1 files may now be written (Work contributed by John
    Sergeant).  CALS support is dependent on the TIFF library.

  * GROUP4RAW encoder supports reading/writing RAW Group4 data.

  * JP2: JPEG 2000 may now be written in arbitrary bit depths ranging
    from 2 to 16 rather than just 8 or 16.

  * JPEG: IJG JPEG library version 7 is now supported.

  * JPEG: Added jpeg:block-smoothing and jpeg:fancy-upsampling defines
    to control these JPEG library options.

  * JPEG: Detect and apply colorspaces appropriately for ITU FAX JPEG.

  * Resource Limits: There is now a "threads" resource limit which
    allows specifying the number of OpenMP threads which may be used,
    similar to the OMP_NUM_THREADS environment variable.

  * TIFF: Allow CIELAB TIFF to be read.

  * MagickGetImageAttribute()/MagickSetImageAttribute(): New Wand
    methods to support getting and setting an image attribute.
    Contributed by Mikko Koppanen.

  * ClonePixelWand(): New Wand method to deep-copy an existing pixel
    wand.

  * ClonePixelWands(): New Wand method to deep-copy an array of
    existing pixel wands.

  * MagickCdlImage(): New Wand method to apply the ASC CDL to an
    image.

  * MagickGetImageBoundingBox(): New Wand method to return the crop
    bounding box required to remove any solid-color border from the
    image.

  * MagickGetImageFuzz(), MagickSetImageFuzz(): New Wand methods to
    get and set the color comparison fuzz factor.

  * MagickHaldClutImage(): New Wand method to apply a Hald CLUT to an
    image.

  * MagickSetResolution(): New Wand method to set the wand resolution.

  * MagickSetResolutionUnits(): New Wand method to set the wand
    resolution units.

  * Magick++: Allow Magick++ library to built as a DLL under MinGW and
    Cygwin.  This requires a modern GCC in order for C++ exceptions to
    work.

Feature improvements:

  * Cygwin: Cygwin 1.7 is now supported.

  * JPEG compression settings are preserved (if possible) when
    inserting JPEG blobs into formats which use JPEG.

  * PDF: If the original file used JPEG compression, then use JPEG
    compression with original settings (if possible).

  * TIFF: Update Windows build to use libtiff 3.9.2.

  * X11 Display: Apply a checkerboard pattern underneath transparent
    images which use more than simple binary transparency.

Performance Improvements:

  * Gamma: Performance is improved for Q8 and Q16 builds.  Also
    preserve full precision in Q32 build.

  * String data is dealt with a bit more efficiently (fewer
    allocations, less memory, and less CPU).

Behavior Changes:

  * InitializeMagick() MUST be invoked prior to using any Magick API
    function.  Failure to do so will likely lead to an immediate
    application crash.  This is due to initialization and runtime
    changes intended to improve thread safety and efficiency.
    Previously it was only strongly recommended to invoke
    InitializeMagick().

  * ConstituteImage(), DispatchImage(): 'A' and 'T' should indicate
    transparency and 'O' should indicate opacity.  Behavior was
    inconsistent.  In some cases 'O' meant transparency while in other
    cases it meant opacity. Also, in a few cases, matte was not
    getting enabled in the image as it should.

  * colors.mgk: Is now empty to default and is optional.  Previous
    content is now compiled into the library in an efficient way, but
    existing values may be modified, or new values added by adding
    entries to color.mgk.

  * DisableSlowOpenMP is now the default.  Use --enable-openmp-slow to
    enable OpenMP for algorithms which sometimes run slower rather
    than faster.

  * magic.mgk: This configuration file is no longer used since this
    data is now compiled into the library in an efficient way.

  * modules.mgk: Is now empty to default and is optional.  Previous
    content is now compiled into the library in an efficient way, but
    existing values may be modified, or new values added by adding
    entries to modules.mgk.

  * Third party executables not included in the Visual Studio build
    are no longer bundled in the GraphicsMagick installer.  This means
    that hp2xx.exe, mpeg2dec.exe, and mpeg2enc.exe are no longer
    distributed.

Revision 1.26 / (download) - annotate - [select for diffs], Mon Jan 18 09:58:55 2010 UTC (14 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.25: +2 -1 lines
Diff to previous 1.25 (colored) to selected 1.19 (colored)

Second try at jpeg-8 recursive PKGREVISION bump.

Revision 1.25 / (download) - annotate - [select for diffs], Sun Sep 20 11:30:58 2009 UTC (14 years, 6 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2009Q4-base, pkgsrc-2009Q3-base, pkgsrc-2009Q3
Branch point for: pkgsrc-2009Q4
Changes since 1.24: +2 -3 lines
Diff to previous 1.24 (colored) to selected 1.19 (colored)

Update GraphicsMagick to 1.3.7.
(CVE-2008-1097 was already fixed by patch-ab in pkgsrc).

1.3.7 (September 17, 2009)
==========================

Security Fixes:

  * PCX: Detect improper rows, columns, or depth.  Fixes CVE-2008-1097
    "Memory corruption in ImageMagick's PCX coder".

  * DrawDashPolygon: Avoid a crash which sometimes occured with tiny
    polygons.

Bug fixes:

  * JPEG: Profile chunks need to be concatentated in order to build
    the whole profile.  This was not working so embedded profiles
    larger than 32K or maybe 64K were being corrupted.  This bug was
    introduced in GraphicsMagick 1.2.

  * Meta: Fix memory leaks.

  * Meta: Work better with with IPTC record 2 blocks and deal better
    with IPTC embedded in an 8BIM profile.  Fixes by John Sergeant.

  * MPC: Fix crash when reading MPC and the input image is modified.

  * PNG: Ensure that the opacity channel is properly initialized.

  * -profile: Lowercase arguments were sometimes not working as
    expected.

  * Topol: Topol reader actually works now and is included in test
    suite.

  * TIFF: Read and write JPEG-compressed grayscale TIFF correctly.

  * VisualMagick configure now works properly when output paths are
    specified.

  * WMF: Eliminate memory leaks.

New Features:

  * MagickWand: New method MagickSetCompressionQuality() to allow
    setting the compression quality.

  * MagickWand: New method CloneDrawingWand() to deep-copy a drawing
    wand.

  * MagickWand: New method DrawGetException() to retrieve information
    regarding the last drawing wand exception (if any).

  * MagickWand: New method DrawClearException() to clear a drawing wand
    exception.

  * Magick++: New Image method cdl() to apply the ASC CDL.

  * Magick++: New Image method colorMatrix() to apply a color matrix
    to the image channels.

  * Magick++: New Image method haldClut)() to apply a color lookup
    table (Hald CLUT) to the image.

  * MSL/Conjure: Added a new 'profile' command which applies, adds, or
    removes one or more IPTC, ICC or generic profiles from a file.
    Work contributed by John Sergeant.

  * Added a 'time' subcommand to provide Unix-style 'time' output when
    a 'time' capability is missing, or the reporting format is
    inconsistent.  For example 'gm time convert ...'.

Feature improvements:

  * ColorMatrixImage(): Add opaque opacity channel when needed.

  * PDF & PS: Use '-type palette' prior to input file name to cause
    Ghostscript to return a dithered colormapped image.

  * PNG: Now compiles with libpng-1.4.0beta74 and later.

  * TIFF: Libtiff in Windows build is upgraded to 3.9.1.  This allows
    GraphicsMagick to read and write 16 and 24 bit float TIFF files.

  * Windows code to find Ghostscript is rewritten from scratch.

Performance Improvements:

  * Drawing of points, lines, and polygons (and complex shapes based
    on these) is now accelerated using OpenMP with excellent speed-up.

  * ICC color transforms now see linear speedup from OpenMP.

  * Rotate: For rotations of 90 or 270 degrees, tile sizes are
    selected more appropriately.

Behavior Changes:

  * No longer clear the exception structure at the start of
    ReadImage() and other similar functions since this sometimes masks
    errors.  The API user is expected to make sure that the exception
    structure is clean prior to invoking a function.

  * SVG: Writer is now disabled since it usually does not work properly.

Revision 1.24 / (download) - annotate - [select for diffs], Wed Aug 26 19:56:40 2009 UTC (14 years, 7 months ago) by sno
Branch: MAIN
Changes since 1.23: +2 -1 lines
Diff to previous 1.23 (colored) to selected 1.19 (colored)

bump revision because of graphics/jpeg update

Revision 1.21.4.1 / (download) - annotate - [select for diffs], Sat Aug 8 22:54:54 2009 UTC (14 years, 7 months ago) by tron
Branch: pkgsrc-2009Q2
Changes since 1.21: +2 -1 lines
Diff to previous 1.21 (colored) next main 1.22 (colored) to selected 1.19 (colored)

Pullup ticket #2857 - requested by obache
GraphicsMagick: security update

Revisions pulled up:
- graphics/GraphicsMagick/Makefile		1.22
- graphics/GraphicsMagick/distinfo		1.18
- graphics/GraphicsMagick/patches/patch-ab	1.1
---
Module Name:	pkgsrc
Committed By:	obache
Date:		Sat Aug  8 04:41:08 UTC 2009

Modified Files:
	pkgsrc/graphics/GraphicsMagick: Makefile distinfo
Added Files:
	pkgsrc/graphics/GraphicsMagick/patches: patch-ab

Log Message:
Add an patch to fixes CVE-2008-1097, taken from upstream repository.
Bump PKGREVISION.

Revision 1.23 / (download) - annotate - [select for diffs], Sat Aug 8 04:45:28 2009 UTC (14 years, 7 months ago) by obache
Branch: MAIN
Changes since 1.22: +1 -2 lines
Diff to previous 1.22 (colored) to selected 1.19 (colored)

Update GraphicsMagick to 1.3.6.

This release fixes many bugs, adds many improvements, and adds new
major features. Quite a few volunteers contributed to this release.

The following are the major changes since the 1.3.5 release:

Security Fixes:

* None.

Bug fixes:

* Composition was failing when the change image overlaps off the
left side of the canvas.

* EPT, PDF, PS: PDF bounding box is sometimes incorrect or not
globally applicable so don't specify bounding box when reading PDF
files.

* OpenMP: Fix (benign) multi-thread cross-contentions (detected by
valgrind's Helgrind).

* TIFF: Fix problem with reading one bit per sample RGB images.

* TIFF: Writer was using rows-per-strip of 8 when writing
JPEG-compressed TIFF. This does not work for vertical
subsampling, and some TIFF readers insist on 16. The
rows-per-strip is now required to be a multiple of 16.

* TIFF: In some cases, the TIFF reader and writer were accessing
planar TIFF in row-order rather than plane-order, which resulted
in sever buffering problems in libtiff, and failure when
compression was used.

* -write now works usefully as documented.

* Temporary file name generator was not random enough, resulting in
some file name collisions for GraphicsMagick processes started at
the same time.

* PerlMagick: Fixed Ping on a BLOB.

* GetImageDepth was leaking memory.

* Convert/mogrify -mask option was leaking memory.

* Mogrify -output-directory option was leaking memory.

* DPX: Fixed memory leak encountered when subsampling to 4:2:2.

* DPX: Values read received insuficient scaling, which round-tripped
correctly, but rounded-down excessively if any image processing
was applied.

New Features:

* Added HRS reader for slow scan TV (contributed by Fojtik Jaroslav).

* Pthreads (POSIX threads) API may now be used under the WIN32 API.

* New access confirmation facility (MagickConfirmAccess) to allow
the API user to monitor and/or block access to files and URLs.
This allows the API user to implement a security policy based on
actual accesses.

* New color matrix function (ColorMatrixImage) to apply a color
matrix similar to Adobe Flash Flash.filters.colorMatrixFilter(),
and Windows GDI+ ColorMatrix class, (order up to 5x5) to the image
pixels. This is accessible via the -recolor command option.

* Added an IDENTITY coder to return a Hald identity CLUT image of
specified order (e.g. "identity:8").

* Added a Hald CLUT capability as described at
http://www.quelsolaar.com/technology/clut.html. This allows a
color transformation to be easily created and replicated on any
number of images. The algorithm is accessed by the -hald-clut
option of 'convert' and 'mogrify'. Original algorithm by Eskil
Steenberg and adapted for GraphicsMagick by Cl?ment Follet, with
additional work by Bob Friesenhahn.

* Added support for the ASC CDL transform. Available as -asc-cdl
via the 'convert' and 'mogrify' subcommands. Original
implementation by Cl?ment Follet but considerably re-worked by Bob
Friesenhahn. Implementation passes the +/- 1 count accuracy
requirement required by the ASC CDL SOP tests.

* Added support for reading CALS Type 1 format (contributed by John
Sergeant). CALS is a standard raster format used by the US
Department of Defense for storing blueprint images.

* Added a random number generation system based on George
Marsaglia's multiply-with-carry generator. Somewhat slower than
rand() but produces better random numbers with a period >2^60.
This is a much better random number generator than the C library
rand() and the algorithm is integrated in a way which maximizes
multi-thread performance.

* The 'compare' command now supports a -maximum-error option to
specify the maximum image error so that it may be used to support
boolean logic in automated test scripts.

* For OpenMP-builds, the '-list resource' output now indicates the
number of threads which will be used.

Feature improvements:

* Image resize now avoids adding "halos" around objects when
resizing an image which contains transparency (patch contributed by
Pavel Merdin).

* DICOM: The DICOM reader is completely re-written and is much more
functional now. A few features (e.g. RLE compression) are still
missing. This work is contributed by John Sergeant.

* EXIF: Unprintable characters in EXIF attribute strings are now
returned using three-digit octal notation. Unknown tags are
identified via their four-character hex value.

* PCL: PCL writer is rewritten to fix many bugs, add support for
compression, add support for 8 bit PseudoClass images, and
dramatically improve usability (work contributed by John Sergeant).

* TIFF: Allow the user to force the returned image to be TrueColor
type for min-is-white and min-is-black TIFF files.

* TIFF: User can now specify the predictor using syntax like
'-define tiff:predictor=2'.

* TIFF: User can now specify the rows-per-strip value when using
JPEG compression.

* TXT: The TXT reader is now capable of reading image files written
by the TXT writer, as well continuing to render ASCII text into an
image (work contributed by Fojtik Jaroslav).

* Utilities @file.txt syntax for including a list of files to use as
an argument now really works as expected. This may be used to
inject any other text into the command line as well. As a result,
the 'mogrify' utility may be invoked on thousands of files at once
while obtaining the list of files to process from a text file.

* The 'mogrify' utility now caches argument images so that they are
loaded only once when mogrify is used to process multiple image
files.

Performance Improvements:

* -median and -noise now see reliable linear speedup as threads are
added.

Behavior Changes:

* PerlMagick is configured but no longer built by default.

* Use '-interlace Line' to produce an interlaced GIF, PNG, or
progressive JPEG.

Revision 1.22 / (download) - annotate - [select for diffs], Sat Aug 8 04:41:07 2009 UTC (14 years, 7 months ago) by obache
Branch: MAIN
Changes since 1.21: +2 -1 lines
Diff to previous 1.21 (colored) to selected 1.19 (colored)

Add an patch to fixes CVE-2008-1097, taken from upstream repository.
Bump PKGREVISION.

Revision 1.19.2.1 / (download) - annotate - [select for diffs], Fri Jan 30 22:41:14 2009 UTC (15 years, 1 month ago) by tron
Branch: pkgsrc-2008Q4
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

Pullup ticket #2670 - requested by obache
GraphicsMagick: security update

Revisions pulled up:
- graphics/GraphicsMagick/distinfo		1.16-1.17
- graphics/GraphicsMagick/Makefile		1.20-1.21
---
Module Name:	pkgsrc
Committed By:	obache
Date:		Fri Jan 16 04:17:38 UTC 2009

Modified Files:
	pkgsrc/graphics/GraphicsMagick: Makefile distinfo

Log Message:
Update GraphicsMagick to 1.3.4.

1.3.4 (January 13, 2009)
=========================

Security Fixes:

  * None.

Bug fixes:

  * Now runs under Windows Vista (as a 32-bit application).

  * Fix for colorspace transform math overflow in Q32 build.

New Features:

  * Windows build supports OpenMP and requires Windows 2000 or later
    (source code still supports Windows '98).

  * Support large files under Windows.

  * Support reading/writing 16 and 24 bit float TIFF files.

  * Support reading/writing 64 bit integer TIFF files.

  * Added "Log", "Max", "Min", and "Pow" options to -operator.

Feature improvements:

  * Debug logging now properly prints 64-bit offset values.

Performance Improvements:

  * Improve resource estimation for Microsoft Windows systems.
---
Module Name:	pkgsrc
Committed By:	obache
Date:		Tue Jan 27 04:38:44 UTC 2009

Modified Files:
	pkgsrc/graphics/GraphicsMagick: Makefile distinfo

Log Message:
Update GraphicsMagick to 1.3.5.

1.3.5 (January 26, 2009)
=========================

Security Fixes:

  * BMP and DIB formats were throwing an assertion for negative height
    values.  This caused the process to crash.

Bug fixes:

  * Don't install Magick++ headers if C++ is disabled.

  * Linux RPM SPEC file needs to always install the loadable module
    .la files or else the modules won't load.

  * Windows runtime DLLs were for the wrong compiler version,
    resulting in failure to execute if the correct runtime DLLs are
    not available.

New Features:

  * None

Feature improvements:

  * FITS: Parsing is more robust.

Performance Improvements:

  * None

Revision 1.21 / (download) - annotate - [select for diffs], Tue Jan 27 04:38:44 2009 UTC (15 years, 2 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2009Q2-base, pkgsrc-2009Q1-base, pkgsrc-2009Q1
Branch point for: pkgsrc-2009Q2
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored) to selected 1.19 (colored)

Update GraphicsMagick to 1.3.5.

1.3.5 (January 26, 2009)
=========================

Security Fixes:

  * BMP and DIB formats were throwing an assertion for negative height
    values.  This caused the process to crash.

Bug fixes:

  * Don't install Magick++ headers if C++ is disabled.

  * Linux RPM SPEC file needs to always install the loadable module
    .la files or else the modules won't load.

  * Windows runtime DLLs were for the wrong compiler version,
    resulting in failure to execute if the correct runtime DLLs are
    not available.

New Features:

  * None

Feature improvements:

  * FITS: Parsing is more robust.

Performance Improvements:

  * None

Revision 1.20 / (download) - annotate - [select for diffs], Fri Jan 16 04:17:38 2009 UTC (15 years, 2 months ago) by obache
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

Update GraphicsMagick to 1.3.4.

1.3.4 (January 13, 2009)
=========================

Security Fixes:

  * None.

Bug fixes:

  * Now runs under Windows Vista (as a 32-bit application).

  * Fix for colorspace transform math overflow in Q32 build.

New Features:

  * Windows build supports OpenMP and requires Windows 2000 or later
    (source code still supports Windows '98).

  * Support large files under Windows.

  * Support reading/writing 16 and 24 bit float TIFF files.

  * Support reading/writing 64 bit integer TIFF files.

  * Added "Log", "Max", "Min", and "Pow" options to -operator.

Feature improvements:

  * Debug logging now properly prints 64-bit offset values.

Performance Improvements:

  * Improve resource estimation for Microsoft Windows systems.

Revision 1.19 / (download) - annotate - [selected], Wed Dec 10 00:48:21 2008 UTC (15 years, 3 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2008Q4-base
Branch point for: pkgsrc-2008Q4
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

Update GraphicsMagick to 1.3.3.

1.3.3 (December 9, 2008)
========================

Security Fixes:

  * None.

Bug fixes:

  * 'identify' was throwing an assertion when used on colormapped
    files (this bug was introduced by 1.3.2).

  * With the -segment option, eliminate trashing the image colors when
    used on huge images.

  * 'identify -format "%c"' now reports the entire comment regardless
    of size.

  * Argument to -convolve is no longer arbitrarily truncated so huge
    convolution kernels may now be specified from the command line.

Performance Improvements:

  * Image segmentation (-segment) is now accelerated using OpenMP and
    uses several other tactics to improve execution performance.

  * 'identify "*"' now successfully works in a 32-bit application when
    used in a directory containing a million files.

  * 'identify' now executes quickly when used on TIFF files.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Nov 30 01:02:50 2008 UTC (15 years, 4 months ago) by obache
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored) to selected 1.19 (colored)

Update GraphicsMagick to 1.3.2.

1.3.2 (November 29, 2008)
=========================

Security Fixes:

  * None.

Bug fixes:

  * -roll was failing for colormapped images.

  * VID: Memory leak fix.

  * PREVIEW: Solarize parameter was wrong.

  * Delegates previously using 'spawn' needed an ampersand so that
    starting the child process does not hang the GUI.

Feature improvements:

  * +profile now supports an exclusion syntax.  For example ``+profile
    '!icm,*'`` removes all of the profiles except for the ICM profile.
    The new syntax also allows multiple profiles to be listed at once.

Performance Improvements:

  * AdaptiveThreshold, Blur, Convolve, and MotionBlur no longer
    process the opacity channel unless the image has one.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Nov 18 00:50:35 2008 UTC (15 years, 4 months ago) by obache
Branch: MAIN
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored) to selected 1.19 (colored)

Update GraphicsMagick to 1.3.1.

1.3.1 (November 17, 2008)
=========================

Security Fixes:

  * None.

Bug fixes:

  * RPM build, Fixes to successfully build binary RPMs for Red Hat
    Linux 4.

  * MSL/conjure, Fix bug with attributes becoming appended to
    themselves.  Fix memory leaks.

Feature improvements:

  * New --disable-openmp-slow configure option for disabling use of
    OpenMP for algorithms which may run slower on operating systems
    with crummy thread libraries.

  * JPEG, Allow user to specify DCT encoding method via
    jpeg:dct-method define.  Also allow control over whether huffman
    encoding is used via jpeg:optimize-coding define.

Performance Improvements:

  * OpenMP (parallel processing) improvements for these functions:

    - Rotate by 90 and 270 degrees (-rotate)

Revision 1.16 / (download) - annotate - [select for diffs], Mon Nov 10 11:24:27 2008 UTC (15 years, 4 months ago) by obache
Branch: MAIN
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored) to selected 1.19 (colored)

Update GraphicsMagick to 1.3.

1.3 (November 9, 2008)
======================

Security fixes:

  * AVI reader: Re-worked to be more robust against crash or DOS.

  * AVS reader: Re-worked to be more robust against crash or DOS.

  * DCM reader: Re-worked to be more robust against crash or DOS.

  * EPT reader: Re-worked to be more robust against crash or DOS.

  * FITS reader: Re-worked to be more robust against crash or DOS.

  * MTV reader: Re-worked to be more robust against crash or DOS.

  * PALM reader: Re-worked to be more robust against crash or DOS.

  * RLA reader: Re-worked to be more robust against crash or DOS.

  * TGA reader: Re-worked to be more robust against crash or DOS.

  * Avoid possible crash in GetImageCharacteristics() when substituting
    text in comment read from file.

  * Cineon reader: Fixed crash with broken file from Sami Liedes.

  * Palm reader: Fixed crash with broken files from Sami Liedes.

  * PICT reader: Fixed crash with broken files from Sami Liedes.

  * DPX reader: Validate file data better to avoid improper operation with
    intentionally (or accidentally) defective files.

  * XCF reader: Fixed crash with broken files from Sami Liedes.

Bug fixes:

  * Libbz2 is now detected for MinGW.

  * Install documentation under /usr/local/share/doc/GraphicsMagick by
    default, according to GNU conventions.

  * In PerlMagick, Dissolve composition was not working right.

  * FITS: Ensure that written format conforms to specification.

  * TIFF:

    - Don't accidentially convert CMYK images to RGB.

    - Eliminated a memory leak in the codec support detection code.

  * JPEG: Removed over-write of image->client_data.

  * PDF: Try to properly deal with reading rotated PDFs.

  * PNG: Fixed crash when writing PNG images with transparency and either
    optimize is requested, or the image is colormapped.

  * Configure: Fixed the --enable-magick-compat configure option, which
    had stopped working.

  * Configure: Fixed --without-magick-plus-plus so that it works again.  This
    stopped working in the 1.2 release cycle.

  * Configure: Fixed MagickLibVersion text string generation so that it
    is now correct when a component of the release number exceeds '9'.
    Now components can safely count up to '99' before there is a problem.

Performance Improvements:

  * OpenMP (parallel processing) improvements for these functions:

    - Affine transform (-affine -transform)
    - Average images (-average)
    - Add noise (+noise)
    - Black threshold (-black-threshold)
    - Blur (-blur)
    - Border (-border)
    - Channel import, export, and depth-setting (-channel, -depth)
    - Clip path
    - Coalesce (-coalesce)
    - Colorize (-colorize)
    - Colorspace transformation (-colorspace)
    - Compare images ('compare' command)
    - Composition ('composite' command)
    - Convolution (-convolve, -edge, -emboss, -gaussian, -sharpen)
    - Contrast adjust (-contrast)
    - Crop (-crop)
    - CycleColormap (-cycle)
    - Depth setting (-depth, -operator depth)
    - Despeckle (-despeckle)
    - Enhance (-enhance)
    - Equalize (-equalize)
    - Flatten (-flatten)
    - Flip (-flip)
    - Flop (-flop)
    - Frame (-frame)
    - Gamma adjust (-gamma, -operator gamma)
    - Gradient
    - Implode (-implode)
    - Levels adjust image (-level)
    - Local adaptive threshold (-lat)
    - Median filter (-median)
    - Minify image (-minify)
    - Modulate image (-modulate)
    - Morph image (-morph)
    - Mosiac (-mosaic)
    - Motion blur (-motion-blur)
    - Negate image (-negate)
    - Noise filter (-noise)
    - Normalize image (-normalize)
    - Oil Paint (-paint)
    - Opaque (-opaque)
    - Ordered dither (-ordered-dither)
    - Operators (-operator)
    - Profile adjust (ICC) (-profile)
    - Random threshold (-random-threshold)
    - Resize image (-resize)
    - Raise image (-raise)
    - Roll image (-roll)
    - Rotate image (-rotate)
    - Shade image (-shade)
    - Shear image (-shear)
    - Shave (-shave)
    - Solarize image (-solarize)
    - Spread image (-spread)
    - Statistics computation (identify -verbose)
    - Swirl (-swirl)
    - Threshold channel (-threshold, -operator threshold)
    - Threshold image (-threshold)
    - Transparent (-transparent)
    - Trim image (-trim)
    - UnsharpMaskImage (-unsharp)
    - Wave (-wave)
    - White threshold (-white-threshold)

  * Improved coder management performance.

  * XCF (GIMP) reader is much faster.

New Features:

  * Use MAGICK_CODER_STABILITY environment variable to enable a subset
    of the coders based on their stability classification.

  * Use MAGICK_IO_FSYNC environment variable to cause written file to
    be synchronized to disk to avoid possible data loss on power fail.

  * Added 'compare' command to statistically or visually compare two
    image files.

  * Added new channel operators (-operator):

    - Assign
    - Gamma
    - Depth
    - Negate
    - Noise-Gaussian
    - Noise-Impulse
    - Noise-Laplacian
    - Noise-Multiplicative
    - Noise-Poisson
    - Noise-Uniform
    - Threshold
    - ThresholdBlack
    - ThresholdWhite

  * New composition operators (-compose):

    - CopyBlack
    - CopyCyan
    - CopyMagenta
    - CopyYellow
    - Divide

  * Added -motion-blur to motion blur the image.

  * Mogrify and convert now support -black-threshold and -white-threshold.

  * MAT: Now supports reading compressed files.

  * FITS: Now supports 8, 16, 32 bit integer, float, and double images
    and writes correct FITS format.

  * DCRAW: Coder proxy module allows reading digital camera files as if
    they were natively supported.

  * New C API functions:

    - AddNoiseImageChannel(), add noise to an image channel.
    - BlurImageChannel(), blur an image channel.
    - GaussianBlurImageChannel(), gaussian blur an image channel.
    - ImportImageChannelsMasked(), import selected image channels.
    - SharpenImageChannel(), sharpen an image channel.
    - UnsharpMaskImageChannel(), unsharpmask an image channel.
    - New cache view interfaces to correct shortcommings of original
      ones.  New interfaces are AcquireCacheViewPixels(),
      AcquireOneCacheViewPixel(), AcquireCacheViewIndexes(),
      GetCacheViewPixels(), SetCacheViewPixels(), and
      SyncCacheViewPixels(). The deprecated functions are
      AcquireCacheView(), GetCacheView(), SetCacheView(), and
      SyncCacheView().
    - GetCacheViewRegion() reports region bounded by a cache view.
    - GetCacheViewArea() reports area bounded by a cache view.
    - ExportViewPixelArea() exports a cache view as formatted pixels.
    - ImportViewPixelArea imports formatted pixels into a cache view.

  * Removed C API functions:

    - ReadStream()
    - WriteStream()

  * Magick++ C++ API improvements

    - Color class no longer considers transparent black to be an invalid
      color.
    - New Image methods addNoiseChannel(), blurChannel(),
      gaussianBlurChannel(), motionBlur(), randomThresholdChannel(),
      randomThresholdChannel(), sharpenChannel(), unsharpmaskChannel().

Feature improvements:

  * -ordered-dither and -random-threshold may now be used to individually
    dither any named channel.
  * Mogrify and convert now support -minify to halve the image size.
  * Mogrify and convert now support -magnify to double the image size.

Revision 1.15 / (download) - annotate - [select for diffs], Sat Jul 26 06:59:18 2008 UTC (15 years, 8 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2008Q3-base, pkgsrc-2008Q3, cube-native-xorg-base, cube-native-xorg
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored) to selected 1.19 (colored)

Update GraphicsMagick to 1.2.5.

1.2.5 (July 26, 2008)
=====================

Security Fixes:

  * None.

Bug fixes:

  * TIFF: Eliminated a memory leak in the codec support detection code.

  * JPEG: Removed over-write of image->client_data.

  * PNG: Fixed crash when writing PNG images with transparency and either
    optimize is requested, or the image is colormapped.


Feature improvements:

  * A file extension proxy module is used to automatically map from
    common camera raw format extensions to dcraw so that camera RAW
    images are loaded automatically using 'dcraw' or similar program
    as defined via the 'dcraw' entry in delegates.mgk.

  * ThresholdImage() uses a new implementation backported from the
    development version which attempts to avoid unnecessary image
    updates.

Revision 1.14 / (download) - annotate - [select for diffs], Wed Jul 2 00:39:23 2008 UTC (15 years, 8 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2008Q2-base, pkgsrc-2008Q2, cwrapper
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored) to selected 1.19 (colored)

distfile is now in subdir on mail ftp master server.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Jun 30 12:34:10 2008 UTC (15 years, 9 months ago) by obache
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored) to selected 1.19 (colored)

Update GraphicsMagick to 1.2.4.

1.2.4 (June 29, 2008)
====================

Security Fixes:

  * AVI reader: Re-worked to be more robust against crash or DOS.

  * AVS reader: Re-worked to be more robust against crash or DOS.

  * DCM reader: Re-worked to be more robust against crash or DOS.

  * EPT reader: Re-worked to be more robust against crash or DOS.

  * FITS reader: Re-worked to be more robust against crash or DOS.

  * MTV reader: Re-worked to be more robust against crash or DOS.

  * PALM reader: Re-worked to be more robust against crash or DOS.

  * RLA reader: Re-worked to be more robust against crash or DOS.

  * TGA reader: Re-worked to be more robust against crash or DOS.

  * Avoid possible crash in GetImageCharacteristics() when substituting
    text in comment read from file.

Bug fixes:

  * Magick++ Image Quantize was not supporting error measurement properly
    and was waisting time with redundant SyncImage().

  * The --enable-magick-compat configure option was not being respected
    by the Makefiles (SourceForge bug 2005883).

Revision 1.7.2.2 / (download) - annotate - [select for diffs], Sun Jun 8 12:25:43 2008 UTC (15 years, 9 months ago) by tron
Branch: pkgsrc-2008Q1
Changes since 1.7.2.1: +2 -2 lines
Diff to previous 1.7.2.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored) to selected 1.19 (colored)

Pullup ticket #2416 - requested by obache
Security update for GraphicsMagick

Apply patch to update the package to version 1.1.14:

Significant changes associated with GraphicsMagick 1.1.14:
  Bugs Fixed:
    o Noise generation was not working correctly for anything but a Q8
      build.
    o Poisson noise generator was extremely slow.  Now it is reasonably
      fast.
    o PDF reader now computes bounding box for rotated PDFs correctly.
  Security Fixes:
    o Cineon reader: Fixed crash with broken file from Sami Liedes.
    o PICT reader: Fixed crash with broken files from Sami Liedes.
    o XCF reader: Fixed crash with broken files from Sami Liedes.
  Security Issue Not Fixed:
    o JP2/JPC reader: Several JPEG-2000 files from Sami Liedes broken
      collection cause crashes in Jasper. This is not GraphicsMagick's
      fault.

Significant changes associated with GraphicsMagick 1.1.13:
  Bugs Fixed:
    o Documentation is now installed according to the conventions
      established by the configure script.  This results in documentation
      being installed under /usr/local/share/doc/GraphicsMagick by default.
    o HWB colorspace now works correctly.
    o Composition with CopyOpacity now produces an image with
      transparency (as expected).
    o Composition now preserves the canvas colorspace.
    o Composition with a displacement map (-displace) no longer leaks an
      image.
    o Alpha composition now works as expected when both pixels involved
      include transparency.
    o -gamma multiple channel syntax now works as documented.
    o Now compiles with Visual C++ 2008.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Jun 6 03:06:53 2008 UTC (15 years, 9 months ago) by obache
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored) to selected 1.19 (colored)

Update GraphicsMagick to 1.2.3.

1.2.3 (June 5, 2008)
====================

Security Fixes:

  * Cineon reader: Fixed crash with broken file from Sami Liedes.

  * Palm reader: Fixed crash with broken files from Sami Liedes.

  * PICT reader: Fixed crash with broken files from Sami Liedes.

  * DPX reader: Validate file data better to avoid improper operation with
    intentionally (or accidentally) defective files.

  * XCF reader: Fixed crash with broken files from Sami Liedes.

Security Issue Not Fixed:

  * JP2/JPC reader: Several JPEG-2000 files from Sami Liedes "broken"
    collection cause crashes in Jasper. This is not GraphicsMagick's fault.

Bug fixes:

  * Noise generators were only working properly for Q8 build.

Revision 1.11 / (download) - annotate - [select for diffs], Thu May 29 04:16:00 2008 UTC (15 years, 10 months ago) by obache
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored) to selected 1.19 (colored)

Update GraphicsMagick to 1.2.2.

1.2.2 (May 28, 2008)
===================

Bug fixes:

  * Documentation is now installed according to the conventions
    established by the configure script. This results in documentation
    being installed under /usr/local/share/doc/GraphicsMagick by default.

  * HWB colorspace now works correctly.

  * Composition with CopyOpacity now produces an image with transparency
    (as expected).

  * Composition now preserves the canvas colorspace.

  * Composition with a displacement map (-displace) no longer leaks an
    image.

  * Composition now handles CopyBlack properly for CMYK images.

  * Alpha composition now works as expected when both pixels involved
    include transparency.

  * -gamma multiple channel syntax now works as documented.

  * PerlMagick: Dissolve composition with Opacity now works correctly.

  * TIFF: Was accidentially converting CMYK images to RGB.

  * TIFF: Reject JPEG compression when writing CMYK images.

  * Should now compile with Visual C++ 2008.

  * Detects libbz2 and libxml2 and builds properly with them in a MinGW
    build.

Performance improvments:

  * Exploratory support for OpenMP in the image resize code.  Can result
    in significant performance improvement when significantly reducing
    the image size on multi-core systems, but little to no improvement
    when the input and output images are close to the same size. Add
    --enable-openmp to the configure options to enable using OpenMP.

Feature improvements:

  * Composition now supports CopyCyan, CopyMagenta, CopyYellow, and
    CopyBlack in order to copy CMYK channels into an image. CMYK copy
    composition operators automatically set the image colorspace to CMYK
    so that everything just works.

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Fri May 9 11:21:26 2008 UTC (15 years, 10 months ago) by rtr
Branch: pkgsrc-2008Q1
Changes since 1.7: +5 -2 lines
Diff to previous 1.7 (colored) to selected 1.19 (colored)

pullup ticket #2366 - requested by obache
GraphicsMagick: security & bug fixes

revisions pulled up:
- pkgsrc/graphics/GraphicsMagick/Makefile
- pkgsrc/graphics/GraphicsMagick/PLIST
- pkgsrc/graphics/GraphicsMagick/buildlink3.mk
- pkgsrc/graphics/GraphicsMagick/distinfo

   Module Name:	pkgsrc
   Committed By:	obache
   Date:		Tue Apr 29 04:56:24 UTC 2008

   Modified Files:
   	pkgsrc/graphics/GraphicsMagick: Makefile PLIST buildlink3.mk distinfo

   Log Message:
   Update GraphicsMagick to 1.1.12.

   Significant changes associated with GraphicsMagick 1.1.12 (released April 28, 2008)

    Security Fixes:

      o Do not access X11 or invoke convenience or stealth delegate
        programs based on the file extension. In particular, these file
        extensions are rejected for consideration as a format specifier:
        'autotrace', 'browse', 'dcraw', 'edit', 'gs-color',
        'gs-color+alpha', 'gs-gray', 'gs-mono', 'launch', 'mpeg-encode',
        'print', 'scan', 'show', 'win', 'xc', and 'x'.

    Bugs Fixed:

      o magick/effect.c: Should now compile for ARM CPU.

      o TIFF: Don't request Kodak private tags since these cause some
        versions of libtiff to misbehave.

      o When performing string expansion of image attribute identifiers, skip
        those which require access to image pixels if image pixels are not
        present.

      o CropImageToHBITMAP(), ImageToHBITMAP(): Fix leak of bitmap handle.

Revision 1.10 / (download) - annotate - [select for diffs], Wed May 7 04:15:11 2008 UTC (15 years, 10 months ago) by obache
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored) to selected 1.19 (colored)

Update GraphicsMagick to 1.2.1.

Bug fixes:

  * MAT: Provide a correct error report when the Pixels limit has been
    exceeded.

  * RPM Spec file: Fixed naming of NEWS file. Use included libltdl
    (--with-included-ltdl option) in order to avoid possible issues with
    system libltdl.

  * GraphicsMagick-config script should now output correct dependency
    information for --libs when libltdl is needed.

  * GraphicsMagick++-config no longer depends on GraphicsMagick-config to
    be in the executable search path.

Performance improvments:

  * Module loading and execution performance are improved considerably
    for the modules build. On some systems, the modules build is
    considerably faster than the static or shared builds.

Feature improvements:

  * Updated to libtool 1.2.4.

Revision 1.9 / (download) - annotate - [select for diffs], Thu May 1 11:55:12 2008 UTC (15 years, 11 months ago) by obache
Branch: MAIN
Changes since 1.8: +4 -5 lines
Diff to previous 1.8 (colored) to selected 1.19 (colored)

Update GraphicsMagick to 1.2.

GraphicsMagick 1.2 is the result of four years of additional
development and testing over and above the 1.1 release branch. In
these four years there have been a huge number of security fixes,
considerable performance enhancements, and new features have been
added. GraphicsMagick 1.2 continues to be mostly API and command
compatible with previous GraphicsMagick releases, and with ImageMagick
5.5.2 from whence it originated.

The following is the summarized (yet extensive!) list of changes in
this release. See the ChangeLog file for the full list of changes.

Security fixes:

  * Fixes for CERT security alert TA04-217A described at
    "http://www.us-cert.gov/cas/techalerts/TA04-217A.html".
  * AVI, BMP, & DIB security fixes.
  * PSD security fixes.
  * P7 format security fix.
  * Fix EXIF IFD stack overflow vulnerability.
  * SGI security fix for RLE encoding (CVE-2006-4144)
  * XCF security fix (CVE-2006-3743)
  * PALM heap overflow fix (CVE-2006-5456)
  * DCM security fix (CVE-2006-5456)
  * Fix for shell command injection in delegate code via file names)
    (CVE-2005-4601).  Delegate execution is much more secure now.
  * Don't use filenames as printf specifications (CVE-2006-0082).
  * Fix integer overflow in DCM coder (CVE-2007-1797).
  * XWD integer overflow fix (CVE-2007-1797).
  * Implementation has replaced usage of strcpy, strcat, and strncat
    with the more security conscious strlcat and strlcpy.
  * DCM, DIB, XCF, XBM, and XWD security fix for integer overflow
    vulnerability (IDefense 09.19.07).
  * Do not access X11 or invoke convenience or stealth delegate programs
    based on the file extension. In particular, these file extensions are
    rejected for consideration as a format specifier: 'autotrace',
    'browse', 'dcraw', 'edit', 'gs-color', 'gs-color+alpha', 'gs-gray',
    'gs-mono', 'launch', 'mpeg-encode', 'print', 'scan', 'show', 'win',
    'xc', and 'x'.

Bug fixes:

  * The configure script now searches for a web browser in the order
    mozilla, firefox, and finally netscape.
  * When the user specifies the -units option, the current image
    resolution values are now re-scaled to match the new units.
  * Properly determine Ghostscript font location for Ghostscript 8.0 and later.
  * GraphicsMagick now successfully builds and passes all tests under
    Digital Unix 5.1, using the vendor compiler.
  * Ghostscript sometimes displays an error message and fails, yet it
    returns a success error code to GraphicsMagick. Verify that
    Ghostscript has updated the output file before attempting to use it.
  * Fixed a configure script syntax error when testing for trio.
  * When requesting a list of formats, all of the modules in the module
    search path are considered. Previously only the modules in the same
    directory as the LOGO module were listed.
  * Ensure that an image clip mask is respected by the negate algorithm.
  * The BMP writer was sometimes writing incorrect BMP v4 files.
  * Support reading and writing large PCX files.
  * The Red Hat source RPM was failing to install the -config scripts
    with execute permissions.
  * Fixed a bug which could cause possible truncation while cloning the
    image cache.
  * Ensure that MIFF files indicate the compression which was actually used.
  * Properly handle errors from libtiff so that corrupted images are not
    output.
  * Fix for stripped-TIFF reader. Discard extra samples beyond alpha in
    scanline TIFFs.
  * Endian option now controls TIFF byte-order rather than bit-order.
  * TIFF writer can now write to pipes and other non-seekable output
    destinations.
  * JBIG writer was writing empty files for some libjbig releases.
  * Improved handling of corrupt GIF files.
  * Handle large SUN format images.
  * Properly compute image depth for 16-bit SGI image files.
  * For the gmdisplay program, ensure that only RGB data is sent to Windows.
  * Many memory leak fixes.
  * PDF writer is fixed so that Ghoscript 8.5 doesn't warn about the output.
  * PDF writer now writes proper output with CCITT compression.
  * Properly use fseeko() and ftello() if they are available.
  * Fixed a infinite loop bug in the XWD reader.
  * Fix minor memory leak in ProfileImage().
  * Fixed -level command parsing when a percent symbol is supplied within the
    argument rather than at the end.
  * Fix pixel scaling problem caused by floating point
    rounding error (noticed under AIX).
  * Fixed a memory leak in the GIF coder in the error return path.
  * Fix for SourceForge bug id 1353744 "MagickGetQuantumDepth doesn't work".
  * Fix for SourceForge bug id 1315109 "segfault in InitializeMagick(NULL)".
  * Fix for SourceForge bug id 1391421 "problem doing resize on 273x1 JPEG".
  * Fix for SourceForge bug id 1510075 "Failed to write PDF with JPEG compression".
  * Fix for SourceForge bug id 1572357 "GetOnePixel definition appears incorrect".
  * Fix for SourceForge bug id 1576616 Fix includedir variable in pkg-config files".
  * Fix for SourceForge bug id 1173713 "segfault in ModifyCache".
  * Fix for SourceForge bug id 1431805 "clip art wpg files cause access violation
    in graphics magick".
  * Fix for SourceForge bug id 1743141 "Affine matrix option parsing".
  * Fix for SourceForge bug id 1625477 "Memory leak reading layered PSD Image".
  * Fix for SourceForge bug id 1878992 "literal square brackets in file
    name cause large delay and bug id 1783209 "converting runs slowly
    when subimage is specified".
  * Fix for SourceForge bug id 1883527 "compression of tiff-file has no effect".
  * Successfully read files in the form "file[123]".
  * Fix reading 12-bit grayscale JPEG.
  * Set image depth appropriately when importing image from X11 display.
  * Fix map resource tracking.
  * Fix reading recent variants of ImageMagick's MIFF format.
  * Output bilevel TIFF meeting the TIFF Class F specification.

New Utilities:

  * A 'benchmark' subcommand is now available to benchmark the
    performance of any other arbitrary subcommand (e.g. 'convert').

Feature improvements:

  * LZW compression is now enabled by default.
  * Support industry-standard subsampling notation like "4:2:2".
  * If gm is executed under a traditional alternate name (e.g.
    convert), it will invoke the appropriate sub-command. This allows
    use of hard links, symbolic links, or just copying 'gm' to the
    desired sub-command name in order to achieve 100% ImageMagick 5.5.2
    utility compatibility.
  * Provide the --enable-magick-compat option when configuring to install
    ImageMagick utilities compatibility links.
  * Identify -verbose output includes normalized (0.0-1.0) statistics.
  * Identify and convert now print "pixels per second" rates to help
    evaluate performance.
  * Added the identify +ping option to force reading the complete file.
  * The display program now supports the +progress option to disable any
    visual progress indication (and hourglass cursor) while loading images.
  * Support writing grayscale TGA files.
  * Provide explicit support for Rec 601 and Rec 709 grayscale spaces.
  * Include some support for a log RGB space based on the 2.048 density
    range as defined for the Cineon Digital Film System.
  * Added utilities command-line support for industry standard subsampling
    notation like 4:4:4 and 4:2:2.
  * Use MAGICK_IOBUF_SIZE to tune the size of the I/O buffer.
  * Use -type Bilevel, Grayscale, TrueColor, or TrueColorMatte to
    influence the type of image that Ghostscript returns.
  * Use '-define tiff:fill-order={msb2lsb|lsb2msb}' to control TIFF bit
    fill order.
  * The -version option now dumps a feature list as well as the build
    options.
  * The -endian option now supports the option 'native'.
  * A -monitor is added to enable progress monitoring for the command line
    utilities.
  * Use the -output-directory option to 'mogrify' to send output files to
    the specified directory.
  * Use the -create-directories option in conjunction with
    -output-directory and 'mogrify' to create any necessary subdirectories.
  * A Pixels resource limit is added.  Use '-limit Pixels value' to limit
    the maximum number of pixels in an image to 'value'.
  * The already supported option '-type Optimize' is now honored by
    formats that need to choose a subformat based on the properties of
    the image. Grueling tests of many/all pixels are not performed
    unless '-type Optimize' is supplied.
  * Added a a -set option to the composite, convert, display, mogrify,
    import commands in order to allow setting an image attribute.
  * Display utility no longer defaults to reading from standard input if
    stdin is not a tty.
  * May now be configured to use the umem memory allocation library
    available in Solaris 9, Update 3 and later, or from the portable umem
    project.

Coder additions/improvements:

  * Replaced existing DPX "support" with all-new DPX support conforming
    to the SMPTE 268M-2003 standard.
  * Cineon reader completely rewritten.
  * TIFF coder is completely re-written. Now supports reading and
    writing RGB, CMYK, and grayscale, scanline-oriented TIFF images
    with arbitrary (1 to 32 bits) depth. Includes support for tiled
    TIFF, floating point TIFF, LogLuv TIFF, BigTIFF, arbitrary depths,
    and associated alpha.
  * TIFF coder now supports retrieving and saving XMP profiles.
  * MATLAB support is much improved and supports writing as well.
  * WPG reader now supports CTM translations.
  * ART format now supports writing.
  * Support 32-bit raw RGB images.
  * Support 32-bit raw CMYK images.
  * Support 32-bit raw gray images.
  * JP2 coder reads images in YCbCr colorspace and retrieves an embedded
    ICC ICM color profile if present.

API enhancements:

  * Added ExportImageChannel() and ImportImageChannel() APIs to support
    exporting and importing pixel regions with an arbitary range of (1
    to 32) bits per quantum.
  * Added image leveling methods for Magick++.
  * Generalized GetImageAttribute() support for retrieving wildcarded
    attributes so that an identify -format specification like
    ``"%[dpx:*]"`` works as expected.
  * Incorporated changes changes necessary so that GraphicsMagick can
    work with the Ch C/C++ interpreter from SoftIntegration at
    http://www.softintegration.com/.
  * Added MagickAllocFunctions() to allow the API user to replace the
    underlying memory allocator functions.
  * Added MagickMalloc() and deprecated AcquireMemory().
  * Added MagickCloneMemory() and deprecated CloneMemory().
  * Added MagickMallocArray() to safely allocate N items of size S.
  * Added MagickRealloc() and deprecated ReacquireMemory().
  * Added MagickFree() and deprecated LiberateMemory().

Performance improvments:

  * The DispatchImage() and ConstituteImage() functions incorporate
    special case code for BGR, BGRO, BGRP, RGB, RGBO, and I formats (8
    bit only) in order to improve performance dramatically.
  * When writing very large JPEG images, don't enable Huffman compression
    since doing so requires libjpeg to buffer the entire image in memory.
  * When using the 'identify' -verbose option, -verbose must be specified
    twice in order to obtain the color count.  This makes normal use of
    -verbose much faster.
  * Significantly improved read/write speed for bilevel and gray images.
  * TIFF I/O is considerably faster.
  * Postscript writer is 10-15X faster.
  * PNM formats writer is 10-100X faster.
  * Rotate by 90 or 270 degrees is 2-9X faster.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Apr 29 04:56:24 2008 UTC (15 years, 11 months ago) by obache
Branch: MAIN
Changes since 1.7: +5 -2 lines
Diff to previous 1.7 (colored) to selected 1.19 (colored)

Update GraphicsMagick to 1.1.12.

Significant changes associated with GraphicsMagick 1.1.12 (released April 28, 2008)

  Security Fixes:

    o Do not access X11 or invoke convenience or stealth delegate
      programs based on the file extension. In particular, these file
      extensions are rejected for consideration as a format specifier:
      'autotrace', 'browse', 'dcraw', 'edit', 'gs-color',
      'gs-color+alpha', 'gs-gray', 'gs-mono', 'launch', 'mpeg-encode',
      'print', 'scan', 'show', 'win', 'xc', and 'x'.

  Bugs Fixed:

    o magick/effect.c: Should now compile for ARM CPU.

    o TIFF: Don't request Kodak private tags since these cause some
      versions of libtiff to misbehave.

    o When performing string expansion of image attribute identifiers, skip
      those which require access to image pixels if image pixels are not
      present.

    o CropImageToHBITMAP(), ImageToHBITMAP(): Fix leak of bitmap handle.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Feb 24 02:58:40 2008 UTC (16 years, 1 month ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2008Q1-base
Branch point for: pkgsrc-2008Q1
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored) to selected 1.19 (colored)

Update GraphicsMagick to 1.1.11.

Significant changes associated with GraphicsMagick 1.1.11 (released September 23, 2007)

  Bugs Fixed:

    o BMP: Support large files.

    o DIB: Support large files.

    o PNG: Fix depth handling with 16-bit PNG files in the Q8 build.

    o SUN: Properly report image depth.

    o TIFF: Endian option (-endian) now controls TIFF byte endian order
      rather than bit fill order.

    o DCM, DIB, XBM, XCF, XWD: Eliminate integer overflow vulnerability
      (IDefense 09.19.07).

    o HSL colorspace transform: Avoid optimization bug noticed on Opteron
      with GCC.

    o HWB colorspace transform: Avoid optimization bug noticed on Opteron
      with GCC.

    o RGBTransformImage()/TransformRGBImage(): Was using HWB colorspace
      when HSL was requested.

    o Successfully reads files with names like 'file[123]'.

    o 'gm display': No longer rely on isatty() to determine if input is
      from a pipe (use 'gm display -' to display an image read from a pipe).

  Feature Improvements:

    o 'identify +ping' forces the pixels to be read (similar to GM 1.2).

    o 'gm -version' now indicates if build supports "Large Memory" (i.e. 64-bit).

    o TIFF: Use '-define tiff:fill-order={msb2lsb|lsb2msb}' to control
      TIFF bit fill order.


  Performance Improvements:

    o No longer bogs down if a directory contains hundreds of thousands of
      files and the filename looks like a wildcard specification.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Feb 13 06:31:16 2008 UTC (16 years, 1 month ago) by obache
Branch: MAIN
Changes since 1.5: +3 -1 lines
Diff to previous 1.5 (colored) to selected 1.19 (colored)

This package is DESTDIR ready.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Oct 14 12:25:15 2007 UTC (16 years, 5 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2007Q4-base, pkgsrc-2007Q4
Changes since 1.4: +5 -3 lines
Diff to previous 1.4 (colored) to selected 1.19 (colored)

Update GraphicsMagick to 1.1.10.

Significant changes associated with GraphicsMagick 1.1.10 (released September 19
, 2007)

  Bugs Fixed:

    o Image rotate by -90/270 degrees was producing wrong output.

Significant changes associated with GraphicsMagick 1.1.9 (released September 16, 2007)

  Bugs Fixed:

    o In mogrify command, don't remove file name based on random junk in
      memory.
    o Fixed memory leak when reading MPC files.
    o Fixed crash when writing MIFF format and depth is not expected 8/16/32/.
    o Find latest Ghostscript under Windows which identifies itself as
      "GPL Ghostscript".
    o In mogrify command, don't leak memory in the case where the image
      file contains multiple frames.
    o Fixed crash in PNG and JPEG coders when the image to be written is
      part of an image list.
    o PNG reader errors are now properly reported to the user.
    o TIFF output can now be written to a pipe or other non-seekable
      destination.
    o Support writing PDF with CCITT compression.

  Feature Improvements

    o Added a new 'benchmark' command which can be used to perform
      benchmarking on any other command.
    o Image rotate in clockwise (90 degrees) or counter-clockwise (270
      degrees) direction is now 2-9X faster than before.
    o The -version option now includes a list of supported features.
    o For Windows MinGW-based build, find Ghostscript fonts installed
      under C:/Program Files/.

Significant changes associated with GraphicsMagick 1.1.8 (released July 28, 2007)

  Security Fixes:

    o Shell command injection via delegates subsystem (CVE-2005-4601).
    o Insecure use of filenames as a "sprintf" specification (CVE-2006-0082).
    o EXIF IFD stack overflow vulnerability.
    o BMP  format: Verify seek before proceeding.
    o DCM  format: Buffer overflow prevention (CVE-2006-5456).
    o DCM  format: Integer overflow prevention (CVE-2007-1797).
    o PALM format: Heap overflow prevention (CVE-2006-5456).
    o SGI  format: Fixes for RLE decoding issue (CVE-2006-4144).
    o XCF  format: Buffer overflow prevention, infinite loop prevention.

  Bugs Fixed:

    o Typo when searching for HTMLDecodeDelegate.
    o Avoid crash if delegate program fails to return an image.
    o EXIF memory leak fixes.
    o Command parser memory leak fixes.
    o Deadlock fix for event log initialization.
    o Work with latest Ghostscript "GPL Ghostscript" under Windows.
    o 'gm import' now returns image of appropriate depth.
    o Fixed memory map resource managment.
    o Fixed includedir variable in pkg-config files.
    o Fixed validation of -affine argument.
    o Fixed bug where fseeko() and ftello() were not used when available.
    o Fixed issue when pread() and pwrite() prototypes are missing.
    o Fixed pixel cache issues when size_t is an unsigned type.
    o Fixed dcraw delegate options to work with modern dcraw.
    o Fixed -level argument parsing to allow embedded % characters.
    o Fix for segfault in InitializeMagick(NULL).
    o Fix for segfault in ModifyCache().
    o Fix for Wand MagickGetQuantumDepth() interface.
    o Fix for GrayscalePseudoClassImage() on 64-bit systems.
    o Fix for MagickReallocMemory memory leak under certain error conditions.
    o Validate BLOB access range.
    o ICON format: Segfault fix.
    o JPEG format: Fixed reading 12-bit grayscale JPEG.
    o MAT  format: Stability improvements.
    o MIFF format: Handle a compression value of 'None'.
    o PCX  format: Segfault fix.  Heap overflow fix.
    o PDF  format: Fixed writing with JPEG compression.
    o PICT format: Segfault fix.
    o PNG  format: Fixed compile problem with some libpng versions. Segfault fix.
    o PNM  format: Fixed scaling problem due to rounding error. Validate scaling.
    o PSD  format: Fixed memory leak with layerd PSD files.
    o SGI  format: Handle 16-bit SGI image files correctly.
    o SUN  format: Segfault fix.
    o TIFF format: Secure error reporting.  Finally support LZW under Windows.
    o WPG  format: Fixed crash with clip-art WPG files.
    o XWD  format: Fix for integer under/overflow.

  Feature Improvements

    o CIN format: Implementation is entirely replaced.
    o MAT format: Support Byte and Word formats, as well as big/little endian.
    o WPG format: Support for CTM translation.

  Updates:

    o JasPer is updated to version 1.900.1.
    o Jbigkit is updated to version 1.6
    o Lcms is updated to version 1.16
    o Libpng is updated to version 1.2.18
    o Libtiff is updated to version 3.8.2.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Apr 1 01:58:37 2007 UTC (17 years ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored) to selected 1.19 (colored)

Change my mail address to @NetBSD.org.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Feb 6 18:05:58 2007 UTC (17 years, 1 month ago) by joerg
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored) to selected 1.19 (colored)

Modular Xorg support.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Jan 17 23:47:19 2007 UTC (17 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored) to selected 1.19 (colored)

Very belatedly bump PKGREVISION for all jasper dependencies because
of the shlib name change (!) during the update to 1.900.0.

Noted by Robert Elz in PR 35431.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Thu Jul 20 17:23:15 2006 UTC (17 years, 8 months ago) by minskim
Branch: TNF
CVS Tags: pkgsrc-base, pkgsrc-2006Q4-base, pkgsrc-2006Q4, pkgsrc-2006Q3-base, pkgsrc-2006Q3
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored) to selected 1.19 (colored)

Import GraphicsMagick from pkgsrc-wip.  Packaged by OBATA Akio.

GraphicsMagick(TM) provides a powerful image manipulation and
translation utility.  It is capable of displaying still images and
animations using the X Window system, provides a simple interface for
interactively editing images, and is capable of importing selected
windows or the entire desktop.  GraphicsMagick can read and write over
88 image formats, including JPEG, TIFF, WMF, SVG, PNG, PNM, GIF, and
Photo CD.  It can resize, rotate, sharpen, color reduce, or add
special effects to the image and save the result to any supported
format.  GraphicsMagick may be used to create animated or transparent
.gifs, create composite images, create thumbnail images, and much,
much, more.

GraphicsMagick is one of your choices if you need a program to
manipulate and display images.  If you want to develop your own
applications which use GraphicsMagick code or APIs, you need to
install GraphicsMagick-devel as well.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Jul 20 17:23:15 2006 UTC (17 years, 8 months ago) by minskim
Branch: MAIN
Diff to selected 1.19 (colored)

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>