GNOME Bugzilla – Bug 361896
Building cairo-java on OpenSolaris
Last modified: 2007-01-05 00:59:25 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
Created attachment 74622 [details] [review] Patches for building cairo-java on OpenSolaris
Typo for gnome2-java-uninstalled.pc.in in 1. above read cairo-java-uninstalled.pc.in
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
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.
Thanks for the clarification (I had more or less arrived at that conclusion doign side by side comparisons). Will apply. AfC