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.03k stars 26 forks source link

Any idea of supporting macos? Thanks. #85

Open tomobs opened 7 months ago

j03ll0b0 commented 5 months ago

Hello Mercury under mac... sorta... Screenshot 2024-01-14 at 12 21 55 AM

tomobs commented 5 months ago

Holly *, thanks!

On Sat, Jan 13, 2024 at 8:40 PM j03ll0b0 @.***> wrote:

Hello Mercury under mac... sorta... Screenshot.2024-01-14.at.12.21.55.AM.png (view on web) https://github.com/Alex313031/Mercury/assets/104862685/a7672447-4c8c-43a1-b3bc-358cdebb9830

— Reply to this email directly, view it on GitHub https://github.com/Alex313031/Mercury/issues/85#issuecomment-1890845487, or unsubscribe https://github.com/notifications/unsubscribe-auth/A26WQLFQWRJ2QVVZ4JSYXWTYONOSJAVCNFSM6AAAAABAAS33KWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJQHA2DKNBYG4 . You are receiving this because you authored the thread.Message ID: @.***>

tomobs commented 5 months ago

But how do you install it.

On Sun, Jan 14, 2024 at 5:23 PM Tony Guo @.***> wrote:

Holly *, thanks!

On Sat, Jan 13, 2024 at 8:40 PM j03ll0b0 @.***> wrote:

Hello Mercury under mac... sorta... Screenshot.2024-01-14.at.12.21.55.AM.png (view on web) https://github.com/Alex313031/Mercury/assets/104862685/a7672447-4c8c-43a1-b3bc-358cdebb9830

— Reply to this email directly, view it on GitHub https://github.com/Alex313031/Mercury/issues/85#issuecomment-1890845487, or unsubscribe https://github.com/notifications/unsubscribe-auth/A26WQLFQWRJ2QVVZ4JSYXWTYONOSJAVCNFSM6AAAAABAAS33KWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJQHA2DKNBYG4 . You are receiving this because you authored the thread.Message ID: @.***>

j03ll0b0 commented 5 months ago

I got it working by using docker and XQuartz, I’ll reply later with the whole procedure, it’s rather fun and it actually works with webgl and everything, quite a hack since there is not yet a native one for Mac, if you want audio is also a procedure to get pulse working on Mac first and then routing the audio, but nevertheless also works just fine, don’t expect a launcher app on Mac for this, or at least I haven’t tried so I can’t tell yet whether it can be done or not.

On Jan 14, 2024, at 9:24 PM, tomobs @.***> wrote:

Holly *, thanks!

On Sat, Jan 13, 2024 at 8:40 PM j03ll0b0 @.***> wrote:

Hello Mercury under mac... sorta... Screenshot.2024-01-14.at.12.21.55.AM.png (view on web) https://github.com/Alex313031/Mercury/assets/104862685/a7672447-4c8c-43a1-b3bc-358cdebb9830

— Reply to this email directly, view it on GitHub https://github.com/Alex313031/Mercury/issues/85#issuecomment-1890845487, or unsubscribe https://github.com/notifications/unsubscribe-auth/A26WQLFQWRJ2QVVZ4JSYXWTYONOSJAVCNFSM6AAAAABAAS33KWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJQHA2DKNBYG4 . You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/Alex313031/Mercury/issues/85#issuecomment-1891160784, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZABHXMA4UC2WOR2SAQEV73YOSALFAVCNFSM6AAAAABAAS33KWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJRGE3DANZYGQ. You are receiving this because you commented.

j03ll0b0 commented 5 months ago

here it is:

https://www.youtube.com/watch?v=cNDR6Z24KLM

https://gist.github.com/paul-krohn/e45f96181b1cf5e536325d1bdee6c949

https://copyprogramming.com/howto/running-gui-from-a-container-on-a-mac-resolve-in-libgl-error-no-matching-fbconfigs-or-visuals-found

I don't know if linking other sites here is allowed, hope I'm not breaking any rules.

Alex313031 commented 5 months ago

@tomobs I don't have a Mac to build. @midzer uses his Mac to make the Thorium releases, but IDK if he would be up for building Mercury for MacOS as well.

j03ll0b0 commented 5 months ago

@tomobs I don't have a Mac to build. @midzer uses his Mac to make the Thorium releases, but IDK if he would be up for building Mercury for MacOS as well.

