GNOME Bugzilla – Bug 317604
Update libvte-java to work with Java-GNOME 2.8/2.12
Last modified: 2009-08-15 18:40:50 UTC
Distribution/Version: Fedora Core 4 libvte-java works with Java-GNOME 2.6/2.10 but doesn't work with 2.8/2.12. There have also been memory management changes that need to be incorporated into it.
Created attachment 52855 [details] [review] First draft of a fix I fixed up the memory management stuff by replacing getHandleFromPointer by getGObjectHandle, it turned out there were only 3 references to getHandleFromPointer. I also fixed up some of the build stuff, such as adding the macros checking for glib-java, and also changed the jg-jnu.h header location. I also made configure.ac use pkg-config to look for the location of macros for glib-java and gtk2, it was only looking in standard places, which breaks the build on machines with non-standard package locations.
Created attachment 52856 [details] [review] Second version Fixed up some problems from previous patch. Made libvte-java require gtk-java 2.8. Also changed a getGObjectHandle to getGBoxedHandle.
Created attachment 52884 [details] [review] Third time's the charm Added the extra options required by getGBoxedHandle. Added the build-dir to the lookup path of .java files for java-doc generation, this was a problem when building out-of-tree, since the src dir only contained a .java.in, and javadoc would not take it. Igor
Commited.