summaryrefslogtreecommitdiff
path: root/graphics/GraphicsMagick
diff options
context:
space:
mode:
authorobache <obache>2010-01-22 06:16:18 +0000
committerobache <obache>2010-01-22 06:16:18 +0000
commit2486cf1ebbb3a95efb209c88630cf6dcda917853 (patch)
tree40d73622b716df49a84109e74a030a0129371ee8 /graphics/GraphicsMagick
parentca507941ea03b5715b3c7a2b02e2cd18a3d6dfd2 (diff)
downloadpkgsrc-2486cf1ebbb3a95efb209c88630cf6dcda917853.tar.gz
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.
Diffstat (limited to 'graphics/GraphicsMagick')
-rw-r--r--graphics/GraphicsMagick/Makefile5
-rw-r--r--graphics/GraphicsMagick/PLIST19
-rw-r--r--graphics/GraphicsMagick/distinfo8
3 files changed, 21 insertions, 11 deletions
diff --git a/graphics/GraphicsMagick/Makefile b/graphics/GraphicsMagick/Makefile
index 493d7404d70..80addc43d2b 100644
--- a/graphics/GraphicsMagick/Makefile
+++ b/graphics/GraphicsMagick/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.26 2010/01/18 09:58:55 wiz Exp $
+# $NetBSD: Makefile,v 1.27 2010/01/22 06:16:18 obache Exp $
#
-DISTNAME= GraphicsMagick-1.3.7
-PKGREVISION= 1
+DISTNAME= GraphicsMagick-1.3.8
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=graphicsmagick/} \
ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/1.3/
diff --git a/graphics/GraphicsMagick/PLIST b/graphics/GraphicsMagick/PLIST
index 2716459d16f..52075ee18f4 100644
--- a/graphics/GraphicsMagick/PLIST
+++ b/graphics/GraphicsMagick/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.12 2009/09/20 11:30:58 obache Exp $
+@comment $NetBSD: PLIST,v 1.13 2010/01/22 06:16:18 obache Exp $
bin/GraphicsMagick++-config
bin/GraphicsMagick-config
bin/GraphicsMagickWand-config
@@ -16,6 +16,7 @@ include/GraphicsMagick/Magick++/Montage.h
include/GraphicsMagick/Magick++/Pixels.h
include/GraphicsMagick/Magick++/STL.h
include/GraphicsMagick/Magick++/TypeMetric.h
+include/GraphicsMagick/magick/analyze.h
include/GraphicsMagick/magick/api.h
include/GraphicsMagick/magick/attribute.h
include/GraphicsMagick/magick/average.h
@@ -23,9 +24,11 @@ include/GraphicsMagick/magick/blob.h
include/GraphicsMagick/magick/cdl.h
include/GraphicsMagick/magick/channel.h
include/GraphicsMagick/magick/color.h
+include/GraphicsMagick/magick/color_lookup.h
include/GraphicsMagick/magick/colormap.h
include/GraphicsMagick/magick/colorspace.h
include/GraphicsMagick/magick/command.h
+include/GraphicsMagick/magick/common.h
include/GraphicsMagick/magick/compare.h
include/GraphicsMagick/magick/composite.h
include/GraphicsMagick/magick/compress.h
@@ -74,6 +77,7 @@ include/GraphicsMagick/magick/symbols.h
include/GraphicsMagick/magick/texture.h
include/GraphicsMagick/magick/timer.h
include/GraphicsMagick/magick/transform.h
+include/GraphicsMagick/magick/type.h
include/GraphicsMagick/magick/utility.h
include/GraphicsMagick/magick/version.h
include/GraphicsMagick/wand/drawing_wand.h
@@ -99,7 +103,6 @@ man/man4/miff.4
man/man5/quantize.5
share/${PKGNAME}/config/colors.mgk
share/${PKGNAME}/config/log.mgk
-share/${PKGNAME}/config/magic.mgk
share/${PKGNAME}/config/modules.mgk
share/doc/GraphicsMagick/ChangeLog
share/doc/GraphicsMagick/ChangeLog.2001
@@ -110,10 +113,20 @@ share/doc/GraphicsMagick/ChangeLog.2005
share/doc/GraphicsMagick/ChangeLog.2006
share/doc/GraphicsMagick/ChangeLog.2007
share/doc/GraphicsMagick/ChangeLog.2008
+share/doc/GraphicsMagick/ChangeLog.2009
share/doc/GraphicsMagick/Copyright.txt
share/doc/GraphicsMagick/NEWS.txt
share/doc/GraphicsMagick/www/CVS.html
share/doc/GraphicsMagick/www/CVS.rst
+share/doc/GraphicsMagick/www/ChangeLog-2001.html
+share/doc/GraphicsMagick/www/ChangeLog-2002.html
+share/doc/GraphicsMagick/www/ChangeLog-2003.html
+share/doc/GraphicsMagick/www/ChangeLog-2004.html
+share/doc/GraphicsMagick/www/ChangeLog-2005.html
+share/doc/GraphicsMagick/www/ChangeLog-2006.html
+share/doc/GraphicsMagick/www/ChangeLog-2007.html
+share/doc/GraphicsMagick/www/ChangeLog-2008.html
+share/doc/GraphicsMagick/www/ChangeLog-2009.html
share/doc/GraphicsMagick/www/Changelog.html
share/doc/GraphicsMagick/www/Copyright.html
share/doc/GraphicsMagick/www/FAQ.html
@@ -226,8 +239,6 @@ share/doc/GraphicsMagick/www/api/types.rst
share/doc/GraphicsMagick/www/api/widget.html
share/doc/GraphicsMagick/www/authors.html
share/doc/GraphicsMagick/www/authors.rst
-share/doc/GraphicsMagick/www/benchmarks-1.2.html
-share/doc/GraphicsMagick/www/benchmarks-1.2.rst
share/doc/GraphicsMagick/www/benchmarks.html
share/doc/GraphicsMagick/www/benchmarks.rst
share/doc/GraphicsMagick/www/bugs.html
diff --git a/graphics/GraphicsMagick/distinfo b/graphics/GraphicsMagick/distinfo
index bba641450f3..bb297677361 100644
--- a/graphics/GraphicsMagick/distinfo
+++ b/graphics/GraphicsMagick/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.20 2009/09/20 11:30:58 obache Exp $
+$NetBSD: distinfo,v 1.21 2010/01/22 06:16:18 obache Exp $
-SHA1 (GraphicsMagick-1.3.7.tar.gz) = 0d6d25644af0d125e24be0a0ed830a5c5f472156
-RMD160 (GraphicsMagick-1.3.7.tar.gz) = 2bf58a91a5d3bb99e6bb35e3a2adc8da902b44f8
-Size (GraphicsMagick-1.3.7.tar.gz) = 7891141 bytes
+SHA1 (GraphicsMagick-1.3.8.tar.gz) = d88c533002fbfeb5822d68eb3f14ee07c347a4ea
+RMD160 (GraphicsMagick-1.3.8.tar.gz) = 92f139dfc66f64c443b8ce005790083169636c5b
+Size (GraphicsMagick-1.3.8.tar.gz) = 7972244 bytes