Alex313031 / Mercury

Firefox fork with compiler optimizations and patches from Librewolf, Waterfox, and GNU IceCat.
https://thorium.rocks/mercury
Mozilla Public License 2.0
1.15k stars 25 forks source link

Update to Version 125 #184

Open k2662 opened 5 months ago

gz83 commented 5 months ago

please be patient and wait for the next update.

k2662 commented 4 months ago

please be patient and wait for the next update.

It has been 2.5 months since the last update.

krystian3w commented 4 months ago

https://www.mozilla.org/en-US/firefox/126.0/releasenotes/

IMO possible skip 125 and tries 126+.

https://github.com/Eclipse-Community/r3dfox/releases - maybe nice alternative (Windows 7-11) if you not need Mercury at XP, Vista or outdated GNU/Linux distro.

barbuslex commented 4 months ago

Yes 126 is out now :S

SashaXser commented 3 months ago

Guys, I compiled Mercury Windows AVX2 Firefox 127, compiled for about an hour, enjoy it

krystian3w commented 3 months ago

https://www.mozilla.org/en-US/firefox/127.0/releasenotes/

Rare chance back to RC3 stage to delay relase a week (from yesterday to 13-18 Jun 2024).

https://www.virustotal.com/gui/file/8ce8567b9daf5eb445e640274d39b657e6896c44c1e0befaf61bb47352f007a4

gz83 commented 3 months ago

Please choose versions compiled by third parties with caution. We do not provide support for problems in versions compiled by third parties.

SashaXser commented 3 months ago

Please choose versions compiled by third parties with caution. We do not provide support for problems in versions compiled by third parties.

Why don't you just help people compile Mercury for all platforms? In fact, Mercury has been on version 123 for 4 months now. I don't know what Alex is doing, but he's clearly very much gone in the direction of Windows 7

gz83 commented 3 months ago

This is a project owned by Alex. I will not compile or publish it without his approval.

@SashaXser

krystian3w commented 3 months ago

"I do not" provide support for problems in versions compiled by third parties.

I don't see you in contributors:

https://github.com/Alex313031/Mercury/graphs/contributors https://github.com/Alex313031/Mercury/commits?author=gz83

gz83 commented 3 months ago

My focus is on the Thorium repo, and I rarely contribute to the Mercury repo at the moment. I mainly use Chromium-based browsers such as Thorium.

Also, I am Alex's partner (you can see my collaborator badge) and if he needs my help on Mercury, I will take action, but he doesn't need my help right now.

@krystian3w

garfieldairlines commented 3 months ago

Firefox 127.0 has been released and here on Linux I'm still "stuck" with 123.0.1… please update ? I'd like to know if this project is dead or not…

gz83 commented 3 months ago

The project will still be updated, but the frequency of updates will slow down in the near future until Alex resumes browser development.

@garfieldairlines

jettycake commented 3 months ago

Please choose versions compiled by third parties with caution. We do not provide support for problems in versions compiled by third parties.

Why don't you just help people compile Mercury for all platforms? In fact, Mercury has been on version 123 for 4 months now. I don't know what Alex is doing, but he's clearly very much gone in the direction of Windows 7

The amount of entitlement in this post is incredible.

Accept that it's a project run by someone else - almost certainly mainly for themselves. If you don't like the lack of updates you have a few options:

1) Offer valuable contributions; 2) Go and start your own fork; 3) Stop using it and just move on.

krystian3w commented 2 months ago

https://www.mozilla.org/en-US/firefox/128.0/releasenotes/

Rare chance back to RC3 stage to delay relase a week (from today to 16-23 Jul 2024).

MarcoRavich commented 1 month ago

I fear that without some kind of automation (e.g. github actions) Mercury will hardly ever be able to keep up with Firefox updates...

garfieldairlines commented 1 month ago

I fear that without some kind of automation (e.g. github actions) Mercury will hardly ever be able to keep up with Firefox updates...

Yep, the browser is one of the most critical piece of software on a computer nowadays. I had to jump off Mercury because updates are critical here. I'll jump back again when there's a pipeline built.

MarcoRavich commented 1 month ago

Yep, the browser is one of the most critical piece of software on a computer nowadays. I had to jump off Mercury because updates are critical here. I'll jump back again when there's a pipeline built.

As I've done some times ago too.

k2662 commented 1 month ago

A (temorary) alternative is Librewolf.

k2662 commented 1 month ago

or you can compile librewolf w/ similar optimizations (which I encourage you to do) here is my mozconfig for macos:

## Copyright (c) 2024 Alex313031.

