Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 767997 - www-client/firefox: Add X as an optional flag
Summary: www-client/firefox: Add X as an optional flag
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2021-01-30 14:53 UTC by fee1-dead-beef
Modified: 2021-09-02 16:31 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.