GNOME Bugzilla – Bug 137193
locale.alias file may not be found
Last modified: 2004-12-22 21:47:04 UTC
The bonobo-activation/bonobo-activation-get-language-list.c file tries to locate the locale.alias file in a set of predefined (and hardcoded) directories. This can bring problems on systems where this file is located in a non-standard place (i.e., when installing multiple programs using a prefix different than /usr/local and /usr). Specially, NetBSD's package system (pkgsrc) installs everything under /usr/pkg, thus the locale.alias file is found in /usr/pkg/share/locale/locale.alias. The code should open the locale.alias file under prefix as the first step, and read the others afterwards. This is trivial to do, as Makefile.am already defines a variable with the right directory value (which is passed as a define to the compiler, with -D).
Created attachment 25643 [details] [review] Sample patch
committed to HEAD (gnome-2.6.1) thanks.