Hi, The REQUIRED_FREETYPE_VERSION in jdk/make/common/shared/Platform.gmk is set to 2.3.0, but the freetype backend doesn't seem to use any new in 2.3.0 api. In fact it builds and runs fine on 2.2.1. Which is the default on centos 5 for example, and they have had packages for a very long time now. The following patch moves the required version down. I have used this in icedtea to build on older installs for a while.
2009-05-04 Mark Wielaard <[email protected]> * Makefile.am (ICEDTEA_PATCHES): Add icedtea-freetypeversion.patch. * patches/icedtea-freetypeversion.patch: New patch. * HACKING: Document new patch. Would be nice to have this upstream to facilitate building on a wider range of platforms. Cheers, Mark
--- openjdk/jdk/make/common/shared/Platform.gmk.orig +++ openjdk/jdk/make/common/shared/Platform.gmk @@ -94,7 +94,7 @@ REQUIRED_BOOT_VER = 1.5 # If we are using freetype, this is the required version -REQUIRED_FREETYPE_VERSION=2.3.0 +REQUIRED_FREETYPE_VERSION=2.2.1 # # Prune out all known SCM (Source Code Management) directories
