Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 17220

Summary: libgd and freetype support
Product: Gentoo Linux Reporter: Neil Watson <gentoo>
Component: [OLD] LibraryAssignee: SpanKY <vapier>
Status: RESOLVED FIXED    
Severity: normal CC: foser
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Neil Watson 2003-03-10 09:07:43 UTC
A perl GD application is returning an error to me stating that libgd is not compiled with freetype 
support. 
 
Currently libgd 1.8.3-r6 and freetype 2.1.2-r2 are installed.  When I look at the ebuild for libgd 
it seems to me that libgd is configured to look for freetype 1.3*. 
 
It seems there are a lot of issues with these libraries.  Php has similar problems.  What can be 
done to fix this?  How can I help? 

Reproducible: Didn't try
Steps to Reproduce:
1.
2.
3.
Comment 1 SpanKY gentoo-dev 2003-04-29 06:29:52 UTC
will post update soon
Comment 2 SpanKY gentoo-dev 2003-06-26 12:01:56 UTC
ok, the old version of libgd defaulted to freetype-1.x ... i changed the ebuild
so you now have the choice of freetype-1.x or freetype-2.x ...
Comment 3 SpanKY gentoo-dev 2003-06-26 12:04:04 UTC
sooooo if you want freetype-2.x support (the good stuff, YEAH it is), just put
global USE flag 'truetype' in your USE var ...

buuuuuuuut if you *really* want freetype-1.x support (for some reason), just put
the local USE flag 'ttf' in your USE var ...

http://cvs.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-x86/media-libs/libgd/libgd-1.8.4-r1.ebuild.diff?r1=1.1&r2=1.2