Subject: pkg/34192: lang/kaffe-x11 awt Graphics2D failure
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <collver@peak.org>
List: pkgsrc-bugs
Date: 08/13/2006 01:45:00
>Number:         34192
>Category:       pkg
>Synopsis:       lang/kaffe-x11 awt Graphics2D failure
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 13 01:45:00 +0000 2006
>Originator:     collver@peak.org
>Release:        NetBSD 3.0
>Organization:
>Environment:
System: NetBSD sanctum 3.0 NetBSD 3.0 (SANCTUM) #7: Sat Aug 12 16:32:22 PDT 2006 ben@sanctum:/home/ben/src/netbsd/3.0/src/sys/arch/i386/compile/SANCTUM i386
Architecture: i386
Machine: i386
>Description:
I tried to run a Java program that uses AWT and get this error:

sanctum $ kaffe-java sam
java.lang.Error: Graphics2D not implemented. Cairo was not found or disabled at configure time
   at gnu.java.awt.peer.gtk.GdkGraphicsEnvironment.createGraphics (GdkGraphicsEnvironment.java:72)
   at java.awt.image.BufferedImage.createGraphics (BufferedImage.java:291)
   at java.awt.image.BufferedImage.getGraphics (BufferedImage.java:323)
   at TurtleWorld.begin (Turtle.java:114)
   at TurtleWorld.<init> (Turtle.java:107)
   at Turtle.makePage (Turtle.java:85)
   at Turtle.<init> (Turtle.java:75)
   at Turtle.<init> (Turtle.java:67)
   at sam.main (sam.java:6)
>How-To-Repeat:
The sources for this example are Turtle.java, Turtlet.java, and sam.java.
These can be fetched from http://terrorpin.net/~ben/docs/comp/lang/java/bens/
>Fix:
Unknown, but this appears to be an issue with the Kaffe build itself.