From: Dr Rainer Woitok <rainer.woitok@gmail.com>
To: gentoo-user@lists.gentoo.org, Michael <confabulate@kintzios.com>
Subject: Re: [gentoo-user] Getting rid of unwanted languages (Was: Re: gimp help not available, even with USE doc)
Date: Mon, 4 May 2020 16:08:12 +0200 [thread overview]
Message-ID: <24240.8652.979792.885624@tux.local> (raw)
In-Reply-To: Msg <7790348.NyiUUSuA9g@lenovo.localdomain> of 2020-04-30 16:43:06 +0100 from confabulate@kintzios.com
Michael,
On Thursday, 2020-04-30 16:43:06 +0100, you wrote:
> ...
> https://wiki.gentoo.org/wiki/Localization/Guide#L10N
>
> Meanwhile, I think the equivalent to debian's localepurge corresponds to a
> dual step process in Gentoo. First update your locale as per above page, then
> run 'env-update && source /etc/profile', followed by 'localegen'. Then if you
> have also setup additional localisations in L10N, you need to run emerge with
> option --newuse, or --changeduse to take account per package or global changes
> in the L10N USE settings.
Doesn't seem to work:
# grep -E '^(LANG|LC_|L10)' /etc/portage/make.conf
L10N="en-GB"
LANG="en_GB"
LC_MESSAGES="C"
# env | grep -E '^(LANG|LC_|L10)'
LANG=en_GB.utf8
LANGUAGE=en_GB:en_US:en
LC_ADDRESS=en_GB.UTF-8
LC_COLLATE=C
LC_IDENTIFICATION=en_GB.UTF-8
LC_MEASUREMENT=en_GB.UTF-8
LC_MONETARY=en_GB.UTF-8
LC_NAME=en_GB.UTF-8
LC_NUMERIC=en_GB.UTF-8
LC_PAPER=en_GB.UTF-8
LC_TELEPHONE=en_GB.UTF-8
LC_TIME=en_GB.UTF-8
# locale -a
C
C.utf8
POSIX
en_GB.utf8
# localedef --list-archive
C.utf8
en_GB.utf8
# emerge --ask --changed-deps --deep --newuse --update \
--verbose-conflicts --with-bdeps=y @world
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild rR ~] dev-libs/libjcat-0.1.1
Would you like to merge these packages? [Yes/No] no
Quitting.
Package "dev-libs/libjcat" does in fact have a "man" USE flag, and it
provides a single manual page, "/usr/share/man/man1/jcat-tool.1.bz2". I
don't know for sure though whether my adding 'LANG="en_GB"' to "/etc/
portage/make.conf" and doing all the magic in the Gentoo Locaization
Guide caused Portage's desire to re-emerge that package or something
totally different.
But there are other packages installed with the "man" USE flag, which
didn't even flinch. In particular there is package "sys-apps/shadow"
which among other things provides the "passwd" command and which doesn't
honour the "man" USE flag at all, but is quite polyglot:
# cd /usr/share/man
# find . -type f -name 'passwd*'
./ru/man1/passwd.1.bz2
./man1/passwd.1.bz2
./sv/man1/passwd.1.bz2
./man3/passwd2des.3
./ja/man1/passwd.1.bz2
./it/man1/passwd.1.bz2
./fr/man1/passwd.1.bz2
./hu/man1/passwd.1.bz2
./de/man1/passwd.1.bz2
./tr/man1/passwd.1.bz2
./zh_CN/man1/passwd.1.bz2
./man5/passwd.5.bz2
#
So the question how to get rid of all these unnecessary languages is
still open.
Sincerely,
Rainer
next prev parent reply other threads:[~2020-05-04 14:08 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-30 10:37 [gentoo-user] gimp help not available, even with USE doc n952162
2020-04-30 12:31 ` Dale
2020-04-30 14:52 ` [gentoo-user] Getting rid of unwanted languages (Was: Re: gimp help not available, even with USE doc) Dr Rainer Woitok
2020-04-30 15:15 ` Dale
2020-04-30 15:43 ` Michael
2020-04-30 16:43 ` Peter Humphrey
2020-05-04 14:08 ` Dr Rainer Woitok [this message]
2020-05-04 15:30 ` Peter Humphrey
2020-05-04 18:11 ` Michael Jones
2020-05-04 18:18 ` Francesco Turco
2020-05-20 11:42 ` Dr Rainer Woitok
2020-05-20 12:53 ` Peter Humphrey
2020-05-20 14:20 ` Neil Bothwick
2020-05-20 15:59 ` Walter Dnes
2020-05-20 16:16 ` Peter Humphrey
2020-05-20 16:40 ` Peter Humphrey
2020-05-20 18:04 ` Michael
2020-05-01 23:11 ` Frank Steinmetzger
2020-05-02 9:02 ` Dale
2020-04-30 18:37 ` [gentoo-user] gimp help not available, even with USE doc n952162
2020-04-30 18:59 ` Dale
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=24240.8652.979792.885624@tux.local \
--to=rainer.woitok@gmail.com \
--cc=confabulate@kintzios.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox