Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 767997

Summary: www-client/firefox: Add X as an optional flag
Product: Gentoo Linux Reporter: fee1-dead-beef
Component: Current packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: UNCONFIRMED ---    
Severity: normal CC: ionen, kirill
Priority: Normal Keywords: UPSTREAM
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugzilla.mozilla.org/show_bug.cgi?id=1661450
Whiteboard:
Package list:
Runtime testing required: ---

Description fee1-dead-beef 2021-01-30 14:53:05 UTC
Introducing the "X" use flag to firefox, so it will able to build without X dependencies.

To make it work, the ebuild should apply patches from the upstream bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=1661450

before it is implemented upstream.
Comment 1 Ionen Wolkens gentoo-dev 2021-01-30 15:20:22 UTC
Personally feel it would be better to wait for upstream to include it in a future release rather than add here.

The semi-related upcoming NPAPI code cleanup will remove the need to depend on gtk2 as well.
Comment 2 fee1-dead-beef 2021-01-30 15:41:26 UTC
looks like it has been (partially) implemented upstream: 
https://phabricator.services.mozilla.com/D88797

I will do some testing and see if it works. Maybe a temporary implementation could be made in the live ebuild?
Comment 3 Thomas Deutschmann gentoo-dev Security 2021-01-30 15:48:18 UTC
It's not that easy like it sounds.

Even if we ignore the maintenance burden of such a custom patch, LTO/PGO will require virtualx because we have nothing similar for wayland yet. Therefore it's not worth to spend time on this yet from my POV.