GNOME Bugzilla – Bug 122979
.mo files installed location
Last modified: 2011-02-18 16:14:20 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.
Created attachment 20200 [details] [review] A proposed patch.
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.
*** Bug 132280 has been marked as a duplicate of this bug. ***
*** Bug 135898 has been marked as a duplicate of this bug. ***
I don't like the raw call to uname, think non-Unix platforms, for instance. Can you check the proposed patch I'm attaching?
Created attachment 25639 [details] [review] Proposed patch using AC_REQUIRE
Needs testing
Any news on this ? We still need someone to test Owens patch on Solaris
More than a year, closing.