nls policy and install-exec

Gilles Espinasse <[email protected]>
Newsgroups gmane.comp.security.ipcop.devel
Message-ID <949346672.17117141313048618532.JavaMail.root@zimbra8-e1.priv.proxad.net>
It look our nls policy on final stage is not so uniform.
 grep -r 'NLS.*requested' log_i486
log_i486/02_base/coreutils-8.12:checking whether NLS is requested... yes
log_i486/02_base/grep-2.9:checking whether NLS is requested... yes
log_i486/02_base/flex-2.5.35:checking whether NLS is requested... yes
log_i486/02_base/flex-2.5.35:checking whether NLS is requested... yes
log_i486/02_base/gawk-4.0.0:checking whether NLS is requested... yes
log_i486/02_base/xz-5.0.3:checking whether NLS is requested... yes
log_i486/02_base/make-3.81:checking whether NLS is requested... yes
log_i486/02_base/make-3.81:checking whether NLS is requested... yes
log_i486/02_base/findutils-4.4.2:checking whether NLS is requested... yes
log_i486/02_base/shadow-4.1.4.3:checking whether NLS is requested... no
log_i486/02_base/tar-1.26:checking whether NLS is requested... yes
log_i486/02_base/gettext-0.18.1.1:checking whether NLS is requested... yes
log_i486/02_base/gettext-0.18.1.1:checking whether NLS is requested... yes
log_i486/02_base/gettext-0.18.1.1:checking whether NLS is requested... yes
log_i486/02_base/sed-4.2.1:checking whether NLS is requested... yes
log_i486/02_base/texinfo-4.13a:checking whether NLS is requested... yes
log_i486/02_base/util-linux-2.19:checking whether NLS is requested... no
log_i486/02_base/util-linux-2.19:checking whether NLS is requested... no
log_i486/02_base/e2fsprogs-1.41.14:checking whether NLS is requested... yes
log_i486/02_base/e2fsprogs-1.41.14:checking whether NLS is requested... yes
log_i486/02_base/bash-4.2:checking whether NLS is requested... no
log_i486/02_base/bash-4.2:checking whether NLS is requested... no
log_i486/02_base/kbd-1.15.2:checking whether NLS is requested... no
log_i486/02_base/kbd-1.15.2:checking whether NLS is requested... no
log_i486/02_base/diffutils-3.0:checking whether NLS is requested... yes
log_i486/02_base/gcc-4.4.5:checking whether NLS is requested... no
log_i486/02_base/gcc-4.4.5:checking whether NLS is requested... no
log_i486/02_base/gcc-4.4.5:checking whether NLS is requested... no
log_i486/02_base/gcc-4.4.5:checking whether NLS is requested... no
log_i486/02_base/psmisc-22.13:checking whether NLS is requested... no
log_i486/02_base/binutils-2.21:checking whether NLS is requested... no
log_i486/02_base/binutils-2.21:checking whether NLS is requested... no
log_i486/02_base/binutils-2.21:checking whether NLS is requested... no
log_i486/02_base/binutils-2.21:checking whether NLS is requested... no
log_i486/02_base/binutils-2.21:checking whether NLS is requested... no
log_i486/02_base/binutils-2.21:checking whether NLS is requested... no
log_i486/02_base/binutils-2.21:checking whether NLS is requested... no
log_i486/02_base/binutils-2.21:checking whether NLS is requested... no
log_i486/02_base/binutils-2.21:checking whether NLS is requested... no
log_i486/02_base/binutils-2.21:checking whether NLS is requested... no
log_i486/02_base/binutils-2.21:checking whether NLS is requested... no
log_i486/02_base/binutils-2.21:checking whether NLS is requested... no
log_i486/02_base/binutils-2.21:checking whether NLS is requested... no
log_i486/02_base/binutils-2.21:checking whether NLS is requested... no
log_i486/02_base/bison-2.4.3:checking whether NLS is requested... no
log_i486/04_misc/gdb-7.3:checking whether NLS is requested... no
log_i486/04_misc/gdb-7.3:checking whether NLS is requested... no
log_i486/04_misc/gdb-7.3:checking whether NLS is requested... no
log_i486/04_misc/gdb-7.3:checking whether NLS is requested... no
log_i486/04_misc/gdb-7.3:checking whether NLS is requested... no
log_i486/04_misc/gdb-7.3:checking whether NLS is requested... no
log_i486/04_misc/gdb-7.3:checking whether NLS is requested... no
log_i486/04_misc/parted-3.0:checking whether NLS is requested... no
log_i486/03_ipcop/gnupg-1.4.11:checking whether NLS is requested... no
log_i486/03_ipcop/libgpg-error-1.9:checking whether NLS is requested... no
log_i486/03_ipcop/popt-1.16:checking whether NLS is requested... no
log_i486/03_ipcop/nano-2.2.6:checking whether NLS is requested... no
log_i486/03_ipcop/rrdtool-1.4.5:checking whether NLS is requested... yes
log_i486/03_ipcop/cpio-2.11:checking whether NLS is requested... no

So actually our policy is mostly yes, with some exception I don't understand.
My understanding is that we could disable NLS on packages we don't include in iso (like binutils, gcc, gdb) but should support NLS on packages installed. That mean fixing NLS setting on bash, cpio, gnupg, kbd, libgpg-error, parted, popt, nano, psmisc, shadow, util-linux.

When I changed some package to only execute install-exec target, translation are not installed.
So when nls is not disabled at compilation time, changing LANG on installed package has no effect as translations are missing.
I think I should fix that, I haven't yet look how.


Gilles

------------------------------------------------------------------------------
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. 
http://p.sf.net/sfu/wandisco-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.