Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jan 2001 20:01:52 -0800 (PST)
From:      tkato@prontomail.ne.jp
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/24094: Update port: graphics/ImageMagick to 5.2.7 (fix ports/23623)
Message-ID:  <200101060401.f0641qI30369@freefall.freebsd.org>
Resent-Message-ID: <200101060410.f064A1R33252@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         24094
>Category:       ports
>Synopsis:       Update port: graphics/ImageMagick to 5.2.7 (fix ports/23623)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 05 20:10:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.2-RELEASE i386
>Organization:
>Environment:
>Description:
- Update to version 5.2.7

New file:
files/patch-al

This PR supersedes ports/23623.

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/graphics/ImageMagick/Makefile graphics/ImageMagick/Makefile
--- /usr/ports/graphics/ImageMagick/Makefile	Tue Oct  3 22:48:57 2000
+++ graphics/ImageMagick/Makefile	Thu Jan  4 14:19:26 2001
@@ -6,16 +6,15 @@
 #
 
 PORTNAME=	ImageMagick
-PORTVERSION=	5.2.3
+PORTVERSION=	5.2.7
 CATEGORIES=	graphics perl5
-MASTER_SITES=	${MASTER_SITE_LOCAL} \
-		ftp://ftp.wizards.dupont.com/pub/ImageMagick/ \
+MASTER_SITES=	ftp://ftp.simplesystems.org/pub/ImageMagick/ \
+		ftp://ftp.cdrom.com/pub/ImageMagick/ \
 		ftp://ftp.u-aizu.ac.jp/pub/graphics/image/ImageMagick/ \
 		ftp://ftp.fifi.org/pub/ImageMagick/ \
 		ftp://gd.tuwien.ac.at/pub/graphics/ImageMagick/ \
 		ftp://ftp.ms.mff.cuni.cz/MIRRORS/ftp.wizards.dupont.com/pub/ImageMagick/ \
 		ftp://ftp.oce.nl/pub/Internet/audio+video/ImageMagick/
-MASTER_SITE_SUBDIR=	jseger
 
 MAINTAINER=	jseger@FreeBSD.org
 
@@ -23,8 +22,10 @@
 		df.1:${PORTSDIR}/graphics/hdf \
 		jbig.1:${PORTSDIR}/graphics/jbigkit \
 		jpeg.9:${PORTSDIR}/graphics/jpeg \
+		wmf.1:${PORTSDIR}/graphics/libwmf \
 		png.4:${PORTSDIR}/graphics/png \
-		tiff.4:${PORTSDIR}/graphics/tiff
+		tiff.4:${PORTSDIR}/graphics/tiff \
+		freetype.6:${PORTSDIR}/print/freetype2
 BUILD_DEPENDS=	gs:${PORTSDIR}/print/ghostscript55 \
 		mpeg2decode:${PORTSDIR}/graphics/mpeg2codec \
 		picttoppm:${PORTSDIR}/graphics/netpbm \
@@ -36,14 +37,18 @@
 
 USE_PERL5=	yes
 USE_XLIB=	yes
-USE_FREETYPE=	yes
 USE_LIBTOOL=	yes
 USE_AUTOCONF=	yes
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 		LIBS="-L${LOCALBASE}/lib"
-CONFIGURE_ARGS=	--enable-shared --enable-16bit-pixel --without-modules \
+CONFIGURE_ARGS=	--enable-shared --without-modules \
+		--with-threads --without-magick-plus-plus \
 		--with-perl=${PERL5} --without-xml
 INSTALLS_SHLIB=	yes
+
+.if defined(WITH_16BIT_PIXEL)
+CONFIGURE_ARGS+= --enable-16bit-pixel
+.endif
 
 .if defined(HAVE_UNISYS_LICENSE)
 CONFIGURE_ARGS+= --enable-lzw
diff -urN /usr/ports/graphics/ImageMagick/distinfo graphics/ImageMagick/distinfo
--- /usr/ports/graphics/ImageMagick/distinfo	Thu Aug 24 06:20:20 2000
+++ graphics/ImageMagick/distinfo	Thu Jan  4 14:03:32 2001
@@ -1 +1 @@
-MD5 (ImageMagick-5.2.3.tar.gz) = 98d1a57c155aa017ed67505b6ca36a86
+MD5 (ImageMagick-5.2.7.tar.gz) = 2f0cf45da38e5613b7d8d426a5ddcd3a
diff -urN /usr/ports/graphics/ImageMagick/files/patch-al graphics/ImageMagick/files/patch-al
--- /usr/ports/graphics/ImageMagick/files/patch-al	Thu Jan  1 09:00:00 1970
+++ graphics/ImageMagick/files/patch-al	Tue Dec  5 02:43:22 2000
@@ -0,0 +1,16 @@
+--- configure.in.orig	Fri Dec  1 02:14:22 2000
++++ configure.in	Tue Dec  5 02:43:13 2000
+@@ -471,10 +471,10 @@
+ LIB_THREAD=''
+ if test "$with_threads" != 'no'
+ then
+-  AC_CHECK_LIB(pthread,pthread_attr_init,
++  AC_CHECK_LIB(c_r,pthread_attr_init,
+     [AC_DEFINE(HasPTHREADS,,Define if you have Posix thread methods.)
+-     LIB_THREAD="-lpthread"
+-     DEF_THREAD="-D_REENTRANT"],,)
++     LIB_THREAD="-pthread"
++     DEF_THREAD="-D_THREAD_SAFE"],,)
+   LIBS="$LIB_THREAD $LIBS"
+   CPPFLAGS="$DEF_THREAD $CPPFLAGS"
+ fi
diff -urN /usr/ports/graphics/ImageMagick/pkg-plist graphics/ImageMagick/pkg-plist
--- /usr/ports/graphics/ImageMagick/pkg-plist	Wed Jul 19 22:08:38 2000
+++ graphics/ImageMagick/pkg-plist	Mon Dec 11 23:29:13 2000
@@ -1,10 +1,12 @@
 bin/Magick-config
 bin/animate
+bin/cgimagick
 bin/combine
 bin/convert
 bin/display
 bin/identify
 bin/import
+bin/iptcutil
 bin/mogrify
 bin/montage
 include/magick/PreRvIcccm.h
@@ -17,6 +19,7 @@
 include/magick/compress.h
 include/magick/config.h
 include/magick/delegates.h
+include/magick/draw.h
 include/magick/error.h
 include/magick/gems.h
 include/magick/image.h


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101060401.f0641qI30369>