Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 May 2009 08:06:24 +0400 (MSD)
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        mm@FreeBSD.org
Subject:   ports/134867: [PATCH] graphics/ImageMagick: add liquid rescale (liblqr) support
Message-ID:  <20090523040624.5A0E0108839@hades.panopticon>
Resent-Message-ID: <200905230410.n4N4A1Qx078159@freefall.freebsd.org>

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

>Number:         134867
>Category:       ports
>Synopsis:       [PATCH] graphics/ImageMagick: add liquid rescale (liblqr) support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 23 04:10:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 8.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Thu Apr 30 06:41:20 MSD 2009
>Description:
I've just noticed that ImageMagick picks up liblqr-1 library if it's installed. Thus, add corresponding OPTION and properly handle dependency.

Port maintainer (mm@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- ImageMagick-6.5.1.10_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/amdmi3/projects/freebsd/FreeBSD.cvs/ports/graphics/ImageMagick/Makefile,v
retrieving revision 1.287
diff -u -u -r1.287 Makefile
--- Makefile	5 May 2009 15:05:33 -0000	1.287
+++ Makefile	23 May 2009 04:04:31 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	ImageMagick
 DISTVERSION=	6.5.1-10
+PORTREVISION=	1
 CATEGORIES=	graphics perl5
 MASTER_SITES=	ftp://ftp.imagemagick.org/pub/ImageMagick/ \
 		${MASTER_SITE_SOURCEFORGE} \
@@ -64,7 +65,8 @@
 		IMAGEMAGICK_WMF			"WMF format support" off \
 		IMAGEMAGICK_SVG			"SVG format support" off \
 		IMAGEMAGICK_PDF			"PDF format support" on \
-		IMAGEMAGICK_GSLIB	"libgs (Postscript SHLIB) support" off
+		IMAGEMAGICK_GSLIB	"libgs (Postscript SHLIB) support" off \
+		IMAGEMAGICK_LQR		"liquid rescale (liblqr-1) support" on
 
 .include <bsd.port.pre.mk>
 
@@ -184,6 +186,13 @@
 CONFIGURE_ARGS+=	--without-gslib
 .endif
 
+.if !defined(WITHOUT_IMAGEMAGICK_LQR)
+CONFIGURE_ARGS+=	--with-lqr
+LIB_DEPENDS+=		lqr-1.3:${PORTSDIR}/graphics/liblqr-1
+.else
+CONFIGURE_ARGS+=	--without-lqr
+.endif
+
 # Produce BZip compressed MIFF images
 .if defined(WITHOUT_IMAGEMAGICK_BZLIB)
 CONFIGURE_ARGS+=	--without-bzlib
--- ImageMagick-6.5.1.10_1.patch ends here ---

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



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