Bug#821072: Wrong locale dir

Trần Ngọc Quân vnwildman at gmail.com
Fri Apr 15 07:18:14 UTC 2016


Package: file-roller
Version: 3.20.0-1
Severity: wishlist
Tags: l10n

$ strace file-roller 2>&1 | grep 'file-roller.mo'
open("/usr//locale/vi_VN.utf8/LC_MESSAGES/file-roller.mo", O_RDONLY) =
-1 ENOENT (No such file or directory)
open("/usr//locale/vi_VN/LC_MESSAGES/file-roller.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr//locale/vi.utf8/LC_MESSAGES/file-roller.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr//locale/vi/LC_MESSAGES/file-roller.mo", O_RDONLY) = -1 ENOENT
(No such file or directory)
$ dpkg -L file-roller | grep 'vi/LC_MESSAGES/file-roller.mo'
/usr/share/locale/vi/LC_MESSAGES/file-roller.mo

it properly missing `share` in its path.
In source of it, I search:

file-roller$ git grep LOCALEDIR
nautilus/Makefile.am:   -DLOCALEDIR=\"$(localedir)\"                    \
nautilus/fileroller-module.c:   bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
src/Makefile.am:        -DLOCALEDIR=\"$(localedir)\"                    \
src/main.c:     bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);

Please check build option for dh_build!
I'm using:

$ lsb_release -a
No LSB modules are available.
Distributor ID:    Debian
Description:    Debian GNU/Linux unstable (sid)
Release:    unstable
Codename:    sid

Thanks,

-- 
Trần Ngọc Quân.



More information about the pkg-gnome-maintainers mailing list