[MacPorts] #62036: git @2.30.0: gui and gitk commands don't work

MacPorts noreply at macports.org
Wed Jan 20 22:51:56 UTC 2021


#62036: git @2.30.0: gui and gitk commands don't work
-------------------------+----------------------
  Reporter:  mohd-akram  |      Owner:  ci42
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  git         |
-------------------------+----------------------

Comment (by mohd-akram):

 Installing xorg-server does fix gitk, but the window looks very odd
 because it's using the X11 backend of Tk. The issue seems to be that Apple
 broke Tk in Big Sur, according to [https://bugs.python.org/issue42480
 this], and git-gui is hardcoded to use Apple's version, which can be fixed
 with a patch. MacPorts should not use Apple's version, but rather its own.
 Also, the default Tk variant should change to +quartz to match the Apple
 provided version, which doesn't require X11 and looks much better.

 The workaround in the meantime is to do:


 {{{
 sudo port install tk +quartz
 sudo cp /opt/local/bin/wish /opt/local/share/git-gui/lib/Git\
 Gui.app/Contents/MacOS/Wish
 }}}


 Replying to [comment:6 kencu]:
 > I assume you have xorg-server installed?

-- 
Ticket URL: <https://trac.macports.org/ticket/62036#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list