diff options
author | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2014-01-06 18:32:16 +0000 |
---|---|---|
committer | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2014-01-06 18:32:16 +0000 |
commit | 825fdb89731533d093d6abe2a780b7afac546f78 (patch) | |
tree | e72df215f2e69632dcb730e154dfc613263ceab3 /graphics/ImageMagick | |
parent | 481963407896c6348e7333bde704f458189cce8d (diff) | |
download | ports-825fdb89731533d093d6abe2a780b7afac546f78.tar.gz ports-825fdb89731533d093d6abe2a780b7afac546f78.zip |
Notes
Diffstat (limited to 'graphics/ImageMagick')
-rw-r--r-- | graphics/ImageMagick/Makefile | 23 | ||||
-rw-r--r-- | graphics/ImageMagick/distinfo | 4 | ||||
-rw-r--r-- | graphics/ImageMagick/files/patch-configure | 35 | ||||
-rw-r--r-- | graphics/ImageMagick/files/patch-magick-fourier.c | 11 | ||||
-rw-r--r-- | graphics/ImageMagick/pkg-plist | 61 |
5 files changed, 85 insertions, 49 deletions
diff --git a/graphics/ImageMagick/Makefile b/graphics/ImageMagick/Makefile index 15914a59c600..ccc7dc17c2b5 100644 --- a/graphics/ImageMagick/Makefile +++ b/graphics/ImageMagick/Makefile @@ -1,8 +1,8 @@ # $FreeBSD$ PORTNAME= ImageMagick -DISTVERSION= 6.8.0-7 -PORTREVISION= 3 +#PORTREVISION= 1 +DISTVERSION= 6.8.8-1 CATEGORIES= graphics perl5 MASTER_SITES= http://www.imagemagick.org/download/ \ http://servingzone.com/mirrors/ImageMagick/ \ @@ -27,21 +27,23 @@ MASTER_SITES= http://www.imagemagick.org/download/ \ ftp://ftp.is.co.za/pub/imagemagick/ \ ftp://ftp.fifi.org/pub/ImageMagick/ -MAINTAINER= c.petrik.sosa@gmail.com +MAINTAINER= ports@FreeBSD.org COMMENT= Image processing tools -LICENSE= APACHE20 +LICENSE_NAME= APACHE20 USES= pkgconfig:both pathfix perl5 USE_XZ= yes -USE_PERL5= run build patch +USE_PERL5= run build patch install WANT_GNOME= yes USE_AUTOTOOLS= libltdl NO_STAGE= yes # For some reason, using our libtool breaks the build into pieces: #USE_AUTOTOOLS+= libtool GNU_CONFIGURE= yes -CONFIGURE_ARGS= --enable-shared --without-dps --without-lcms +CONFIGURE_ARGS= --enable-shared \ + --without-dps \ + --without-lcms USE_GMAKE= yes USE_LDCONFIG= yes @@ -60,8 +62,9 @@ OPTIONS_DEFINE= 16BIT_PIXEL BZIP2 DOCS DJVU FFTW FONTCONFIG FPX FREETYPE \ OPENEXR OPENMP PANGO PDF PERL PNG SVG TESTS TIFF WEBP WMF \ THREADS OPTIONS_DEFAULT= 16BIT_PIXEL BZIP2 FFTW FONTCONFIG FPX FREETYPE \ - JASPER JBIG JPEG LCMS2 LZMA LQR MODULES PDF PERL PNG SVG \ - TIFF WEBP WMF + JASPER JBIG JPEG LCMS2 LZMA LQR MODULES PDF PNG SVG TIFF \ + WEBP WMF THREADS + 16BIT_PIXEL_DESC= 16bit pixel support DJVU_DESC= DJVU format support (needs THREADS) GSLIB_DESC= libgs (Postscript SHLIB) support @@ -92,7 +95,7 @@ CONFIGURE_ARGS+= --with-perl=${PERL5} PLIST_SUB+= WITH_PERL='' MAN3= Image::Magick.3 MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VER} -# PerlMagick not works with threads, if perl is not threaded, and vice versa +# PerlMagick does not work with threads, if perl is not threaded, and vice versa . if defined(PERL_THREADED) _IMAGEMAGICK_THREADS_PERL_MSG=Perl is threaded _IMAGEMAGICK_THREADS=yes @@ -421,6 +424,8 @@ pre-configure: post-install: test .if ${PORT_OPTIONS:MPERL} @${RM} -f ${PREFIX}/lib/perl5/${PERL_VER}/mach/perllocal.pod + ${REINPLACE_CMD} '303 s/EXTRALIBS =/EXTRALIBS = -L${LOCALBASE}/lib/perl5/${PERL_VER}/mach/CORE/g' \ + ${WRKSRC}/PerlMagick/Makefile .endif .if ${PORT_OPTIONS:MMODULES} . if ${PORT_OPTIONS:M16BIT_PIXEL} diff --git a/graphics/ImageMagick/distinfo b/graphics/ImageMagick/distinfo index 0389df452570..7f832ab7111b 100644 --- a/graphics/ImageMagick/distinfo +++ b/graphics/ImageMagick/distinfo @@ -1,2 +1,2 @@ -SHA256 (ImageMagick-6.8.0-7.tar.xz) = e15672c8c11148bcfcd95885e1cd7a5575d4a6984bdf0a3a1c718a2a6ad37435 -SIZE (ImageMagick-6.8.0-7.tar.xz) = 8245624 +SHA256 (ImageMagick-6.8.8-1.tar.xz) = 1ce766720e07c61a9993c3c226425d8b1b7a18fd8ffb1841c2380a7d622c107b +SIZE (ImageMagick-6.8.8-1.tar.xz) = 7527812 diff --git a/graphics/ImageMagick/files/patch-configure b/graphics/ImageMagick/files/patch-configure index 3f3ee72d3fe0..8c177d87dd6b 100644 --- a/graphics/ImageMagick/files/patch-configure +++ b/graphics/ImageMagick/files/patch-configure @@ -1,11 +1,38 @@ ---- configure.orig 2012-05-16 09:58:45.571776589 +0200 -+++ configure 2012-05-16 09:58:54.042776583 +0200 -@@ -32626,7 +32626,7 @@ +--- configure.bak 2014-01-04 06:01:26.000000000 +0000 ++++ configure 2014-01-04 06:14:09.000000000 +0000 +@@ -32502,7 +32502,7 @@ + # + + # Path to ImageMagick header files +-INCLUDE_RELATIVE_PATH="${PACKAGE_NAME}-${MAGICK_MAJOR_VERSION}" ++INCLUDE_RELATIVE_PATH="${PACKAGE_NAME}" + INCLUDE_PATH="${INCLUDE_DIR}/${INCLUDE_RELATIVE_PATH}" + DEFINE_INCLUDE_PATH="${INCLUDE_DIR}/${INCLUDE_RELATIVE_PATH}/" + case "${build_os}" in +@@ -32656,7 +32656,7 @@ # # Path to ImageMagick documentation files --DOCUMENTATION_RELATIVE_PATH="${PACKAGE_NAME}-${PACKAGE_VERSION}" +-DOCUMENTATION_RELATIVE_PATH="${PACKAGE_NAME}-${MAGICK_MAJOR_VERSION}" +DOCUMENTATION_RELATIVE_PATH="${PACKAGE_NAME}" DOCUMENTATION_PATH="${DOC_DIR}/${DOCUMENTATION_RELATIVE_PATH}" DEFINE_DOCUMENTATION_PATH="${DOC_DIR}/${DOCUMENTATION_RELATIVE_PATH}/" case "${build_os}" in +@@ -32672,7 +32672,7 @@ + + + # Subdirectory to place architecture-dependent configuration files +-CONFIGURE_RELATIVE_PATH="${PACKAGE_NAME}-${MAGICK_MAJOR_VERSION}" ++CONFIGURE_RELATIVE_PATH="${PACKAGE_NAME}" + + cat >>confdefs.h <<_ACEOF + #define CONFIGURE_RELATIVE_PATH "$CONFIGURE_RELATIVE_PATH" +@@ -32693,7 +32693,7 @@ + + + # Subdirectory to place architecture-independent configuration files +-SHARE_RELATIVE_PATH="${PACKAGE_NAME}-${MAGICK_MAJOR_VERSION}" ++SHARE_RELATIVE_PATH="${PACKAGE_NAME}" + + cat >>confdefs.h <<_ACEOF + #define SHARE_RELATIVE_PATH "$SHARE_RELATIVE_PATH" diff --git a/graphics/ImageMagick/files/patch-magick-fourier.c b/graphics/ImageMagick/files/patch-magick-fourier.c deleted file mode 100644 index 8497b78e42f9..000000000000 --- a/graphics/ImageMagick/files/patch-magick-fourier.c +++ /dev/null @@ -1,11 +0,0 @@ ---- magick/fourier.c.orig 2009-08-13 09:03:13.924505718 +0200 -+++ magick/fourier.c 2009-08-13 09:03:24.685881339 +0200 -@@ -515,7 +515,7 @@ - for (x=0L; x < (long) fourier_info->center; x++) - { - magnitude[i]=cabs(fourier[i]); -- phase[i]=carg(fourier[i]); -+ phase[i]=atan2(cimag(fourier[i]),creal(fourier[i])); - i++; - } - else diff --git a/graphics/ImageMagick/pkg-plist b/graphics/ImageMagick/pkg-plist index 7ab39628fd6f..3ec21d495903 100644 --- a/graphics/ImageMagick/pkg-plist +++ b/graphics/ImageMagick/pkg-plist @@ -133,6 +133,10 @@ include/ImageMagick/magick/version.h include/ImageMagick/magick/widget.h include/ImageMagick/magick/xml-tree.h include/ImageMagick/magick/xwindow.h +include/ImageMagick/magick/studio.h +include/ImageMagick/magick/opencl.h +include/ImageMagick/magick/distribute-cache.h +include/ImageMagick/magick/magick-baseconfig.h include/ImageMagick/wand/MagickWand.h include/ImageMagick/wand/deprecate.h include/ImageMagick/wand/drawing-wand.h @@ -155,7 +159,7 @@ include/ImageMagick/wand/pixel-iterator.h include/ImageMagick/wand/pixel-wand.h include/ImageMagick/wand/stream.h include/ImageMagick/wand/wand-view.h -lib/ImageMagick-%%PORTVERSION%%/config/configure.xml +lib/ImageMagick-%%PORTVERSION%%/config-%%QBIT%%/configure.xml %%MODULES%%lib/ImageMagick-%%PORTVERSION%%/modules-%%QBIT%%/coders/.keep %%MODULES%%lib/ImageMagick-%%PORTVERSION%%/modules-%%QBIT%%/coders/aai.la %%MODULES%%lib/ImageMagick-%%PORTVERSION%%/modules-%%QBIT%%/coders/aai.so @@ -391,35 +395,45 @@ lib/ImageMagick-%%PORTVERSION%%/config/configure.xml %%MODULES%%lib/ImageMagick-%%PORTVERSION%%/modules-%%QBIT%%/coders/ycbcr.so %%MODULES%%lib/ImageMagick-%%PORTVERSION%%/modules-%%QBIT%%/coders/yuv.la %%MODULES%%lib/ImageMagick-%%PORTVERSION%%/modules-%%QBIT%%/coders/yuv.so +%%MODULES%%lib/ImageMagick-%%PORTVERSION%%/modules-%%QBIT%%/coders/rgf.so +%%MODULES%%lib/ImageMagick-%%PORTVERSION%%/modules-%%QBIT%%/coders/rgf.la +%%MODULES%%lib/ImageMagick-%%PORTVERSION%%/modules-%%QBIT%%/coders/mask.so +%%MODULES%%lib/ImageMagick-%%PORTVERSION%%/modules-%%QBIT%%/coders/mask.la %%MODULES%%lib/ImageMagick-%%PORTVERSION%%/modules-%%QBIT%%/filters/.keep %%MODULES%%lib/ImageMagick-%%PORTVERSION%%/modules-%%QBIT%%/filters/analyze.la %%MODULES%%lib/ImageMagick-%%PORTVERSION%%/modules-%%QBIT%%/filters/analyze.so -lib/libMagick++.a -lib/libMagick++.la -lib/libMagick++.so -lib/libMagick++.so.6 -lib/libMagickCore.a -lib/libMagickCore.la -lib/libMagickCore.so -lib/libMagickCore.so.6 -lib/libMagickWand.a -lib/libMagickWand.la -lib/libMagickWand.so -lib/libMagickWand.so.6 +lib/libMagick++-6.%%QBIT%%.a +lib/libMagick++-6.%%QBIT%%.la +lib/libMagick++-6.%%QBIT%%.so +lib/libMagick++-6.%%QBIT%%.so.3 +lib/libMagickCore-6.%%QBIT%%.a +lib/libMagickCore-6.%%QBIT%%.la +lib/libMagickCore-6.%%QBIT%%.so +lib/libMagickCore-6.%%QBIT%%.so.1 +lib/libMagickWand-6.%%QBIT%%.a +lib/libMagickWand-6.%%QBIT%%.la +lib/libMagickWand-6.%%QBIT%%.so +lib/libMagickWand-6.%%QBIT%%.so.1 +libdata/pkgconfig/ImageMagick++-6.%%QBIT%%.pc libdata/pkgconfig/ImageMagick++.pc +libdata/pkgconfig/Magick++-6.%%QBIT%%.pc libdata/pkgconfig/Magick++.pc +libdata/pkgconfig/ImageMagick-6.%%QBIT%%.pc libdata/pkgconfig/ImageMagick.pc +libdata/pkgconfig/MagickCore-6.%%QBIT%%.pc libdata/pkgconfig/MagickCore.pc +libdata/pkgconfig/MagickWand-6.%%QBIT%%.pc libdata/pkgconfig/MagickWand.pc +libdata/pkgconfig/Wand-6.%%QBIT%%.pc libdata/pkgconfig/Wand.pc %%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/Image/Magick.pm %%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/Image/Magick/.packlist %%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/Image/Magick/Magick.bs %%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/Image/Magick/Magick.so %%WITH_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/Image/Magick/autosplit.ix -%%DATADIR%%-%%PORTVERSION%%/english.xml -%%DATADIR%%-%%PORTVERSION%%/francais.xml -%%DATADIR%%-%%PORTVERSION%%/locale.xml +%%DATADIR%%/english.xml +%%DATADIR%%/francais.xml +%%DATADIR%%/locale.xml %%PORTDOCS%%%%DOCSDIR%%/LICENSE %%PORTDOCS%%%%DOCSDIR%%/ChangeLog %%PORTDOCS%%%%DOCSDIR%%/NEWS.txt @@ -574,7 +588,13 @@ libdata/pkgconfig/Wand.pc %%PORTDOCS%%%%DOCSDIR%%/www/advanced-unix-installation.html %%PORTDOCS%%%%DOCSDIR%%/www/advanced-windows-installation.html %%PORTDOCS%%%%DOCSDIR%%/www/animate.html +%%PORTDOCS%%%%DOCSDIR%%/www/openmp.html +%%PORTDOCS%%%%DOCSDIR%%/www/webp.html +%%PORTDOCS%%%%DOCSDIR%%/www/distribute-pixel-cache.html +%%PORTDOCS%%%%DOCSDIR%%/www/color-management.html +%%PORTDOCS%%%%DOCSDIR%%/www/support.html %%PORTDOCS%%%%DOCSDIR%%/www/api.html +%%PORTDOCS%%%%DOCSDIR%%/www/api/mime.html %%PORTDOCS%%%%DOCSDIR%%/www/api/MagickCore/ImageMagick_8h-source.html %%PORTDOCS%%%%DOCSDIR%%/www/api/MagickCore/ImageMagick_8h.html %%PORTDOCS%%%%DOCSDIR%%/www/api/MagickCore/MagickCore_8h-source.html @@ -1328,7 +1348,6 @@ libdata/pkgconfig/Wand.pc %%PORTDOCS%%%%DOCSDIR%%/www/api/morphology.html %%PORTDOCS%%%%DOCSDIR%%/www/api/paint.html %%PORTDOCS%%%%DOCSDIR%%/www/api/pixel-iterator.html -%%PORTDOCS%%%%DOCSDIR%%/www/api/pixel-view.html %%PORTDOCS%%%%DOCSDIR%%/www/api/pixel-wand.html %%PORTDOCS%%%%DOCSDIR%%/www/api/profile.html %%PORTDOCS%%%%DOCSDIR%%/www/api/property.html @@ -1348,7 +1367,6 @@ libdata/pkgconfig/Wand.pc %%PORTDOCS%%%%DOCSDIR%%/www/architecture.html %%PORTDOCS%%%%DOCSDIR%%/www/binary-releases.html %%PORTDOCS%%%%DOCSDIR%%/www/changelog.html -%%PORTDOCS%%%%DOCSDIR%%/www/channel.html %%PORTDOCS%%%%DOCSDIR%%/www/cipher.html %%PORTDOCS%%%%DOCSDIR%%/www/color.html %%PORTDOCS%%%%DOCSDIR%%/www/command-line-options.html @@ -1384,11 +1402,9 @@ libdata/pkgconfig/Wand.pc %%PORTDOCS%%%%DOCSDIR%%/www/magick-wand.html %%PORTDOCS%%%%DOCSDIR%%/www/magick.css %%PORTDOCS%%%%DOCSDIR%%/www/miff.html -%%PORTDOCS%%%%DOCSDIR%%/www/mirrors.html %%PORTDOCS%%%%DOCSDIR%%/www/mogrify.html %%PORTDOCS%%%%DOCSDIR%%/www/montage.html %%PORTDOCS%%%%DOCSDIR%%/www/motion-picture.html -%%PORTDOCS%%%%DOCSDIR%%/www/parallel.html %%PORTDOCS%%%%DOCSDIR%%/www/perl-magick.html %%PORTDOCS%%%%DOCSDIR%%/www/porting.html %%PORTDOCS%%%%DOCSDIR%%/www/quantize.html @@ -1409,7 +1425,6 @@ libdata/pkgconfig/Wand.pc %%PORTDOCS%%%%DOCSDIR%%/www/source/locale.xml %%PORTDOCS%%%%DOCSDIR%%/www/source/log.xml %%PORTDOCS%%%%DOCSDIR%%/www/source/magic.xml -%%PORTDOCS%%%%DOCSDIR%%/www/source/mgk.c %%PORTDOCS%%%%DOCSDIR%%/www/source/mime.xml %%PORTDOCS%%%%DOCSDIR%%/www/source/piechart.mvg %%PORTDOCS%%%%DOCSDIR%%/www/source/piechart.svg @@ -1433,14 +1448,14 @@ libdata/pkgconfig/Wand.pc %%PORTDOCS%%@dirrm %%DOCSDIR%%/images/patterns %%PORTDOCS%%@dirrm %%DOCSDIR%%/images %%PORTDOCS%%@dirrm %%DOCSDIR%% -@dirrm %%DATADIR%%-%%PORTVERSION%% +@dirrm %%DATADIR%% %%WITH_PERL%%@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Image/Magick %%WITH_PERL%%@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Image %%WITH_PERL%%@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Image @dirrmtry lib/ImageMagick-%%PORTVERSION%%/modules-%%QBIT%%/filters @dirrmtry lib/ImageMagick-%%PORTVERSION%%/modules-%%QBIT%%/coders @dirrmtry lib/ImageMagick-%%PORTVERSION%%/modules-%%QBIT%% -@dirrmtry lib/ImageMagick-%%PORTVERSION%%/config +@dirrmtry lib/ImageMagick-%%PORTVERSION%%/config-%%QBIT%% @dirrmtry lib/ImageMagick-%%PORTVERSION%% @dirrm include/ImageMagick/wand @dirrm include/ImageMagick/magick |