[OpenJDK 2D-Dev] Fw: [PATCH] Allow linking in (shared) libfontconfig directy

Diego 'Flameeyes' Pettenò flameeyes at gmail.com
Mon May 21 20:14:42 UTC 2007


Forwarding to 2d-dev as asked by Oleg Sukhodolsky (originally from
awt-dev).

Begin forwarded message:

Date: Mon, 21 May 2007 17:45:29 +0200
From: Diego 'Flameeyes' Pettenò <flameeyes at gmail.com>
To: awt-dev at openjdk.java.net
Subject: [PATCH] Allow linking in (shared) libfontconfig directy


As it is, OpenJDK tries to dlopen fontconfig (multiple times too), to
avoid a direct link dependency over it. This could be quite slow as the
dynamic linker has to do its job multiple times, but is understandable
for redistributable packages.

Distributions, though, might want to just depend on fontconfig itself
and link it directly. The attached patch allows that through the
DIRECT_LINK_FONTCONFIG=true option at make.

-- 
Diego "Flameeyes" Pettenò
http://farragut.flameeyes.is-a-geek.org/


-- 
Diego "Flameeyes" Pettenò
http://farragut.flameeyes.is-a-geek.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openjdk-fontconfig-directlink.patch.patch
Type: text/x-patch
Size: 6267 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/2d-dev/attachments/20070521/aa593560/openjdk-fontconfig-directlink.patch.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/2d-dev/attachments/20070521/aa593560/signature.asc>


More information about the 2d-dev mailing list