Subject: Re: freetype2 required for fontconfig
To: Roger Fischer <r@aileron.org>
From: Greg A. Woods <woods@weird.com>
List: tech-pkg
Date: 10/05/2003 13:24:52
[ On Sunday, October 5, 2003 at 09:16:18 (-0700), Roger Fischer wrote: ]
> Subject: Re: freetype2 required for fontconfig
>
> I'm trying to build ethreal which requires a bunch (I mean a bunch!) of stuff.
> One of the items it requires if fontconfig which requires freetype2
> 
> freetype2 is installed, but for some reason, it thinks files are missing, or
> it appears to me that it thinks the freetype.h file is missing.  The file
> is there.

I don't know if it's related but fontconfig also requires expat and the
pkg-config template fails to account for this.

I've been testing the following additional patch for fonts/fontconfig

--- fontconfig.pc.in.orig       Wed Mar  5 01:09:14 2003
+++ fontconfig.pc.in    Thu Oct  2 01:39:30 2003
@@ -6,5 +6,6 @@
 Name: Fontconfig
 Description: Font configuration and customization library
 Version: @VERSION@
-Libs: -L${libdir} -lfontconfig
+Requires: expat
+Libs: -L${libdir} -lfontconfig -lexpat
 Cflags: -I${includedir}


Perhaps it also needs to list "-lfreetype"?


-- 
						Greg A. Woods

+1 416 218-0098                  VE3TCP            RoboHack <woods@robohack.ca>
Planix, Inc. <woods@planix.com>          Secrets of the Weird <woods@weird.com>