[MacPorts] #69831: nethack: enable curses graphics

MacPorts noreply at macports.org
Fri Apr 26 08:31:25 UTC 2024


#69831: nethack: enable curses graphics
-----------------------------+----------------------
  Reporter:  jnielsendotnet  |      Owner:  jflude
      Type:  enhancement     |     Status:  assigned
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:
Resolution:                  |   Keywords:  haspatch
      Port:  nethack         |
-----------------------------+----------------------

Comment (by jnielsendotnet):

 The "curses interface" in Nethack is more than just a dependency on the
 ncurses library, it's a very different way of displaying the game. It
 still uses a text interface but it draws "windows" for different parts of
 the game including the map, inventory, status and message history. The
 "tty" interface just has the map and a small status area and inventory or
 long message history is overlaid on top of the map. Defining
 "CURSES_GRAPHICS" is what enables support for the alternative interface;
 the other changes are all needed for compilation and linking to succeed.

 I'm happy to submit another patch with the revision incremented.

 I agree the existing flags in the port are kind of a mess, however I'm not
 experienced enough with MacPorts internals to be competent at fixing them.

 In Nethack 3.4.3 the curses interface was only available as an external
 patchset. This is true of several other features present in 3.6 as well
 (such as MENUCOLOR), and the port currently doesn't bring any of those in.
 I don't have an opinion on whether that should change but adding 3rd-party
 optional code is beyond the scope of what I'm trying to do, which is to
 make it easier for other MacPorts users to benefit from the existing code
 in 3.6.

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


More information about the macports-tickets mailing list