yousseb / meld

Meld for macOS
https://yousseb.github.io/meld/
GNU General Public License v2.0
2.27k stars 120 forks source link

M1 arm update #122

Open MrKlarki opened 3 years ago

MrKlarki commented 3 years ago

Hello. Will there be an update for arm m1 processors?

pi1ot commented 3 years ago

+1

yousseb commented 3 years ago

There will be. I'm just currently extremely busy. I'm also kind of waiting on upstream meld to support GTK+ 4.0 as I'm very disappointed with GTK+ 3.0 performance on macOS. The GTK+ 4.0 brings OpenGL support https://blogs.gnome.org/chergert/2020/12/15/gtk-4-got-a-new-macos-backend-now-with-opengl/ which will be a game changer for the meld GUI. Anything before then is not really useful from a performance point of view.

DreamDevourer commented 2 years ago

Bad news, according to the Apple Developers video documentations OpenGL support was considered deprecated since 2019 and will be removed shortly after the final release of macOS 12 Monterey.

zexpe commented 2 years ago

Just adding my +1 for an ARM M1 release, even if it is with the current, slow GTK+ 3.0, and thanks for compiling & packaging this great Mac OS version for meld.

nkoroste commented 2 years ago

+1 would love to see this

yousseb commented 2 years ago

Bad news, according to the Apple Developers video documentations OpenGL support was considered deprecated since 2019 and will be removed shortly after the final release of macOS 12 Monterey.

Don't worry - I'm considering using Google's ANGLE. We just need for Meld to port to GTK 4. I've been doing some experiments - and believe me, they consume time like crazy - one switch and you have to compile for hours. So this seems to be doable. Unfortunately, M1 is not going to be easy for me to try, but I will try to make two builds (x64 & M1) for the next release. It's just pointless at this point to do anything performance related when the GTK quartz renderer is as slow.

I may, however, create a build that updates Meld to latest stable release - hopefully if I get some time during the coming holidays.

zexpe commented 2 years ago

Thanks for the update, and offering to try to make a M1 build of the latest stable release - I'm happy to test it - much appreciated!

ghost commented 2 years ago

+1 Would also volunteer for testing any beta build with my MacBook Pro (16-inch, 2021).

ghost commented 2 years ago

+1

IllusionVK commented 2 years ago

Yeah thanks so much @yousseb, your time is very much appreciated because this is such a useful tool, I don't have the skills to help with coding but do let the community know if we can help anywhere. Thanks again for being awesome 👍

SiliconSufi commented 2 years ago

any updates? perhaps build steps?

noirchen commented 2 years ago

Any updates on the M1 version?

niksy commented 2 years ago

Also looking for this. Maybe we can get build steps for this so we can build it ourselves?

niksy commented 2 years ago

Since GitHub added support for M1 custom hosted runners, and M1 machines can be obtained from MacStadium open source initiative, maybe we can proceed with this?

Take a look how this was done in gitx project: https://github.com/gitx/gitx/issues/289

jetxr commented 1 year ago

We just need for Meld to port to GTK 4

Meld's maintainer states "there is no current plan for this and it may well never happen"

yousseb commented 1 year ago

Ouch...

OK. I will dedicate some time for this... It will be at least a month.

niksy commented 1 year ago

Yeah, this is really unfortunate. Maybe we can proceed with latest Meld on GTK3 for the time being, just so we can have ARM release.

chernib commented 1 year ago

Hi! Any updates on the M1 version, please?

MakremAyari commented 1 year ago

Hi, Any news about M1 version please?

dusanscensny commented 8 months ago

Looking forward to make this working on M2 processors please.

zexpe commented 8 months ago

Someone has created an M1 build. You can download the DMG from this pull request: #148

yousseb commented 8 months ago

@jetxr Kai posted this a year ago.. But if you look at the bottom of his post, some work has already been done for the gtk-4 support https://gitlab.gnome.org/GNOME/meld/-/issues/664#note_1865650

I'd be OK to take the gtk-4 patch once it get the app running. gtk/pango drawing is super slow on quartz and we really need to use OpenGL (no longer supported by Apple) or Metal (https://developer.apple.com/metal/) for the application to allow us to remove the numerous shortcuts and tweaks that I have to do just to get decent experience while maintaining look & feel.

A lot of discussion had been happening on this thread https://github.com/yousseb/meld/issues/147 and you'll find comments in this regard from people who were able to run stock Meld using Homebrew python/gtk

I'll be trying to make an m1 build soon. Had help from @matthiasdiener who was able to build for m1 locally using the x64 workflow file. I would still need to do some work on the PR for m1 in order to build simultaneously for x64 and m1, but the good news is that we're on path for having a new release for both archs. In the meantime you could use Matt's build mentioned above (https://github.com/yousseb/meld/pull/148) if the current version stopped working for you with macOS upgrade.

jetxr commented 8 months ago

but the good news is that we're on path for having a new release for both archs.

🤩 Thanks @yousseb, extremely grateful for keeping this going! Can't wait to try out @matthiasdiener's build meanwhile

DamianoP commented 4 months ago

In my opinion, this version for ARM does not work very well: if you try to compare 2 folders with subfolders, it keeps asking the documents folder repeatedly for permission. If you provide access to the documents folder, even via the system settings by setting access to the whole disk, Meld still asks for access to the documents folder countless times. In my opinion, this is not a really usable version, it is good just for comparing individual files