Subject: CVS commit: pkgsrc/graphics/php-imagick
From: Filip Hajny
Date: 2016-06-29 11:06:22
Message id: 20160629090622.31F74FBB5@cvs.NetBSD.org

Log Message:
Update graphics/php-imagick to 3.4.2.
This fixes build with modern ImageMagick and with PHP 7.0 too.

3.4.2
- Bug: IM143 Correct ifdef around setOpacity and
  localContrastImage.
- Bug: IM147 Imagick was Borging PHP's error handler.

3.4.1
- Bug 71742 - arrays that contain data that is held by reference
  gives error.
- Added:
  * Imagick::autoGammaImage([int channel = CHANNEL_ALL])
  * Imagick::autoOrient()
  * Imagick::compositeImageGravity(Imagick $image, int
  * COMPOSITE_CONSTANT, int GRAVITY_CONSTANT)
  * Imagick::localContrastImage(float radius, float strength)
  * Imagick::DIRECTION_LEFT_TO_RIGHT
  * Imagick::DIRECTION_RIGHT_TO_LEFT
  * Imagick::SPARSECOLORMETHOD_MANHATTAN
  * ImagickDraw::getOpacity() : float
  * ImagickDraw::setOpacity(float opacity) :bool
  * ImagickDraw::getFontResolution() : array
  * ImagickDraw::setFontResolution(float x, float y) : bool
  * ImagickDraw::getTextDirection() : bool
  * ImagickDraw::setTextDirection(int direction) : bool
  * ImagickDraw::getBorderColor() : ImagickPixel
  * ImagickDraw::setBorderColor(ImagickPixel color) : bool
  * ImagickDraw::getDensity() : string|null
  * ImagickDraw::setDensity(string density_string) : bool
  * ImagickPixel::setColorFromPixel(ImagickPixel $srcPixel) : bool

3.4.0
- No changes from 3.4.0RC6.

3.4.0RC6
- Added Imagick::evaluateImages(int EVALUATE_CONSTANT) : Imagick
- Imagick::setImageWhitePoint, Imagick::setImageRedPrimary,
  Imagick::setImageGreenPrimary, Imagick::setImageBluePrimary now
  take 3 params when compiled against IM7.
- Imagick::getImageWhitePoint, Imagick::getImageRedPrimary,
  Imagick::getImageGreenPrimary, Imagick::getImageBluePrimary now
  return 3 values when compiled against IM7.

3.4.0RC5
- Imagick::subImageMatch() added parameters.
- wrong type for zend_parse_parameters.

3.4.0RC4
- Remove duplicated definitions of class constants.

3.4.0RC3
- Imagick::adaptiveResizeImage, Imagick::cropThumbnailImage
  Imagick::resizeImage, Imagick::scaleImage, and
  Imagick::thumbnailImage have all had a rounding bug fixed.
- Imagick::colorizeImage() and Imagick::tintImage were using the
  wrong behaviour.
- Imagick::importImagePixels regression fixed.
- Imagick::subImageMatch use correct error metric in IM7
- Added Imagick::similarityImage() which is an alias to
  Imagick::subImageMatch()

3.4.0RC2
- PHP 7
- ImageMagick 7.
- Minimum versions supported are now PHP >= 5.4.0 and ImageMagick
  >= 6.5.3-10.
- Added methods:
  * Imagick::getConfigureOptions
  * Imagick::getFeatures
  * Imagick::getHDRIEnabled
  * Imagick::setImageChannelMask (IM7 only)
- Added constants:
  * Imagick::CHANNEL_READ_MASK
  * Imagick::CHANNEL_WRITE_MASK
  * Imagick::CHANNEL_META
- ImagickPixel::getColorQuantum,
  ImagickPixel::getColorValueQuantum and
  ImagickPixel::setColorValueQuantum now correctly use floats when
  Imagick was compiled against a HDRI version of ImageMagick
- Imagick::exportImagePixels works for all storage types
- Version number in extension header

3.3.0
- Added ImagickKernel class.
- Added methods:
  * Imagick::brightnessContrastImage()
  * Imagick::colorMatrixImage()
  * Imagick::deleteImageProperty()
  * Imagick::filter()
  * Imagick::forwardFourierTransformImage()
  * Imagick::getAntiAlias()
  * Imagick::getImageCompression()
  * Imagick::getRegistry()
  * Imagick::getQuantum()
  * Imagick::identifyFormat()
  * Imagick::inverseFourierTransformImage()
  * Imagick::isPixelSimilarQuantum()
  * Imagick::listRegistry()
  * Imagick::morphology()
  * Imagick::rotationalBlurImage()
  * Imagick::selectiveBlurImage()
  * Imagick::setAntiAlias()
  * Imagick::setImageBiasQuantum()
  * Imagick::setProgressMonitor()
  * Imagick::setRegistry()
  * Imagick::statisticImage()
  * Imagick::subImageMatch()
  * ImagickPixel::getColorQuantum()
- Added constants:
  * Imagick::RESOURCETYPE_TIME
  * Imagick::RESOURCETYPE_THROTTLE
  * Imagick::CHANNEL_RGBA
  * Imagick::ALPHACHANNEL_BACKGROUND
  * Imagick::FUNCTION_ARCSIN
  * Imagick::FUNCTION_ARCTAN
