GNOME Bugzilla – Bug 361883
Building libglade-java on OpenSolaris
Last modified: 2007-01-05 02:00:21 UTC
This is a set of buildsystem patches to allow libglade-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: Additon of newline to Config.java.in. 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 patch to create src jar from Bug 339854: http://bugzilla.gnome.org/attachment.cgi?id=65225 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.
Created attachment 74616 [details] [review] Patches for building libglade-java on OpenSolaris
Note: docbasedir support requires the glib macro jg_common.m4 Patch 74620 Bug 360207
Seems all fine, pending my question at Bug 361899 Comment #3 AfC
Patch committed. I just noticed that you didn't create a -uninstalled.pc for this one. Is that an oversight? If so, REOPEN this bug and if you would, kindly gin me up another patch with just that. AfC
Nope - as libglade was the last package built in the uber package 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 :)