Subject: Re: freetype2 required for fontconfig
To: NetBSD Packages Technical Discussion List <tech-pkg@NetBSD.ORG>
From: Roger Fischer <r@aileron.org>
List: tech-pkg
Date: 10/05/2003 10:43:46
At 1:24 PM -0400 10/5/03, Greg A. Woods wrote:
>[ On Sunday, October 5, 2003 at 09:16:18 (-0700), Roger Fischer wrote: ]
>  > Subject: Re: freetype2 required for fontconfig
>>
>  > 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.

Looks like it's there.

{1} pkg_info | grep expat
expat-1.95.2        XML parser library written in C



>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"?

OK, what would I do with this?  Sorry, I'm not a programmer and don't 
know much more about installing software than "make && make install". 
When all the stuff goes buzzing by the screen, the only thing I know 
is that it's building.  I haven't a clue what any of it means.

Thanks,
	- Rog