[patch] Fix current icedtea7-forest/jdk awt build

Damien Raude-Morvan drazzib at drazzib.com
Sun Sep 18 13:38:38 PDT 2011


Hi,

This patch is targeted for icedtea7-forest jdk. Since rev 005c45393f0d, 
USE_SYSTEM_CUPS define seems to be used to skip usage of embed cups headers. I 
found some issues with current makefiles.

1) In openjdk/jdk/make/sun/awt/FILES_c_unix.gmk there is a typo in 
FILES_NO_MOTIF_c. It should be "+=" and not "=".
Actual error: it skip build of others files and latter cause, for example, 
"java.lang.UnsatisfiedLinkError: java.awt.Font.initIDs" when doing XAWTIcon 
generation with ToBin tool.

2) In openjdk/jdk/make/sun/awt/mawt.gmk, there is missing directives when 
comparing with xawt ones.
- Missing vpath %.c for embed cups headers
- Missing OTHER_LDLIBS for cups libs

Patch is attached.

Regards,
-- 
Damien
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sun-awt-buildsystem.diff
Type: text/x-patch
Size: 1170 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20110918/fbc66d77/sun-awt-buildsystem.diff 


More information about the distro-pkg-dev mailing list