freetype hack committed

Egbert Eich release-wranglers@freedesktop.org
Tue Mar 2 21:11:49 PST 2004


Mike A. Harris writes:
 > 
 > All Red Hat OS products contain the above libraries as separate 
 > packages for as long as I can remember, so they can be set to YES 
 > in linux.cf in the LinuxRedhat section at least.

The same is true here.
I have no great pain with this as it is well documented how you
get a self contained build back.

 > 
 > The only problem I can forsee, is that freetype 2.1.4 is required
 > to compile the sources, and freetype 2.1.4 or later is included 
 > with Red Hat Enterprise Linux 3, and with Fedora Core 1 and later 
 > only.  I have tested compiling the new sources on each OS release 
 > of ours, and it fails on any release that does not have freetype 
 > 2.1.4 or later installed.

That's right. The code explicitely requires pices from 2.1.4.

 > 
 > I have updated freetype on Red Hat Linux 8.0 to freetype 2.1.4 on 
 > my machine by recompiling our Fedora Core 1 package, and the 
 > build succeeds now.
 > 
 > So, in short, for Red Hat OS products, the xorg sources will fail 
 > to compile if HasFreetype is set to YES by default.  I do not 
 > have a problem with that however.  My preference would be to have 
 > the HasFreetype define either trigger based on the combination 
 > of vendor and vendor OS release, or to default it to the vendor's 
 > current OS release.  Our current OS releases all have freetype 
 > 2.1.4 or later installed, and so HasFreetype YES will cause it to 
 > succeed on our current OS releases.

The define is protected by an #ifndef therefore you can add some elaborate
version testing to an imake configuration file.

 > 
 > Perhaps we should add defines to pick the particular vendor OS 
 > release, and set the defaults based on the combination?
 > 
 > 

Right. I would prefer to have this either in host.def or in a vendor
specific *def file, though.

However this does not answer my other question and it looks like 
nobody has ever looked into this. The Xserver module (and maybe
the other freetype libs) do require a symbol not exported to
the external ABI thru a header file.
Has anyone tried if this works better on a later freetype version?

Egbert.




More information about the release-wranglers mailing list