* [gentoo-user] Setting L10N for one package only
@ 2025-08-24 15:53 Peter Humphrey
2025-08-24 16:15 ` Dale
2025-08-24 19:40 ` Eli Schwartz
0 siblings, 2 replies; 11+ messages in thread
From: Peter Humphrey @ 2025-08-24 15:53 UTC (permalink / raw
To: gentoo-user
Greetings,
Simple question, which I ought to be able to answer myself:
I want to use the binpkg of www-client/firefox, but there isn't one with
L10N="en-GB", which is in make.conf because that's where I live (if you see
what I mean). How can I set the equivalent of L10N="-en-GB"?
--
Regards,
Peter.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Setting L10N for one package only
2025-08-24 15:53 [gentoo-user] Setting L10N for one package only Peter Humphrey
@ 2025-08-24 16:15 ` Dale
2025-08-24 16:23 ` Peter Humphrey
2025-08-24 19:40 ` Eli Schwartz
1 sibling, 1 reply; 11+ messages in thread
From: Dale @ 2025-08-24 16:15 UTC (permalink / raw
To: gentoo-user
Peter Humphrey wrote:
> Greetings,
>
> Simple question, which I ought to be able to answer myself:
>
> I want to use the binpkg of www-client/firefox, but there isn't one with
> L10N="en-GB", which is in make.conf because that's where I live (if you see
> what I mean). How can I set the equivalent of L10N="-en-GB"?
>
Am I seeing the wrong thing???
root@Gentoo-1 / # equery u firefox
[ Legend : U - final flag setting for installation]
[ : I - package is installed with flag ]
[ Colors : set, unset ]
* Found these USE flags for www-client/firefox-128.14.0:
U I
<<< SNIP >>>
- - l10n_en-CA : English (Canada)
- - l10n_en-GB : English (United Kingdom) <<<<<<<<<<<<
- - l10n_eo : Esperanto
<<< SNIP >>>
root@Gentoo-1 / #
That could be something different but it looks like what you want.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Setting L10N for one package only
2025-08-24 16:15 ` Dale
@ 2025-08-24 16:23 ` Peter Humphrey
2025-08-24 16:35 ` Re[2]: " Stefan Schmiedl
2025-08-24 17:01 ` Dale
0 siblings, 2 replies; 11+ messages in thread
From: Peter Humphrey @ 2025-08-24 16:23 UTC (permalink / raw
To: gentoo-user
On Sunday, 24 August 2025 17:15:32 British Summer Time Dale wrote:
> Peter Humphrey wrote:
> > Greetings,
> >
> > Simple question, which I ought to be able to answer myself:
> >
> > I want to use the binpkg of www-client/firefox, but there isn't one with
> > L10N="en-GB", which is in make.conf because that's where I live (if you
> > see
> > what I mean). How can I set the equivalent of L10N="-en-GB"?
>
> Am I seeing the wrong thing???
>
>
>
> root@Gentoo-1 / # equery u firefox
> [ Legend : U - final flag setting for installation]
> [ : I - package is installed with flag ]
> [ Colors : set, unset ]
> * Found these USE flags for www-client/firefox-128.14.0:
> U I
> <<< SNIP >>>
> - - l10n_en-CA : English (Canada)
> - - l10n_en-GB : English (United Kingdom) <<<<<<<<<<<<
> - - l10n_eo : Esperanto
> <<< SNIP >>>
> root@Gentoo-1 / #
>
>
> That could be something different but it looks like what you want.
No Dale, it's the opposite. I want firefox to be emerged /without/ en-GB.
--
Regards,
Peter.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re[2]: [gentoo-user] Setting L10N for one package only
2025-08-24 16:23 ` Peter Humphrey
@ 2025-08-24 16:35 ` Stefan Schmiedl
2025-08-24 17:01 ` Dale
1 sibling, 0 replies; 11+ messages in thread
From: Stefan Schmiedl @ 2025-08-24 16:35 UTC (permalink / raw
To: gentoo-user
------ Original Message ------
From "Peter Humphrey" <peter@prh.myzen.co.uk>
To gentoo-user@lists.gentoo.org
Date 24.08.2025 18:23:29
Subject Re: [gentoo-user] Setting L10N for one package only
>On Sunday, 24 August 2025 17:15:32 British Summer Time Dale wrote:
>> Peter Humphrey wrote:
>> > Greetings,
>> >
>> > Simple question, which I ought to be able to answer myself:
>> >
>> > I want to use the binpkg of www-client/firefox, but there isn't one with
>> > L10N="en-GB", which is in make.conf because that's where I live (if you
>> > see
>> > what I mean). How can I set the equivalent of L10N="-en-GB"?
>>
>> Am I seeing the wrong thing???
>>
>>
>>
>> root@Gentoo-1 / # equery u firefox
>> [ Legend : U - final flag setting for installation]
>> [ : I - package is installed with flag ]
>> [ Colors : set, unset ]
>> * Found these USE flags for www-client/firefox-128.14.0:
>> U I
>> <<< SNIP >>>
>> - - l10n_en-CA : English (Canada)
>> - - l10n_en-GB : English (United Kingdom) <<<<<<<<<<<<
>> - - l10n_eo : Esperanto
>> <<< SNIP >>>
>> root@Gentoo-1 / #
>>
>>
>> That could be something different but it looks like what you want.
>
>No Dale, it's the opposite. I want firefox to be emerged /without/ en-GB.
>
>--
>Regards,
>Peter.
echo "www-client/firefox-bin L10N: -de" >> /etc/portage/package.use
worked for me to disable localization for "de"
s.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Setting L10N for one package only
2025-08-24 16:23 ` Peter Humphrey
2025-08-24 16:35 ` Re[2]: " Stefan Schmiedl
@ 2025-08-24 17:01 ` Dale
1 sibling, 0 replies; 11+ messages in thread
From: Dale @ 2025-08-24 17:01 UTC (permalink / raw
To: gentoo-user
Peter Humphrey wrote:
> On Sunday, 24 August 2025 17:15:32 British Summer Time Dale wrote:
>> Peter Humphrey wrote:
>>> Greetings,
>>>
>>> Simple question, which I ought to be able to answer myself:
>>>
>>> I want to use the binpkg of www-client/firefox, but there isn't one with
>>> L10N="en-GB", which is in make.conf because that's where I live (if you
>>> see
>>> what I mean). How can I set the equivalent of L10N="-en-GB"?
>> Am I seeing the wrong thing???
>>
>>
>>
>> root@Gentoo-1 / # equery u firefox
>> [ Legend : U - final flag setting for installation]
>> [ : I - package is installed with flag ]
>> [ Colors : set, unset ]
>> * Found these USE flags for www-client/firefox-128.14.0:
>> U I
>> <<< SNIP >>>
>> - - l10n_en-CA : English (Canada)
>> - - l10n_en-GB : English (United Kingdom) <<<<<<<<<<<<
>> - - l10n_eo : Esperanto
>> <<< SNIP >>>
>> root@Gentoo-1 / #
>>
>>
>> That could be something different but it looks like what you want.
> No Dale, it's the opposite. I want firefox to be emerged /without/ en-GB.
>
Well, that should be easy enough. To add to Stefan's reply. In
package.use, just put this:
www-client/firefox -l10n_en-GB
Note the minus sign in front. O_O And then either use equery or emerge -pv or -av firefox to see if it is going to apply like you want. That should work unless I'm missing something. Oh, if you already have a line for firefox, make sure you add to the existing line. I've found having two lines for the same packages can behave in a weird way. I think it confuses emerge.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Setting L10N for one package only
2025-08-24 15:53 [gentoo-user] Setting L10N for one package only Peter Humphrey
2025-08-24 16:15 ` Dale
@ 2025-08-24 19:40 ` Eli Schwartz
2025-08-25 12:04 ` Peter Humphrey
1 sibling, 1 reply; 11+ messages in thread
From: Eli Schwartz @ 2025-08-24 19:40 UTC (permalink / raw
To: gentoo-user, Joonas Niilola
[-- Attachment #1.1: Type: text/plain, Size: 968 bytes --]
On 8/24/25 11:53 AM, Peter Humphrey wrote:
> Greetings,
>
> Simple question, which I ought to be able to answer myself:
>
> I want to use the binpkg of www-client/firefox, but there isn't one with
> L10N="en-GB", which is in make.conf because that's where I live (if you see
> what I mean). How can I set the equivalent of L10N="-en-GB"?
The binhost doesn't provide locale pack variants for any packages,
firefox or otherwise. If nothing else, this would be tremendous bloat.
The last time this came up where I saw it -- a couple weeks ago,
2025-08-05 -- I had suggested to the firefox package maintainer that it
might make sense to do like libreoffice, have no L10N flags at all but
simply depend on "www-clients/firefox-l10n" so that people could modify
their L10N without rebuilding the source code. The maintainer agreed it
initially sounds like a good idea, but AFAIK hasn't had time to work on
exploring it yet.
--
Eli Schwartz
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Setting L10N for one package only
2025-08-24 19:40 ` Eli Schwartz
@ 2025-08-25 12:04 ` Peter Humphrey
2025-08-25 13:25 ` Eli Schwartz
2025-08-25 20:08 ` David Bryant
0 siblings, 2 replies; 11+ messages in thread
From: Peter Humphrey @ 2025-08-25 12:04 UTC (permalink / raw
To: gentoo-user
On Sunday, 24 August 2025 20:40:38 British Summer Time Eli Schwartz wrote:
> The binhost doesn't provide locale pack variants for any packages,
> firefox or otherwise. If nothing else, this would be tremendous bloat.
Yes, I can see that.
> The last time this came up where I saw it -- a couple weeks ago,
> 2025-08-05 -- I had suggested to the firefox package maintainer that it
> might make sense to do like libreoffice, have no L10N flags at all but
> simply depend on "www-clients/firefox-l10n" so that people could modify
> their L10N without rebuilding the source code. The maintainer agreed it
> initially sounds like a good idea, but AFAIK hasn't had time to work on
> exploring it yet.
Good idea; let's look forward to it.
Meanwhile, I'll repeat an earlier question: how can I find out what binpkgs are
available for a given category/package? Someone posted a way of doing that a
few months ago, but I didn't write it down. I know I can see whether one is
available for a certain set of USEs, but it would take a month of Sundays to
go through all the possibilities in the case of Firefox.
--
Regards,
Peter.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Setting L10N for one package only
2025-08-25 12:04 ` Peter Humphrey
@ 2025-08-25 13:25 ` Eli Schwartz
2025-08-25 16:05 ` Peter Humphrey
2025-08-25 20:08 ` David Bryant
1 sibling, 1 reply; 11+ messages in thread
From: Eli Schwartz @ 2025-08-25 13:25 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1.1: Type: text/plain, Size: 2845 bytes --]
On 8/25/25 8:04 AM, Peter Humphrey wrote:
> Meanwhile, I'll repeat an earlier question: how can I find out what binpkgs are
> available for a given category/package? Someone posted a way of doing that a
> few months ago, but I didn't write it down. I know I can see whether one is
> available for a certain set of USEs, but it would take a month of Sundays to
> go through all the possibilities in the case of Firefox.
Quick and dirty: firefox has a USE=jumbo-build which certainly seems
unlikely to have a binpkg variant (what would the point be?) -- so let's
try disabling it:
$ USE="-jumbo-build" emerge -p =www-client/firefox-128.14.0
[ebuild N ] www-client/firefox-128.14.0 USE="X clang dbus
gmp-autoupdate system-av1 system-harfbuzz system-icu system-jpeg
system-libevent system-libvpx system-webp telemetry -debug -eme-free
-gnome-shell -hardened -hwaccel -jack -jumbo-build -libproxy -openh264
-pgo -pulseaudio (-selinux) -sndio -system-png -wasm-sandbox -wayland
-wifi" L10N="-ach -af -an -ar -ast -az -be -bg -bn -br -bs -ca
-ca-valencia -cak -cs -cy -da -de -dsb -el -en-CA -en-GB -eo -es-AR
-es-CL -es-ES -es-MX -et -eu -fa -ff -fi -fr -fur -fy -ga -gd -gl -gn
-gu -he -hi -hr -hsb -hu -hy -ia -id -is -it -ja -ka -kab -kk -km -kn
-ko -lij -lt -lv -mk -mr -ms -my -nb -ne -nl -nn -oc -pa -pl -pt-BR
-pt-PT -rm -ro -ru -sc -sco -si -sk -skr -sl -son -sq -sr -sv -szl -ta
-te -th -tl -tr -trs -uk -ur -uz -vi -xh -zh-CN -zh-TW" LLVM_SLOT="19
-17 -18"
This *forced* it to show as [ebuild] rather than [binary], which means
we get:
!!! The following binary packages have been ignored due to non matching USE:
=www-client/firefox-128.14.0 gnome-shell jumbo-build pulseaudio wayland
=www-client/firefox-128.14.0 gnome-shell jumbo-build pgo
=www-client/firefox-128.14.0 gnome-shell jumbo-build pgo pulseaudio
=www-client/firefox-128.14.0 gnome-shell jumbo-build pgo wayland
=www-client/firefox-128.14.0 gnome-shell jumbo-build pgo pulseaudio
wayland
=www-client/firefox-128.14.0 jumbo-build pulseaudio wayland
Those suggest the totality of distinct package.use options available,
e.g. base USE:
X clang dbus gmp-autoupdate system-av1 system-harfbuzz system-icu
system-jpeg system-libevent system-libvpx system-webp telemetry
LLVM_SLOT="19"
+
(first line) gnome-shell jumbo-build pulseaudio wayland
==
X clang dbus gmp-autoupdate system-av1 system-harfbuzz system-icu
system-jpeg system-libevent system-libvpx system-webp telemetry
gnome-shell jumbo-build pulseaudio wayland LLVM_SLOT="19"
You can also manually process the index with awk. I demoed this recently
at https://bugs.gentoo.org/961621#c10
Just change the /CPV:.*wxGTK/ that you are scanning for, e.g.
/CPV:.*www-client.firefox-128/
--
Eli Schwartz
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Setting L10N for one package only
2025-08-25 13:25 ` Eli Schwartz
@ 2025-08-25 16:05 ` Peter Humphrey
0 siblings, 0 replies; 11+ messages in thread
From: Peter Humphrey @ 2025-08-25 16:05 UTC (permalink / raw
To: gentoo-user
On Monday, 25 August 2025 14:25:08 British Summer Time Eli Schwartz wrote:
--->8
Er...
Not what I remembered, but it will do nicely.
Thanks Eli.
--
Regards,
Peter.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Setting L10N for one package only
2025-08-25 12:04 ` Peter Humphrey
2025-08-25 13:25 ` Eli Schwartz
@ 2025-08-25 20:08 ` David Bryant
2025-08-25 22:11 ` Eli Schwartz
1 sibling, 1 reply; 11+ messages in thread
From: David Bryant @ 2025-08-25 20:08 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 343 bytes --]
On Monday, August 25, 2025 7:04:47 AM Central Daylight Time Peter Humphrey
wrote:
> how can I find out what binpkgs are
> available for a given category/package?
You'll find a list of all the binary packages at the OSU web site.
https://gentoo.osuosl.org/releases/amd64/binpackages/23.0/x86-64/
--
David Bryant
Canyon Lake, Texas
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [gentoo-user] Setting L10N for one package only
2025-08-25 20:08 ` David Bryant
@ 2025-08-25 22:11 ` Eli Schwartz
0 siblings, 0 replies; 11+ messages in thread
From: Eli Schwartz @ 2025-08-25 22:11 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1.1: Type: text/plain, Size: 1189 bytes --]
On 8/25/25 4:08 PM, David Bryant wrote:
> On Monday, August 25, 2025 7:04:47 AM Central Daylight Time Peter Humphrey
> wrote:
>> how can I find out what binpkgs are
>> available for a given category/package?
>
> You'll find a list of all the binary packages at the OSU web site.
> https://gentoo.osuosl.org/releases/amd64/binpackages/23.0/x86-64/
That is a list of what category/package-versions are available.
The question was, for a given category/package-version, how does one
know what USE flag binary configurations are available. The listing on
the website does not tell you that -- it only has monotonically
incrementing integer IDs for "which numbered build is this".
USE flags can be found by *downloading* the entire collection of files,
untarring each one, and processing the portage metadata files contained
inside the binpackage. You don't want to download 6x the packages to
find that out.
I already pointed out a way to get the info as well, from a single
"Packages" index file, which is locally cached by portage already, at
/var/cache/edb/binhost/gentoo.osuosl.org/releases/amd64/binpackages/23.0/x86-64/Packages
--
Eli Schwartz
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2025-08-25 22:12 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-24 15:53 [gentoo-user] Setting L10N for one package only Peter Humphrey
2025-08-24 16:15 ` Dale
2025-08-24 16:23 ` Peter Humphrey
2025-08-24 16:35 ` Re[2]: " Stefan Schmiedl
2025-08-24 17:01 ` Dale
2025-08-24 19:40 ` Eli Schwartz
2025-08-25 12:04 ` Peter Humphrey
2025-08-25 13:25 ` Eli Schwartz
2025-08-25 16:05 ` Peter Humphrey
2025-08-25 20:08 ` David Bryant
2025-08-25 22:11 ` Eli Schwartz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox