Add chromium and firefox musl scripts from smaeul and jakeogh#296
Add chromium and firefox musl scripts from smaeul and jakeogh#296Sharrisii wants to merge 2 commits intogentoo:masterfrom
Conversation
Script was at https://github.com/jakeogh/gentoo-musl-overlay/blob/master/www-client/firefox/firefox-41.0.2-r99.ebuild inserted to /musl repo (to be moved to gentoo/musl) after discussion with jakeogh (jakeogh/gentoo-musl-overlay#1 )
|
If you use rust from smaeul as of the time of writing, you can compile the newer Firefox Quantum sources (i.e 72.0.2) as-is from gentoo stable without any patching. #277 is currently about having these patches integrated with upstream in parts as well. All works buttery smooth as well. Is there an advantage to musl with Firefox 41 instead of the latest non-rust ESR releases, such as 58? |
|
No, there is no advantage I know of. This script is known to work however, and having these scripts integrated would already be a step forward. Updating to newer version can happen afterwards |
|
What is your aim with regards to the firefox ebuild? The in tree version should work just fine on amd64, only If you want to work on the chromium ebuild, you should merge them to a branch of your overlay and start working, maybe you want to open an issue here to chat with other users and to share your branch with them. You can also use your master branch, but this might prevent you from syncing your overlay and rebase if needed. In any case, none of the patches referenced in the ebuilds are present in your pullrequest, so there's nothing to work with as of now. |
|
Regarding the aim with regards to the firefox ebuild (as the in tree version should work just fine on amd64): See also: |
|
you have to pull in dev-lang/rust from smaeul, and use the firefox-73.0 ebuild from the tree. only thing you have to customize for x86 is to pull in this hacky patch from alpine, to disable broken stackwalk: https://git.alpinelinux.org/aports/tree/testing/firefox/disable-moz-stackwalk.patch |
|
For full builds, you may also want to fix WebRTC, breakpad, and the sandbox, unless these are already fixed in Gentoo. I believe breakpad may be fixed upstream in 73, not sure. (We use 68 ESR.) Most of these will be fixed upstream in 74. |
|
As discussed in the musl mailing list, it would be best to switch to version 68.5-esr (see https://code.foxkit.us/adelie/packages/tree/master/user/firefox-esr ) and basically make a gentoo-version of adelie's 68.5 version, also using code from jakeogh (see https://www.openwall.com/lists/musl/2020/02/15/7 ) Since the chromium musl version can't be updated using data from newer versions, perhaps the chromium ebuild can already be imlemented to Gentoo/musl though |
|
Wow this makes absolutely no sense what so ever. ESR and ~arch both support musl when using smauel's overlay for rust. |
|
I am unsure what the user is requesting, feel free to reopen if you decide you want an update chromium that you have fully tested. Firefox in the tree all work fine with smaeul's overlay for rust, might see about copying it back to musl overlay no promises |
As discussed at #262 ,
these scripts can be added and then further updated.
The fact that the gentoo/musl overlay is missing these and other (very important) browsers is an issue that should be solved. This could be a first step to help achieve this.