## .mozconfig for Mercury Browser for MacOS x64

# Build only Mercury
ac_add_options --enable-application=browser
ac_add_options --disable-artifact-builds

# Build for MacOS
ac_add_options --target=x86_64-apple-darwin
ac_add_options --enable-bootstrap
export MOZ_INCLUDE_SOURCE_INFO=1

# Optimization settings
ac_add_options --enable-release
ac_add_options --disable-debug
ac_add_options --disable-debug-symbols
ac_add_options --disable-debug-js-modules
ac_add_options --disable-tests
#ac_add_options --enable-strip
#ac_add_options --enable-install-strip
ac_add_options --enable-clang-plugin
ac_add_options --enable-lto
ac_add_options --enable-wasm-avx
#ac_add_options --enable-avx2
ac_add_options --enable-optimize="-O3 -march=x86-64-v3"
ac_add_options --enable-rust-simd
ac_add_options --enable-hardening
#ac_add_options --disable-trace-logging
mk_add_options MOZILLA_OFFICIAL=1
MOZILLA_OFFICIAL=1
export MOZILLA_OFFICIAL=1
mk_add_options MOZ_OPTIMIZE=1
MOZ_OPTIMIZE=1
export MOZ_OPTIMIZE=1

# Media settings
ac_add_options --enable-sandbox
ac_add_options --enable-raw
ac_add_options --enable-webrtc
ac_add_options --enable-jxl
ac_add_options --enable-av1
ac_add_options --enable-eme=widevine

# Add-ons
ac_add_options --allow-addon-sideload
ac_add_options --with-unsigned-addon-scopes=app,system

# Client settings
ac_add_options --disable-parental-controls
ac_add_options --disable-crashreporter
ac_add_options --disable-updater
ac_add_options --enable-geckodriver
ac_add_options --without-wasm-sandboxed-libraries
#ac_add_options --disable-default-browser-agent
export MOZ_SOURCE_CHANGESET=${changeset}
mk_add_options MOZ_CRASHREPORTER=0
mk_add_options MOZ_DATA_REPORTING=0
mk_add_options MOZ_SERVICES_HEALTHREPORT=0
mk_add_options MOZ_TELEMETRY_REPORTING=
export MOZ_CRASHREPORTER=0
export MOZ_DATA_REPORTING=0
export MOZ_REQUIRE_SIGNING=
export MOZ_TELEMETRY_REPORTING=

# API Keys
#ac_add_options --with-google-location-service-api-keyfile=@TOPSRCDIR@/ga
#ac_add_options --with-google-safebrowsing-api-keyfile=@TOPSRCDIR@/ga

# Branding
export MOZ_APP_REMOTINGNAME=LibreWolf
ac_add_options --with-app-name=librewolf
ac_add_options --with-app-basename=Librewolf
ac_add_options --with-branding=browser/branding/librewolf
ac_add_options --with-l10n-base=$PWD/browser/locales/l10n
#ac_add_options --with-distribution-id=
#-app=/home/alex/bin/Mercury/application.ini

# Make flags (set to number of CPU cores)
mk_add_options MOZ_MAKE_FLAGS="-j8"

# Autoclobber
mk_add_options AUTOCLOBBER=1
export AUTOCLOBBER=1

# Set -Copt-level=3
export OPT_LEVEL="3"
ac_add_options OPT_LEVEL="3"
export RUSTC_OPT_LEVEL="3"
ac_add_options RUSTC_OPT_LEVEL="3"

# Enable PGO/LTO
export MOZ_LTO=1
ac_add_options MOZ_LTO=1
#export MOZ_PGO=1
#ac_add_options MOZ_PGO=1

# Compiler, Linker, and Rust flags
export CFLAGS="-O3 -march=x86-64-v3"
export CPPFLAGS="-O3 -march=x86-64-v3"
export CXXFLAGS="-O3 -march=x86-64-v3"
export LDFLAGS="-Wl,-O3 -march=x86-64-v3"
#export MOZ_LTO_LDFLAGS="-Wl,-mllvm,-polly"
export RUSTFLAGS="-C target-feature=+avx2 -C codegen-units=1"
export VERBOSE=1

export CC="$HOME/.mozbuild/clang/bin/clang"
export CXX="$HOME/.mozbuild/clang/bin/clang++"

ac_add_options --with-macos-sdk="$HOME/.mozbuild/MacOSX14.4.sdk"

It take about 1-3 hrs to finish compiling on a 15 inch MacBook Pro 2017 with 4 cores, 8 threads.