diff options
author | obache <obache> | 2008-11-10 11:24:27 +0000 |
---|---|---|
committer | obache <obache> | 2008-11-10 11:24:27 +0000 |
commit | d7949941fd4b58b734816e388364c8913fe82883 (patch) | |
tree | 75ebdc55e5572bfe7d9f66149d79c2b55d7980d3 | |
parent | 0aad7db39c598b79b6418833ecae718e7b21aa16 (diff) | |
download | pkgsrc-d7949941fd4b58b734816e388364c8913fe82883.tar.gz |
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.
-rw-r--r-- | graphics/GraphicsMagick/Makefile | 6 | ||||
-rw-r--r-- | graphics/GraphicsMagick/PLIST | 95 | ||||
-rw-r--r-- | graphics/GraphicsMagick/buildlink3.mk | 4 | ||||
-rw-r--r-- | graphics/GraphicsMagick/distinfo | 8 |
4 files changed, 85 insertions, 28 deletions
diff --git a/graphics/GraphicsMagick/Makefile b/graphics/GraphicsMagick/Makefile index 49da77c34f3..797bb293215 100644 --- a/graphics/GraphicsMagick/Makefile +++ b/graphics/GraphicsMagick/Makefile @@ -1,10 +1,10 @@ -# $NetBSD: Makefile,v 1.15 2008/07/26 06:59:18 obache Exp $ +# $NetBSD: Makefile,v 1.16 2008/11/10 11:24:27 obache Exp $ # -DISTNAME= GraphicsMagick-1.2.5 +DISTNAME= GraphicsMagick-1.3 CATEGORIES= graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=graphicsmagick/} \ - ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/1.2/ + ftp://ftp.graphicsmagick.org/pub/GraphicsMagick/1.3/ MAINTAINER= obache@NetBSD.org HOMEPAGE= http://www.graphicsmagick.org/ diff --git a/graphics/GraphicsMagick/PLIST b/graphics/GraphicsMagick/PLIST index 2796d7ff48f..d7064a70f83 100644 --- a/graphics/GraphicsMagick/PLIST +++ b/graphics/GraphicsMagick/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.6 2008/05/29 04:16:00 obache Exp $ +@comment $NetBSD: PLIST,v 1.7 2008/11/10 11:24:27 obache Exp $ bin/GraphicsMagick++-config bin/GraphicsMagick-config bin/GraphicsMagickWand-config @@ -24,6 +24,7 @@ include/GraphicsMagick/magick/channel.h include/GraphicsMagick/magick/color.h include/GraphicsMagick/magick/colorspace.h include/GraphicsMagick/magick/command.h +include/GraphicsMagick/magick/compare.h include/GraphicsMagick/magick/composite.h include/GraphicsMagick/magick/compress.h include/GraphicsMagick/magick/constitute.h @@ -51,6 +52,7 @@ include/GraphicsMagick/magick/montage.h include/GraphicsMagick/magick/operator.h include/GraphicsMagick/magick/paint.h include/GraphicsMagick/magick/pixel_cache.h +include/GraphicsMagick/magick/pixel_iterator.h include/GraphicsMagick/magick/profile.h include/GraphicsMagick/magick/quantize.h include/GraphicsMagick/magick/registry.h @@ -101,24 +103,17 @@ share/doc/GraphicsMagick/ChangeLog.2006 share/doc/GraphicsMagick/ChangeLog.2007 share/doc/GraphicsMagick/Copyright.txt share/doc/GraphicsMagick/NEWS.txt -share/doc/GraphicsMagick/images/ball.png -share/doc/GraphicsMagick/images/examples.jpg -share/doc/GraphicsMagick/images/gm-125x80t.png -share/doc/GraphicsMagick/images/gm-188x120t.png -share/doc/GraphicsMagick/images/gm-282x180t.png -share/doc/GraphicsMagick/images/right_triangle.png -share/doc/GraphicsMagick/images/right_triangle_option.png -share/doc/GraphicsMagick/index.html -share/doc/GraphicsMagick/www/AUTHORS.html -share/doc/GraphicsMagick/www/BENCHMARKS.html -share/doc/GraphicsMagick/www/BUGS.html +share/doc/GraphicsMagick/www/CVS.html +share/doc/GraphicsMagick/www/CVS.rst share/doc/GraphicsMagick/www/Changelog.html share/doc/GraphicsMagick/www/Copyright.html share/doc/GraphicsMagick/www/FAQ.html +share/doc/GraphicsMagick/www/FAQ.rst share/doc/GraphicsMagick/www/GraphicsMagick.html share/doc/GraphicsMagick/www/INSTALL-unix.html share/doc/GraphicsMagick/www/INSTALL-windows.html share/doc/GraphicsMagick/www/ImageMagickObject.html +share/doc/GraphicsMagick/www/ImageMagickObject.rst share/doc/GraphicsMagick/www/Magick++/Blob.html share/doc/GraphicsMagick/www/Magick++/Cache.fig share/doc/GraphicsMagick/www/Magick++/Cache.png @@ -127,6 +122,7 @@ share/doc/GraphicsMagick/www/Magick++/ChangeLog.html share/doc/GraphicsMagick/www/Magick++/CoderInfo.html share/doc/GraphicsMagick/www/Magick++/Color.html share/doc/GraphicsMagick/www/Magick++/Documentation.html +share/doc/GraphicsMagick/www/Magick++/Documentation.rst share/doc/GraphicsMagick/www/Magick++/Drawable.html share/doc/GraphicsMagick/www/Magick++/Drawable_example_1.png share/doc/GraphicsMagick/www/Magick++/Enumerations.html @@ -149,7 +145,9 @@ share/doc/GraphicsMagick/www/Magick++/README.txt share/doc/GraphicsMagick/www/Magick++/STL.html share/doc/GraphicsMagick/www/Magick++/TypeMetric.html share/doc/GraphicsMagick/www/Magick++/gm-188x120t.png +share/doc/GraphicsMagick/www/Magick++/index-save.html share/doc/GraphicsMagick/www/Magick++/index.html +share/doc/GraphicsMagick/www/Magick++/index.rst share/doc/GraphicsMagick/www/Magick++/montage-sample-framed.jpg share/doc/GraphicsMagick/www/Magick++/right_triangle.png share/doc/GraphicsMagick/www/Magick++/thumbnail-anatomy-framed.fig @@ -158,27 +156,49 @@ share/doc/GraphicsMagick/www/Magick++/thumbnail-anatomy-plain.fig share/doc/GraphicsMagick/www/Magick++/thumbnail-anatomy-plain.jpg share/doc/GraphicsMagick/www/Magick++/thumbnail-sample-framed.jpg share/doc/GraphicsMagick/www/Magick++/thumbnail-sample-plain.jpg +share/doc/GraphicsMagick/www/Makefile.am share/doc/GraphicsMagick/www/NEWS.html -share/doc/GraphicsMagick/www/PLATFORMS.html +share/doc/GraphicsMagick/www/OpenMP.html +share/doc/GraphicsMagick/www/OpenMP.rst share/doc/GraphicsMagick/www/README.html share/doc/GraphicsMagick/www/animate.html -share/doc/GraphicsMagick/www/api.html +share/doc/GraphicsMagick/www/api/Makefile.am +share/doc/GraphicsMagick/www/api/animate.apirst share/doc/GraphicsMagick/www/api/animate.html +share/doc/GraphicsMagick/www/api/annotate.apirst share/doc/GraphicsMagick/www/api/annotate.html +share/doc/GraphicsMagick/www/api/api.html +share/doc/GraphicsMagick/www/api/api.rst +share/doc/GraphicsMagick/www/api/api_hyperlinks.rst +share/doc/GraphicsMagick/www/api/attribute.apirst share/doc/GraphicsMagick/www/api/attribute.html +share/doc/GraphicsMagick/www/api/blob.apirst share/doc/GraphicsMagick/www/api/blob.html +share/doc/GraphicsMagick/www/api/channel.apirst share/doc/GraphicsMagick/www/api/channel.html +share/doc/GraphicsMagick/www/api/color.apirst share/doc/GraphicsMagick/www/api/color.html +share/doc/GraphicsMagick/www/api/compare.apirst +share/doc/GraphicsMagick/www/api/compare.html +share/doc/GraphicsMagick/www/api/composite.apirst share/doc/GraphicsMagick/www/api/composite.html +share/doc/GraphicsMagick/www/api/constitute.apirst share/doc/GraphicsMagick/www/api/constitute.html +share/doc/GraphicsMagick/www/api/decorate.apirst share/doc/GraphicsMagick/www/api/decorate.html +share/doc/GraphicsMagick/www/api/deprecate.apirst share/doc/GraphicsMagick/www/api/deprecate.html +share/doc/GraphicsMagick/www/api/display.apirst share/doc/GraphicsMagick/www/api/display.html +share/doc/GraphicsMagick/www/api/draw.apirst share/doc/GraphicsMagick/www/api/draw.html +share/doc/GraphicsMagick/www/api/effect.apirst share/doc/GraphicsMagick/www/api/effect.html share/doc/GraphicsMagick/www/api/enhance.html share/doc/GraphicsMagick/www/api/error.html +share/doc/GraphicsMagick/www/api/fx.apirst share/doc/GraphicsMagick/www/api/fx.html +share/doc/GraphicsMagick/www/api/image.apirst share/doc/GraphicsMagick/www/api/image.html share/doc/GraphicsMagick/www/api/list.html share/doc/GraphicsMagick/www/api/magick.html @@ -188,51 +208,88 @@ share/doc/GraphicsMagick/www/api/montage.html share/doc/GraphicsMagick/www/api/operator.html share/doc/GraphicsMagick/www/api/paint.html share/doc/GraphicsMagick/www/api/pixel_cache.html +share/doc/GraphicsMagick/www/api/pixel_iterator.apirst +share/doc/GraphicsMagick/www/api/pixel_iterator.html share/doc/GraphicsMagick/www/api/profile.html share/doc/GraphicsMagick/www/api/quantize.html share/doc/GraphicsMagick/www/api/registry.html +share/doc/GraphicsMagick/www/api/render.apirst share/doc/GraphicsMagick/www/api/render.html +share/doc/GraphicsMagick/www/api/resize.apirst share/doc/GraphicsMagick/www/api/resize.html share/doc/GraphicsMagick/www/api/resource.html share/doc/GraphicsMagick/www/api/segment.html +share/doc/GraphicsMagick/www/api/shear.apirst share/doc/GraphicsMagick/www/api/shear.html share/doc/GraphicsMagick/www/api/signature.html share/doc/GraphicsMagick/www/api/transform.html share/doc/GraphicsMagick/www/api/types.html +share/doc/GraphicsMagick/www/api/types.rst share/doc/GraphicsMagick/www/api/widget.html -share/doc/GraphicsMagick/www/body.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 +share/doc/GraphicsMagick/www/bugs.rst share/doc/GraphicsMagick/www/color.html +share/doc/GraphicsMagick/www/compare.html share/doc/GraphicsMagick/www/composite.html share/doc/GraphicsMagick/www/conjure.html share/doc/GraphicsMagick/www/contribute.html +share/doc/GraphicsMagick/www/contribute.rst share/doc/GraphicsMagick/www/convert.html -share/doc/GraphicsMagick/www/cvs.html -share/doc/GraphicsMagick/www/development.html +share/doc/GraphicsMagick/www/crap.txt share/doc/GraphicsMagick/www/display.html +share/doc/GraphicsMagick/www/docutils-api.css +share/doc/GraphicsMagick/www/docutils-articles.css share/doc/GraphicsMagick/www/download.html +share/doc/GraphicsMagick/www/download.rst share/doc/GraphicsMagick/www/formats.html +share/doc/GraphicsMagick/www/formats.rst share/doc/GraphicsMagick/www/gm.html -share/doc/GraphicsMagick/www/header.html share/doc/GraphicsMagick/www/identify.html +share/doc/GraphicsMagick/www/images/banner_bg.png +share/doc/GraphicsMagick/www/images/examples.jpg +share/doc/GraphicsMagick/www/images/gm-107x76.png +share/doc/GraphicsMagick/www/images/gm-125x80t.png +share/doc/GraphicsMagick/www/images/right_triangle.png +share/doc/GraphicsMagick/www/images/right_triangle_option.png share/doc/GraphicsMagick/www/import.html share/doc/GraphicsMagick/www/index.html +share/doc/GraphicsMagick/www/index.rst share/doc/GraphicsMagick/www/links.html +share/doc/GraphicsMagick/www/links.rst share/doc/GraphicsMagick/www/magick.css share/doc/GraphicsMagick/www/miff.html +share/doc/GraphicsMagick/www/miff.rst share/doc/GraphicsMagick/www/mission.html +share/doc/GraphicsMagick/www/mission.rst share/doc/GraphicsMagick/www/mogrify.html share/doc/GraphicsMagick/www/montage.html share/doc/GraphicsMagick/www/motion-picture.html +share/doc/GraphicsMagick/www/motion-picture.rst share/doc/GraphicsMagick/www/perl.html +share/doc/GraphicsMagick/www/perl.rst +share/doc/GraphicsMagick/www/platforms.html +share/doc/GraphicsMagick/www/platforms.rst +share/doc/GraphicsMagick/www/process.html +share/doc/GraphicsMagick/www/process.rst share/doc/GraphicsMagick/www/programming.html +share/doc/GraphicsMagick/www/programming.rst share/doc/GraphicsMagick/www/quantize.html +share/doc/GraphicsMagick/www/quantize.rst share/doc/GraphicsMagick/www/smile.c share/doc/GraphicsMagick/www/tools.html +share/doc/GraphicsMagick/www/tools.rst share/doc/GraphicsMagick/www/utilities.html +share/doc/GraphicsMagick/www/utilities.rst +@dirrm share/doc/GraphicsMagick/www/images @dirrm share/doc/GraphicsMagick/www/api @dirrm share/doc/GraphicsMagick/www/Magick++ @dirrm share/doc/GraphicsMagick/www -@dirrm share/doc/GraphicsMagick/images @dirrm share/doc/GraphicsMagick @dirrm share/${PKGNAME}/config @dirrm share/${PKGNAME} diff --git a/graphics/GraphicsMagick/buildlink3.mk b/graphics/GraphicsMagick/buildlink3.mk index d3068b544c4..988c2afe35b 100644 --- a/graphics/GraphicsMagick/buildlink3.mk +++ b/graphics/GraphicsMagick/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.7 2008/05/01 11:55:12 obache Exp $ +# $NetBSD: buildlink3.mk,v 1.8 2008/11/10 11:24:27 obache Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ GRAPHICSMAGICK_BUILDLINK3_MK:= ${GRAPHICSMAGICK_BUILDLINK3_MK}+ @@ -13,7 +13,7 @@ BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}GraphicsMagick .if ${GRAPHICSMAGICK_BUILDLINK3_MK} == "+" BUILDLINK_API_DEPENDS.GraphicsMagick+= GraphicsMagick>=1.2 -BUILDLINK_ABI_DEPENDS.GraphicsMagick?= GraphicsMagick>=1.2 +BUILDLINK_ABI_DEPENDS.GraphicsMagick?= GraphicsMagick>=1.3 BUILDLINK_PKGSRCDIR.GraphicsMagick?= ../../graphics/GraphicsMagick .endif # GRAPHICSMAGICK_BUILDLINK3_MK diff --git a/graphics/GraphicsMagick/distinfo b/graphics/GraphicsMagick/distinfo index 98fb0228dce..f0005c37401 100644 --- a/graphics/GraphicsMagick/distinfo +++ b/graphics/GraphicsMagick/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.11 2008/07/26 06:59:18 obache Exp $ +$NetBSD: distinfo,v 1.12 2008/11/10 11:24:27 obache Exp $ -SHA1 (GraphicsMagick-1.2.5.tar.gz) = 8d00059e12a00076c8cf99db524aed228e13be11 -RMD160 (GraphicsMagick-1.2.5.tar.gz) = 77186ba84b31e6dcabd1fbed1d059874a8bf86d8 -Size (GraphicsMagick-1.2.5.tar.gz) = 7119165 bytes +SHA1 (GraphicsMagick-1.3.tar.gz) = 5a1de570defe39e11237e0997365caa76396cb87 +RMD160 (GraphicsMagick-1.3.tar.gz) = 98c024aae1f882cfa36856ff809e8355f6eee9e5 +Size (GraphicsMagick-1.3.tar.gz) = 9003206 bytes |