[Pkg-php-commits] r1281 - in modules/trunk: . php-imagick php-imagick/debian

Guillaume Delacour kcd-guest at alioth.debian.org
Wed Jun 24 20:54:51 UTC 2009


Author: kcd-guest
Date: 2009-06-24 20:54:48 +0000 (Wed, 24 Jun 2009)
New Revision: 1281

Added:
   modules/trunk/php-imagick/
   modules/trunk/php-imagick/debian/
   modules/trunk/php-imagick/debian/README.Debian
   modules/trunk/php-imagick/debian/TODO
   modules/trunk/php-imagick/debian/changelog
   modules/trunk/php-imagick/debian/control
   modules/trunk/php-imagick/debian/copyright
   modules/trunk/php-imagick/debian/imagick.ini
   modules/trunk/php-imagick/debian/phpX-imagick.postinst
   modules/trunk/php-imagick/debian/phpX-imagick.postrm
   modules/trunk/php-imagick/debian/rules
   modules/trunk/php-imagick/debian/watch
Log:
php-imagick version 2.2.2

Added: modules/trunk/php-imagick/debian/README.Debian
===================================================================
--- modules/trunk/php-imagick/debian/README.Debian	                        (rev 0)
+++ modules/trunk/php-imagick/debian/README.Debian	2009-06-24 20:54:48 UTC (rev 1281)
@@ -0,0 +1,521 @@
+Upstream don't provide Changelog file, so provide it for Debian users:
+
+Release  	What has changed?
+----------------------------------------------------------
+
+2.3.0RC2 	- Fixed image reading routines. Page defitions (test.pdf[0]) were broken on RC1
+- Fixed imagick::colorizeImage, it had no effect on images
+
+2.3.0RC1 	- Fixes PECL bug #16085 (Twice crop returns invalid result)
+- Removed unnecessary checks
+
+2.3.0b1 	- Fixed compilation against older ImageMagick versions (Patch by Tim Herzog)
+- Fixed getImageMatte to actually return boolean instead of int
+- Added methods:
+* Imagick::getImageMimeType
+* Imagick::writeimagefile
+* Imagick::writeimagesfile
+* Imagick::resetimagepage
+* Imagick::setimageclipmask
+* Imagick::getimageclipmask
+* Imagick::animateimages
+* Imagick::recolorimage
+* Imagick::floodfillpaintimage
+* Imagick::opaquepaintimage
+* Imagick::transparentpaintimage
+* Imagick::decipherimage
+* Imagick::encipherimage
+* Imagick::getimagealphachannel
+* Imagick::getimagechanneldistortions
+* Imagick::getimagegravity
+* Imagick::setimagegravity
+* Imagick::remapimage
+* Imagick::exportimagepixels
+* Imagick::getimagechannelkurtosis
+* Imagick::functionimage
+* Imagick::importImagePixels
+* Imagick::sparseColorImage
+* Imagick::deskewImage
+* Imagick::segmentImage
+
+* Imagickdraw::gettextkerning
+* Imagickdraw::settextkerning
+* Imagickdraw::gettextinterwordspacing
+* Imagickdraw::gettextinterwordspacing
+
+* ImagickPixel::getColorValueQuantum
+* ImagickPixel::setColorValueQuamtum
+* ImagickPixel::getIndex
+* ImagickPixel::setIndex
+
+2.2.2 	- No bugs reported against RC4 so releasing it as is
+
+2.2.2RC4 	- Check for ImageMagick version in config.m4 before trying to search for headers
+- Fixed memory leak where pointinfo is used
+- Fixed incorrect memory handling of array where php array is converted to array of doubles
+- Cleaned up image writing routines
+- Added missing semicolon on constant registration
+- Added distortion and alphachannel constants
+
+2.2.2RC3 	- Fixed clone keyword to actually clone the wand ptr
+- Imagick progress monitor name is now correctly cloned
+- Fixes PECL Bug #15614
+
+2.2.2RC2 	+ Added Imagick::setImageProgressmonitor and Imagick::orderedPosterizeImage
+- Fixes http://imagemagick.org/discourse-server/viewtopic.php?f=18&t=12828
+- Fixes error with empty exception messages
+- Fixes PECL Bug #15332
+- Fixed a possible memory leak in Imagick::convolveImage
+
+2.2.2RC1 	- Fixes Pecl bug #15321
+- Added getImageCompressionQuality
+- Fixes building against PHP 5.3
+
+2.2.1 	- No bugs reported against RC2 so releasing it as is
+
+2.2.1RC2 	- Fixed ZTS build
+
+2.2.1RC1 	- Fixes a small memory leak when casting a string to ImagickPixel object
+- Added new constants
+- Added getImageChannelRange method
+- Some cleaning up on the syntax
+
+2.2.0 	- Changes since 2.1.1:
+* Major refactoring of the file structure
+* Fixes bugs related to the refactoring
+
+2.2.0RC1 	Fix build on Mac related to duplicate symbols
+
+2.2.0b2 	Closes PECL Bugs #13841 and #13787
+
+2.2.0b1 	- Major refactoring of the internal file structure
+
+2.1.1 	- Fixed a bug with fit parameter when scaling images with scaling ratio 1:1
+* This is a minor BWC break. Scripts relying on incorrect behavior might need revisiting.
+
+2.1.1RC1 	Fixed building against ImageMagick 6.3.8-x
+
+2.1.0 	- Addded setImageAlphaChannel method
+- Fixed sharpenImage parameters being reversed
+- Fixed building with pre 5.2 versions
+
+2.1.0RC3 	- Fixes PECL Bug #12851
+- Some major housekeeping changing numeral values to constants
+
+2.1.0RC2 	- Closes PECL Bugs #12463 and #12479
+- Fixes the behavior of flattenImages and fximage
+- Fixes incorrect thumbnail behavior
+- Fixes a bug in Imagick::cropThumbnailImage
+- Added new constant Imagick::NOISE_RANDOM
+
+2.1.0RC1 	+ All methods that expect ImagickPixel now allow a string representing the color
++ Added support for pixeliterator in all supported ImageMagick versions.
++ ImagickPixelIterator now implements the iterator interface
++ It is now possible to set the row with region iterator
++ Added MAXPATHLEN checks for image reads/writes
++ Added a fix to Imagick::cropThumbnailImage() to check if images are already at the desired size
++ Fixed a memory leak in Imagick::getImageHistogram()
++ Speed improvements to Imagick::cropThumbnailImage()
++ Added interpolate constants
++ Fixed ImagickPixel::getColor()
++ Marked ImagickDraw::__construct() with ZEND_ACC_CTOR
++ Added fit parameter and proportional scaling to:
+- Imagick::adaptiveResizeImage()
+- Imagick::scaleImage()
+- Imagick::resizeImage()
++ Added imagick.locale_fix ini setting to fix drawing bug on some locale
++ Suppressed warnings in readImageFile and pingImageFile (PECL Bug #12367)
++ Added methods:
+- ImagickPixel::clone()
+- ImagickPixel::getColorAsString()
+- Imagick::mergeImageLayers()
+- Imagick::paintFloodfillImage()
+- Imagick::setFont()
+- Imagick::getFont()
+- Imagick::setPointsize()
+- Imagick::getPointsize()
+
+2.0.1 	+ ImagickDraw::setFont and ImagickDraw::setFontFamily now allow only valid fonts
++ Added IMAGICK_EXTVER and IMAGICK_EXTNUM constants
++ Added check for empty or invalid pseudo format string in Imagick::newPseudoImage
++ Fixed incorrect arg hinting for Imagick::compareImageChannels
+
+2.0.1RC1 	+ Added Imagick::distortImage and Imagick::setlastiterator
++ Added optional fourth parameter to newImage to set the format when creating a new canvas
++ Fixed fitting to zero size image in Imagick::thumbnailImage
++ Fixed the destroy methods.
++ Most of the operations that read / add images to the stack move the iterator position to the last element
++ Fixed memleaks in methods that replace the internal MagickWand* pointer
+
+2.0.0 	+ Added Imagick::extentImage
++ Added Imagick::IMAGICK_VERSION_NUMBER and Imagick::IMAGICK_VERSION_STRING constants
++ Fixed a possible crash in Imagick::newPseudoImage
+
+2.0.0RC4 	+ Moved getimagelength into #if block
++ Added optional third parameter to thumbnailImage
++ Added second optional parameter to getImageProperties and getImageProfiles to return just the available properties.
++ Closes PECL Bug #12006
+
+2.0.0RC3 	+ Closes PECL Bug #12006
++ Fixes a possible crash in queryFontMetrics
++ New methods:
++ Imagick::clutImage
++ Imagick::setImage
++ Imagick::getImageLength
++ Imagick::getImageOrientation
++ Imagick::setImageOrientation
++ Imagick::getImageProperties
++ Imagick::getImageProfiles
+
+2.0.0RC2 	+ Added support for forcing image format during write operations.
++ Added more interlace constants. They are present if imagick is compiled against ImagickMagick 6.3.4 or newer.
++ Added Imagick::getImageAttribute.
++ Added LAYERMETHOD constants. Available if compiled against ImageMagick 6.2.8 or later.
++ Closes PECL Bug #11934 - setImageVirtualPixelMethod triggers exception
++ Fixed safe_mode and open_basedir bypass for __construct, readImage, readImages and pingImage
+
+2.0.0RC1 	+ Suppress error when reading image from a stream.
++ Fixed allow_url_fopen bypass in Imagick::newPseudoImage().
++ Fixed imagick::__tostring to return empty string if the object doesnt contain images.
++ Fixed a problem with Imagick::getImagesBlob() when an older version of ImageMagick is used.
++ Fixed a crash on Windows when no arguments are passed to the Imagick constructor.
++ Fixed a crash when using a threaded SAPI under Windows.
++ Fixed a bug in ImagickDraw::affine().
++ Added Imagick::getIteratorIndex() and Imagick::setIteratorIndex().
++ Added Imagick::readImages()
+
+2.0.0b3 	+ Closes PECL Request #11513
++ Fixes ImagickPixel bug reported by Imran Nazar.
++ Fixed Imagick::setImageDispose and Imagick::setImageUnits.
++ Fixed Imagick::queryFontMetrics to autodetect multiline text if multiline argument is not passed or is null.
++ Fixed open_basedir bypasses in Imagick::newPseudoImage
++ Fixed "Undefined Exception" error messages
+
+NOTE: Using threaded SAPI in Windows is not currently recommended.
+
+2.0.0b2 	+ Fixed open_basedir bypasses.
++ Fixed PECL Bug #11328
++ Added methods:
+- Imagick::queryFonts()
+- Imagick::queryFontMetrics()
+
+NOTE: Using threaded SAPI in Windows is not currently recommended.
+
+2.0.0b1 	- fix PECL bug #10967 - supplied path fails to compile
+- Added new methods
++ Imagick::displayImage()
++ Imagick::displayImages()
++ Imagick::cropThumbnailImage()
++ Imagick::roundCorners()
++ Imagick::polaroidImage()
++ Imagick::getImageProperty()
++ Imagick::setImageProperty()
++ Imagick::newPseudoImage()
++ Imagick::__toString()
++ ImagickPixel::setColorCount()
+- Added missing DisposeType constants.
+- Merged ImagickPixel::getColorAsString and ImagickPixel::getColorAsNormalizedString into ImagickPixel::getColor( [bool normalized] )
+- Fixed wrong exception type in Imagick::setSamplingFactors
+- Removed useless check from ImagickPixelIterator::syncIterator
+- Renamed ImagickDraw::pushDrawingWand to ImagickDraw::push
+- Renamed ImagickDraw::popDrawingWand to ImagickDraw::pop
+2.0.0a3 	- Removed support for ImagickPixelIterator if compiled against older version of ImageMagick (below 6.2.8)
+- Fixed a lot of functions which were not present in older ImageMagick versions. (below 6.2.8)
+- Added support for passing color name as parameter for ImagickPixel constructor
+- Added support for passing a filename or an array of filenames to Imagick constructor
+- Fixed anomalies with ImagickPixelIterator exceptions
+- Fixed a possible segfault in Imagick::appendImages
+- Fixed double-free errors in some Imagick methods
+- Added composite operator constants.
+- Fixed ImagickPixelIterator::__construct to accept Imagick object as parameter.
+
++ Some of the changes are a bit experimental so please report bugs.
+
+2.0.0a2 	- Fixed segfaults in ImagickDraw::getFont(), ImagickDraw::getFontFamily(), ImagickDraw::getTextEncoding() and ImagickDraw::getClipPath()
+- Added a PHP version check to config.m4
+
+2.0.0a1 	- Initial Release
+
+
+
+Pre 2.0.0 releases
+---------------------------------------
+
+0.9.13 	- Fixed compile error with newer versions of GraphicsMagick and ImageMagick
+- Fixed assertion when using imagick_setfillcolor
+- Fixed segfault when an empty blob is loaded
+- Use new API for fetching support image formats / fonts
+
+0.9.11 	- Fix some segfaults on errors (by Andrei Nigmatulin)
+- EXPERIMENTAL support for ImageMagick >= 6.0.0 (hint by Stanislav Yadykin). Please report successes or failures.
+
+0.9.10 	- A ./configure change release only.
+- Changed config.m4 for checking for correct ImageMagick Version.
+ImageMagick >= 5.5.3 and < 6.6.0 or
+GraphicsMagick >= 1.0.0
+are needed.
+- ImageMagick >= 6.0.0 does not work currently. Patches are welcome ;)
+
+0.9.9 	- added function imagick_set_image_comment() for setting the comment attribute
+of an image.
+- function imagick_setcompressiontype() was not setting the correct structure.
+This was identified and tested by Sergio Salvatore (sergio at cucinalogica.com).
+- added function imagick_transparent() for setting a particular color to be
+transparent within an image.
+- changed how certain errors are handled in _php_imagick_is_error() to be
+less restrictive. This apparently helps fix issues with certain types
+of images that otherwise appear corrupt. Thanks to Hien Duy Nguyenxi
+(hdn at umich.edu) for finding this, recommending the change and testing it.
+- added imagick_set_image_quality() for manipulating the quality of the
+resultant image.
+- added examples/set_image_quality.php for testing the
+imagick_set_image_quality() function. Thanks to Derrick DeLoreno Threatt
+(dthreatt at digitalcreations.net) for bringing up the need for this function
+and testing it.
+0.9.8 	- fixed critical error in call to strlen() in _php_imagick_set_last_error().
+I strongly recommend you upgrade.
+0.9.7 	- fixed bug in imagick_free() that would cause it to SEGFAULT everytime
+it's called.
+- fixed to work with versions of ImageMagick >= 5.5.7 - special thanks to
+James Huston (hustonjs at itadevelopment.com) for helping make this happen.
+- test compiled against ImageMagick 5.5.3, 5.5.6 and 5.5.7 with success.
+- test compiled against GraphicsMagick 1.0.1 with success.
+0.9.6 	- functions added:
+imagick_getcolorspace()
+imagick_error()
+- added a new example called transparent_1x1.html and some explanatory text.
+I can think of many uses for this code.
+- thanks to James Huston (hustonjs at itadevelopment.com) for suggesting
+imagick_getcolorspace() and testing it out.
+- added GraphicsMagick (http://www.graphicsmagick.org) support to configure
+script (enable it with --with-imagick-gm)
+- imagick_readimage() now returns false if ImageMagick ReadImage() fails.
+- imagick_error() returns 1 string representing any errors that have occurred
+on an operation. IT IS LARGELY UNTESTED! Beware! However, you can now
+do things like:
+$handle = imagick_readimage( "image.jpg" ) or die( imagick_error() ) ;
+- fixed configure script. It honours now values returned by Magick-config.
+0.9.5 	- functions added:
+imagick_newimagelist()
+imagick_pushlist()
+imagick_poplist()
+imagick_mosaic()
+imagick_setcompressiontype()
+imagick_setcompressionquality()
+- modified how all functions check to see if ImageMagick has been initialized.
+- added a number of new examples for demonstrating how to use image lists.
+- fixed bugs in _php_imagick_alloc_handle() and _php_imagick_clear_errors()
+causing core dump when working with image lists. I wasn't checking to make
+sure the structures I was examining were allocated.
+- thanks to James Huston (hustonjs at itadevelopment.com) for suggesting
+imagick_setcompressiontype() and imagick_setcompressionquality() and
+testing them.
+- added supporting IMAGICK_COMPRESSION_* constants for use with
+imagick_setcompressiontype().
+- renamed imagick_setcompression() to imagick_setcompressiontype().
+(note: this was done before the new version was released so no users should
+be impacted.)
+0.9.4 	- functions added:
+imagick_flatten()
+imagick_getmagick()
+imagick_setfillopacity()
+- fixed bad code in these functions:
+imagick_despeckle()
+imagick_edge()
+imagick_emboss()
+imagick_enhance()
+imagick_gaussianblur()
+imagick_medianfilter()
+imagick_motionblur()
+imagick_reducenoise()
+imagick_shade()
+imagick_sharpen()
+imagick_spread()
+imagick_unsharpmask()
+- for the above functions, if call to corresponding ImageMagick
+function the module would probably core dump. If it didn't the
+results would be really buddy and weird.
+- setfillopacity() thanks to Allen Condit, condit at isri.unlv.edu.
+0.9.3 	- functions added:
+imagick_zoom()
+- the difference between imagick_zoom() and imagick_resize() is
+that zoom applies the blur and filter that are defined by
+the image. It is a much simpler way of resizing an image.
+- added imagick.dsp and modifications for compiling under Windows.
+- changed all instances of le_handle to le_imagick_handle to avoid
+future conflicts.
+0.9.2 	- functions added:
+imagick_profile()
+- created IMAGICK_PROFILE_* to support imagick_profile().
+- this release is significant because of the issue with Microsoft IE
+where the image's profile causes the browser to not properly render
+images (you only get red X's). See this posting:
+http://studio.imagemagick.org/pipermail/magick-users/2002-September/005072.html
+- added this filter IMAGICK_FILTER_UNKNOWN. If the user specifies
+this filter to imagick_resize(), the resize function will take
+whatever filter is defined by the image.
+- modified imagick_resize() to take 6th optional parameter that is
+the modifier to the geometry to facility building geometries such
+as 800x600+200+200! or 450x230>.
+- modified imagick_scale() to take 4th optional parameter that is
+the modifier to the geometry to facility building geometries such
+as 800x600+200+200! or 450x230>.
+- modified imagick_sample() to take 4th optional parameter that is
+the modifier to the geometry to facility building geometries such
+as 800x600+200+200! or 450x230>.
+0.9.1 	- functions added:
+imagick_chop()
+imagick_crop()
+imagick_flip()
+imagick_flop()
+imagick_roll()
+imagick_getimagedepth()
+imagick_getnumbercolors()
+imagick_isgrayimage()
+imagick_ismonochromeimage()
+imagick_isopaqueimage()
+imagick_ispaletteimage()
+imagick_ordereddither()
+imagick_composite()
+- Added IMAGICK_COMPOSITE_OP_* for use with imagick_composite().
+0.9.0.1 	IMPORTANT!!!
+This release breaks Backwards Compatibility with the 0.1.x series of ext/imagick. read the examples for more information (in $doc_dir/imagick/examples).
+
+Big Credits go to Michael C. Montero, who wrote the whole extension from scratch. Without him, we would still be at 0.1.x. He will be the future lead for this package (as soon as he has an account on pear).
+
+0.2-0.5 were never released within PEAR.
+
+version 0.9.0.1:
+- more appropriate changelog/notes, no changes in code.
+
+version 0.9:
+- functions added:
+imagick_next()
+imagick_prev()
+imagick_first()
+imagick_goto()
+imagick_getlistsize()
+imagick_getlistindex()
+imagick_getimagefromlist()
+imagick_blob2image()
+imagick_reducenoise()
+imagick_shade()
+imagick_sharpen()
+imagick_spread()
+imagick_threshold()
+imagick_unsharpmask()
+- cut over deprecation reporting to a more standized and easier to use method
+- cut over all php_error calls to standard method
+- added Christian's code to info function for displaying a list of supported image formats
+- rewrote all code to use proper parameter parsing function
+- fixed minor issue with a number of example files; was nothing critical
+
+version: 0.5a
+- functions added:
+imagick_getcanvas()
+imagick_blur()
+imagick_despeckle()
+imagick_edge()
+imagick_emboss()
+imagick_enhance()
+imagick_gaussianblur()
+imagick_medianfilter()
+imagick_motionblur()
+- one major change - renamed everything to imagick*; I've joined my efforts with Christian Stocker who had a previously written but smaller extension
+- magick_getcanvas() allows you to create a blank image to draw on
+- changed comment header in imagick.h to match the one in imagick.c
+- added Christian Stocker to credits
+- moved over to Christian Stocker's config.m4, removed the need for gen_configm4
+- rewrote INSTALL to reflect new config.m4
+- slight modifications to config.m4 to get it to work properly
+- added package.xml
+- removed ChangeLog, everything is now in package.xml
+- removed imagick_free_reason() and imagick_free_description() since they are no longer necessary
+- preceded all internal functions with _php_
+- created imagick_read() for backward compatibility with old extension
+- created imagick_write() for backward compatibility with old extension
+
+version 0.4a
+- functions added:
+magick_writeimages()
+magick_destroyhandle()
+magick_image2blob()
+magick_drawarc()
+magick_drawcircle()
+magick_drawpoint()
+magick_border()
+magick_frame()
+magick_raise()
+magick_getwidth()
+magick_getheight()
+magick_getmimetype()
+magick_setfillcolor()
+magick_setfontface()
+magick_charcoal()
+magick_implode()
+magick_oilpaint()
+magick_solarize()
+magick_swirl()
+magick_wave()
+- more preparation for image lists
+- fixed incorrect comments in some examples
+- fixed incorrect calls to magick_failedreason() and magick_faileddescription() in most examples
+- a number of examples weren't exiting properly on errors, that's been fixed
+- phpinfo() now displays available font family and font names
+- coolest function so far: magick_oilpaint(). The output is awesome!
+- added MaxRGB to phpinfo() section
+
+version 0.2a
+- functions added:
+magick_rotate()
+magick_shear()
+magick_contrast()
+magick_equalize()
+magick_gamma()
+magick_level()
+magick_modulate()
+magick_negate()
+magick_normalize()
+magick_drawellipse()
+- slight changes to output of gen_configm4
+- fixed comments in all examples after the initial magick_readimage(), they were wrong
+- fixed all examples so they exit properly on errors
+- fixed all examples so they work as either standalone script or web page; they do better output as well
+- fixed output of magick info. when calling phpinfo()
+- more commenting
+- significantly better error handling
+0.9 	IMPORTANT!!!
+This release breaks BC with the 0.1.x series of ext/imagick.
+read the examples for more information (in $doc_dir/imagick/examples)
+
+0.2-0.5 were never released within PEAR.
+
+- functions added:
+imagick_next()
+imagick_prev()
+imagick_first()
+imagick_goto()
+imagick_getlistsize()
+imagick_getlistindex()
+imagick_getimagefromlist()
+imagick_blob2image()
+imagick_reducenoise()
+imagick_shade()
+imagick_sharpen()
+imagick_spread()
+imagick_threshold()
+imagick_unsharpmask()
+- cut over deprecation reporting to a more standized and easier
+to use method
+- cut over all php_error calls to standard method
+- added Christian's code to info function for displaying a list of
+supported image formats
+- rewrote all code to use proper parameter parsing function
+- fixed minor issue with a number of example files; was nothing
+critical
+0.1.2 	- Added imagick_border(). (pierre-alain joye)
+- Fixed return of annotate and rotate (true on success). (pierre-alain joye)
+0.1.1 	- Make it compatible with ImageMagick 5.4.5 (and this is also the needed version now)
+- adjust package.xml to the new "pear build" command
+
+Source: http://pecl.php.net/package-changelog.php?package=imagick

Added: modules/trunk/php-imagick/debian/TODO
===================================================================
--- modules/trunk/php-imagick/debian/TODO	                        (rev 0)
+++ modules/trunk/php-imagick/debian/TODO	2009-06-24 20:54:48 UTC (rev 1281)
@@ -0,0 +1,9 @@
+TODO
+-----------------
+
+- Provide re2c support:
+
+"configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers."
+in configure call during build.
+
+- Package last (but beta) version: 2.3.0RC2 (released on 2009-05-20)

Added: modules/trunk/php-imagick/debian/changelog
===================================================================
--- modules/trunk/php-imagick/debian/changelog	                        (rev 0)
+++ modules/trunk/php-imagick/debian/changelog	2009-06-24 20:54:48 UTC (rev 1281)
@@ -0,0 +1,293 @@
+php-imagick (2.2.2-1) unstable; urgency=low
+
+  * New upstream release (Closes: #524863).
+  * New maintainer (Closes: #530621).
+  * debian/rules:
+    + Add rm -f *.cdbs-config_list to clean rule.
+    + Add "debian/" to generated post{inst,rm} in clean rule.
+    + Delete "/usr/share/cdbs/1/rules/tarball.mk" (source is now a dir)
+      and move "phpize --clean" to clean rule.
+    + Delete "--with-regex" and "--disable-rpath" (enable by default)
+      in configure call (unrecognized options).
+    + Delete lintian override (no-shlibs-control-file).
+  * debian/README.Debian: provide upstream Changelog.
+  * Bump to Standards-Version 3.8.1 (no changes needed).
+  * Suppress unless end-of-line space (Thanks Denis Briand).
+  * Bump to compatibility 7 in debian/{control,compat}.
+  * add "set -e" (instead of "#!/bin/sh -e") in post{inst,rm} files.
+
+ -- Guillaume Delacour <gui at iroqwa.org>  Tue, 09 Jun 2009 08:27:34 +0000
+
+php-imagick (2.1.1RC1-1) unstable; urgency=low
+
+  * New upstream release
+  * Added Depends ${shlibs:Depends}, now it put libmagick* dependence.
+    (Closes: #459874)
+
+ -- Jose Carlos Medeiros <debian at psabs.com.br>  Tue, 25 Mar 2008 02:02:54 -0300
+
+php-imagick (2.1.0RC1-1) unstable; urgency=low
+
+  * New upstream release
+  * Standards-Version: 3.7.3
+  * Updated "Homepage:" pseudo-header as Reference 1.14.6.
+  * Fixed segfault on 64 archs caused by implicit pointer conversion.
+    (Closes: #425734)
+  * debian/copyright: Updated copyright holders. (closes: #453443)
+
+ -- Jose Carlos Medeiros <debian at psabs.com.br>  Wed, 12 Dec 2007 17:09:02 -0200
+
+php-imagick (2.0.1-1) unstable; urgency=low
+
+  * New upstream release. (Closes: #445033)
+  * Package was reorganized to use cdbs and php5/conf.d. (Closes: #431337)
+  * debian/control:
+    removed "dpatch", "bison" and "flex" build dependence.
+    added "ucf" dependence.
+  * debian/rules: updated to complain with cdbs.
+  * debian/copyright: updated PHP License, version 3.01.
+  * debian/php5-imagick.postinst: updated to use ucf.
+
+ -- Jose Carlos Medeiros <debian at psabs.com.br>  Sat, 03 Nov 2007 04:04:35 +0000
+
+php-imagick (2.0.0b3-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Jose Carlos Medeiros <debian at psabs.com.br>  Fri, 21 Sep 2007 17:00:57 -0300
+
+php-imagick (2.0.0a2-1) unstable; urgency=low
+
+  * New upstream release. (Closes: #421786)
+  * Removed suport to php4 due php4 removal. (Closes: #418309)
+  * Removed debian/.template and debian/po files, as isnt no more necessary.
+  * Removed debian/.postrm and debian/.config files no more used.
+  * Added debian/imagick.ini file used by php5.
+  * Added debian/dh_pecl5 and changed rules to call it.
+  * Removed no more used 02_examples.dpatch.
+  * Removed no more used 03_nographicsmagickplease.dpatch.
+  * Removed no more used 04_Magick-config_to_php-config.dpatch.
+  * Removed build-dependence from libmagick-dev, as this package can call
+    graphicsmagick that isnt supported by php-imagick.
+
+ -- Jose Carlos Medeiros <debian at psabs.com.br>  Thu, 17 May 2007 19:21:15 -0300
+
+php-imagick (0.9.13-1) unstable; urgency=low
+
+  * New upstream release
+  * Build Depends on php4-dev (>= 4:4.4.4-9), php5-dev (>= 5.2.0-10), now
+    depends on phpapi-20050606+lfs. (Closes: #400527)
+  * Patched config.m4 (Magick-config_to_php-config.dpatch) to use php-config.
+    (Closes: #400786)
+  * Updated to use new config files schema with conf.d directory and
+    module.ini files. (Closes: #401631)
+
+ -- Jose Carlos Medeiros <debian at psabs.com.br>  Fri, 27 Apr 2007 20:48:42 -0300
+
+php-imagick (0.9.11+1-4.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Sourcefull NMU to rebuild against php 5.2. Closes: #398585
+
+ -- Andreas Barth <aba at not.so.argh.org>  Tue, 28 Nov 2006 09:24:33 +0100
+
+php-imagick (0.9.11+1-4) unstable; urgency=low
+
+  * Bump Standards-Version: 3.7.2
+  * Updated Japanese debconf translation, thanks to Kenshi Muto
+    <kmuto at debian.org>. (Closes: #379941)
+  * Updated Danish debconf translation, thanks to  Claus Hindsgaul 	
+    <claus.hindsgaul at gmail.com>. (Closes: #382476)
+  * Updated Spanish debconf translation, thanks to Carlos Valdivia Yagüe
+    <valyag at dat.etsit.upm.es>.
+  * Updated Vietnamese debconf translation, thanks to Clytie Siddall
+    <clytie at riverland.net.au>.
+  * Updated Swedish debconf translation, thanks to Daniel Nylander
+    <po at danielnylander.se>.
+  * Updated Czech debconf translation, thanks to Miroslav Kure
+    <kurem at upcase.inf.upol.cz>. (Closes: #382540)
+  * Updated French debconf translation, thanks to Florentin Duneau
+    <f.baced at wanadoo.fr>. (Closes: #383043)
+  * Updated Portuguese debconf translation, thanks to Miguel Figueiredo
+    <elmig at debianpt.org>
+  * Updated German debconf translation, thanks to Alwin Meschede
+    <ameschede at gmx.de>
+  * Updated Turkish debconf translation, thanks to Osman Yüksel
+    <yuxel at sonsuzdongu.com>
+
+ -- Jose Carlos Medeiros <debian at psabs.com.br>  Wed,  9 Aug 2006 17:45:27 -0300
+
+php-imagick (0.9.11+1-3) unstable; urgency=low
+
+  * Updated Debconf French translation. Thanks to Florentin Duneau
+    <fduneau at gmail.com>. (closes: #361609)
+  * Updated Debconf Czech translation. Thanks to Miroslav Kure
+    <kurem at upcase.inf.upol.cz>. (closes: #366739)
+  * Updated Debconf Russian translation. Thanks to Yuriy Talakan
+    <yt at amur.elektra.ru>. (closes: #367163)
+
+ -- Jose Carlos Medeiros <debian at psabs.com.br>  Thu, 11 May 2006 20:48:39 -0300
+
+php-imagick (0.9.11+1-2) unstable; urgency=low
+
+  * Updated debian po Danish translation, Thanks to Claus Hindsgaul
+    <claus.hindsgaul at gmail.com>. (closes: #357987)
+
+ -- Jose Carlos Medeiros <debian at psabs.com.br>  Mon, 27 Mar 2006 16:56:49 -0300
+
+php-imagick (0.9.11+1-1) unstable; urgency=low
+
+  * Changed source name from php4-imagick to php-imagick.
+  * Build-Depends on debhelper >=5, removed compat file and put DH_COMPAT in
+    rules file.
+
+ -- Jose Carlos Medeiros <debian at psabs.com.br>  Fri, 17 Mar 2006 14:40:09 -0300
+
+php4-imagick (0.9.11-5) unstable; urgency=low
+
+  * Added suport to generate php5-imagick binary (files php5-imagick.* and
+    changed control file). (closes: #333388)
+  * Updated all debian/po/.* files to suport php5 binary.
+  * Updated debian/rules file based in php-imap.
+  * Changed 02_examples.dpatch to do not call imagick_setfillcolor function.
+    (closes: #337686)
+
+ -- Jose Carlos Medeiros <debian at psabs.com.br>  Wed, 28 Dec 2005 14:07:54 -0200
+
+php4-imagick (0.9.11-4) unstable; urgency=low
+
+  * New maintainer. (closes: #303616)
+  * Updated debian/CHANGELOG.
+  * Updated debian/README.Debian, debian/copyright, debian/php4-imagick.postinst
+    and debian/php4-imagick.prerm files.
+
+ -- Jose Carlos Medeiros <debian at psabs.com.br>  Thu,  6 Oct 2005 18:24:48 -0300
+
+php4-imagick (0.9.11-3) unstable; urgency=low
+
+  * QA upload.
+  * Build-depend on `libmagick9-dev | libmagick-dev'.  Closes: #332460.
+  * debian/po/sv.po: Add translation by Daniel Nylander.  Closes: #330760.
+
+ -- Matej Vela <vela at debian.org>  Thu,  6 Oct 2005 18:32:27 +0200
+
+php4-imagick (0.9.11-2) unstable; urgency=low
+
+  * QA upload.
+  * Update for php4/php5 split (s/phpize/phpize4/; s/php-config/php-config4/).
+  * Recompile for phpapi-20050606.  Closes: #317634, #324005, #272687.
+  * Update templates based on php4 4:4.4.0-1 (which includes a Vietnamese
+    translation).  Closes: #316823.
+  * Update debconf dependency.
+  * debian/copyright: Update upstream URL.
+  * debian/watch: Add.
+  * Conforms to Standards version 3.6.2.
+
+ -- Matej Vela <vela at debian.org>  Sun, 11 Sep 2005 08:34:04 +0200
+
+php4-imagick (0.9.11-1) unstable; urgency=low
+
+  * QA upload.
+  * Package is orphaned (see #303616); set maintainer to Debian QA Group.
+  * Use updated debconf translations from php4.
+  * debian/php4-imagick.prerm: s/@extname@/imagick/
+  * debian/rules:
+    - Remove support for DEB_BUILD_OPTIONS=debug.
+    - Add support for DEB_BUILD_OPTIONS=noopt.
+    - Let dh_strip handle DEB_BUILD_OPTIONS=nostrip.
+
+ -- Matej Vela <vela at debian.org>  Mon, 25 Apr 2005 22:57:49 +0200
+
+php4-imagick (0.9.11-0.2) unstable; urgency=medium
+
+  * NMU
+  * Bump the php4-dev build-dependency again, and switch back to
+    non-threaded phpapi since ZTS isn't happening for sarge
+    (closes: #301328).
+  * Drop support for caudium SAPI again, now that it's also been dropped
+
+ -- Steve Langasek <vorlon at debian.org>  Tue, 29 Mar 2005 17:07:17 -0800
+
+php4-imagick (0.9.11-0.1) unstable; urgency=medium
+
+  * NMU
+  * Build-dep on php4-dev (>= 4:4.3.10-3) and make sure that we're also
+    depending on a threaded phpapi (closes: #294001)
+  * Add support for cli and caudium SAPIs
+
+ -- Adam Conrad <adconrad at 0c3.net>  Sun, 13 Feb 2005 21:31:51 -0700
+
+php4-imagick (0.9.11-0) unstable; urgency=low
+
+  * New upstream versions (Closes: #266335)
+  * Acknowledge NMU (Closes: #246478, #249088, #262845, #224238)
+    (Closes: #226001, #226407, #224727)
+  * Updated postinst and config to reuse php4's debconf dialogs
+  * Remove RPATH from image.so (Closes: #266161)
+
+ -- Bruno Rodrigues <bruno.rodrigues at litux.org>  Tue, 17 Aug 2004 21:27:06 +0200
+
+php4-imagick (0.9.7-1.3) unstable; urgency=medium
+
+  * NMU
+  * Rebuild for libtiff4 transition (closes: #262845)
+  * Bump libmagick build-dep to libmagick6-dev (closes: #246478, #249088)
+  * Patched imagick.h to DTRT with libmagick6 headers.
+
+ -- Adam Conrad <adconrad at 0c3.net>  Thu,  5 Aug 2004 00:03:26 -0600
+
+php4-imagick (0.9.7-1.2) unstable; urgency=medium
+
+  * NMU
+  * [debian/control] Tightened ImageMagick build dependency again to follow
+    libmagick's so name reversal. (Closes: #226001)
+
+ -- J.H.M. Dassen (Ray) <jdassen at debian.org>  Sat,  3 Jan 2004 19:10:05 +0100
+
+php4-imagick (0.9.7-1.1) unstable; urgency=medium
+
+  * NMU
+  * [debian/control] Tightened ImageMagick build dependency to follow
+    libmagick's so name change. (Closes: #224238)
+
+ -- J.H.M. Dassen (Ray) <jdassen at debian.org>  Sun, 21 Dec 2003 13:47:52 +0100
+
+php4-imagick (0.9.7-1) unstable; urgency=low
+
+  * Sponsored by Steve Langasek <vorlon at debian.org>
+  * New upstream version. From upstream changelog:
+    - fixed to work with versions of ImageMagick >= 5.5.7 (Closes: #206960)
+    - test compiled against ImageMagick 5.5.3, 5.5.6 and 5.5.7 with success.
+  * Rebuild to get the right PHP dependencies (phpapi instead of zendapi).
+    (Closes: #208485)
+  * Run phpize in debian/rules instead of including a big patch with it
+
+ -- Bruno Rodrigues <bruno.rodrigues at litux.org>  Mon,  8 Sep 2003 20:24:31 +0100
+
+php4-imagick (0.9.6-1) unstable; urgency=low
+
+  * New upstream version
+  * Updated to Standards-Version: 3.5.10
+  * Added upstream changelog converted from webpage
+
+ -- Bruno Rodrigues <bruno.rodrigues at litux.org>  Mon, 26 May 2003 17:39:54 +0000
+
+php4-imagick (0.9.5-1) unstable; urgency=low
+
+  * New package (Closes: #181169)
+  * Rewrite examples/*.php to output result images instead of writting files
+
+ -- Bruno Rodrigues <bruno.rodrigues at litux.org>  Tue, 18 Mar 2003 23:39:59 +0000
+
+php4-imagick (0.9.5-0) unstable; urgency=low
+
+  * New upstream version
+
+ -- Bruno Rodrigues <bruno.rodrigues at litux.org>  Wed, 12 Mar 2003 17:20:34 +0000
+
+php4-imagick (0.9.4-1) unstable; urgency=low
+
+  * Initial debianize
+
+ -- Bruno Rodrigues <bruno.rodrigues at litux.org>  Sat, 15 Feb 2003 23:21:25 +0000
+

Added: modules/trunk/php-imagick/debian/control
===================================================================
--- modules/trunk/php-imagick/debian/control	                        (rev 0)
+++ modules/trunk/php-imagick/debian/control	2009-06-24 20:54:48 UTC (rev 1281)
@@ -0,0 +1,20 @@
+Source: php-imagick
+Section: web
+Priority: optional
+Maintainer: Debian PHP Maintainers <pkg-php-maint at lists.alioth.debian.org>
+Uploaders: Ola Lundqvist <opal at debian.org>, Guillaume Delacour <gui at iroqwa.org>
+Build-Depends: debhelper (>= 7), php5-dev, libmagick9-dev, cdbs
+Standards-Version: 3.8.1
+Homepage: http://pecl.php.net/package/imagick
+
+Package: php5-imagick
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${php5:Depends}, ucf
+Description: ImageMagick module for php5
+ This package provides a wrapper for ImageMagick library
+ directly from PHP scripts.
+ .
+ PHP5 is an HTML-embedded scripting language. Much of its syntax is borrowed
+ from C, Java and Perl with a couple of unique PHP-specific features thrown
+ in. The goal of the language is to allow web developers to write
+ dynamically generated pages quickly.

Added: modules/trunk/php-imagick/debian/copyright
===================================================================
--- modules/trunk/php-imagick/debian/copyright	                        (rev 0)
+++ modules/trunk/php-imagick/debian/copyright	2009-06-24 20:54:48 UTC (rev 1281)
@@ -0,0 +1,80 @@
+This package was debianized by Bruno Rodrigues <bruno.rodrigues at litux.org> on
+Sat, 15 Feb 2003 23:21:25 +0000.
+
+It was downloaded from:
+	http://pecl.php.net/package/imagick
+
+Copyright Holder:
+	Mikko Koppanen <mkoppanen at php.net>
+	Scott MacVicar <scottmac at php.net>
+
+License:
+
+   --------------------------------------------------------------------
+                     The PHP License, version 3.01
+   Copyright (c) 1999 - 2006 The PHP Group. All rights reserved.
+   --------------------------------------------------------------------
+
+   Redistribution and use in source and binary forms, with or without
+   modification, is permitted provided that the following conditions
+   are met:
+
+     1. Redistributions of source code must retain the above copyright
+        notice, this list of conditions and the following disclaimer.
+
+     2. Redistributions in binary form must reproduce the above copyright
+        notice, this list of conditions and the following disclaimer in
+        the documentation and/or other materials provided with the
+        distribution.
+
+     3. The name "PHP" must not be used to endorse or promote products
+        derived from this software without prior written permission. For
+        written permission, please contact group at php.net.
+
+     4. Products derived from this software may not be called "PHP", nor
+        may "PHP" appear in their name, without prior written permission
+        from group at php.net.  You may indicate that your software works in
+        conjunction with PHP by saying "Foo for PHP" instead of calling
+        it "PHP Foo" or "phpfoo"
+
+     5. The PHP Group may publish revised and/or new versions of the
+        license from time to time. Each version will be given a
+        distinguishing version number.
+        Once covered code has been published under a particular version
+        of the license, you may always continue to use it under the terms
+        of that version. You may also choose to use such covered code
+        under the terms of any subsequent version of the license
+        published by the PHP Group. No one other than the PHP Group has
+        the right to modify the terms applicable to covered code created
+        under this License.
+
+     6. Redistributions of any form whatsoever must retain the following
+        acknowledgment:
+        "This product includes PHP software, freely available from
+        <http://www.php.net/software/>".
+
+   THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND
+   ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+   THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+   PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE PHP
+   DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
+   INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+   (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+   SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+   HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
+   STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+   OF THE POSSIBILITY OF SUCH DAMAGE.
+
+   --------------------------------------------------------------------
+
+   This software consists of voluntary contributions made by many
+   individuals on behalf of the PHP Group.
+
+   The PHP Group can be contacted via Email at group at php.net.
+
+   For more information on the PHP Group and the PHP project,
+   please see <http://www.php.net>.
+
+   PHP includes the Zend Engine, freely available at
+   <http://www.zend.com>.

Added: modules/trunk/php-imagick/debian/imagick.ini
===================================================================
--- modules/trunk/php-imagick/debian/imagick.ini	                        (rev 0)
+++ modules/trunk/php-imagick/debian/imagick.ini	2009-06-24 20:54:48 UTC (rev 1281)
@@ -0,0 +1,2 @@
+# configuration for php imagick module
+extension=imagick.so

Added: modules/trunk/php-imagick/debian/phpX-imagick.postinst
===================================================================
--- modules/trunk/php-imagick/debian/phpX-imagick.postinst	                        (rev 0)
+++ modules/trunk/php-imagick/debian/phpX-imagick.postinst	2009-06-24 20:54:48 UTC (rev 1281)
@@ -0,0 +1,10 @@
+#! /bin/sh
+set -e
+
+if test "$1" = "configure"; then
+    ucf /usr/share/phpX-imagick/imagick.ini-dist /etc/phpX/conf.d/imagick.ini
+fi
+
+#DEBHELPER#
+
+exit 0

Added: modules/trunk/php-imagick/debian/phpX-imagick.postrm
===================================================================
--- modules/trunk/php-imagick/debian/phpX-imagick.postrm	                        (rev 0)
+++ modules/trunk/php-imagick/debian/phpX-imagick.postrm	2009-06-24 20:54:48 UTC (rev 1281)
@@ -0,0 +1,13 @@
+#! /bin/sh
+set -e
+
+if test "$1" = "purge"; then
+    if which ucf >/dev/null 2>&1; then
+        ucf --purge /etc/phpX/conf.d/imagick.ini
+    fi
+    rm -f /etc/phpX/conf.d/imagick.ini
+fi
+
+#DEBHELPER#
+
+exit 0

Added: modules/trunk/php-imagick/debian/rules
===================================================================
--- modules/trunk/php-imagick/debian/rules	                        (rev 0)
+++ modules/trunk/php-imagick/debian/rules	2009-06-24 20:54:48 UTC (rev 1281)
@@ -0,0 +1,43 @@
+#!/usr/bin/make -f
+
+DEB_SRCDIR := $(shell basename imagick-*)
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+PHP_EX5=$(shell /usr/bin/php-config5 --extension-dir)
+
+DEB_INSTALL_EXAMPLES_php5-imagick = $(DEB_SRCDIR)/examples/*
+DEB_INSTALL_DOCS_php5-imagick = $(DEB_SRCDIR)/CREDITS
+
+#
+# local hacks
+#
+
+patch: apply-patches
+
+clean::
+	rm -f debian/php[5]-imagick.postrm debian/php[5]-imagick.postinst
+	cd $(DEB_SRCDIR) && phpize --clean
+
+configure_for_php%:
+	cd $(DEB_SRCDIR) && phpize && \
+	    ./configure --with-imagick --with-php-config=/usr/bin/php-config$* \
+	    --disable-static --with-imagick=shared,/usr
+	sed -e 's/phpX/php$*/g' < debian/phpX-imagick.postinst > debian/php$*-imagick.postinst
+	sed -e 's/phpX/php$*/g' < debian/phpX-imagick.postrm   > debian/php$*-imagick.postrm
+
+#
+# cdbs things
+#
+
+define install_rule
+	$(MAKE) -C $(DEB_SRCDIR)
+	mkdir -p debian/php$1-imagick$(PHP_EX$1)
+	install -m 644 -o root -g root $(DEB_SRCDIR)/modules/imagick.so debian/php$1-imagick$(PHP_EX$1)/imagick.so
+	echo "php$1:Depends=phpapi-`php-config$1 --phpapi`, php$1-common" >> debian/php$1-imagick.substvars
+	mkdir -p debian/php$1-imagick/usr/share/php$1-imagick/
+	cp debian/imagick.ini  debian/php$1-imagick/usr/share/php$1-imagick/imagick.ini-dist
+endef
+
+install/php5-imagick:: configure_for_php5
+	$(call install_rule,5)


Property changes on: modules/trunk/php-imagick/debian/rules
___________________________________________________________________
Added: svn:executable
   + *

Added: modules/trunk/php-imagick/debian/watch
===================================================================
--- modules/trunk/php-imagick/debian/watch	                        (rev 0)
+++ modules/trunk/php-imagick/debian/watch	2009-06-24 20:54:48 UTC (rev 1281)
@@ -0,0 +1,2 @@
+version=3
+http://pecl.php.net/package/imagick /get/imagick-(.+)\.tgz




More information about the Pkg-php-commits mailing list