FYI: committed --enable-gtk-cairo patch

graydon hoare
Wed Dec 31 09:12:00 GMT 2003


I've just committed this (slightly revised) version of the 
--enable-gtk-cairo patch I posted for comments a couple weeks back. The 
changes mostly have to do with configury: now it uses PKG_CHECK_MODULES 
(hence pkg-config) to find cairo/libpixman, and work out its link flags. 
Otherwise just minor typos fixed as suggested.


2003-12-16  Graydon Hoare  <>

	* Add --enable-gtk-cairo check.
	* configure: Regenerate.
	* Conditionally link against cairo.
	* Regenerate.
	* acinclude.m4: Include PKG_CHECK_MODULES.
	* aclocal.m4: Regenerate.
	* gnu/java/awt/peer/gtk/ (useGraphics2D): New method.
	(getFontMetrics, getClasspathFontPeer):
	* gnu/java/awt/peer/gtk/ (getGraphics):
	* gnu/java/awt/peer/gtk/ (createImage):
	* gnu/java/awt/peer/gtk/ (getGraphics):
	* gnu/java/awt/peer/gtk/ (getGraphics):
	Switch behavior depending on GtkToolkit.useGraphics2D().
	* gnu/java/awt/peer/gtk/ Extend ClasspathFontPeer.
	* java/awt/ Switch to peer model.
	* jni/gtk-peer/gtkcairopeer.h: Definitions of cairo stuff.
	* jni/gtk-peer/gdkfont.h: Include gtkcairopeer.h.
	* jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Include 
	* jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c: 
Un-include gtkpeer.h.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: j2d-enable-graphics2d.patch.2
URL: <>

More information about the Java-patches mailing list