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 703602 - Locale directory is expected in the wrong path
Locale directory is expected in the wrong path
Status: RESOLVED FIXED
Product: gnome-clocks
Classification: Applications
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Clocks maintainer(s)
Clocks maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-07-04 11:28 UTC by Evgeny Bobkin
Modified: 2013-07-04 14:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch proposal for locale dir path (758 bytes, patch)
2013-07-04 13:42 UTC, Evgeny Bobkin
accepted-commit_now Details | Review
patch proposal for locale dir path (753 bytes, patch)
2013-07-04 14:08 UTC, Evgeny Bobkin
none Details | Review

Description Evgeny Bobkin 2013-07-04 11:28:16 UTC
why when I run an app, I have installed with jhbuild, under jhbuild shell with 

$ LANG="de_DE.utf8" strace -e trace=open gnome-clocks I  observe

open("/home/ibqn/opt/gnome//locale/de_DE.utf8/LC_MESSAGES/gnome-clocks.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/ibqn/opt/gnome//locale/de_DE/LC_MESSAGES/gnome-clocks.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/ibqn/opt/gnome//locale/de.utf8/LC_MESSAGES/gnome-clocks.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/ibqn/opt/gnome//locale/de/LC_MESSAGES/gnome-clocks.mo", O_RDONLY) = -1 ENOENT (No such file or directory)

they are installed in share(( /home/ibqn/opt/gnome/share/locale/de/LC_MESSAGES !!!
Comment 1 Evgeny Bobkin 2013-07-04 11:30:20 UTC
gnome-clocks sets:  

Intl.bindtextdomain (Config.GETTEXT_PACKAGE, Config.GNOMELOCALEDIR);

and the value of GNOMELOCALEDIR is:  /home/ibqn/opt/gnome//locale
Comment 2 Frederic Peters 2013-07-04 11:32:19 UTC
Reassigning to gnome-clocks, then. It lost the /share/ part somehow.
Comment 3 Evgeny Bobkin 2013-07-04 13:42:47 UTC
Created attachment 248384 [details] [review]
patch proposal for locale dir path
Comment 4 Paolo Borelli 2013-07-04 13:49:25 UTC
Review of attachment 248384 [details] [review]:

looks good.
Comment 5 Evgeny Bobkin 2013-07-04 14:08:00 UTC
Created attachment 248389 [details] [review]
patch proposal for locale dir path