After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 137193 - locale.alias file may not be found
locale.alias file may not be found
Status: RESOLVED FIXED
Product: bonobo
Classification: Deprecated
Component: libbonobo
CVS HEAD
Other All
: Normal normal
: ---
Assigned To: Michael Meeks
bonobo qa
Depends on:
Blocks:
 
 
Reported: 2004-03-14 21:40 UTC by Julio Merino
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Sample patch (772 bytes, patch)
2004-03-14 21:41 UTC, Julio Merino
none Details | Review

Description Julio Merino 2004-03-14 21:40:25 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).
Comment 1 Julio Merino 2004-03-14 21:41:42 UTC
Created attachment 25643 [details] [review]
Sample patch
Comment 2 Michael Meeks 2004-03-15 11:00:17 UTC
committed to HEAD (gnome-2.6.1) thanks.