From nobody Fri Mar 28 05:55:23 2025 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4ZP8rY1zy8z5rHxx; Fri, 28 Mar 2025 05:55:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZP8rX1lYNz45Zh; Fri, 28 Mar 2025 05:55:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1743141324; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=tPy+hWRPI76+6buwqhYgqggd0PE41RYZiS7DMoNnM+k=; b=o+6I45f1O8MFhKedDBxGs577Qrp5mBwYqtR27QALRFPcmthTmhlbsMJoI5Dg78xoH6u51K /G04YQhJnqPNVnsBCiBxBLiacQeE13M0ROVBG98du47lSLKhO1OSt41OjzsSZdbkPbg/m9 7w5JH93KURCism/X149VAkEHhAvwIN9GfUuYEdyfxrE1ebiLrhUEO1ld5YPFyoMV9LP6U1 RGWvWYjkaSeqHvK40e+30flMbVBjTweNOjfP4jnc1jaBz6rxiU3A9ploU+im1/fseKeuYt 39KvqU1b4ERZJY3AboaFnHYjXlHnaGeEB3DvoeGJl1KfwRjHWbaEgcYKHHBVwg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1743141324; a=rsa-sha256; cv=none; b=H38/yux9y+I1RerCwukmqF8UBwA/qN+kFU6qZCQjyrduiOaJx+0TU4jsLoIY7U9o6vhf5u u7eMvWX6WQ0X9vL4U6oVcvEEcHfc8F2LYF/3tfwjb8Gn4R/19UqCAn0IrvI0SCjPZgGl8P 1a4CsXOgLLtnf2nvVvkppoJF7bNQBysP8eVxNd4X7GH3MTDKzTS4MmYifx3BBBgu0IUVe8 Vde5DFmU0BqA8liDtk8vGSzeyywotKL1gNPB37N2EVLrW/819ELwOMCqiT7STjOWXVGWf6 vxCupQqOJaVRZga0O15GGKknRzhE5MKAnr/HZ2SqdaAZPPJdKbu/Vo1CvRSwzQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1743141324; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=tPy+hWRPI76+6buwqhYgqggd0PE41RYZiS7DMoNnM+k=; b=EvTYG4c4+QkGohet4KcKwbzFH68h55hNxp3CiS4NuFzG03RgWGdINgLf/5Ztp6Sws02tnb EwE4Fvx6TsKDsR6dFOwzET5san+ZIpCgHyKvi7Dwkqcg7NrLoR5ngvyX19ubmLy752wnSF SO7/6T7lwwLSOl33ASRgWAg2CxxEJVJyetnTJezcAnsBh7cEbiwFlU6nso3Djoy9ldxp07 PFwIP26+5g8s7OfxoYVLGCe++17DSOhTOwpA+Dvfy7FU6fLi/lXS5A/s13x6AYoBm08sEi UslEqOIbmUFIQyOZLzPGjNby+Cfts93Wi2psA8M7+v3sV3TEFaKsfpOkoYNdug== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4ZP8rX03ytzVDW; Fri, 28 Mar 2025 05:55:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 52S5tNoU041310; Fri, 28 Mar 2025 05:55:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 52S5tN9l041307; Fri, 28 Mar 2025 05:55:23 GMT (envelope-from git) Date: Fri, 28 Mar 2025 05:55:23 GMT Message-Id: <202503280555.52S5tN9l041307@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 1ef70ef330c1 - main - devel/tvision: New port: Modern port of Turbo Vision 2.0, a TUI framework List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 1ef70ef330c14abee7543a824f3c32702afe38b2 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=1ef70ef330c14abee7543a824f3c32702afe38b2 commit 1ef70ef330c14abee7543a824f3c32702afe38b2 Author: gatekeeper AuthorDate: 2025-03-28 05:41:43 +0000 Commit: Yuri Victorovich CommitDate: 2025-03-28 05:55:18 +0000 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 --- devel/Makefile | 1 + devel/tvision/Makefile | 24 ++++++++ devel/tvision/distinfo | 3 + devel/tvision/files/patch-source_CMakeLists.txt | 11 ++++ devel/tvision/pkg-descr | 7 +++ devel/tvision/pkg-plist | 81 +++++++++++++++++++++++++ 6 files changed, 127 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index f4cd77599077..a7c6148b8866 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -8318,6 +8318,7 @@ SUBDIR += trompeloeil SUBDIR += truc SUBDIR += tup + SUBDIR += tvision SUBDIR += twiggy SUBDIR += typeshare SUBDIR += ua_parser-core diff --git a/devel/tvision/Makefile b/devel/tvision/Makefile new file mode 100644 index 000000000000..8e4f29f3e89b --- /dev/null +++ b/devel/tvision/Makefile @@ -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 diff --git a/devel/tvision/distinfo b/devel/tvision/distinfo new file mode 100644 index 000000000000..36ef02c9db1b --- /dev/null +++ b/devel/tvision/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1743139672 +SHA256 (magiblot-tvision-g20250326-e587eba_GH0.tar.gz) = 3665f61934684bee0df6694be899e85b01b1ec26a0b5ec7fac70c6f02f9a2d9f +SIZE (magiblot-tvision-g20250326-e587eba_GH0.tar.gz) = 845068 diff --git a/devel/tvision/files/patch-source_CMakeLists.txt b/devel/tvision/files/patch-source_CMakeLists.txt new file mode 100644 index 000000000000..c543a2492537 --- /dev/null +++ b/devel/tvision/files/patch-source_CMakeLists.txt @@ -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) diff --git a/devel/tvision/pkg-descr b/devel/tvision/pkg-descr new file mode 100644 index 000000000000..886e39085aac --- /dev/null +++ b/devel/tvision/pkg-descr @@ -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. diff --git a/devel/tvision/pkg-plist b/devel/tvision/pkg-plist new file mode 100644 index 000000000000..b92c763335d9 --- /dev/null +++ b/devel/tvision/pkg-plist @@ -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