Mercury icon indicating copy to clipboard operation
Mercury copied to clipboard

Any idea of supporting macos? Thanks.

Open tomobs opened this issue 2 years ago • 17 comments

tomobs avatar Nov 30 '23 05:11 tomobs

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

j03ll0b0 avatar Jan 14 '24 04:01 j03ll0b0

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 avatar Jan 15 '24 01:01 tomobs

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: @.***>

tomobs avatar Jan 15 '24 01:01 tomobs

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 avatar Jan 15 '24 14:01 j03ll0b0

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.

j03ll0b0 avatar Jan 16 '24 07:01 j03ll0b0

@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.

Alex313031 avatar Jan 16 '24 08:01 Alex313031

@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 avatar Jan 16 '24 09:01 j03ll0b0

@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 avatar Jan 16 '24 09:01 j03ll0b0

Screenshot 2024-01-16 at 5 07 54 AM

j03ll0b0 avatar Jan 16 '24 09:01 j03ll0b0

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: @.***>

tomobs avatar Jan 17 '24 05:01 tomobs

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

Alex313031 avatar Jan 17 '24 16:01 Alex313031

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: @.***>

tomobs avatar Jan 17 '24 23:01 tomobs

@Alex313031 Yay of course, where do I start?

j03ll0b0 avatar Jan 18 '24 00:01 j03ll0b0

@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 avatar Jan 18 '24 23:01 Alex313031

@j03ll0b0 OK I messaged you on fb messenger

Alex313031 avatar Jan 19 '24 00:01 Alex313031

➜ 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...

j03ll0b0 avatar Jan 20 '24 08:01 j03ll0b0

@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.

Alex313031 avatar Jan 21 '24 11:01 Alex313031