pkgsrc/graphics/ImageMagick/Makefile

56 lines
1.5 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.153 2008/10/28 10:42:02 adam Exp $
Update "ImageMagick" and "p5-PerlMagick" packages to version 5.5.7.9. Changes since version 5.5.6: - File descriptor leak prevented temporary disk pixel cache from being removed under Windows. - Color profile patches provided by (dge at softec.st). - West/East geometry was computed with image width rather than height. - The MNG encoder failed to set the JNG bit in the simplicity profile. - The MNG encoder failed to write FRAM chunks when all images were JNG. - The JNG encoder wrote the wrong alpha_sample_depth for opaque images. - Fixed JPEG EXIF problem. - Added -thumbnail as an option to the utilities. - No TIFF preview was written on EPT write (patch provided by Lars Ruben Skyum). - NegateImage() now negates the K channel of a CMYK image (patch provided by Lars Ruben Skyum). - Parameter 'elevation' misspeclled for PerlMagick Shape() method. - A number of minor leak/unitialzed memory problems fixed. - Allocate free nodes from the heap in QuantizeImage(). - Magick-config --version returned gibberish. - Adopted Bob Friesenhahn's patterns-- use as filename pattern:checkboard, pattern:bricks, etc. - We cannot reliably auto rotate PDF files so this feature was removed. - The conjure program did not correctly handle the gravity attribute. - The persistent cache reference count was not properly incremented. - Added $image->Describe() method to PerlMagick to interface to the DescribeImage() C API method. - Added support for the EXIF Tag Parsing Library. Currently we simply display the tags when calling DescribeImage(). In the near future there will be support for modifying or adding tags. - Added Bob Friesenhahn's updated Windows installation instructions. - Interfaced the drawing routines with the new MagickWand API. MagickWand will be the primary public C interface to ImageMagick in the near future. - magick/effect.c: RandomChannelThresholdImage was not handling PseudoColor, non-gray images correctly. - png.c would not compile with libpng versions older than libpng-0.95, due to bugs introduced in ImageMagick version 5.5.2. - Implemented -random-threshold and -ordered-dither options. - The locale messaging system now uses a hash for fast lookup. - Updated libtool to the new released version, 1.5. - Fixed bug with decoding grayscale PNG images and JNG alpha channel at Q:32. - Now recognize 32-bit hex color specifications, patches provided by Bob Friesenhahn. - Started API wrappers based on Bob Friesenhahn's method suggestions. - Text annotations that started with '\n' were not rendered correctly. - Removed artifacts from images rotated with a small number of degrees. - Minor bug fix in the ParseGeometry() method. - Modified the non-public inline AlphaComposite() to use a PixelPacket pointer; previously it returned a PixelPacket structure. - You can now specify an image geometry as an image file (e.g. -geometry image.jpg). - Use new temporary file manager for JNG components. - Added support for 12-bit TIFF images. - Added improved locale message subsystem (contributed by Kyle Shorter). - Removed a bias from SampleImage() and DrawAffineImage() (bug report by Glenn Randers-Pehrson). - PerlMagick now recognizes percent values for fuzz or opacity. - Not enough memory allocated for reading PCX (bug report by Trevor Willis). - There were artifacts when using the Bessel function for resizing (bug report by Bob Friesenhahn). - Added -resample to convert to change the resolution of an image. - Added a temporary file manager that prevents race conditions and removes any remaining files on exit. - Prepped ImageMagick to work with Visual C++ 7.0 under Windows. The Windows configure patches came from William Radcliffe. - The refresh of the display image window no longer lags when the magnify window overlay it. - Numerous code clean-up and minor speed ups based on problem areas identified in the Graphics-Magick ChangeLog.
2003-06-30 08:45:01 +02:00
.include "Makefile.common"
PKGNAME= ImageMagick-${DISTVERSION}
MAINTAINER= adam@NetBSD.org
Updated to version 6.3.4.9 (approved by adam@). Pkgsrc changes: - http://www.imagemagick.org/ is the HOMEPAGE now. - The package supports installation to DESTDIR. - Removed patch-ab because it was unclear why we would not want to have Magick++-config.1. Changes since version 6.3.3.6: ============================== 2007-06-11 6.3.4-9 Cristy <quetzlzacatenango@image...> * Converting a jpg to pdf is creating an empty pdf object (reference http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=8954). * Respect the '-set type:hinting off option' (bug report from Richard Jones). * WritePSDImage vulnerable to exploitable heap corruption (reference http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=8967). 2007-06-09 6.3.4-8 Cristy <quetzlzacatenango@image...> * SetMagickRegistry() post-increment the value 'id' (reference http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=8944). 2007-06-02 6.3.4-6 Cristy <quetzlzacatenango@image...> * Read/write 10 & 12-bit packed DPX images. * Reduce stack requirements for messaging system. * Small memory leak for raw profiles in the PNG coder. 2007-06-01 6.3.4-5 Glenn <glennrp@image...> * Added GIF, JPEG, and PNG interlace types. For backward compatibility, you can continue to use "-interlace Plane" to request these. 2007-04-30 6.3.4-0 Anthony <anthony@griffith...> * Fixed minor bug in the 'curl' for Polaroid of very non-square images. 2007-06-01 6.3.4-5 Cristy <quetzlzacatenango@image...> * Set min-is-white for Group4-compressed PDF. * Add PaintFloodfillImage() method. 2007-05-30 6.3.4-4 Cristy <quetzlzacatenango@image...> * Add MEPP metric to compare program. Returns the mean error per pixel along with the normalize mean and maximum error. * Attach an XMP profile to an image (e.g. convert input.tif -profile xmp:metadata.xmp output.tif). 2007-05-22 6.3.4-3 Cristy <quetzlzacatenango@image...> * Fixed mogrify conversions with -format and -path (reference http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=9127). 2007-05-15 6.3.4-2 Cristy <quetzlzacatenango@image...> * SVG style element was not always parsed properly. * Do not dither when the number of unique colors is already less than the maximum. * Return normalized PAE metric (compare utility). 2007-05-03 6.3.4-1 Cristy <quetzlzacatenango@image...> * Add support for PFM images. * Check for corrupt EXIF image profiles. * Writing JPEG YCbCr TIFF images no longer faults (reference http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=8896). 2007-04-30 6.3.4-0 Anthony <anthony@griffith...> * Fixed minor bug for crop missed images and 'background' GIF disposal. 2007-04-28 6.3.4-0 Glenn <glennrp@image...> * Added profile support to the GIF decoder/encoder. They are stored as GIF Application Extensions. Known extensions include existing ICCRGB1 (for ICC profiles) and new MGKIPTC0 and MGK8BIM0 (for IPTC and 8BIM profiles). Unknown extensions found in GIF files are read as gifappNNN. 2007-04-28 6.3.4-0 Anthony <anthony@griffith...> * Invert Opacity change for user defined ordered dither threshold maps, so that 'off' map is transparent, and 'on' is opaque. 2007-04-24 6.3.4-0 Anthony <anthony@griffith...> * Added an initial Coalesce Images, and a final +map local colortable optimization to the -layers Optimize method, for a simple to use GIF optimization operation. (more work to come) 2007-04-22 6.3.4-0 Cristy <quetzlzacatenango@image...> * Properly set the virtual canvas of a multi-frame GIF image sequence. * Add AcquireOneVirtualPixel() method. * Set Log colorspace properly when writing DPX images. * Add -tile-offset option. * Add support for the EXR image format. * Improve support for DPX images. * Add --enable-hdri option to the configure script. * Add support for high dynamic-range images (HDRI). 2007-04-20 6.3.3-9 Peter Hull <peterhull90@gmail...> * Improve support for writing multiple image icons. 2007-04-18 6.3.3-9 Anthony <anthony@griffith...> * Separated -layers Optimize from -layers OptimizeFrame to allow the former expansion into a general (multiple method) optimizer of GIF animations * merged -layers OptimizeTransparency into -layers Optimize method 2007-04-12 6.3.3-8 Chris Madison <madisonblu@hotma...> * Fix fault whem comparing a colormapped image with a non-colormapped one. * Fix race condition when spawning delegate programs. * TIFF JPEG now respects the -quality comptression setting. * The -fx option now properly groks the logical and operator. * DPX tilestamp property should be timestamp. 2007-04-13 6.3.3-7 Anthony <anthony@griffith...> * Added GravityAdjustGeometry() to "geometry.c" to adjust geometry settings according to given gravity and canvas area it applies to. This is for code simplification thoughout MagickCore.
2007-06-16 23:58:08 +02:00
HOMEPAGE= http://www.imagemagick.org/
COMMENT= Package for display and interactive manipulation of images
1998-01-24 21:15:23 +01:00
CONFLICTS= geomview<1.8.1nb2 # used to have a program named 'animate'
2001-04-09 13:59:43 +02:00
Updated to version 6.3.4.9 (approved by adam@). Pkgsrc changes: - http://www.imagemagick.org/ is the HOMEPAGE now. - The package supports installation to DESTDIR. - Removed patch-ab because it was unclear why we would not want to have Magick++-config.1. Changes since version 6.3.3.6: ============================== 2007-06-11 6.3.4-9 Cristy <quetzlzacatenango@image...> * Converting a jpg to pdf is creating an empty pdf object (reference http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=8954). * Respect the '-set type:hinting off option' (bug report from Richard Jones). * WritePSDImage vulnerable to exploitable heap corruption (reference http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=8967). 2007-06-09 6.3.4-8 Cristy <quetzlzacatenango@image...> * SetMagickRegistry() post-increment the value 'id' (reference http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=8944). 2007-06-02 6.3.4-6 Cristy <quetzlzacatenango@image...> * Read/write 10 & 12-bit packed DPX images. * Reduce stack requirements for messaging system. * Small memory leak for raw profiles in the PNG coder. 2007-06-01 6.3.4-5 Glenn <glennrp@image...> * Added GIF, JPEG, and PNG interlace types. For backward compatibility, you can continue to use "-interlace Plane" to request these. 2007-04-30 6.3.4-0 Anthony <anthony@griffith...> * Fixed minor bug in the 'curl' for Polaroid of very non-square images. 2007-06-01 6.3.4-5 Cristy <quetzlzacatenango@image...> * Set min-is-white for Group4-compressed PDF. * Add PaintFloodfillImage() method. 2007-05-30 6.3.4-4 Cristy <quetzlzacatenango@image...> * Add MEPP metric to compare program. Returns the mean error per pixel along with the normalize mean and maximum error. * Attach an XMP profile to an image (e.g. convert input.tif -profile xmp:metadata.xmp output.tif). 2007-05-22 6.3.4-3 Cristy <quetzlzacatenango@image...> * Fixed mogrify conversions with -format and -path (reference http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=9127). 2007-05-15 6.3.4-2 Cristy <quetzlzacatenango@image...> * SVG style element was not always parsed properly. * Do not dither when the number of unique colors is already less than the maximum. * Return normalized PAE metric (compare utility). 2007-05-03 6.3.4-1 Cristy <quetzlzacatenango@image...> * Add support for PFM images. * Check for corrupt EXIF image profiles. * Writing JPEG YCbCr TIFF images no longer faults (reference http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=8896). 2007-04-30 6.3.4-0 Anthony <anthony@griffith...> * Fixed minor bug for crop missed images and 'background' GIF disposal. 2007-04-28 6.3.4-0 Glenn <glennrp@image...> * Added profile support to the GIF decoder/encoder. They are stored as GIF Application Extensions. Known extensions include existing ICCRGB1 (for ICC profiles) and new MGKIPTC0 and MGK8BIM0 (for IPTC and 8BIM profiles). Unknown extensions found in GIF files are read as gifappNNN. 2007-04-28 6.3.4-0 Anthony <anthony@griffith...> * Invert Opacity change for user defined ordered dither threshold maps, so that 'off' map is transparent, and 'on' is opaque. 2007-04-24 6.3.4-0 Anthony <anthony@griffith...> * Added an initial Coalesce Images, and a final +map local colortable optimization to the -layers Optimize method, for a simple to use GIF optimization operation. (more work to come) 2007-04-22 6.3.4-0 Cristy <quetzlzacatenango@image...> * Properly set the virtual canvas of a multi-frame GIF image sequence. * Add AcquireOneVirtualPixel() method. * Set Log colorspace properly when writing DPX images. * Add -tile-offset option. * Add support for the EXR image format. * Improve support for DPX images. * Add --enable-hdri option to the configure script. * Add support for high dynamic-range images (HDRI). 2007-04-20 6.3.3-9 Peter Hull <peterhull90@gmail...> * Improve support for writing multiple image icons. 2007-04-18 6.3.3-9 Anthony <anthony@griffith...> * Separated -layers Optimize from -layers OptimizeFrame to allow the former expansion into a general (multiple method) optimizer of GIF animations * merged -layers OptimizeTransparency into -layers Optimize method 2007-04-12 6.3.3-8 Chris Madison <madisonblu@hotma...> * Fix fault whem comparing a colormapped image with a non-colormapped one. * Fix race condition when spawning delegate programs. * TIFF JPEG now respects the -quality comptression setting. * The -fx option now properly groks the logical and operator. * DPX tilestamp property should be timestamp. 2007-04-13 6.3.3-7 Anthony <anthony@griffith...> * Added GravityAdjustGeometry() to "geometry.c" to adjust geometry settings according to given gravity and canvas area it applies to. This is for code simplification thoughout MagickCore.
2007-06-16 23:58:08 +02:00
PKG_DESTDIR_SUPPORT= user-destdir
2004-04-25 07:12:27 +02:00
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_LANGUAGES= c c++ c99
2005-07-14 10:58:46 +02:00
USE_LIBTOOL= yes
USE_TOOLS+= gmake
2005-07-14 10:58:46 +02:00
GNU_CONFIGURE= yes
PKGCONFIG_OVERRIDE= Magick++/lib/ImageMagick++.pc.in
PKGCONFIG_OVERRIDE+= magick/ImageMagick.pc.in
GCC_REQD+= 2.95.3
2003-09-17 21:49:24 +02:00
PLIST_SUBST+= IM_MAJOR_VER=${IM_MAJOR_VER:Q}
PLIST_SUBST+= IM_MAJOR_LIB_VER=${IM_MAJOR_LIB_VER:Q}
2006-04-14 20:14:34 +02:00
TEST_TARGET= check
.include "options.mk"
2003-09-17 21:51:09 +02:00
.if !empty(MACHINE_PLATFORM:MNetBSD-*-sparc64)
GCC_REQD+= 3.0
2003-09-17 21:51:09 +02:00
.endif
# Avoid compiler bug on "mipsel" (cobalt?)
2003-09-17 21:51:35 +02:00
.if ${MACHINE_ARCH} == "mipsel"
CFLAGS+= -O
.endif
# Some configure_args come from Makefile.common
CONFIGURE_ARGS+= --without-perl
# WMF linkage is currently broke, since libMagick would need symbols from libWand
CONFIGURE_ARGS+= --without-wmf
CONFIGURE_ARGS+= --with-ltdl-include=${BUILDLINK_PREFIX.libltdl}/include
CONFIGURE_ARGS+= --with-ltdl-lib=${BUILDLINK_PREFIX.libltdl}/lib
2004-02-11 09:55:58 +01:00
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../devel/libltdl/buildlink3.mk"
.include "../../graphics/lcms/buildlink3.mk"
.include "../../graphics/libexif/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
2004-02-11 09:55:58 +01:00
.include "../../graphics/tiff/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"