From 3d3a165ac0cb2ed4ad0d2f32e6eb073e7736340a Mon Sep 17 00:00:00 2001 From: marc Date: Sat, 23 May 1998 19:00:10 +0000 Subject: [PATCH] ImageMagick 4.0.5 --- graphics/ImageMagick/Makefile | 37 ++++++++++++++ graphics/ImageMagick/files/md5 | 1 + graphics/ImageMagick/patches/patch-aa | 72 +++++++++++++++++++++++++++ graphics/ImageMagick/patches/patch-ab | 11 ++++ graphics/ImageMagick/pkg/COMMENT | 1 + graphics/ImageMagick/pkg/DESCR | 71 ++++++++++++++++++++++++++ graphics/ImageMagick/pkg/PLIST | 37 ++++++++++++++ 7 files changed, 230 insertions(+) create mode 100644 graphics/ImageMagick/Makefile create mode 100644 graphics/ImageMagick/files/md5 create mode 100644 graphics/ImageMagick/patches/patch-aa create mode 100644 graphics/ImageMagick/patches/patch-ab create mode 100644 graphics/ImageMagick/pkg/COMMENT create mode 100644 graphics/ImageMagick/pkg/DESCR create mode 100644 graphics/ImageMagick/pkg/PLIST diff --git a/graphics/ImageMagick/Makefile b/graphics/ImageMagick/Makefile new file mode 100644 index 00000000000..dd3e1520362 --- /dev/null +++ b/graphics/ImageMagick/Makefile @@ -0,0 +1,37 @@ +# OpenBSD makefile for: ImageMagick +# Version required: 4.0.5 +# Date created: 1998-Apr-21 +# Whom: marc@OpenBSD.ORG +# +# $OpenBSD: Makefile,v 1.1.1.1 1998/05/23 19:00:10 marc Exp $ +# + +DISTNAME= ImageMagick-4.0.5 +CATEGORIES= graphics x11 + +MAINTAINER= marc@openbsd.org + +MASTER_SITES= ftp://ftp.wizards.dupont.com/pub/ImageMagick/ \ + ftp://ftp.fifi.org/pub/ImageMagick \ + ftp://gd.tuwien.ac.at/pub/graphics/ImageMagick + +# Future: add FreeType, FlashPix, NCSA HDF, JBIG, scanimage, etc. +# +RUN_DEPENDS= fig2dev:${PORTSDIR}/print/transfig \ + gs:${PORTSDIR}/print/ghostscript5 \ + +LIB_DEPENDS= jpeg\\.62\\.:${PORTSDIR}/graphics/jpeg \ + mpeg\\.1\\.:${PORTSDIR}/graphics/mpeg-lib \ + png\\.1\\.:${PORTSDIR}/graphics/png \ + tiff34\\.1:${PORTSDIR}/graphics/tiff34 + +USE_X11= yes +GNU_CONFIGURE= yes +.if (${MACHINE_ARCH} != "alpha") +CONFIGURE_ARGS+= --enable-shared +.endif +CONFIGURE_ARGS+= --enable-static +CONFIGURE_ENV= ${SETENV} CPPFLAGS=-I/usr/local/include \ + LDFLAGS=-L/usr/local/lib + +.include diff --git a/graphics/ImageMagick/files/md5 b/graphics/ImageMagick/files/md5 new file mode 100644 index 00000000000..00aaf092ff1 --- /dev/null +++ b/graphics/ImageMagick/files/md5 @@ -0,0 +1 @@ +MD5 (ImageMagick-4.0.5.tar.gz) = bdb3f9e033afeeda94605158940c7c8a diff --git a/graphics/ImageMagick/patches/patch-aa b/graphics/ImageMagick/patches/patch-aa new file mode 100644 index 00000000000..482641dc7bc --- /dev/null +++ b/graphics/ImageMagick/patches/patch-aa @@ -0,0 +1,72 @@ +--- configure.~1~ Tue Apr 21 09:53:37 1998 ++++ configure Tue Apr 21 23:02:48 1998 +@@ -4611,16 +4611,16 @@ + echo "configure:4612: checking for TIFF support ..." >&5 + failed=0; + passed=0; +- ac_safe=`echo "tiff.h" | sed 'y%./+-%__p_%'` +-echo $ac_n "checking for tiff.h""... $ac_c" 1>&6 +-echo "configure:4617: checking for tiff.h" >&5 ++ ac_safe=`echo "tiff34.h" | sed 'y%./+-%__p_%'` ++echo $ac_n "checking for tiff34.h""... $ac_c" 1>&6 ++echo "configure:4617: checking for tiff34.h" >&5 + if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else + cat > conftest.$ac_ext < ++#include + EOF + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" + { (eval echo configure:4627: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +@@ -4645,16 +4645,16 @@ + failed=`expr $failed + 1` + fi + +- ac_safe=`echo "tiffio.h" | sed 'y%./+-%__p_%'` +-echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6 +-echo "configure:4651: checking for tiffio.h" >&5 ++ ac_safe=`echo "tiffio34.h" | sed 'y%./+-%__p_%'` ++echo $ac_n "checking for tiffio34.h""... $ac_c" 1>&6 ++echo "configure:4651: checking for tiffio34.h" >&5 + if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else + cat > conftest.$ac_ext < ++#include + EOF + ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" + { (eval echo configure:4661: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +@@ -4679,14 +4679,14 @@ + failed=`expr $failed + 1` + fi + +- echo $ac_n "checking for TIFFOpen in -ltiff""... $ac_c" 1>&6 +-echo "configure:4684: checking for TIFFOpen in -ltiff" >&5 +-ac_lib_var=`echo tiff'_'TIFFOpen | sed 'y%./+-%__p_%'` ++ echo $ac_n "checking for TIFFOpen in -ltiff34""... $ac_c" 1>&6 ++echo "configure:4684: checking for TIFFOpen in -ltiff34" >&5 ++ac_lib_var=`echo tiff34'_'TIFFOpen | sed 'y%./+-%__p_%'` + if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else + ac_save_LIBS="$LIBS" +-LIBS="-ltiff $TRAILING_LIBS $LIBS" ++LIBS="-ltiff34 $TRAILING_LIBS $LIBS" + cat > conftest.$ac_ext <&6 + else +- LIB_TIFF='-ltiff' ++ LIB_TIFF='-ltiff34' + LIBS="$LIBS $LIB_TIFF" + cat >> confdefs.h <<\EOF + #define HasTIFF 1 diff --git a/graphics/ImageMagick/patches/patch-ab b/graphics/ImageMagick/patches/patch-ab new file mode 100644 index 00000000000..0fe686b2a57 --- /dev/null +++ b/graphics/ImageMagick/patches/patch-ab @@ -0,0 +1,11 @@ +--- magick/plug-ins.h.~1~ Mon Apr 6 09:39:27 1998 ++++ magick/plug-ins.h Tue Apr 21 23:11:42 1998 +@@ -26,7 +26,7 @@ + #include "png.h" + #endif + #if defined(HasTIFF) +-#include "tiffio.h" ++#include "tiffio34.h" + #define CCITTParam "-1" + #else + #define CCITTParam "0" diff --git a/graphics/ImageMagick/pkg/COMMENT b/graphics/ImageMagick/pkg/COMMENT new file mode 100644 index 00000000000..d4ee39d777a --- /dev/null +++ b/graphics/ImageMagick/pkg/COMMENT @@ -0,0 +1 @@ +X11 package for display and interactive manipulation of images diff --git a/graphics/ImageMagick/pkg/DESCR b/graphics/ImageMagick/pkg/DESCR new file mode 100644 index 00000000000..823d9a64179 --- /dev/null +++ b/graphics/ImageMagick/pkg/DESCR @@ -0,0 +1,71 @@ +ImageMagick is an X11 package for display and interactive manipulation +of images. The package includes tools for image conversion, annotation, +compositing, animation, and creating montages. ImageMagick can read and +write many of the more popular image formats (e.g. JPEG, TIFF, PNM, XPM, +Photo CD, etc.). + +With ImageMagick you can: + + o load an image from a file + o display the next image + o display the former image + o display a sequence of images as a slide show + o write the image to a file + o print the image to a Postscript printer + o delete the image file + o create a Visual Image Directory + o select the image to display by its thumbnail rather than name + o undo last image transformation + o copy a region of the image + o paste a region to the image + o restore the image to its original size + o refresh the image + o half the image size + o double the image size + o resize the image + o crop the image + o cut the image + o flop image in the horizontal direction + o flip image in the vertical direction + o rotate the image 90 degrees clockwise + o rotate the image 90 degrees counter-clockwise + o rotate the image + o shear the image + o trim the image edges + o invert the colors of the image + o vary the color brightness + o vary the color saturation + o vary the image hue + o gamma correct the image + o sharpen the image contrast + o dull the image contrast + o perform histogram equalization on the image + o perform histogram normalization on the image + o negate the image colors + o toggle the colormap type: : Shared or Private + o reduce the speckles within an image + o eliminate peak noise from an image + o detect edges within the image + o emboss an image + o oil paint an image + o convert the image to grayscale + o set the maximum number of unique colors in the image + o segment the image by color + o apply image processing techniques to a region of interest + o annotate the image with text + o draw on the image + o edit an image pixel color + o edit the image matte information + o composite an image with another + o add a border to the image + o surround image with an ornamental border + o add an image comment + o display image centered on a backdrop + o display image to background of a window + o display information about the image + o display information about this program + o discard all images and exit program + o change the level of magnification + o display images specified by a World Wide Web (WWW) uniform resource + locator (URL) + diff --git a/graphics/ImageMagick/pkg/PLIST b/graphics/ImageMagick/pkg/PLIST new file mode 100644 index 00000000000..5a4cef8f397 --- /dev/null +++ b/graphics/ImageMagick/pkg/PLIST @@ -0,0 +1,37 @@ +bin/xtp +bin/animate +bin/combine +bin/convert +bin/display +bin/identify +bin/import +bin/mogrify +bin/montage +lib/libMagick.so.4.5 +lib/libMagick.la +lib/libMagick.a +man/man1/xtp.1 +man/man1/ImageMagick.1 +man/man1/animate.1 +man/man1/combine.1 +man/man1/convert.1 +man/man1/display.1 +man/man1/identify.1 +man/man1/import.1 +man/man1/mogrify.1 +man/man1/montage.1 +man/man4/miff.4 +man/man5/quantize.5 +include/magick/PreRvIcccm.h +include/magick/X.h +include/magick/compress.h +include/magick/config.h +include/magick/error.h +include/magick/gems.h +include/magick/image.h +include/magick/magick.h +include/magick/monitor.h +include/magick/plug-ins.h +include/magick/utility.h +include/magick/widget.h +@dirrm include/magick