- Fixed Imagick::clutImage() parameter parsing
- Fixed tint image bug
- Fixed ImageMagick compiled with HDRI having quantum values as
  floats
- Fixed memory leaks in:
  * Imagick::getImageBlob()
  * Imagick::getImagesBlob()
  * Imagick::getImageChannelStatistics()
  * Imagick::getImageFormat()
  * Imagick::getImageMimetype()
  * Imagick::getSamplingFactors()
  * Imagick::identifyImage()
  * Imagick::tintImage
- Fixed segfault when compiling statically
- ImagickDraw::setFontFamily no longer checks whether the font is
  available.
- Removed Zend MM support
- Excluded deprecated methods:
  * Imagick::getImageMatte()
  * Imagick::colorFloodfillImage()
  * Imagick::matteFloodfillImage()
  * Imagick::paintFloodfillImage()
  * Imagick::paintOpaqueImage()
  * Imagick::paintTransparentImage()
  * Imagick::mapImage()
  * Imagick::recolorImage()
  * Imagick::setImageIndex()
  * Imagick::getImageIndex()
  * Imagick::getImageSize()
  * Imagick::setImageAttribute()
  * Imagick::getImageAttribute()
  * Imagick::mosaicImages()
  * Imagick::averageImages()
  * Imagick::flattenImages()
  * Imagick::getImageChannelExtrema()
  * Imagick::getImageExtrema()
- Ini file changes: Added imagick.skip_version_check.
- CI now compiles with CFLAGS="-Wno-deprecated-declarations
  -Wdeclaration-after-statement -Werror"

3.2.0RC1
- Fix bug #66098: Segfault in zval_addref_p

3.2.0b2
- A lot of internal improvements on the code
- Added ImagickPixel::isPixelSimilar and deprecate
  ImagickPixel::isSimilar #10
- Added imagick::smushimages
- Added imagick::blueshiftimage and imagick::clampimage
- Added Imagick::autolevelimage
- Added constants:
  * Imagick::ALPHACHANNEL_REMOVE
  * Imagick::ALPHACHANNEL_FLATTEN
  * Imagick::RESOURCEENGINE_THREAD
  * Imagick::COMPOSITE_CHANGEMASK
  * Imagick::COMPOSITE_LINEARLIGHT
  * Imagick::COMPOSITE_DIVIDE
  * Imagick::COMPOSITE_DISTORT
  * Imagick::COMPOSITE_BLUR
  * Imagick::COMPOSITE_PEGTOPLIGHT
  * Imagick::COMPOSITE_VIVIDLIGHT
  * Imagick::COMPOSITE_PINLIGHT
  * Imagick::COMPOSITE_LINEARDODGE
  * Imagick::COMPOSITE_LINEARBURN
  * Imagick::COMPOSITE_MATHEMATICS
  * Imagick::COMPOSITE_MODULUSADD
  * Imagick::COMPOSITE_MODULUSSUBTRACT
  * Imagick::COMPOSITE_MINUSDST
  * Imagick::COMPOSITE_DIVIDEDST
  * Imagick::COMPOSITE_DIVIDESRC
  * Imagick::COMPOSITE_MINUSSRC
  * Imagick::COMPOSITE_DARKENINTENSITY
  * Imagick::COMPOSITE_LIGHTENINTENSITY
  * Imagick::FILTER_KAISER
  * Imagick::FILTER_WELSH
  * Imagick::FILTER_PARZEN
  * Imagick::FILTER_LAGRANGE
  * Imagick::FILTER_SENTINEL
  * Imagick::FILTER_BOHMAN
  * Imagick::FILTER_BARTLETT
  * Imagick::FILTER_JINC
  * Imagick::FILTER_SINCFAST
  * Imagick::FILTER_ROBIDOUX
  * Imagick::FILTER_LANCZOSSHARP
  * Imagick::FILTER_LANCZOS2
  * Imagick::FILTER_LANCZOS2SHARP
  * Imagick::FILTER_ROBIDOUXSHARP
  * Imagick::FILTER_COSINE
  * Imagick::FILTER_SPLINE
  * Imagick::FILTER_LANCZOSRADIUS
  * Imagick::COMPRESSION_ZIPS
  * Imagick::COMPRESSION_PIZ
  * Imagick::COMPRESSION_PXR24
  * Imagick::COMPRESSION_B44
  * Imagick::COMPRESSION_B44A
  * Imagick::COMPRESSION_LZMA
  * Imagick::COMPRESSION_JBIG1
  * Imagick::COMPRESSION_JBIG2

3.2.0b1
- Added Countable interface to Imagick class
- Added experimental support for Zend MM.
- Added additional parameter to writeImageFile to allow setting
  format
- Distribute tests as part of the release
- Fixed Bug #65043: Destroy and clear method do the same things
- Fixed Bug #64945: ZEND_ACC_ALLOW_STATIC vs ZEND_ACC_STATIC
- A lot of internal refactoring: rewrite macros as functions,
  clean up naming etc

Files:
RevisionActionfile
1.5modifypkgsrc/graphics/php-imagick/Makefile
1.3modifypkgsrc/graphics/php-imagick/distinfo