* [gentoo-user] gimp help not available, even with USE doc
@ 2020-04-30 10:37 n952162
2020-04-30 12:31 ` Dale
0 siblings, 1 reply; 21+ messages in thread
From: n952162 @ 2020-04-30 10:37 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 327 bytes --]
After emerging gimp, I tried to get help (after re-emerging with the doc
USE flag), and got this:
/Could not open 'https://docs.gimp.org/2.10/en/gimp-help.xml' for
reading: Operation not supported//
//
//Perhaps you are missing GIO backends and need to install GVFS?/
Is there anything I can do?
[-- Attachment #2: Type: text/html, Size: 671 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] gimp help not available, even with USE doc
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 18:37 ` [gentoo-user] gimp help not available, even with USE doc n952162
0 siblings, 2 replies; 21+ messages in thread
From: Dale @ 2020-04-30 12:31 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1219 bytes --]
n952162 wrote:
>
> After emerging gimp, I tried to get help (after re-emerging with the
> doc USE flag), and got this:
>
> /Could not open 'https://docs.gimp.org/2.10/en/gimp-help.xml' for
> reading: Operation not supported//
> //
> //Perhaps you are missing GIO backends and need to install GVFS?/
>
> Is there anything I can do?
>
>
When I open GIMP and go to help, it takes me here:
file:///usr/share/gimp/2.0/help/en/index.html
It opens in Seamonkey for me. Seamonkey is set as my default browser.
This is my USE flag settings.
root@fireball / # emerge -pv app-doc/gimp-help media-gfx/gimp
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] app-doc/gimp-help-2.8.2:2::gentoo 0 KiB
[ebuild R ~] media-gfx/gimp-2.10.18-r1:2::gentoo USE="alsa doc
jpeg2k mng python udev wmf -aalib (-aqua) -debug -gnome -heif -openexr
-postscript -test -unwind -vector-icons -webp -xpm" CPU_FLAGS_X86="mmx
sse" PYTHON_SINGLE_TARGET="python2_7" 0 KiB
Total: 2 packages (2 reinstalls), Size of downloads: 0 KiB
root@fireball / #
Do you have the gimp-help package installed? If so, your USE flags
match mine?
Dale
:-) :-)
[-- Attachment #2: Type: text/html, Size: 2296 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* [gentoo-user] Getting rid of unwanted languages (Was: Re: gimp help not available, even with USE doc)
2020-04-30 12:31 ` Dale
@ 2020-04-30 14:52 ` Dr Rainer Woitok
2020-04-30 15:15 ` Dale
2020-04-30 18:37 ` [gentoo-user] gimp help not available, even with USE doc n952162
1 sibling, 1 reply; 21+ messages in thread
From: Dr Rainer Woitok @ 2020-04-30 14:52 UTC (permalink / raw
To: gentoo-user
Greetings,
On Thursday, 2020-04-30 07:31:51 -0500, Dale wrote:
> ...
> [ebuild R ] app-doc/gimp-help-2.8.2:2::gentoo 0 KiB
Thanks for pointing me to a package I hadn't yet installed, even though
I have installed "media-gfx/gimp" (but use it rarely). But installation
took surprisingly long because it included tons of messages in unneeded
laguages. I have L10N="en-GB" in my "make.conf" file, but this only
seems to request additional languages.
Is there a way to exclude megabytes of message texts or manual pages in
languages I don't understand anyway from being installed, something like
"L10N="-* en-GB"? And is there a way to again remove unnecessary lang-
uages after they have been installed?
Under Ubuntu I used to use a package named "localepurge" which did both.
Sincerely,
Rainer
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Getting rid of unwanted languages (Was: Re: gimp help not available, even with USE doc)
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-05-01 23:11 ` Frank Steinmetzger
0 siblings, 2 replies; 21+ messages in thread
From: Dale @ 2020-04-30 15:15 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1276 bytes --]
Dr Rainer Woitok wrote:
> Greetings,
>
> On Thursday, 2020-04-30 07:31:51 -0500, Dale wrote:
>
>> ...
>> [ebuild R ] app-doc/gimp-help-2.8.2:2::gentoo 0 KiB
> Thanks for pointing me to a package I hadn't yet installed, even though
> I have installed "media-gfx/gimp" (but use it rarely). But installation
> took surprisingly long because it included tons of messages in unneeded
> laguages. I have L10N="en-GB" in my "make.conf" file, but this only
> seems to request additional languages.
>
> Is there a way to exclude megabytes of message texts or manual pages in
> languages I don't understand anyway from being installed, something like
> "L10N="-* en-GB"? And is there a way to again remove unnecessary lang-
> uages after they have been installed?
>
> Under Ubuntu I used to use a package named "localepurge" which did both.
>
> Sincerely,
> Rainer
>
>
>
These settings are from AGES ago. I think they are still in use tho.
root@fireball / # cat /etc/make.conf | grep lang
LANG="en_US"
root@fireball / # cat /etc/make.conf | grep L10N
L10N="en en-US"
root@fireball / #
You would replace US with GB of course. Oh, I put a link from
/etc/make.conf to the real one. I'm used to the old location. :/
That help?
Dale
:-) :-)
[-- Attachment #2: Type: text/html, Size: 1836 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Getting rid of unwanted languages (Was: Re: gimp help not available, even with USE doc)
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
2020-05-01 23:11 ` Frank Steinmetzger
1 sibling, 2 replies; 21+ messages in thread
From: Michael @ 2020-04-30 15:43 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1996 bytes --]
On Thursday, 30 April 2020 16:15:54 BST Dale wrote:
> Dr Rainer Woitok wrote:
> > Greetings,
> >
> > On Thursday, 2020-04-30 07:31:51 -0500, Dale wrote:
> >> ...
> >> [ebuild R ] app-doc/gimp-help-2.8.2:2::gentoo 0 KiB
> >
> > Thanks for pointing me to a package I hadn't yet installed, even though
> > I have installed "media-gfx/gimp" (but use it rarely). But installation
> > took surprisingly long because it included tons of messages in unneeded
> > laguages. I have L10N="en-GB" in my "make.conf" file, but this only
> > seems to request additional languages.
> >
> > Is there a way to exclude megabytes of message texts or manual pages in
> > languages I don't understand anyway from being installed, something like
> > "L10N="-* en-GB"? And is there a way to again remove unnecessary lang-
> > uages after they have been installed?
> >
> > Under Ubuntu I used to use a package named "localepurge" which did both.
> >
> > Sincerely,
> >
> > Rainer
>
> These settings are from AGES ago. I think they are still in use tho.
>
>
> root@fireball / # cat /etc/make.conf | grep lang
> LANG="en_US"
> root@fireball / # cat /etc/make.conf | grep L10N
> L10N="en en-US"
> root@fireball / #
>
>
> You would replace US with GB of course. Oh, I put a link from
> /etc/make.conf to the real one. I'm used to the old location. :/
>
> That help?
>
> Dale
>
> :-) :-)
Unless this page is out of date L10N USE expansion variable can be set either
at make.conf, or on a per package basis:
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.
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Getting rid of unwanted languages (Was: Re: gimp help not available, even with USE doc)
2020-04-30 15:43 ` Michael
@ 2020-04-30 16:43 ` Peter Humphrey
2020-05-04 14:08 ` Dr Rainer Woitok
1 sibling, 0 replies; 21+ messages in thread
From: Peter Humphrey @ 2020-04-30 16:43 UTC (permalink / raw
To: gentoo-user
On Thursday, 30 April 2020 16:43:06 BST Michael wrote:
> On Thursday, 30 April 2020 16:15:54 BST Dale wrote:
> > Dr Rainer Woitok wrote:
> > > On Thursday, 2020-04-30 07:31:51 -0500, Dale wrote:
> > >> ...
> > >> [ebuild R ] app-doc/gimp-help-2.8.2:2::gentoo 0 KiB
> > >
> > > Thanks for pointing me to a package I hadn't yet installed, even though
> > > I have installed "media-gfx/gimp" (but use it rarely). But installation
> > > took surprisingly long because it included tons of messages in unneeded
> > > laguages. I have L10N="en-GB" in my "make.conf" file, but this only
> > > seems to request additional languages.
> > >
> > > Is there a way to exclude megabytes of message texts or manual pages in
> > > languages I don't understand anyway from being installed, something like
> > > "L10N="-* en-GB"? And is there a way to again remove unnecessary lang-
> > > uages after they have been installed?
> > >
> > > Under Ubuntu I used to use a package named "localepurge" which did both.
> > >
> > > Sincerely,
> > >
> > > Rainer
> >
> > These settings are from AGES ago. I think they are still in use tho.
> >
> >
> > root@fireball / # cat /etc/make.conf | grep lang
> > LANG="en_US"
> > root@fireball / # cat /etc/make.conf | grep L10N
> > L10N="en en-US"
> > root@fireball / #
> >
> > You would replace US with GB of course. Oh, I put a link from
> > /etc/make.conf to the real one. I'm used to the old location. :/
> >
> Unless this page is out of date L10N USE expansion variable can be set
> either at make.conf, or on a per package basis:
>
> 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.
I wondered whether gimp would just include all manner of junk regardless, so I
checked what's installed here. It seems that setting locales in make.conf does
indeed help - no excess languages here; just 2600 icons!
--
Regards,
Peter.
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] gimp help not available, even with USE doc
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 18:37 ` n952162
2020-04-30 18:59 ` Dale
1 sibling, 1 reply; 21+ messages in thread
From: n952162 @ 2020-04-30 18:37 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 5166 bytes --]
Thank you, that was good.
I had /usr/share/gimp/2.0/, now, after (3 hours of) emerging gimp-help,
I also have help/en/
Unfortunately, I still get the same error msg.
Here are my USE flags:
/* Found these USE flags for media-gfx/gimp-2.10.8-r1://
// U I//
// - - aalib : Add support for media-libs/aalib
(ASCII-Graphics Library)//
// - - alsa : Add support for media-libs/alsa-lib
(Advanced Linux Sound//
// Architecture)//
// + + cpu_flags_x86_mmx : Use the MMX instruction set//
// + + cpu_flags_x86_sse : Use the SSE instruction set//
// - - debug : Enable extra debug codepaths, like
asserts and extra output.//
// If you want to get meaningful
backtraces see https://wiki.ge//
//ntoo.org/wiki/Project:Quality_Assurance/Backtraces//
// + + doc : Add extra documentation (API, Javadoc,
etc). It is//
// recommended to enable per package
instead of globally//
// - - gnome : Add GNOME support//
// - - heif : Enable support for ISO/IEC
23008-12:2017 HEIF files //
// - - jpeg2k : Support for JPEG 2000, a wavelet-based
image compression//
// format//
// - - mng : Add support for libmng (MNG images)//
// - - openexr : Support for the OpenEXR graphics file
format//
// - - postscript : Enable support for the PostScript
language (often with//
// ghostscript-gpl or libspectre)//
// - - python : Add optional support/bindings for the
Python language//
// + + python_targets_python2_7 : Build with Python 2.7//
// - - test : Enable dependencies and/or
preparations necessary to run//
// tests (usually controlled by
FEATURES=test but can be//
// toggled independently)//
// - - udev : Enable virtual/udev integration
(device discovery, power and//
// storage device support, etc)//
// - - unwind : Add support for call stack unwinding
and function name//
// resolution//
// - - vector-icons : Enable support for vector icons
(experimental) //
// - - webp : Add support for the WebP image format//
// - - wmf : Add support for the Windows Metafile
vector image format//
// - - xpm : Add support for XPM graphics format/
I have the feeling that, when gimp didn't see the help/ dir the first
time, it set something, microsoft-like, in persistant storage, and
doesn't even try to look locally anymore.
And why it can't access the xml file, which is there, I have no idea.
But I see no flags that look related to GIO or GVFS.
You have a lot of flags set... I hope I don't have to set those all,
just to see if it helps...
On 2020-04-30 14:31, Dale wrote:
> n952162 wrote:
>>
>> After emerging gimp, I tried to get help (after re-emerging with the
>> doc USE flag), and got this:
>>
>> /Could not open 'https://docs.gimp.org/2.10/en/gimp-help.xml' for
>> reading: Operation not supported//
>> //
>> //Perhaps you are missing GIO backends and need to install GVFS?/
>>
>> Is there anything I can do?
>>
>>
>
>
> When I open GIMP and go to help, it takes me here:
>
> file:///usr/share/gimp/2.0/help/en/index.html
>
> It opens in Seamonkey for me. Seamonkey is set as my default
> browser. This is my USE flag settings.
>
>
>
> root@fireball / # emerge -pv app-doc/gimp-help media-gfx/gimp
>
> These are the packages that would be merged, in order:
>
> Calculating dependencies... done!
> [ebuild R ] app-doc/gimp-help-2.8.2:2::gentoo 0 KiB
> [ebuild R ~] media-gfx/gimp-2.10.18-r1:2::gentoo USE="alsa doc
> jpeg2k mng python udev wmf -aalib (-aqua) -debug -gnome -heif -openexr
> -postscript -test -unwind -vector-icons -webp -xpm" CPU_FLAGS_X86="mmx
> sse" PYTHON_SINGLE_TARGET="python2_7" 0 KiB
>
> Total: 2 packages (2 reinstalls), Size of downloads: 0 KiB
> root@fireball / #
>
>
> Do you have the gimp-help package installed? If so, your USE flags
> match mine?
>
> Dale
>
> :-) :-)
[-- Attachment #2: Type: text/html, Size: 8400 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] gimp help not available, even with USE doc
2020-04-30 18:37 ` [gentoo-user] gimp help not available, even with USE doc n952162
@ 2020-04-30 18:59 ` Dale
0 siblings, 0 replies; 21+ messages in thread
From: Dale @ 2020-04-30 18:59 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 4483 bytes --]
n952162 wrote:
>
> Thank you, that was good.
>
> I had /usr/share/gimp/2.0/, now, after (3 hours of) emerging
> gimp-help, I also have help/en/
>
> Unfortunately, I still get the same error msg.
>
> Here are my USE flags:
>
> /* Found these USE flags for media-gfx/gimp-2.10.8-r1://
> // U I//
> // - - aalib : Add support for media-libs/aalib
> (ASCII-Graphics Library)//
> // - - alsa : Add support for media-libs/alsa-lib
> (Advanced Linux Sound//
> // Architecture)//
> // + + cpu_flags_x86_mmx : Use the MMX instruction set//
> // + + cpu_flags_x86_sse : Use the SSE instruction set//
> // - - debug : Enable extra debug codepaths, like
> asserts and extra output.//
> // If you want to get meaningful
> backtraces see https://wiki.ge//
> //
> ntoo.org/wiki/Project:Quality_Assurance/Backtraces//
> // + + doc : Add extra documentation (API,
> Javadoc, etc). It is//
> // recommended to enable per package
> instead of globally//
> // - - gnome : Add GNOME support//
> // - - heif : Enable support for ISO/IEC
> 23008-12:2017 HEIF files //
> // - - jpeg2k : Support for JPEG 2000, a
> wavelet-based image compression//
> // format//
> // - - mng : Add support for libmng (MNG images)//
> // - - openexr : Support for the OpenEXR graphics
> file format//
> // - - postscript : Enable support for the PostScript
> language (often with//
> // ghostscript-gpl or libspectre)//
> // - - python : Add optional support/bindings for
> the Python language//
> // + + python_targets_python2_7 : Build with Python 2.7//
> // - - test : Enable dependencies and/or
> preparations necessary to run//
> // tests (usually controlled by
> FEATURES=test but can be//
> // toggled independently)//
> // - - udev : Enable virtual/udev integration
> (device discovery, power and//
> // storage device support, etc)//
> // - - unwind : Add support for call stack unwinding
> and function name//
> // resolution//
> // - - vector-icons : Enable support for vector icons
> (experimental) //
> // - - webp : Add support for the WebP image format//
> // - - wmf : Add support for the Windows Metafile
> vector image format//
> // - - xpm : Add support for XPM graphics format/
>
> I have the feeling that, when gimp didn't see the help/ dir the first
> time, it set something, microsoft-like, in persistant storage, and
> doesn't even try to look locally anymore.
>
> And why it can't access the xml file, which is there, I have no idea.
> But I see no flags that look related to GIO or GVFS.
>
> You have a lot of flags set... I hope I don't have to set those all,
> just to see if it helps...
>
>
Actually, I think the relevant flags are set. That made me want to go
look elsewhere based on your idea that it changed a setting when you
didn't have the docs installed. I went to Preferences, expand Interface
if needed then select Help System. Here, I have the following checked.
Show tooltips and Show help buttons. For User Manual drop menu, mine is
set to Use a locally installed copy and below that User interface
language. The rest shouldn't matter.
See if that helps. Maybe one of those settings got flipped around.
Dale
:-) :-)
[-- Attachment #2: Type: text/html, Size: 6860 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Getting rid of unwanted languages (Was: Re: gimp help not available, even with USE doc)
2020-04-30 15:15 ` Dale
2020-04-30 15:43 ` Michael
@ 2020-05-01 23:11 ` Frank Steinmetzger
2020-05-02 9:02 ` Dale
1 sibling, 1 reply; 21+ messages in thread
From: Frank Steinmetzger @ 2020-05-01 23:11 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 445 bytes --]
On Thu, Apr 30, 2020 at 10:15:54AM -0500, Dale wrote:
> These settings are from AGES ago. I think they are still in use tho.
>
> root@fireball / # cat /etc/make.conf | grep lang
> LANG="en_US"
> root@fireball / # cat /etc/make.conf | grep L10N
> L10N="en en-US"
Just to scratch an itch:
https://en.wikipedia.org/wiki/Cat_(Unix)#Useless_use_of_cat
;-)
--
Gruß | Greetings | Qapla’
Save the whales, eat more Japanese!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Getting rid of unwanted languages (Was: Re: gimp help not available, even with USE doc)
2020-05-01 23:11 ` Frank Steinmetzger
@ 2020-05-02 9:02 ` Dale
0 siblings, 0 replies; 21+ messages in thread
From: Dale @ 2020-05-02 9:02 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 456 bytes --]
Frank Steinmetzger wrote:
> On Thu, Apr 30, 2020 at 10:15:54AM -0500, Dale wrote:
>
>> These settings are from AGES ago. I think they are still in use tho.
>>
>> root@fireball / # cat /etc/make.conf | grep lang
>> LANG="en_US"
>> root@fireball / # cat /etc/make.conf | grep L10N
>> L10N="en en-US"
> Just to scratch an itch:
> https://en.wikipedia.org/wiki/Cat_(Unix)#Useless_use_of_cat
>
> ;-)
>
But it works just fine. ;-) lol
Dale
:-) :-)
[-- Attachment #2: Type: text/html, Size: 1015 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Getting rid of unwanted languages (Was: Re: gimp help not available, even with USE doc)
2020-04-30 15:43 ` Michael
2020-04-30 16:43 ` Peter Humphrey
@ 2020-05-04 14:08 ` Dr Rainer Woitok
2020-05-04 15:30 ` Peter Humphrey
1 sibling, 1 reply; 21+ messages in thread
From: Dr Rainer Woitok @ 2020-05-04 14:08 UTC (permalink / raw
To: gentoo-user, Michael
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
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Getting rid of unwanted languages (Was: Re: gimp help not available, even with USE doc)
2020-05-04 14:08 ` Dr Rainer Woitok
@ 2020-05-04 15:30 ` Peter Humphrey
2020-05-04 18:11 ` Michael Jones
2020-05-20 11:42 ` Dr Rainer Woitok
0 siblings, 2 replies; 21+ messages in thread
From: Peter Humphrey @ 2020-05-04 15:30 UTC (permalink / raw
To: gentoo-user
On Monday, 4 May 2020 15:08:12 BST Dr Rainer Woitok wrote:
Here are mine for comparison:
# grep -E '^(LANG|LC_|L10)' /etc/portage/make.conf
L10N="en-GB en"
LANG="en_GB.UTF-8"
LANGUAGE="en_GB.UTF-8"
# env | grep -E '^(LANG|LC_|L10)'
LANG=en_GB.utf8
# locale -a
C
C.utf8
en_GB
en_GB.iso88591
en_GB.iso885915
en_GB.utf8
POSIX
# localedef --list-archive
C.utf8
en_GB
en_GB.iso88591
en_GB.iso885915
en_GB.utf8
> # 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
What do you have in your kernel config, under File Systems / Native Language
Support? I only have a few selected: the ones I might use. (This may be a red
herring.)
--
Regards,
Peter.
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Getting rid of unwanted languages (Was: Re: gimp help not available, even with USE doc)
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
1 sibling, 1 reply; 21+ messages in thread
From: Michael Jones @ 2020-05-04 18:11 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 546 bytes --]
On Mon, May 4, 2020 at 10:31 AM Peter Humphrey <peter@prh.myzen.co.uk>
wrote:
> On Monday, 4 May 2020 15:08:12 BST Dr Rainer Woitok wrote:
>
> Here are mine for comparison:
>
> # grep -E '^(LANG|LC_|L10)' /etc/portage/make.conf
> L10N="en-GB en"
> LANG="en_GB.UTF-8"
> LANGUAGE="en_GB.UTF-8"
>
>
I can't find any documentation on the use of "LANG" or "LANGUAGE" in
/etc/portage/make.conf.
I'm looking here:
https://wiki.gentoo.org/wiki//etc/portage/make.conf#LINGUAS
Is there another source that describes these variables and how to use them?
[-- Attachment #2: Type: text/html, Size: 1096 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Getting rid of unwanted languages (Was: Re: gimp help not available, even with USE doc)
2020-05-04 18:11 ` Michael Jones
@ 2020-05-04 18:18 ` Francesco Turco
0 siblings, 0 replies; 21+ messages in thread
From: Francesco Turco @ 2020-05-04 18:18 UTC (permalink / raw
To: gentoo-user
On Mon, May 4, 2020, at 20:11, Michael Jones wrote:
> I can't find any documentation on the use of "LANG" or "LANGUAGE" in /etc/portage/make.conf.
>
> I'm looking here: https://wiki.gentoo.org/wiki//etc/portage/make.conf#LINGUAS
>
> Is there another source that describes these variables and how to use them?
Please see: https://wiki.gentoo.org/wiki/Localization/Guide
--
https://fturco.net/
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Getting rid of unwanted languages (Was: Re: gimp help not available, even with USE doc)
2020-05-04 15:30 ` Peter Humphrey
2020-05-04 18:11 ` Michael Jones
@ 2020-05-20 11:42 ` Dr Rainer Woitok
2020-05-20 12:53 ` Peter Humphrey
1 sibling, 1 reply; 21+ messages in thread
From: Dr Rainer Woitok @ 2020-05-20 11:42 UTC (permalink / raw
To: gentoo-user, Peter Humphrey
Peter, sorry for the late reply :-(
On Monday, 2020-05-04 16:30:49 +0100, you wrote:
> ...
> What do you have in your kernel config, under File Systems / Native Language
> Support? I only have a few selected: the ones I might use. (This may be a red
> herring.)
Only these:
(utf8) Default NLS Option
<*> Codepage 437 (United States, Canada)
<*> ASCII (United States)
<*> NLS ISO 8859-1 (Latin 1; Western European Languages)
<*> NLS UTF-8
But just as an example:
# find / -xdev -type d -name ru
/usr/lib64/python2.7/site-packages/mercurial/locale/ru
/usr/lib64/libreoffice/help/media/icon-themes/cmd/ru
/usr/lib64/python3.6/site-packages/mercurial/locale/ru
/usr/share/help/ru
/usr/share/gimp/2.0/help/ru
/usr/share/vim/vim82/lang/ru
/usr/share/man/ru
/usr/share/binutils-data/x86_64-pc-linux-gnu/2.33.1/locale/ru
/usr/share/locale/ru
/usr/share/gcc-data/x86_64-pc-linux-gnu/9.3.0/locale/ru
/var/cache/man/ru
#
And searching for other language codes irrelevant to me gives similar
results. I've already thought about adding "-nls" to the global USE
flags, but I'm fearing to lose "en-GB" that way.
Any further thoughts anybody?
Sincerely,
Rainer
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Getting rid of unwanted languages (Was: Re: gimp help not available, even with USE doc)
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
0 siblings, 2 replies; 21+ messages in thread
From: Peter Humphrey @ 2020-05-20 12:53 UTC (permalink / raw
To: gentoo-user
On Wednesday, 20 May 2020 12:42:03 BST Dr Rainer Woitok wrote:
> Peter, sorry for the late reply :-(
>
> On Monday, 2020-05-04 16:30:49 +0100, you wrote:
> > ...
> > What do you have in your kernel config, under File Systems / Native
> > Language Support? I only have a few selected: the ones I might use. (This
> > may be a red herring.)
>
> Only these:
>
> (utf8) Default NLS Option
> <*> Codepage 437 (United States, Canada)
> <*> ASCII (United States)
> <*> NLS ISO 8859-1 (Latin 1; Western European Languages)
> <*> NLS UTF-8
>
> But just as an example:
>
> # find / -xdev -type d -name ru
> /usr/lib64/python2.7/site-packages/mercurial/locale/ru
> /usr/lib64/libreoffice/help/media/icon-themes/cmd/ru
> /usr/lib64/python3.6/site-packages/mercurial/locale/ru
> /usr/share/help/ru
> /usr/share/gimp/2.0/help/ru
> /usr/share/vim/vim82/lang/ru
> /usr/share/man/ru
> /usr/share/binutils-data/x86_64-pc-linux-gnu/2.33.1/locale/ru
> /usr/share/locale/ru
> /usr/share/gcc-data/x86_64-pc-linux-gnu/9.3.0/locale/ru
> /var/cache/man/ru
> #
>
> And searching for other language codes irrelevant to me gives similar
> results. I've already thought about adding "-nls" to the global USE
> flags, but I'm fearing to lose "en-GB" that way.
I see what you mean. I'm just remerging @world with -nls, but it causes 95
rebuilds, including a lot of kde-frameworks packages, so I've copied my
packages directory in case your fear is borne out. I'll let you know.
--
Regards,
Peter.
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Getting rid of unwanted languages (Was: Re: gimp help not available, even with USE doc)
2020-05-20 12:53 ` Peter Humphrey
@ 2020-05-20 14:20 ` Neil Bothwick
2020-05-20 15:59 ` Walter Dnes
1 sibling, 0 replies; 21+ messages in thread
From: Neil Bothwick @ 2020-05-20 14:20 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1089 bytes --]
On Wed, 20 May 2020 13:53:03 +0100, Peter Humphrey wrote:
> > And searching for other language codes irrelevant to me gives
> > similar results. I've already thought about adding "-nls" to the
> > global USE flags, but I'm fearing to lose "en-GB" that way.
>
> I see what you mean. I'm just remerging @world with -nls, but it causes
> 95 rebuilds, including a lot of kde-frameworks packages, so I've copied
> my packages directory in case your fear is borne out. I'll let you know.
I've run systems without nls in the past and it works well, after all OUR
English is a native language ;-)
Seriously though, nls enables support for different character sets AFAIR.
I've been running with en-GB for years and haven't had the problems the
OP reported. For example, the shadow ebuild only includes the English man
page. As a kludge, you can use INSTALL_MASK to block installation of
other languages, but finding the cause of this behaviour would be
preferable.
--
Neil Bothwick
Voting Democrat or Republican is like choosing a cabin in the Titanic.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Getting rid of unwanted languages (Was: Re: gimp help not available, even with USE doc)
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
1 sibling, 1 reply; 21+ messages in thread
From: Walter Dnes @ 2020-05-20 15:59 UTC (permalink / raw
To: gentoo-user
On Wed, May 20, 2020 at 01:53:03PM +0100, Peter Humphrey wrote
>
> I see what you mean. I'm just remerging @world with -nls, but it
> causes 95 rebuilds, including a lot of kde-frameworks packages,
> so I've copied my packages directory in case your fear is borne
> out. I'll let you know.
I run with "-nls" in make.conf, but in package.use I throw in
"media-fonts/* nls" in order to keep xfreecell happy.
--
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Getting rid of unwanted languages (Was: Re: gimp help not available, even with USE doc)
2020-05-20 15:59 ` Walter Dnes
@ 2020-05-20 16:16 ` Peter Humphrey
2020-05-20 16:40 ` Peter Humphrey
0 siblings, 1 reply; 21+ messages in thread
From: Peter Humphrey @ 2020-05-20 16:16 UTC (permalink / raw
To: gentoo-user
On Wednesday, 20 May 2020 16:59:35 BST Walter Dnes wrote:
> On Wed, May 20, 2020 at 01:53:03PM +0100, Peter Humphrey wrote
>
> > I see what you mean. I'm just remerging @world with -nls, but it
> > causes 95 rebuilds, including a lot of kde-frameworks packages,
> > so I've copied my packages directory in case your fear is borne
> > out. I'll let you know.
>
> I run with "-nls" in make.conf, but in package.use I throw in
> "media-fonts/* nls" in order to keep xfreecell happy.
Good idea.
Time will tell whether plasma has lost anything.
--
Regards,
Peter.
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Getting rid of unwanted languages (Was: Re: gimp help not available, even with USE doc)
2020-05-20 16:16 ` Peter Humphrey
@ 2020-05-20 16:40 ` Peter Humphrey
2020-05-20 18:04 ` Michael
0 siblings, 1 reply; 21+ messages in thread
From: Peter Humphrey @ 2020-05-20 16:40 UTC (permalink / raw
To: gentoo-user
On Wednesday, 20 May 2020 17:16:57 BST Peter Humphrey wrote:
> On Wednesday, 20 May 2020 16:59:35 BST Walter Dnes wrote:
> > On Wed, May 20, 2020 at 01:53:03PM +0100, Peter Humphrey wrote
> >
> > > I see what you mean. I'm just remerging @world with -nls, but it
> > > causes 95 rebuilds, including a lot of kde-frameworks packages,
> > > so I've copied my packages directory in case your fear is borne
> > > out. I'll let you know.
> > >
> > I run with "-nls" in make.conf, but in package.use I throw in
> >
> > "media-fonts/* nls" in order to keep xfreecell happy.
>
> Good idea.
>
> Time will tell whether plasma has lost anything.
I meant to add that the only Russian language file I pruned by setting -nls is
/usr/share/binutils-data/x86_64-pc-linux-gnu/2.34/locale/ru. Binutils was
remerged, so that one should have gone. Everything else is still there:
# find / -xdev -name ru
/usr/share/help/ru
/usr/share/man/ru
/usr/share/espeak-data/voices/europe/ru
/usr/share/kf5/kdoctools/customization/ru
/usr/share/kf5/locale/countries/ru
/usr/share/X11/xkb/symbols/ru
/usr/share/X11/xkb/symbols/sun_vndr/ru
/usr/lib64/libreoffice/help/media/icon-themes/cmd/ru
/opt/zoom/timezones/ru
I assume all those packages ignore language settings. That file /usr/share/
help/ru belongs to kdoctools, which has just been remerged with -nls, so it is
clearly guilty. Likewise kconfigwidgets and app-editors/joe, which both install
/usr/share/man/ru.
I can't evict espeak because two KDE PIM packages require it.
Internationalisation has some way to go yet, it seems - or do I mean
localisation?
--
Regards,
Peter.
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] Getting rid of unwanted languages (Was: Re: gimp help not available, even with USE doc)
2020-05-20 16:40 ` Peter Humphrey
@ 2020-05-20 18:04 ` Michael
0 siblings, 0 replies; 21+ messages in thread
From: Michael @ 2020-05-20 18:04 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1895 bytes --]
On Wednesday, 20 May 2020 17:40:31 BST Peter Humphrey wrote:
> On Wednesday, 20 May 2020 17:16:57 BST Peter Humphrey wrote:
> > On Wednesday, 20 May 2020 16:59:35 BST Walter Dnes wrote:
> > > On Wed, May 20, 2020 at 01:53:03PM +0100, Peter Humphrey wrote
> > >
> > > > I see what you mean. I'm just remerging @world with -nls, but it
> > > > causes 95 rebuilds, including a lot of kde-frameworks packages,
> > > > so I've copied my packages directory in case your fear is borne
> > > > out. I'll let you know.
> > > >
> > > I run with "-nls" in make.conf, but in package.use I throw in
> > >
> > > "media-fonts/* nls" in order to keep xfreecell happy.
> >
> > Good idea.
> >
> > Time will tell whether plasma has lost anything.
>
> I meant to add that the only Russian language file I pruned by setting -nls
> is /usr/share/binutils-data/x86_64-pc-linux-gnu/2.34/locale/ru. Binutils
> was remerged, so that one should have gone. Everything else is still there:
>
> # find / -xdev -name ru
> /usr/share/help/ru
> /usr/share/man/ru
> /usr/share/espeak-data/voices/europe/ru
> /usr/share/kf5/kdoctools/customization/ru
> /usr/share/kf5/locale/countries/ru
> /usr/share/X11/xkb/symbols/ru
> /usr/share/X11/xkb/symbols/sun_vndr/ru
> /usr/lib64/libreoffice/help/media/icon-themes/cmd/ru
> /opt/zoom/timezones/ru
>
> I assume all those packages ignore language settings. That file /usr/share/
> help/ru belongs to kdoctools, which has just been remerged with -nls, so it
> is clearly guilty. Likewise kconfigwidgets and app-editors/joe, which both
> install /usr/share/man/ru.
>
> I can't evict espeak because two KDE PIM packages require it.
You can, unless you need speech-dispatcher.
$ grep espeak -r /etc/portage/
/etc/portage/package.use/espeak.use:app-accessibility/speech-dispatcher -
espeak
> Internationalisation has some way to go yet, it seems - or do I mean
> localisation?
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
end of thread, other threads:[~2020-05-20 18:12 UTC | newest]
Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox