Thread: [Java-gnome-developer] libgtk-java-2.5.1 impressions
Brought to you by:
afcowie
From: Joe M. C. <ma...@Fr...> - 2003-12-23 18:11:04
|
In my effort to port as much GNOME as possible to FreeBSD, I started on the Java-GNOME packages last night. After some considerable hacking, I has able to get libgtk-java ported. I do have some impressions (and patches if desired). I hope you don't mind me sharing. Again, this is libgtk-java-2.5.1 that was uploaded to the GNOME mirrors yesterday. * The root Makefile is missing a ';' in the install target * The gtk/src Makefile references LIBGTKHTML_CFLAGS, GNOME_CFLAGS, and LIBGLADE_CFLAGS. I assume these are vestiges of the Java-GNOME split, but since they are unexpanded by configure, they break the build. * The gtk/src Makefile links with --no-undefined, but this causes unresolved libc symbols on FreeBSD, and thus -lc is also needed. I'm not sure if this is a problem for Linux. * The documentation is not properly installed since the doc directory macro is not expanded by configure. * Finally, the library installed is libgtkjava2.3.so.2.3.1, but the API tries to load libgtkjava2.5.so. Other than that, it works quite well. Like I said, I do have patches for all of this, but I wasn't sure if these new GNOME mirror images are ready for general consumption, or if I jumped the gun. Thanks. Joe --=20 Joe Marcus Clarke FreeBSD GNOME Team :: ma...@Fr... gn...@Fr... FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome |
From: Luca De R. <pie...@li...> - 2004-01-03 17:17:40
|
Il mar, 2003-12-23 alle 19:11, Joe Marcus Clarke ha scritto: > In my effort to port as much GNOME as possible to FreeBSD, I started on > the Java-GNOME packages last night. After some considerable hacking, I > has able to get libgtk-java ported. I do have some impressions (and > patches if desired). Great! Please, do send patches if you have a chance; as you have guessed we have splitted our project and completely restructured our cvs, so there is still some work to do. Any help will be very appreciated. -- Luca De Rugeriis <pie...@li...> |
From: Joe M. C. <ma...@Fr...> - 2004-01-03 20:46:50
Attachments:
libgtk-java.diff
|
On Sat, 2004-01-03 at 12:16, Luca De Rugeriis wrote: > Il mar, 2003-12-23 alle 19:11, Joe Marcus Clarke ha scritto: > > In my effort to port as much GNOME as possible to FreeBSD, I started on > > the Java-GNOME packages last night. After some considerable hacking, I > > has able to get libgtk-java ported. I do have some impressions (and > > patches if desired). > Great! Please, do send patches if you have a chance; as you have guessed > we have splitted our project and completely restructured our cvs, so > there is still some work to do. Any help will be very appreciated. These are the only three I made to address the problems I mentioned in my previous email. The other problems were caused by bad Makefile.in generations. With these patches (and some other very FreeBSD-specific directory changes), I was able to successfully run a small gtk+ app I wrote. Joe -- Joe Marcus Clarke FreeBSD GNOME Team :: gn...@Fr... FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome |
From: Mark H. <mh...@ca...> - 2004-01-04 11:43:57
|
On Tue, Dec 23, 2003 at 01:11:05PM -0500, Joe Marcus Clarke wrote: > In my effort to port as much GNOME as possible to FreeBSD, I started on > the Java-GNOME packages last night.=20 That's great news, thanks! > I hope you don't mind me sharing. Again, this is > libgtk-java-2.5.1 that was uploaded to the GNOME mirrors yesterday. Sharing is what open source is all about. Please do! your comments are very much appreciated.=20 I think most people have been using the all-in-one java-gnome tarball (not available from gnome.org, IIRC), so the gtk one hasn't had as much testing.=20 > * The root Makefile is missing a ';' in the install target Where? it looks fine to me. > * The gtk/src Makefile references LIBGTKHTML_CFLAGS, GNOME_CFLAGS, and > LIBGLADE_CFLAGS. I assume these are vestiges of the Java-GNOME split, > but since they are unexpanded by configure, they break the build. I will fix this.=20 > * The gtk/src Makefile links with --no-undefined, but this causes > unresolved libc symbols on FreeBSD, and thus -lc is also needed. I'm > not sure if this is a problem for Linux. Isn't this found in CFLAGS? > * The documentation is not properly installed since the doc directory > macro is not expanded by configure. Fixed in cvs.=20 > * Finally, the library installed is libgtkjava2.3.so.2.3.1, but the API > tries to load libgtkjava2.5.so. That shouldn't be happening. Could you send the error please? > Other than that, it works quite well. Like I said, I do have patches > for all of this, but I wasn't sure if these new GNOME mirror images are > ready for general consumption, or if I jumped the gun. Thanks. They're development snapshots created just after completely changing the build system. I'd say they should be ready for general consumption by technical people; with help like yours they will be ready for even wider use very soon. Thanks for trying java-gnome. I hope you will be able to give feedback on 2.5.2 :) --=20 .''`. Mark Howard : :' : `. `' http://www.tildemh.com=20 `- mh...@de... | mh...@ti... | mh...@ca...=20 |
From: Joe M. C. <ma...@Fr...> - 2004-01-04 23:09:29
|
On Sun, 2004-01-04 at 06:32, Mark Howard wrote: > On Tue, Dec 23, 2003 at 01:11:05PM -0500, Joe Marcus Clarke wrote: > > In my effort to port as much GNOME as possible to FreeBSD, I started on > > the Java-GNOME packages last night.=20 > That's great news, thanks! >=20 > > I hope you don't mind me sharing. Again, this is > > libgtk-java-2.5.1 that was uploaded to the GNOME mirrors yesterday. > Sharing is what open source is all about. Please do! your comments are > very much appreciated.=20 > I think most people have been using the all-in-one java-gnome tarball > (not available from gnome.org, IIRC), so the gtk one hasn't had as much > testing.=20 >=20 > > * The root Makefile is missing a ';' in the install target > Where? it looks fine to me. In the install target. I sent a patch last night. >=20 > > * The gtk/src Makefile references LIBGTKHTML_CFLAGS, GNOME_CFLAGS, and > > LIBGLADE_CFLAGS. I assume these are vestiges of the Java-GNOME split, > > but since they are unexpanded by configure, they break the build. > I will fix this.=20 >=20 > > * The gtk/src Makefile links with --no-undefined, but this causes > > unresolved libc symbols on FreeBSD, and thus -lc is also needed. I'm > > not sure if this is a problem for Linux. > Isn't this found in CFLAGS? Nope, not on FreeBSD. I sent a patch last night. >=20 > > * The documentation is not properly installed since the doc directory > > macro is not expanded by configure. > Fixed in cvs.=20 >=20 > > * Finally, the library installed is libgtkjava2.3.so.2.3.1, but the API > > tries to load libgtkjava2.5.so. > That shouldn't be happening. Could you send the error please? I sent a patch last night. If you look at th System.loadLibrary() call in Gtk.java, you will see it loads "gtkjava@apiversion@" which translates to libgtkjava2.5.so. However, in the Makefile, only libgtkjava2.3.so.2.3.1 is installed (as far as I could tell). I add a symlink for this on the FreeBSD install. >=20 > > Other than that, it works quite well. Like I said, I do have patches > > for all of this, but I wasn't sure if these new GNOME mirror images are > > ready for general consumption, or if I jumped the gun. Thanks. > They're development snapshots created just after completely changing the > build system. I'd say they should be ready for general consumption by > technical people; with help like yours they will be ready for even wider > use very soon. >=20 > Thanks for trying java-gnome. I hope you will be able to give feedback > on 2.5.2 :) Always. I can't wait to start building some apps with this! Joe --=20 Joe Marcus Clarke FreeBSD GNOME Team :: gn...@Fr... FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome |
From: Mark H. <mh...@ca...> - 2004-01-05 18:25:01
|
On Sun, Jan 04, 2004 at 01:48:13PM -0500, Joe Marcus Clarke wrote: > > > * The root Makefile is missing a ';' in the install target > > Where? it looks fine to me. > In the install target. I sent a patch last night. I was looking at the wrong Makefile, sorry. This has been fixed, as well as adding || exit 1 so that the build fails if any module fails. > > > * The gtk/src Makefile links with --no-undefined, but this causes > > > unresolved libc symbols on FreeBSD, and thus -lc is also needed. I'm > > > not sure if this is a problem for Linux. > > Isn't this found in CFLAGS? >=20 > Nope, not on FreeBSD. I sent a patch last night. I don't see it causing any harm, so I'll add it. > in Gtk.java, you will see it loads "gtkjava@apiversion@" which I guess this must have been fixed after 2.5.1 release. It is correct in cvs. (gtkjava@gtkapiversion@) > Always. I can't wait to start building some apps with this! Look forward to seeing them and getting your bug reports and suggestions :) --=20 .''`. Mark Howard : :' : `. `' http://www.tildemh.com=20 `- mh...@de... | mh...@ti... | mh...@ca...=20 |
From: Joe M. C. <ma...@Fr...> - 2004-01-05 18:29:05
Attachments:
libgtk-java.diff
|
On Mon, 2004-01-05 at 10:30, Mark Howard wrote: > On Sun, Jan 04, 2004 at 01:48:13PM -0500, Joe Marcus Clarke wrote: > > > > * The root Makefile is missing a ';' in the install target > > > Where? it looks fine to me. > > In the install target. I sent a patch last night. > I was looking at the wrong Makefile, sorry. This has been fixed, as well > as adding || exit 1 so that the build fails if any module fails. > > > > > * The gtk/src Makefile links with --no-undefined, but this causes > > > > unresolved libc symbols on FreeBSD, and thus -lc is also needed. I'm > > > > not sure if this is a problem for Linux. > > > Isn't this found in CFLAGS? > > > > Nope, not on FreeBSD. I sent a patch last night. > I don't see it causing any harm, so I'll add it. > > > in Gtk.java, you will see it loads "gtkjava@apiversion@" which > I guess this must have been fixed after 2.5.1 release. It is correct in > cvs. (gtkjava@gtkapiversion@) > > > Always. I can't wait to start building some apps with this! > Look forward to seeing them and getting your bug reports and suggestions > :) I just installed 2.5.2, and there were a few C99 problems (patches attached). I'm building it again to make it usable, and I'll let you know if I run into any other problems. Joe -- Joe Marcus Clarke FreeBSD GNOME Team :: ma...@Fr... gn...@Fr... FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome |
From: Mark H. <mh...@ca...> - 2004-01-05 23:25:59
|
On Mon, Jan 05, 2004 at 01:29:08PM -0500, Joe Marcus Clarke wrote: > I just installed 2.5.2, and there were a few C99 problems (patches > attached). I'm building it again to make it usable, and I'll let you > know if I run into any other problems. Wow, that was fast, thanks! The so file symlinks are probably still not been generated. I realised earlier today when looking through your patches that I had made a stupid mistake, but didn't have access to fix it. I sent a message asking jeff if he could fix it before making the release, but I was probably too late. I'll leave the patches for Jeff since I think he's been working on those classes.=20 --=20 .''`. Mark Howard : :' : `. `' http://www.tildemh.com=20 `- mh...@de... | mh...@ti... | mh...@ca...=20 |
From: Jeffrey M. <ku...@zo...> - 2004-01-06 00:24:32
|
On Mon, 2004-01-05 at 13:29, Joe Marcus Clarke wrote: > I just installed 2.5.2, and there were a few C99 problems (patches > attached). I'm building it again to make it usable, and I'll let you > know if I run into any other problems. Thanks for the patches. They have been applied and are now available in cvs. -Jeff |