Changes between Initial Version and Version 1 of Ticket #52703, comment 2


Ignore:
Timestamp:
Dec 1, 2016, 7:57:34 AM (8 years ago)
Author:
stevenwei (Steven Wei)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #52703, comment 2

    initial v1  
    55https://github.com/git/git-scm.com/issues/853
    66
    7 Seems related to a broken version of Tk 8.5 that shipped with Sierra. I worked around this by installing Tk 8.6.6 via MacPorts, and then reinstalling Git:
     7Seems related to a broken version of Tk 8.5 that shipped with Sierra. I worked around this by installing Tk 8.6.6 via MacPorts, and then forcing `Git Gui.app` to use the MacPorts version of `wish` (similar to what is described in the above links):
    88{{{
    9 sudo port uninstall git
    10 sudo port install tk
    11 sudo port install git
     9port install tk +quartz
     10cd /opt/local/share/git-gui/lib/Git\ Gui.app/Contents/MacOS
     11mv Wish Wish.bak
     12ln -s /opt/local/bin/wish Wish
    1213}}}
    13 So far it seems to be working again.
     14
     15Note: I previously tried simply rebuilding `git` via MacPorts after installing `tk` but this was insufficient. The `Git Gui.app` created during the build contains a `Wish` binary that links with the broken system `Tk.framework`. So I ended up symlinking in the MacPorts built version instead.