* [gentoo-user] Firefox and USE flags
@ 2025-05-21 14:01 Peter Humphrey
2025-05-21 14:40 ` Eli Schwartz
0 siblings, 1 reply; 3+ messages in thread
From: Peter Humphrey @ 2025-05-21 14:01 UTC (permalink / raw
To: gentoo-user
Greetings,
I found a Gentoo binpkg of firefox yesterday, to use which I had only to set
L10N="-en-GB*" against www-client/firefox in package.use; all other settings
were all right as they were.
I did that and the binpkg was fetched and installed. Today, portage wants to
ignore that USE flag and revert to compiling locally, thus:
[ebuild R ] www-client/firefox-128.10.1:esr::gentoo [...] L10N="en-GB* [...]
But:
# grep -r en-GB /etc
/etc/portage/make.conf:L10N="en-GB en"
/etc/portage/package.use/firefox:www-client/firefox L10N="-en-GB*" [...]
Have I missed something obvious again?
--
Regards,
Peter.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] Firefox and USE flags
2025-05-21 14:01 [gentoo-user] Firefox and USE flags Peter Humphrey
@ 2025-05-21 14:40 ` Eli Schwartz
2025-05-23 5:24 ` Peter Humphrey
0 siblings, 1 reply; 3+ messages in thread
From: Eli Schwartz @ 2025-05-21 14:40 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1.1: Type: text/plain, Size: 1188 bytes --]
On 5/21/25 10:01 AM, Peter Humphrey wrote:
> Greetings,
>
> I found a Gentoo binpkg of firefox yesterday, to use which I had only to set
> L10N="-en-GB*" against www-client/firefox in package.use; all other settings
> were all right as they were.
>
> I did that and the binpkg was fetched and installed. Today, portage wants to
> ignore that USE flag and revert to compiling locally, thus:
>
> [ebuild R ] www-client/firefox-128.10.1:esr::gentoo [...] L10N="en-GB* [...]
>
> But:
>
> # grep -r en-GB /etc
> /etc/portage/make.conf:L10N="en-GB en"
> /etc/portage/package.use/firefox:www-client/firefox L10N="-en-GB*" [...]
>
> Have I missed something obvious again?
That doesn't look like a valid package.use line. See `man 5 portage`
under "package.use", in particular,
> USE flags can be prefixed with USE_EXPAND name followed by a colon (:)
> and a space. In this case, all the names following it are treated
> as values for the USE_EXPAND.
So you should have used,
www-client/firefox L10N: -en-GB
Note no glob used. -* is documented, but not partial matches, so I don't
know where you got it from. :)
--
Eli Schwartz
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] Firefox and USE flags
2025-05-21 14:40 ` Eli Schwartz
@ 2025-05-23 5:24 ` Peter Humphrey
0 siblings, 0 replies; 3+ messages in thread
From: Peter Humphrey @ 2025-05-23 5:24 UTC (permalink / raw
To: gentoo-user
On Wednesday, 21 May 2025 15:40:22 British Summer Time Eli Schwartz wrote:
> On 5/21/25 10:01 AM, Peter Humphrey wrote:
--->8
> > Have I missed something obvious again?
>
> That doesn't look like a valid package.use line. See `man 5 portage`
> under "package.use", in particular,
>
> > USE flags can be prefixed with USE_EXPAND name followed by a colon (:)
> > and a space. In this case, all the names following it are treated
> > as values for the USE_EXPAND.
>
> So you should have used,
>
> www-client/firefox L10N: -en-GB
>
>
> Note no glob used. -* is documented, but not partial matches, so I don't
> know where you got it from. :)
You're right of course, Eli. I went away and did something else for a while,
then came back and did two things: 1. Made an entry in package.env; 2. Removed
the package.use firefox line.
So I now have 'L10N="en-GB en"' in make.conf, 'www-client/firefox
nol10n.conf' in package.env, 'L10N="en"' in env/nol10n.conf and nothing in
package.use.
All is now well.
--
Regards,
Peter.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-05-23 5:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-21 14:01 [gentoo-user] Firefox and USE flags Peter Humphrey
2025-05-21 14:40 ` Eli Schwartz
2025-05-23 5:24 ` Peter Humphrey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox