FYI: committed --enable-gtk-cairo patch

graydon hoare graydon@redhat.com
Wed Dec 31 09:12:00 GMT 2003


Hi,

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.

-graydon

2003-12-16  Graydon Hoare  <graydon@redhat.com>

	* configure.in: Add --enable-gtk-cairo check.
	* configure: Regenerate.
	* Makefile.am: Conditionally link against cairo.
	* Makefile.in: Regenerate.
	* acinclude.m4: Include PKG_CHECK_MODULES.
	* aclocal.m4: Regenerate.
	* gnu/java/awt/peer/gtk/GtkToolkit.java (useGraphics2D): New method.
	(getFontMetrics, getClasspathFontPeer):
	* gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics):
	* gnu/java/awt/peer/gtk/GtkComponentPeer.java (createImage):
	* gnu/java/awt/peer/gtk/GtkContainerPeer.java (getGraphics):
	* gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics):
	Switch behavior depending on GtkToolkit.useGraphics2D().
	* gnu/java/awt/peer/gtk/GtkFontPeer.java: Extend ClasspathFontPeer.
	* java/awt/Font.java: 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 
gtkcairopeer.h.
	* 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: <http://gcc.gnu.org/pipermail/java-patches/attachments/20031231/474fd30a/attachment.ksh>


More information about the Java-patches mailing list