GNOME Bugzilla – Bug 607643
AT_SPI_REGISTRYD_DIR is not substituted if at-spi-registryd-directory not given
Last modified: 2011-08-13 05:14:31 UTC
I'm building gdm master and gdm2.29.5 code under OpenSolaris and Ubuntu/Linux, I found AT_SPI_REGISTRYD_DIR in at-spi-registryd-wrapper.desktop is not substituted at all if --with-at-spi-registryd-directory is not given. This bug is caused by following commit, I'll offer a fix later. commit f2517f29eece3042b8babcfa6d7e234f74c8d63c Author: Vincent Untz <vuntz@gnome.org> Date: Thu Dec 3 11:47:27 2009 +0100 Fix desktop file for at-spi-registryd to use AT_SPI_REGISTRYD_DIR It's already defined in configure.ac.
Created attachment 151932 [details] [review] patch for bug #607643
The above patch is verified under OpenSolaris and Linux/Ubuntu.
Fixed in master.
This fix doesn't quite work. @AT_SPI_REGISTRYD_DIR@ in at-spi-registryd-wrapper.desktop.in.in gets replaced with the *unexpanded* value of AT_SPI_REGISTRYD_DIR. By default, libexecdir='${exec_prefix}/libexec' By default, AT_SPI_REGISTRYD_DIR=${libexecdir} Therefore, we end up with the following line in at-spi-registryd-wrapper.desktop: Exec=${exec_prefix}/libexec/at-spi-registryd which doesn't work because there is no directory literally called '${exec_prefix}' in the filesystem.