There are two ways of installing meld on osx (May 2023), using brew
and .dmg
package (from @yousseb). Since I found https://yousseb.github.io/meld/, I've installed it with .dmg
package, but having macOS Ventura Version 13.4 (22F66)
in place, it's not even starting for me. So I tried brew
installation, and the application is working as expected, including symlink to start it from the terminal.
Using brew formulae: https://formulae.brew.sh/cask/meld
brew install --cask meld
# set meld as your default git mergetool
git config --global merge.tool meld
Requires: macOS >= 10.13 meld has been officially discontinued upstream. It may stop working correctly (or at all) in recent versions of macOS.
-
Alternative method (by @yousseb), try
.dmg
package yourself: https://yousseb.github.io/meld (caveat: project haven't been updated since Jul 2022). -
Legacy methods (including old osx versions): https://gist.github.com/p1nox/6102015/4fa2a9ba9379879a35e113921770c85e09861e8a
- If meld doesn't start from terminal, try this, modify the
/usr/local/Caskroom/meld/3.19.2-r6,osx-15/meld.wrapper.sh
script installed by brew to the following:
#!/bin/sh
rm -rf ~/Library/Saved\ Application\ State/org.gnome.meld.savedState
exec '/Applications/Meld.app/Contents/MacOS/Meld' "$@"
I am using mac os 10.9. Problem is when in the root folder of project when i run the line meld . it give me this error .
And I also added the line export PYTHONPATH=/usr/local/lib/python2.7/site-packages:$PYTHONPATH in my /.bashrc file ...
Error :
Couldn't bind the translation domain. Some translations won't work.
'module' object has no attribute 'bindtextdomain'
/usr/local/lib/python2.7/site-packages/gtk-2.0/gtk/init.py:57: GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
/usr/local/Cellar/meld/1.8.5/libexec/bin/meld:155: GtkWarning: gtk_icon_theme_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
gtk.icon_theme_get_default().append_search_path(meld.paths.icon_dir())
Traceback (most recent call last):
File "/usr/local/Cellar/meld/1.8.5/libexec/bin/meld", line 155, in
gtk.icon_theme_get_default().append_search_path(meld.paths.icon_dir())
AttributeError: 'NoneType' object has no attribute 'append_search_path'