Freetype in Mountain Lion and higher
Henri Gomez
henri.gomez at gmail.com
Wed May 2 06:23:02 PDT 2012
> Hi Henri,
>
> As Mike mentioned several times, and I agree with him, the best approach
> would be to build a private copy of the freetype library when OpenJDK is
> being built, and ship it together with the OpenJDK binaries. In this case we
> avoid having unnecessary dependencies on optional OS X components, and also
> get rid of any library versions issues that may arise when e.g. (not)
> upgrading your operating system.
>
> Note that we do that with OpenJDK on MS Windows platform. Please refer to
> the Windows make files for more details. Patches are always welcome! :)
I already do some experiments with it and prepared some hacks around
package/build process.
And got some questions about jdk/make/sun/font/Makefile :
ie: why hardcoding version 6 of dynamic library for freetype.
ifeq ($(USING_SYSTEM_FT_LIB), false)
FREETYPE_LIB = $(LIB_LOCATION)/$(LIB_PREFIX)freetype.$(LIBRARY_SUFFIX).6
endif
More information about the macosx-port-dev
mailing list