summaryrefslogtreecommitdiffstats
path: root/abs/core/imagemagick
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/imagemagick')
-rw-r--r--abs/core/imagemagick/ChangeLog44
-rw-r--r--abs/core/imagemagick/PKGBUILD56
-rw-r--r--abs/core/imagemagick/add_delegate.patch8
-rw-r--r--abs/core/imagemagick/libpng_mmx_patch_x86_64.patch12
4 files changed, 120 insertions, 0 deletions
diff --git a/abs/core/imagemagick/ChangeLog b/abs/core/imagemagick/ChangeLog
new file mode 100644
index 0000000..8b3a5fb
--- /dev/null
+++ b/abs/core/imagemagick/ChangeLog
@@ -0,0 +1,44 @@
+2008-08-19 Eric Belanger <eric@archlinux.org>
+
+ * imagemagick 6.4.2.10-1
+ * Upstream update
+
+2008-08-11 Eric Belanger <eric@archlinux.org>
+
+ * imagemagick 6.4.2.7-1
+ * Upstream update
+ * Added bzip2 and libxml2 depends
+ * Disabled docs
+
+2008-07-18 Eric Belanger <eric@archlinux.org>
+
+ * imagemagick 6.4.2.4-1
+ * Upstream update
+
+2008-06-23 Eric Belanger <eric@archlinux.org>
+
+ * imagemagick 6.4.2.1-1
+ * Upstream update
+ * Fixed linking problem (close FS#10574)
+
+2008-05-19 Eric Belanger <eric@archlinux.org>
+
+ * imagemagick 6.4.1.3-1
+ * Upstream update
+
+2008-04-30 Eric Belanger <eric@archlinux.org>
+
+ * imagemagick 6.4.1.0-1
+ * Upstream update
+
+2008-04-24 Eric Belanger <eric@archlinux.org>
+
+ * imagemagick 6.4.0.9-1
+ * Upstream update
+
+2008-03-29 Eric Belanger <eric@archlinux.org>
+
+ * imagemagick 6.4.0.2-1
+ * Upstream update
+ * Added dvips to delegates list for dvi support (close FS#8914)
+ * Added ChangeLog
diff --git a/abs/core/imagemagick/PKGBUILD b/abs/core/imagemagick/PKGBUILD
new file mode 100644
index 0000000..79555bf
--- /dev/null
+++ b/abs/core/imagemagick/PKGBUILD
@@ -0,0 +1,56 @@
+# $Id: PKGBUILD 9867 2008-08-20 05:56:48Z eric $
+# Maintainer: Eric Belanger <eric@archlinux.org>
+
+# NOTE: ImageMagick builds against an existing installation
+# uninstall ImageMagick before building, or build it, install it, build it.
+
+# NOTE 2: To circumvent linking problems (FS#10574), this package must now be built the following way:
+# install old package, build new package, install new package, rebuild
+
+pkgname=imagemagick
+pkgver=6.4.2.10
+pkgrel=1
+pkgdesc="An image viewing/manipulation program"
+arch=('i686' 'x86_64')
+url="http://www.imagemagick.org/"
+license=('custom')
+depends=('lcms' 'libwmf' 'librsvg' 'libxt' 'gcc-libs' 'ghostscript' 'openexr' 'libtool>=2.2' 'bzip2' 'libxml2')
+#makedepends=('ghostscript' 'openexr')
+options=('!makeflags' '!docs')
+source=(ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-${pkgver%.*}-${pkgver##*.}.tar.bz2 \
+ libpng_mmx_patch_x86_64.patch add_delegate.patch)
+md5sums=('f60ae313a2cc2fcc980543165e7ebaf4' '069980fc2590c02aed86420996259302'\
+ '7f5851c4450b73d52df55c7e806cc316')
+sha1sums=('0c45712a07b0d337ac4130c3ad605566d013ea3f'
+ 'e42f3acbe85b6098af75c5cecc9a254baaa0482c'
+ '19b40dcbc5bf8efb8ce7190fed17e2921de32ea5')
+
+build() {
+ cd ${srcdir}/ImageMagick-${pkgver%.*}
+
+ if [ "${CARCH}" = "x86_64" ]; then
+ patch -Np1 < ../libpng_mmx_patch_x86_64.patch || return 1
+ fi
+
+ patch -p0 < ../add_delegate.patch || return 1
+
+ #LIBS=-lMagickWand ./configure --prefix=/usr --without-modules --disable-static --disable-openmp \
+ ./configure --prefix=/usr --without-modules --disable-static --disable-openmp \
+ --with-x --with-wmf --with-openexr \
+ --with-gslib --with-gs-font-dir=/usr/share/fonts/Type1 \
+ --with-perl --with-perl-options="INSTALLDIRS=vendor" \
+ --without-gvc --without-djvu --without-jp2 \
+ --without-fpx --without-dps || return 1
+
+ make || return 1
+ make DESTDIR=${pkgdir} install || return 1
+ install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE || return 1
+ install -D -m644 NOTICE ${pkgdir}/usr/share/licenses/${pkgname}/NOTICE || return 1
+
+ #Cleaning
+ find ${pkgdir} -name '*.bs' -exec rm {} \; || return 1
+ find ${pkgdir} -name '.packlist' -exec rm {} \; || return 1
+ find ${pkgdir} -name 'perllocal.pod' -exec rm {} \; || return 1
+
+ rm -f ${pkgdir}/usr/lib/*.la || return 1
+}
diff --git a/abs/core/imagemagick/add_delegate.patch b/abs/core/imagemagick/add_delegate.patch
new file mode 100644
index 0000000..6ba6009
--- /dev/null
+++ b/abs/core/imagemagick/add_delegate.patch
@@ -0,0 +1,8 @@
+--- config/delegates.xml.in.orig 2008-03-29 23:25:03.000000000 -0400
++++ config/delegates.xml.in 2008-03-29 23:27:35.000000000 -0400
+@@ -103,4 +103,5 @@
+ <delegate decode="xps:color" stealth="True" command="&quot;@XPSDelegate@&quot; -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 &quot;-sDEVICE=@XPSColorDevice@&quot; -dTextAlphaBits=%u -dGraphicsAlphaBits=%u &quot;-r%s&quot; %s &quot;-sOutputFile=%s&quot; &quot;%s&quot;"/>
+ <delegate decode="xps:cmyk" stealth="True" command="&quot;@XPSDelegate@&quot; -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 &quot;-sDEVICE=@XPSCMYKDevice@&quot; -dTextAlphaBits=%u -dGraphicsAlphaBits=%u &quot;-r%s&quot; %s &quot;-sOutputFile=%s&quot; &quot;%s&quot;"/>
+ <delegate decode="xps:mono" stealth="True" command="&quot;@XPSDelegate@&quot; -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 &quot;-sDEVICE=@XPSMonoDevice@&quot; -dTextAlphaBits=%u -dGraphicsAlphaBits=%u &quot;-r%s&quot; %s &quot;-sOutputFile=%s&quot; &quot;%s&quot;"/>
++ <delegate decode="dvi" command="&quot;dvips&quot; -q -o &quot;%o&quot; &quot;%i&quot;"/>
+ </delegatemap>
diff --git a/abs/core/imagemagick/libpng_mmx_patch_x86_64.patch b/abs/core/imagemagick/libpng_mmx_patch_x86_64.patch
new file mode 100644
index 0000000..d86449a
--- /dev/null
+++ b/abs/core/imagemagick/libpng_mmx_patch_x86_64.patch
@@ -0,0 +1,12 @@
+diff -Naur ImageMagick-6.2.7.orig/coders/png.c ImageMagick-6.2.7/coders/png.c
+--- ImageMagick-6.2.7.orig/coders/png.c 2006-05-21 12:35:55.784852536 +0200
++++ ImageMagick-6.2.7/coders/png.c 2006-05-21 12:36:50.698504392 +0200
+@@ -164,6 +164,8 @@
+ #define PNG_MAX_UINT (png_uint_32) 0x7fffffffL
+ #endif
+
++#undef PNG_ASSEMBLER_CODE_SUPPORTED
++
+ /*
+ Constant strings for known chunk types. If you need to add a chunk,
+ add a string holding the name here. To make the code more