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 699482 - --localedir is not honored when --prefix is set
--localedir is not honored when --prefix is set
Status: RESOLVED FIXED
Product: five-or-more
Classification: Applications
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: Michael Catanzaro
five-or-more-maint
Depends on:
Blocks:
 
 
Reported: 2013-05-02 15:29 UTC by Pacho Ramos
Modified: 2014-01-13 07:52 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Pacho Ramos 2013-05-02 15:29:02 UTC
If I run configure in this way:
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-silent-rules --disable-dependency-tracking --disable-schemas-compile --bindir=/usr/games/bin --libdir=/usr/games/lib64 --sysconfdir=/etc/games --localstatedir=/var/games --prefix=/usr/games --localedir=/usr/share/locale

I get locales installed wrongly, setting localedir to any value:
/usr/games/share/locale/es/LC_MESSAGES/five-or-more.mo
Comment 1 Pacho Ramos 2013-05-04 11:40:40 UTC
Neither --localstatedir=/var/games is respected, files are finally installed at:
/var/games/games/
Comment 2 Pacho Ramos 2013-05-07 18:49:25 UTC
This looks to affect to all games :(
Comment 3 Pacho Ramos 2013-05-11 10:16:26 UTC
Any news on this?
Comment 4 Michael Catanzaro 2014-01-12 22:47:20 UTC
Sorry for the delay.

(In reply to comment #0)
> I get locales installed wrongly, setting localedir to any value:
> /usr/games/share/locale/es/LC_MESSAGES/five-or-more.mo

A fix was committed to intltool shortly after you opened this bug, but unfortunately it has not yet been released: http://bazaar.launchpad.net/~intltool/intltool/trunk/revision/742

(In reply to comment #1)
> Neither --localstatedir=/var/games is respected, files are finally installed
> at:
> /var/games/games/

The scores are installed to $(localstatedir)/games, so you can use --localstatedir=/var. I think that's probably correct: wouldn't /var/games correspond better to a hypothetical $(pkglocalstatedir)?  (This doesn't matter much, because we're going to move the scores to the user's home directory.)
Comment 5 Pacho Ramos 2014-01-13 07:52:05 UTC
OK, we are applying the patch downstream for some months in itltool, the problem is that upstream hasn't released a fixed tarball yet and, then, most upstreams are still creating tarballs with that bug due they don't having a fixed intltool :(

I tried to contact intltool upstream for this but without success 

Anyway, thanks a lot for taking care and your suggestion :)