pkgsrc/graphics/ImageMagick/Makefile

47 lines
1.1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.127 2005/05/22 20:08:04 jlam 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
HOMEPAGE= http://www.simplesystems.org/ImageMagick/
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
2004-04-25 07:12:27 +02:00
PKG_INSTALLATION_TYPES= overwrite pkgviews
Update "ImageMagick" package to version 5.2.2. Changes in version 5.2.2: - Support added for the Word Perfect Graphics (WPG) file format (contributed by Jaroslav Fojtik). - The pixel 'matte' field is changed to indicate the degree of pixel transparency rather than the degree of opacity. This makes the pixels compatable with most popular video cards, and many in-memory image formats. When the pixel quantum size is eight bits, the colormap is restricted to 256 colors, but supports up to 65535 colors when the quantum size is sixteen bits (when QuantumLeap is defined at compilation time). - ImageMagick is more memory efficient (by 18%) when the quantum size is eight bits, and the image is colormapped. - ImageMagick is (finally) believed to be thread safe under Windows, since it uses the Windows synchronization APIs to lock shared data. - Under Unix and Windows, dynamically-loaded format coder modules are supported. There are currently 72 loadable modules. Support for loadable modules allows the user to add or remove formats from ImageMagick by simply adding or removing a file. New modules are automatically detected so users may add their own modules. This support is proven to work for Sun Solaris, Linux, and SGI IRIX. Please let us know about other operating systems they work on. Building a modular ImageMagick is enabled by specifing the configure options --enable-shared --with-modules. - ImageMagick now has a set of modules for streaming. Here pixels are passed to the application as they are available and deleted after use ensuring a small memory footprint. This is useful for multi-media applications such as MPEG. - Image format identification (based on the file header) is now configured via an external text file. This allows the user to add automatic file identification for new formats added via a coder module, or via a delegate (external program). - XML files conforming to the W3C SVG DTD are now rendered directly by ImageMagick. The support is incomplete but still useful. - The Pilot Image Format (PDB) is now supported. - The drawing primitives have been extended to support drawing bezier curves, rounded rectangles, and arcs. There is now support for drawing compound objects (a sequence of objects) using drawing paths. The concept of a drawing pen has been split into stroke (for the outline) and fill (for the objects internal color). If fill is not defined, then only the object outline is drawn. This substantial change results in the existing drawing commands for filled objects (fillEllipse, fillRectangle, fillCircle, and fillPolygon) being deprecated. - A cache file format is now supported which is a snapshot of an image's pixel cache as it appears on disk. Images stored in this format (large) may be loaded instantly by ImageMagick since decoding is not required. In order to write this format , the argument -cache 0 must be supplied (e.g. convert -cache 0 file.jpg file.cache). - The build environment for Windows NT is entirely re-done. There is now a configure program which generates a set of Visual C++ project files which satisfy a set of reqirements (e.g. DLL, multi-thread, X11). These project files are then used to build ImageMagick. - The C API is significantly modified in order to provide thread-safe operation via function re-entrancy. ImageMagick is believed to be thread-safe when used with POSIX threads. It is not yet completely thread safe under Windows or the Mac. Errors (of type ExceptionInfo) are now reported by a function argument, or via a member of the current image. - The GaussianBlurImage() function (contributed by runger@cs.mcgill.ca) supports Gaussian bluring an image. - Functions (OpenCacheView(), CloseCacheView(), GetCacheView(), SetCacheView(), and SyncCacheView()) are provided in order to support manipulating multiple pixel views.
2000-08-10 10:57:23 +02:00
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
2004-02-14 00:43:19 +01:00
USE_LANGUAGES= c c++
USE_TOOLS+= gmake
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}
PLIST_SUBST+= IM_MAJOR_LIB_VER=${IM_MAJOR_LIB_VER}
.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"
2000-06-21 04:45:15 +02:00
CFLAGS= -O
.endif
# Some configure_args come from Makefile.common
CONFIGURE_ARGS+= --without-perl
2004-02-11 09:55:58 +01:00
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../graphics/lcms/buildlink3.mk"
.include "../../graphics/libexif/buildlink3.mk"
2004-02-11 09:55:58 +01:00
.include "../../graphics/tiff/buildlink3.mk"
2002-09-12 10:29:46 +02:00
.include "../../mk/bsd.pkg.mk"