devel/tvision: New port: Modern port of Turbo Vision 2.0, a TUI framework

Some alterations and additions were made to the original submission.

PR:		285640
This commit is contained in:
gatekeeper
2025-03-27 22:55:18 -07:00
committed by Yuri Victorovich
parent 075b56026d
commit 1ef70ef330
6 changed files with 127 additions and 0 deletions
+1
View File
@@ -8318,6 +8318,7 @@
SUBDIR += trompeloeil
SUBDIR += truc
SUBDIR += tup
SUBDIR += tvision
SUBDIR += twiggy
SUBDIR += typeshare
SUBDIR += ua_parser-core
+24
View File
@@ -0,0 +1,24 @@
PORTNAME= tvision
PORTVERSION= g20250326
CATEGORIES= devel
MAINTAINER= tiago.gasiba@gmail.com
COMMENT= Modern port of Turbo Vision 2.0, a TUI framework
WWW= https://github.com/magiblot/tvision
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
TEST_DEPENDS= googletest>0:devel/googletest
USES= cmake:testing localbase ncurses
USE_GITHUB= yes
GH_ACCOUNT= magiblot
GH_PROJECT= tvision
GH_TAGNAME= e587eba
CMAKE_ON= BUILD_SHARED_LIBS
CMAKE_TESTING_ON= TV_BUILD_TESTS # several tests fail, see https://github.com/magiblot/tvision/issues/176
.include <bsd.port.mk>
+3
View File
@@ -0,0 +1,3 @@
TIMESTAMP = 1743139672
SHA256 (magiblot-tvision-g20250326-e587eba_GH0.tar.gz) = 3665f61934684bee0df6694be899e85b01b1ec26a0b5ec7fac70c6f02f9a2d9f
SIZE (magiblot-tvision-g20250326-e587eba_GH0.tar.gz) = 845068
@@ -0,0 +1,11 @@
--- source/CMakeLists.txt.orig 2025-03-28 05:30:56 UTC
+++ source/CMakeLists.txt
@@ -3,7 +3,7 @@ list(REMOVE_ITEM TVSOURCE "${CMAKE_CURRENT_LIST_DIR}/t
file(GLOB_RECURSE TVSOURCE "${CMAKE_CURRENT_LIST_DIR}/*/*.cpp")
list(REMOVE_ITEM TVSOURCE "${CMAKE_CURRENT_LIST_DIR}/tvision/geninc.cpp")
-add_library(${PROJECT_NAME} STATIC ${TVSOURCE})
+add_library(${PROJECT_NAME} ${TVSOURCE})
add_library(${PROJECT_NAME}::${PROJECT_NAME} ALIAS ${PROJECT_NAME})
target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_14)
+7
View File
@@ -0,0 +1,7 @@
A modern port of Turbo Vision 2.0, the classical framework
for text-based user interfaces. Now cross-platform and with
Unicode support.
Note that this project has no stable releases for the time
being. If you are a developer, try to stick to the latest
commit and report any issues you find while upgrading.
+81
View File
@@ -0,0 +1,81 @@
bin/tvdemo
bin/tvedit
bin/tvhc
include/tvision/app.h
include/tvision/buffers.h
include/tvision/colors.h
include/tvision/colorsel.h
include/tvision/compat/borland/_defs.h
include/tvision/compat/borland/_null.h
include/tvision/compat/borland/alloc.h
include/tvision/compat/borland/dir.h
include/tvision/compat/borland/dos.h
include/tvision/compat/borland/fstream.h
include/tvision/compat/borland/io.h
include/tvision/compat/borland/iomanip.h
include/tvision/compat/borland/iosfwd.h
include/tvision/compat/borland/iostream.h
include/tvision/compat/borland/mem.h
include/tvision/compat/borland/strstrea.h
include/tvision/compat/malloc/malloc.h
include/tvision/compat/windows/windows.h
include/tvision/config.h
include/tvision/dialogs.h
include/tvision/drawbuf.h
include/tvision/editors.h
include/tvision/hardware.h
include/tvision/help.h
include/tvision/helpbase.h
include/tvision/internal/ansiwrit.h
include/tvision/internal/base64.h
include/tvision/internal/codepage.h
include/tvision/internal/conctl.h
include/tvision/internal/constarr.h
include/tvision/internal/constmap.h
include/tvision/internal/dispbuff.h
include/tvision/internal/endian.h
include/tvision/internal/errredir.h
include/tvision/internal/events.h
include/tvision/internal/far2l.h
include/tvision/internal/findfrst.h
include/tvision/internal/getenv.h
include/tvision/internal/gpminput.h
include/tvision/internal/linuxcon.h
include/tvision/internal/mutex.h
include/tvision/internal/ncurdisp.h
include/tvision/internal/ncursinp.h
include/tvision/internal/pathconv.h
include/tvision/internal/platform.h
include/tvision/internal/sighandl.h
include/tvision/internal/sigwinch.h
include/tvision/internal/strings.h
include/tvision/internal/termio.h
include/tvision/internal/unixclip.h
include/tvision/internal/unixcon.h
include/tvision/internal/utf8.h
include/tvision/internal/win32con.h
include/tvision/internal/winwidth.h
include/tvision/menus.h
include/tvision/msgbox.h
include/tvision/objects.h
include/tvision/outline.h
include/tvision/resource.h
include/tvision/scrncell.h
include/tvision/stddlg.h
include/tvision/surface.h
include/tvision/system.h
include/tvision/textview.h
include/tvision/tkeys.h
include/tvision/tobjstrm.h
include/tvision/tspan.h
include/tvision/tstrview.h
include/tvision/ttext.h
include/tvision/ttypes.h
include/tvision/tv.h
include/tvision/tvobjs.h
include/tvision/util.h
include/tvision/validate.h
include/tvision/views.h
lib/cmake/tvision/tvision-config-%%CMAKE_BUILD_TYPE%%.cmake
lib/cmake/tvision/tvision-config.cmake
lib/libtvision.so