well... I do have a Mac, not really, it's a EliteBook 840 G5, and a i9 12900K inn spain I handle remotely, the laptop is mine, but I don´t think my friend in spain would mind at all.

some test: Speedometer2 1-mercury Speedometer2 1-thorium JetStream-mercury JetStream-thorium MotionMark1 3-mercury MotionMark1 3-thorium

thorium rocks! and mercury is awesome too!

j03ll0b0 commented 5 months ago

@Alex313031 I should say I would love to build for the mac, my specs:

edit: sorry, got exited and forgot to obscure my serial #

j03ll0b0 commented 5 months ago

Screenshot 2024-01-16 at 5 07 54 AM

tomobs commented 5 months ago

Got it, thanks!!!!! I love your project!

On Tue, Jan 16, 2024 at 1:15 AM j03ll0b0 @.***> wrote:

Screenshot.2024-01-16.at.5.07.54.AM.png (view on web) https://github.com/Alex313031/Mercury/assets/104862685/9256115a-e494-42e4-a51f-c5fbc7018201

— Reply to this email directly, view it on GitHub https://github.com/Alex313031/Mercury/issues/85#issuecomment-1893343561, or unsubscribe https://github.com/notifications/unsubscribe-auth/A26WQLEHV4RUYSID5S3GFNLYOZALLAVCNFSM6AAAAABAAS33KWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJTGM2DGNJWGE . You are receiving this because you were mentioned.Message ID: @.***>

Alex313031 commented 5 months ago

@j03ll0b0 @tomobs One could compile it on the hackintosh in spain.

tomobs commented 5 months ago

Okay...

On Wed, Jan 17, 2024 at 8:23 AM Alex F. @.***> wrote:

@j03ll0b0 https://github.com/j03ll0b0 @tomobs https://github.com/tomobs One could compile it on the hackintosh in spain.

— Reply to this email directly, view it on GitHub https://github.com/Alex313031/Mercury/issues/85#issuecomment-1896155172, or unsubscribe https://github.com/notifications/unsubscribe-auth/A26WQLFJENCBZN3XJQYZL5DYO73G7AVCNFSM6AAAAABAAS33KWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJWGE2TKMJXGI . You are receiving this because you were mentioned.Message ID: @.***>

j03ll0b0 commented 5 months ago

@Alex313031 Yay of course, where do I start?

Alex313031 commented 5 months ago

@j03ll0b0 Lets talk somewhere else where I can guide you through how to compile it.

Note that you will need 100GB of free space, at least 8GB of RAM, and the more cores your CPU has, the better.

Alex313031 commented 5 months ago

@j03ll0b0 OK I messaged you on fb messenger

j03ll0b0 commented 5 months ago

➜ mozilla-unified ./mach build

0:00.64 W Clobber not needed. Config object not found by mach. 0:00.80 Using Python 3.11.7 from /Users/juandeux/.mozbuild/srcdirs/mozilla-unified-7e22d0d3d1a8/_virtualenvs/build/bin/python 0:00.81 checking for vcs source checkout... hg 0:00.84 checking for a shell... /bin/sh 0:01.11 checking for host system type... x86_64-apple-darwin23.3.0 0:01.11 checking for target system type... x86_64-apple-darwin23.3.0 0:01.34 checking whether cross compiling... no 0:01.41 checking for the target C compiler... /usr/bin/clang 0:01.41 checking for ccache... not found 0:01.42 Using target sysroot in /Users/juandeux/.mozbuild/MacOSX14.0.sdk 0:01.65 checking whether the target C compiler can be used... yes 0:01.65 checking for the target C++ compiler... /usr/bin/clang++ 0:29.64 checking whether the target C++ compiler can be used... yes 0:29.74 checking for unwind.h... yes 0:32.68 checking for target linker... 0:32.68 DEBUG: Executing: /usr/bin/clang -isysroot /Users/juandeux/.mozbuild/MacOSX14.0.sdk -mmacosx-version-min=10.15 -std=gnu99 -Wl,--version 0:32.68 ERROR: Failed to find an adequate linker *** Fix above errors and then restart with "./mach build" ➜ mozilla-unified

@tomobs we kinda hit a dead end last night but because there is a bug in Release, Nightly built just fine in vanilla taste, getting closer...

Alex313031 commented 5 months ago

@j03ll0b0 I filed the bug. If they don't get back to us, we could always just wait until the release branch is at the same version as what is currently the nightly branch.