After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 317748 - Update libgtkmozembed-java to compile with JG 2.8/2.12
Update libgtkmozembed-java to compile with JG 2.8/2.12
Status: VERIFIED FIXED
Product: java-gnome
Classification: Bindings
Component: General
mainline
Other Linux
: Normal normal
: ---
Assigned To: Ismael Juma
Ismael Juma
Depends on:
Blocks:
 
 
Reported: 2005-10-02 14:45 UTC by Remy Suen
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to update the configure process. (4.94 KB, patch)
2005-10-02 14:47 UTC, Remy Suen
none Details | Review
Updated patch with Igor's suggestions. (6.61 KB, patch)
2005-10-04 23:13 UTC, Remy Suen
none Details | Review
Tarball containing the updated MozEmbed.java file that maps to the generated Config.java from Config.java.in. (4.02 KB, application/x-compressed-tar)
2005-10-04 23:18 UTC, Remy Suen
  Details

Description Remy Suen 2005-10-02 14:45:33 UTC
libgtkmozembed-java does not currently compile with CVS head.
Comment 1 Remy Suen 2005-10-02 14:47:59 UTC
Created attachment 52939 [details] [review]
Patch to update the configure process.

I basically took a look at what Igor did with libvte-java and applied it to
this to see if it would work, and it seems to do the trick. We'll probably also
need to get the memory managements up to date here.
Comment 2 Ismael Juma 2005-10-02 23:04:45 UTC
Thanks for the patch. CC'ing Igor. Would you be able to review this patch (since
according to Remy, it emulates the changes you made in libvte-java)?
Comment 3 Igor Foox 2005-10-03 13:38:34 UTC
Remy, very cool that people start converting other Java-GNOME components to
2.8/2.12. :)

The patch looks right except the bit about CFLAGS:
-libgtkmozembedjni_la_CFLAGS = $(LIBGTKMOZEMBED_CFLAGS) -I$(includedir)
$(GTK_CFLAGS)

You removd $(GTK_CFLAGS) here for some reason. You should probably leave them
there, and you should probably also add $(JG_CFLAGS) there as well (which, now
that I look at it, I didn't do in libvte-java either, so I'll add that there).

Igor
Comment 4 Remy Suen 2005-10-04 23:13:02 UTC
Created attachment 53038 [details] [review]
Updated patch with Igor's suggestions.

This patch appends the GTKJAVA and JGJAVA cflags to the
libgtkmozembedjni_la_CFLAGS part in Makefile.am in addition to the changes that
were originally specified in the first patch for this bug.

New additions also includes using a Config.java.in instead of having a
MozEmbed.java.in. Source files for Config.java.in and the updated MozEmbed.java
are included in the tarball below.
Comment 5 Remy Suen 2005-10-04 23:18:59 UTC
Created attachment 53039 [details]
Tarball containing the updated MozEmbed.java file that maps to the generated Config.java from Config.java.in.
Comment 6 Ismael Juma 2005-10-09 14:06:20 UTC
Thanks for the patch. Applied to CVS HEAD.