jitsi / jitsi-meet-electron

Jitsi Meet desktop application powered by :electron:
Apache License 2.0
1.5k stars 462 forks source link

Linux: Adding aarch64 (ARM) Support #887

Closed sallyhaj closed 1 year ago

sallyhaj commented 1 year ago

Hello there, Thanks for all the developers of the project. I want to ask if there is a plan to add a support for ARM64 aarch64 on Linux, as the ARM devices becoming to some distance widely used. I have asked the Flathub team, they said they are depending on your available supports.

Regards.

saghul commented 1 year ago

Does electron release binaries for aarch64?

sallyhaj commented 1 year ago

Yes, it does. @saghul

saghul commented 1 year ago

Cool! Then I guess it might be as simple as some CI tweaking to build for it.

csett86 commented 1 year ago

I also thought so, until I hit issues with our native extensions for robotjs... I already tried prebuildify-cross, but that fails due to missing X11 headers in the default cross environment. And github does not offer an easy linux arm64 native runner, as far as I know. So open for suggestions and PRs

saghul commented 1 year ago

Ah, bummer!

csett86 commented 1 year ago

I think I got it now ready for linux-arm64 with https://github.com/jitsi/robotjs/pull/16

Can you please take a look @saghul ?

saghul commented 1 year ago

Looking great!

sallyhaj commented 1 year ago

Thank you @csett86 for starting the built. Is that issue related to as the same here https://github.com/signalapp/Signal-Desktop/issues/4530#issuecomment-1493145575

csett86 commented 1 year ago

I hit other issues with electron-builder trying to rebuild the native addons where it should not, as they come with prebuild binaries. Solved that via an electron-builder update that has an option to disable the rebuilds manually. Now its looking good, as soon as the PR is merged I would cut another release, then you can use it @sallyahaj

The PR results I already tested successfully with a Raspberry Pi 4 with Raspbian Bullseye.

sallyhaj commented 1 year ago

I have successfully tested Applmage and DEB on a vanilla debian testing/trixie release on RPi4, both of them are working as expected. Note: Using the AppImage requires two additional packages: libfuse2, zlib1g-dev. Thank you so much.