GNOME Bugzilla – Bug 361653
Building libgconf-java on OpenSolaris
Last modified: 2010-12-24 02:24:55 UTC
This is a set of buildsystem patches to allow libgconf-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. Get src building: Removal of include header guards in jni c code, should only be in the headers. Additon of newline to Config.java.in. 2. Running examples: changes to runExample.sh.in making tests work on OpenSolaris 3. 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. 4. 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. 5. Added support to create src jar, patterned after support already commited to lib-java. 6. 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.
Created attachment 74549 [details] [review] Patches for building libgconf-java on OpenSolaris
Note: docbasedir support requires the glib macro jg_common.m4 Patch 74620 [edit] Bug 360207
Seems all fine, pending my question at Bug 361899 Comment #3 Isn't having 7+ individually shipped libraries to maintain just a joy? People who tell me "oh, yes, that's good" really need their head examined. AfC
Committed. As with bug #361883, was there supposed to be a -uninstalled.pc for your use? If so, REOPEN or NEW bug with a patch for that. AfC
Nope - I build this one separately from the uber package so no other components depended on it in the build tree so no need for an uninstalled.pc in this instance. There is no harm in adding one if people need it of course :)