Bug 240522 - New port: devel/termbox Legacy-free alternative to ncurses
Summary: New port: devel/termbox Legacy-free alternative to ncurses
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Mateusz Piotrowski
URL: https://github.com/nsf/termbox
Keywords: patch
Depends on:
Blocks: 240523
  Show dependency treegraph
 
Reported: 2019-09-12 04:01 UTC by as
Modified: 2019-09-16 14:23 UTC (History)
2 users (show)

See Also:


Attachments
port diff (2.56 KB, patch)
2019-09-12 04:01 UTC, as
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description as 2019-09-12 04:01:53 UTC
Created attachment 207406 [details]
port diff
Comment 1 Walter Schwarzenfeld 2019-09-12 07:09:10 UTC
Thanks for patch. 
A little error in the header
$FreeBSD$  (missing the "$" at the end).
Comment 2 Mateusz Piotrowski freebsd_committer freebsd_triage 2019-09-12 08:37:32 UTC
https://reviews.freebsd.org/D21614

Let me know if everything is fine.
Comment 3 as 2019-09-13 13:20:34 UTC
Looks good to me. Thank you Mateusz.
Comment 4 commit-hook freebsd_committer freebsd_triage 2019-09-16 10:49:28 UTC
A commit references this bug:

Author: 0mp
Date: Mon Sep 16 10:48:32 UTC 2019
New revision: 512156
URL: https://svnweb.freebsd.org/changeset/ports/512156

Log:
  New port: devel/termbox Legacy-free alternative to ncurses

  Termbox is a library that provides minimalistic API which allows the
  programmer to write text-based user interfaces.

  It is based on a very simple abstraction. The main idea is viewing
  terminals as a table of fixed-size cells and input being a stream of
  structured messages. Would be fair to say that the model is inspired
  by windows console API. The abstraction itself is not perfect and it
  may create problems in certain areas. The most sensitive ones are
  copy & pasting and wide characters (mostly Chinese, Japanese, Korean
  (CJK) characters). When it comes to copy & pasting, the notion of
  cells is not really compatible with the idea of text. And CJK runes
  often require more than one cell to display them nicely. Despite the
  mentioned flaws, using such a simple model brings benefits in a form
  of simplicity. And KISS principle is important.

  At this point one should realize, that CLI (command-line interfaces)
  aren't really a thing termbox is aimed at. But rather
  pseudo-graphical user interfaces.

  WWW: https://github.com/nsf/termbox

  PR:		240522
  Submitted by:	as@php.net
  Differential Revision:	https://reviews.freebsd.org/D21614

Changes:
  head/devel/Makefile
  head/devel/termbox/
  head/devel/termbox/Makefile
  head/devel/termbox/distinfo
  head/devel/termbox/pkg-descr
Comment 5 Mateusz Piotrowski freebsd_committer freebsd_triage 2019-09-16 14:23:12 UTC
Thanks!