Bug 64258 - ImageMagick port doesn't allow to specify Windows fonts directory
Summary: ImageMagick port doesn't allow to specify Windows fonts directory
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-14 12:20 UTC by Seva Gluschenko
Modified: 2004-03-15 02:54 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Seva Gluschenko 2004-03-14 12:20:18 UTC
	The graphics/ImageMagick port offers many tunables but misses Windows
	fonts directory optional definition. Proposed patch fixes this problem.

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



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

	# make WITH_WINDOWS_FONTS_DIR=/usr/local/share/fonts/Windows--Jk4F1fnrkcssASzlEiRLoDraidrXi34RfmNu0Y9oNfBBFauy
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- 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) && \
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2004-03-15 02:54:08 UTC
State Changed
From-To: open->closed

Committed, thanks! 

I added it as WITH_WINDOWS_FONT_DIR to be consistent  
with configure option