GNOME Bugzilla – Bug 377468
Error in glib-java's macros/jg_common.m4 prevents all other java-gnome libraries from building
Last modified: 2007-01-05 01:28:05 UTC
The attachment #74620 [details] to bug #360207 had bugs in the changes it made to the jg_common.m4 autoconf macros file. The result is that someone NOT building a package who doesn't specify the new --with-macrobasedir or --with-jardir options manually but rather wants the defaults gets a glib-java.pc file which has ${datarootdir} in it which is meaningless in a .pc file and which causes the build of cairo-java, libgtk-java, etc to fail. AfC
Workaround (solution?) appears to be: a) using ${prefix}/share instead of ${datadir} as default b) escaping the $ so that the literal gets through to the .pc file, rather than the subsituted value. Testing. AfC
Committed the fix discussed above to glib-java, and pushed out in release version 0.4.1 It was definitely a requirement in order to get libgtk-java 2.10.1 to build, but it remains unclear whether the others need it. It seems that they don't as their .pc files don't have hanging references to macrobasedir and whatnot. AfC