|Summary:||www-client/firefox: Add X as an optional flag|
|Component:||Current packages||Assignee:||Mozilla Gentoo Team <mozilla>|
|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 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 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.