Thanks Stephen - will make the mods you suggest for jar file locations when I get back from hols. What would you suggest for the jni object names?
I've put updated spec files into svn (attached as well) and they will be built as part of the nightlies and delivered to the OpenSolaris Download Center [http://dlc.sun.com/osol/jds/downloads/current/] under a Testing area (not part of nevada), which will make it easier for folks to play with without having to build them [will have x86 and Sparc binary tarballs for: SUNWglib-java SUNWcairo-java SUNWlibgtk-java SUNWlibgnome-java SUNWlibglade-java SUNWlibgconf-java]. JR Stephen Hahn wrote: >* John Rice <John.Rice at sun.com> [2006-06-22 10:15]: > > >>For those of us who enjoy hacking in Java and want full access to the >>underlying Gnome API and like using Glade to specify your Gnome UI, here >>you go. >> >>"Java-Gnome is a set of Java bindings for the GNOME >><http://www.gnome.org> and GTK+ <http://www.gtk.org> libraries that >>allow GNOME and GTK+ applications to be written in Java." >> >>I've written spec files for all the core libs the folks at Java-Gnome >>have created [http://java-gnome.sourceforge.net/]. >> >> > > Cool. > > > >>$ javac -classpath >>.:/usr/share/java/glib0.2.jar:/usr/share/java/cairo1.0.jar:/usr/share/java/gtk2.8.jar:/usr/share/java/gnome2.12.jar:/usr/share/java/glade2.12.jar >> >>glade/LibGladeTest.java >>$ java -classpath >>.:/usr/share/java/glib0.2.jar:/usr/share/java/cairo1.0.jar:/usr/share/java/gtk2.8.jar:/usr/share/java/gnome2.12.jar:/usr/share/java/glade2.12.jar >> >>glade/LibGladeTest glade/gtk.glade >> >> > > Ignoring whether or not classpaths are cool, these need to move just a > smidge, so that they are with all the other classes. See > > PSARC/2006/053, "Public Java classes for Solaris" > > (Summary: move to /usr/share/lib/java, and maybe also change your JNI > objects' names.) > > - Stephen > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/desktop-discuss/attachments/20060623/acb60bb1/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: spec-files-java-gnome2.14-r2.tar.bz2 Type: application/x-bzip Size: 7255 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/desktop-discuss/attachments/20060623/acb60bb1/attachment.bin>
