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 122979 - .mo files installed location
.mo files installed location
Status: RESOLVED INCOMPLETE
Product: glib
Classification: Platform
Component: general
2.2.x
Other Solaris
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
: 132280 135898 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-09-22 21:50 UTC by Hidetoshi Tajima
Modified: 2011-02-18 16:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
A proposed patch. (1.29 KB, patch)
2003-09-22 22:12 UTC, Hidetoshi Tajima
needs-work Details | Review
Proposed patch using AC_REQUIRE (506 bytes, patch)
2004-03-14 19:06 UTC, Owen Taylor
none Details | Review

Description Hidetoshi Tajima 2003-09-22 21:49:33 UTC
Distribution:                          Solaris 9 8/03 s9x_u4wos_08b x86
Package: glib
Severity: normal
Version: GNOME2.3.90 2.2.x
Gnome-Distributor: GNOME.Org
Synopsis: .mo files installed location
Bugzilla-Product: glib
Bugzilla-Component: general
Bugzilla-Version: 2.2.x
Description:
Description of Problem:
  The patch I made for bug 85217 was on the assumption that module's
configure.in should always have AM_PROG_LIBTOOL and that it does
not override $host setting dirrently. Indeed, both assumptions were
wrong,
and there're many mo files which are installed to $prefix/lib/locale
directory
while it should be to $prefix/share/locale.

Steps to reproduce the problem:
1. Build atk, gnome-media, gnome-mime-data, zenity, gperfmeter, eog,
gnome-utils, bug-buddy.

Actual Results:
 The mo files of the above modules are installed under
$prefix/lib/locale.

Expected Results:
 They should be installed under $prefix/share/locale.

How often does this happen?
 When module's configure.in does not have AM_PROG_LIBTOOL line or
override $host settings as host = `uname -s`.

Additional Information:
 I'll attach a proposed patch.




------- Bug moved to this database by unknown@bugzilla.gnome.org 2003-09-22 17:49 -------

Reassigning to the default owner of the component, gtkdev@gtk.org.

Comment 1 Hidetoshi Tajima 2003-09-22 22:12:06 UTC
Created attachment 20200 [details] [review]
A proposed patch.
Comment 2 Hidetoshi Tajima 2003-09-22 22:14:50 UTC
Attached a proposed patch. Instead of depending on $host
settings, which can be NULL or overriden, the patch uses
`uname` outputs directly.

Please review and let me know if this can be commit to
both glib-2-2 and HEAD.
Comment 3 Owen Taylor 2004-01-31 14:40:07 UTC
*** Bug 132280 has been marked as a duplicate of this bug. ***
Comment 4 Glynn Foster 2004-03-02 00:46:42 UTC
*** Bug 135898 has been marked as a duplicate of this bug. ***
Comment 5 Owen Taylor 2004-03-14 19:06:15 UTC
I don't like the raw call to uname, think non-Unix platforms,
for instance. Can you check the proposed patch I'm attaching?

Comment 6 Owen Taylor 2004-03-14 19:06:43 UTC
Created attachment 25639 [details] [review]
Proposed patch using AC_REQUIRE
Comment 7 Owen Taylor 2004-04-21 17:54:10 UTC
Needs testing
Comment 8 Matthias Clasen 2004-11-23 05:56:39 UTC
Any news on this ? We still need someone to test Owens patch on Solaris
Comment 9 Matthias Clasen 2006-01-04 04:08:17 UTC
More than a year, closing.