pkgsrc/graphics/ImageMagick/Makefile

88 lines
3.1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.200 2013/08/27 08:13:20 fhajny 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
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
USE_LANGUAGES= c c++ c99
USE_TOOLS+= gmake pkg-config
CONFIGURE_ARGS+= --disable-assert
CONFIGURE_ARGS+= --with-fontconfig
CONFIGURE_ARGS+= --with-ltdl-include=${BUILDLINK_PREFIX.libltdl}/include
CONFIGURE_ARGS+= --with-ltdl-lib=${BUILDLINK_PREFIX.libltdl}/lib
CONFIGURE_ARGS+= --with-xml=yes
CONFIGURE_ARGS+= --without-perl
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR}
PKGCONFIG_OVERRIDE= Magick++/lib/ImageMagick++.pc.in
PKGCONFIG_OVERRIDE+= Magick++/lib/Magick++.pc.in
PKGCONFIG_OVERRIDE+= magick/ImageMagick.pc.in
PKGCONFIG_OVERRIDE+= magick/MagickCore.pc.in
PKGCONFIG_OVERRIDE+= wand/MagickWand.pc.in
PKGCONFIG_OVERRIDE+= wand/Wand.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
PKG_SYSCONFSUBDIR= ImageMagick-${IM_MAJOR_LIB_VER}
EGDIR= ${PREFIX}/share/examples/ImageMagick
CONF_FILES= ${EGDIR}/coder.xml ${PKG_SYSCONFDIR}/coder.xml
CONF_FILES+= ${EGDIR}/colors.xml ${PKG_SYSCONFDIR}/colors.xml
CONF_FILES+= ${EGDIR}/delegates.xml ${PKG_SYSCONFDIR}/delegates.xml
CONF_FILES+= ${EGDIR}/log.xml ${PKG_SYSCONFDIR}/log.xml
CONF_FILES+= ${EGDIR}/magic.xml ${PKG_SYSCONFDIR}/magic.xml
CONF_FILES+= ${EGDIR}/mime.xml ${PKG_SYSCONFDIR}/mime.xml
CONF_FILES+= ${EGDIR}/policy.xml ${PKG_SYSCONFDIR}/policy.xml
CONF_FILES+= ${EGDIR}/thresholds.xml ${PKG_SYSCONFDIR}/thresholds.xml
CONF_FILES+= ${EGDIR}/type-dejavu.xml ${PKG_SYSCONFDIR}/type-dejavu.xml
CONF_FILES+= ${EGDIR}/type-ghostscript.xml ${PKG_SYSCONFDIR}/type-ghostscript.xml
CONF_FILES+= ${EGDIR}/type-windows.xml ${PKG_SYSCONFDIR}/type-windows.xml
CONF_FILES+= ${EGDIR}/type.xml ${PKG_SYSCONFDIR}/type.xml
SUBST_CLASSES+= fix-cfg
SUBST_STAGE.fix-cfg= pre-configure
SUBST_MESSAGE.fix-cfg= Fixing configure.xml.
SUBST_FILES.fix-cfg= config/configure.xml.in
SUBST_VARS.fix-cfg= CONFIGURE_ARGS
SUBST_CLASSES+= fix-etc
SUBST_STAGE.fix-etc= pre-configure
SUBST_MESSAGE.fix-etc= Handle configuration files.
SUBST_FILES.fix-etc= Makefile.in
SUBST_SED.fix-etc= -e 's,^configlibdir =.*,configlibdir = $$(DATA_DIR)/examples/ImageMagick,'
2004-02-11 09:55:58 +01:00
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../archivers/xz/buildlink3.mk"
.include "../../devel/libltdl/buildlink3.mk"
.include "../../fonts/fontconfig/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/lcms2/buildlink3.mk"
.include "../../graphics/openexr/buildlink3.mk"
2012-01-29 00:49:41 +01:00
.include "../../graphics/libwebp/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
2004-02-11 09:55:58 +01:00
.include "../../graphics/tiff/buildlink3.mk"
.include "../../math/fftw/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"