[MacPorts] #52212: hatari update to 1.9

MacPorts noreply at macports.org
Sat Sep 24 17:42:54 CEST 2016


#52212: hatari update to 1.9
-------------------------------------+---------------------
  Reporter:  kenneth.f.cunningham@…  |      Owner:  james@…
      Type:  update                  |     Status:  new
  Priority:  Normal                  |  Milestone:
 Component:  ports                   |    Version:
Resolution:                          |   Keywords:
      Port:  hatari                  |
-------------------------------------+---------------------

Comment (by raimue@…):

 For the build, the `.py` files would need to be patched with the correct
 interpreter. The installed scripts also have a shebang of `#!/usr/bin/env
 python` which will pick up any python and not necessarily the one it was
 configured for. This is especially important as this port seems to require
 pygtk, but no such dependency is added. There is no guarantee that the
 currently selected `python` is still the same as during configure or that
 pygtk is available on this version at all.

 {{{
 $ hatariui
 Traceback (most recent call last):
   File "/opt/local/bin/../share/hatari/hatariui/hatariui.py", line 26, in
 <module>
     import gtk
 ImportError: No module named gtk
 }}}

 However, even with pygtk installed, this launch script does not work. The
 `hatari` binary was only installed to
 `${applications_dir}/hatari.app/Contents/MacOS/hatari`. Probably a symlink
 should be added to `bin/` to be able to run it from the shell.

 {{{
 $ sudo port install py27-pygtk
 ...
 $ hatariui
 ...
 sh: hatari: command not found
 }}}

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


More information about the macports-tickets mailing list