Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Mar 2004 15:16:17 +0300 (MSK)
From:      Seva Gluschenko <gvs@rinet.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/64258: ImageMagick port doesn't allow to specify Windows fonts directory
Message-ID:  <200403141216.i2ECGHfM010050@yeho.yandex.ru>
Resent-Message-ID: <200403141220.i2ECKIMj072092@freefall.freebsd.org>

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

>Number:         64258
>Category:       ports
>Synopsis:       ImageMagick port doesn't allow to specify Windows fonts directory
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 14 04:20:18 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Seva Gluschenko
>Release:        FreeBSD 5.2.1-RELEASE i386
>Organization:
Yandex LLC
>Environment:
System: FreeBSD yeho.yandex.ru 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #2: Wed Mar 3 01:43:35 MSK 2004 gvs@yeho.yandex.ru:/local/src/sys/i386/compile/road i386


	
>Description:
	The graphics/ImageMagick port offers many tunables but misses Windows
	fonts directory optional definition. Proposed patch fixes this problem.
>How-To-Repeat:
	
>Fix:

	apply patch below in /usr/ports/graphics/ImageMagick:

--- Makefile.orig	Sun Mar 14 15:11:23 2004
+++ Makefile	Sun Mar 14 15:09:24 2004
@@ -58,6 +58,11 @@
 PLIST_SUB+=		WITH_PERL='@comment '
 .endif
 
+# Windows fonts dir
+.if defined(WITH_WINDOWS_FONTS_DIR)
+CONFIGURE_ARGS+=	--with-windows-font-dir=${WITH_WINDOWS_FONTS_DIR}
+.endif
+
 # PerlMagick not works with threads, if perl is not threaded, and vice versa
 .if defined(WITH_IMAGEMAGICK_THREADS) || \
     (!defined(WITHOUT_IMAGEMAGICK_PERL) && \

	Now you can specify that directory, e.g.:

	# make WITH_WINDOWS_FONTS_DIR=/usr/local/share/fonts/Windows
>Release-Note:
>Audit-Trail:
>Unformatted:



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