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 361896 - Building cairo-java on OpenSolaris
Building cairo-java on OpenSolaris
Status: RESOLVED FIXED
Product: java-gnome
Classification: Bindings
Component: Cairo
mainline
Other opensolaris
: Normal normal
: ---
Assigned To: java-gnome bindings maintainers
java-gnome bindings maintainers
Depends on: 360207 361899
Blocks: 339854
 
 
Reported: 2006-10-13 09:50 UTC by John Rice
Modified: 2007-01-05 00:59 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
Patches for building cairo-java on OpenSolaris (4.79 KB, patch)
2006-10-13 09:53 UTC, John Rice
committed Details | Review

Description John Rice 2006-10-13 09:50:38 UTC
This is a set of buildsystem patches to allow cairo-java to be built on OpenSolaris nevada build48 and above [currently this build uses Gnome 2.14, but will be bumped to Gnome 2.16 shortly].

Changes for the following:
1. Need gnome2-java-uninstalled.pc.in for common routines for Java-GNOME bindings, Not installed. Needed when building meta/uber packages.
2. Configure --with_javadir is meant to be a supported configure option to tell the build where to put generated jar files, but had some hard coded path bugs and was not being picked up in generated .pc file.
3. Generating Javadoc on OpenSolaris - problem with use of "find -mindep". Not supported on this OS, simple generic workaround added. Also added missing classpath to remove build errors.
4. Applied existing Patch 65222 to create src jar from Bug 339854.
5. Need to change where doc base dir is set in the build, as we wanted to put it in a different location on OpenSolaris. Currently defaulting to ${datadir/doc}. Added configure option --with_docbasedir to support this.
Note: docbasedir support requires the glib macro jg_common.m4
Patch 74620 Bug 360207
Comment 1 John Rice 2006-10-13 09:53:14 UTC
Created attachment 74622 [details] [review]
Patches for building cairo-java on OpenSolaris
Comment 2 John Rice 2006-10-13 10:05:00 UTC
Typo for gnome2-java-uninstalled.pc.in in 1. above read cairo-java-uninstalled.pc.in
Comment 3 Andrew Cowie 2006-10-15 09:24:46 UTC
Just a personal preference, but if you take on the patch from another bug, I'd appreciate it if you'd comment that bug and/or mark it obsolete or whatever.

[I'm trying to figure out whether to apply the patch on that original bug, or your corresponding patch; if the former, then I need to do surgery on your patch, etc]

AfC
Comment 4 John Rice 2006-10-16 14:07:05 UTC
Andrew - I applied the other patch 65222 for src jar generation as part of this patch, so the old patch could be obsoleted as you say. Wasn't sure how you handle this so just commented it and left it up to your good self.
Comment 5 Andrew Cowie 2006-10-17 06:11:24 UTC
Thanks for the clarification (I had more or less arrived at that conclusion doign side by side comparisons).

Will apply.

AfC