[MacPorts] #69672: git 2.44.0: gitk doesn't run, "no display name and no $DISPLAY environment variable"

MacPorts noreply at macports.org
Fri Apr 5 19:08:00 UTC 2024


#69672: git 2.44.0: gitk doesn't run, "no display name and no $DISPLAY environment
variable"
----------------------+--------------------
  Reporter:  gwerbin  |      Owner:  (none)
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.9.3
Resolution:           |   Keywords:
      Port:  git      |
----------------------+--------------------

Comment (by gwerbin):

 `port install tk +quartz` did the job, thanks!

 I was hoping to avoid running an X server on my Mac, I did that in the
 past for programs like Inkscape and always found it less than enjoyable to
 have a whole extra window system overlaid on the existing one.

 For comparison, the Homebrew "git-gui" package also ships gitk, which
 seems to work fine without an X server installed or any special Tk
 options. Is there something fundamentally different about the Macports and
 Homebrew packages? Is the difference that they're possibly shipping a
 Quartz-enabled Tk build by default? They use the `--enable-aqua=yes` build
 option: https://github.com/Homebrew/homebrew-
 core/blob/2e7221e9161b7d175c472e7044be9e53893b72ba/Formula/t/tcl-tk.rb#L89


 Feel free to mark this as closed. However I would consider this a request
 to add a mention of the +quartz recommendation in the docs somewhere, for
 running Tk-based applications.

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


More information about the macports-tickets mailing list