From nobody Tue Jan 10 08:35:19 2023 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 4Nrkf025rcz2r61P; Tue, 10 Jan 2023 08:35:20 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Nrkf01bygz4M0W; Tue, 10 Jan 2023 08:35:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673339720; 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=lnxF+jSEnvsJclw7s+V8zsA9O4SImFMWNuHoJ5mlChE=; b=HwBggBXa0J41cNGYrE4Kr3cs8LgLWDvIPxMM9u6+1sLhAcpwVcQq2I+MZ4HJ7DnJXqwXrM onhfrJeQWfzQwG6ULhciy4tYGJ5zQWTJy0JadXbfKOE+A0mLN/qgy3WKWjyxjvz2HgOEZK n+kp/VLqgAUB+1Azkpy8S4Z9o9wBNYBlV3AhkGaj5CKL0e3/sasL7DjbJaGlmRDly8Puhj uH430LuolRNZ08TG3MHktlF/4Q/n8EE9Vzh3EwzQzKcWn93PKh/XW7ZoFNSDm19YG5zThZ yryoozBWQWt46iFfNJXc9oKJwMeSbqRgxn0rw1i1G2a+UChha97dcu7cE/Y4Gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673339720; 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=lnxF+jSEnvsJclw7s+V8zsA9O4SImFMWNuHoJ5mlChE=; b=ns+AZ076WaA7T43u9aHVoFhUO3pat5YMgtR2NZ821zbdBao/jb+J39BvXXdhMvzfyo6/xu 0YyP43itZBEgkeZBR+E22PrZMY5L5lgmEWDRK1OdTJwYbWEMb3Kc3R56uk35yhRDKK2XGZ 0DKnWsLFj5Lp5u+jOWvlpjexJyfz31oKee6OtnDgIujrWyXlHBxPXaHcGp83Q9wX0VpIMc aUSeS2GkhsD5aLWZjLaKsdIeGPYF9njD7kvgS4qvq8NbPYbbVQySJOl4Mcw4E1rdC7EfM7 85HwwcBkslpz+7cMoZJhSUf2WAO9wEaxRwPtLEn3vC658W96VdaqH+LPJrOnVg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1673339720; a=rsa-sha256; cv=none; b=Iy8jqZpHJwYflhOnGLB5ygTBEK2wg2KqjKEF4OHgxqHpaMWa1crGJXnlMDuSuNgXQYodYe j1wL0bOw9amtrXMMQKsEW90tLFYlWH7AqA2+0UD5BMpJvERWC9OlEz7qhv1VnTLEwVtVgG a4QbV2OpNO7x95vqmGH4C+nWdDZaBL3/PLsHnC/r1AskdMmNjT7MH+9oHzgEp2V8OUp3FC FBI+vgaH5Tq8NKrlMOQyiOiViR/bYmFFKibKbV96mv+P6kNgiakr+jEkLq074AUGM2hnU6 BEwqzOelUxsp+Ms/BX+234ptavgxA/6vUccoEa7DpGYoVmNk7uGCCLsW+Rm1hQ== 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 4Nrkf00gjyz122T; Tue, 10 Jan 2023 08:35:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 30A8ZKHE042307; Tue, 10 Jan 2023 08:35:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30A8ZJNP042306; Tue, 10 Jan 2023 08:35:19 GMT (envelope-from git) Date: Tue, 10 Jan 2023 08:35:19 GMT Message-Id: <202301100835.30A8ZJNP042306@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: b58ddb1e7aeb - main - devel/ftxui: New port: C++ Functional Terminal User Interface library 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: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: 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: b58ddb1e7aeb3d124437c870de2ff74ec0cee6d6 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=b58ddb1e7aeb3d124437c870de2ff74ec0cee6d6 commit b58ddb1e7aeb3d124437c870de2ff74ec0cee6d6 Author: Yuri Victorovich AuthorDate: 2023-01-10 08:34:47 +0000 Commit: Yuri Victorovich CommitDate: 2023-01-10 08:35:17 +0000 devel/ftxui: New port: C++ Functional Terminal User Interface library --- devel/Makefile | 1 + devel/ftxui/Makefile | 27 +++++++++++++++++++++++++++ devel/ftxui/distinfo | 3 +++ devel/ftxui/pkg-descr | 15 +++++++++++++++ devel/ftxui/pkg-plist | 37 +++++++++++++++++++++++++++++++++++++ 5 files changed, 83 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 7c4ac1a32906..26b71e4fb3df 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -706,6 +706,7 @@ SUBDIR += fstrm SUBDIR += ftjam SUBDIR += ftnchek + SUBDIR += ftxui SUBDIR += fuel SUBDIR += functionalplus SUBDIR += fungw diff --git a/devel/ftxui/Makefile b/devel/ftxui/Makefile new file mode 100644 index 000000000000..f3583b07b65e --- /dev/null +++ b/devel/ftxui/Makefile @@ -0,0 +1,27 @@ +PORTNAME= ftxui +DISTVERSIONPREFIX= v +DISTVERSION= 3.0.0-69 +DISTVERSIONSUFFIX= -g90dfcee +CATEGORIES= devel science + +MAINTAINER= yuri@FreeBSD.org +COMMENT= C++ Functional Terminal User Interface library +WWW= https://github.com/ArthurSonzogni/FTXUI + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= cmake:testing compiler:c++17-lang +USE_LDCONFIG= yes + +USE_GITHUB= yes +GH_ACCOUNT= ArthurSonzogni +GH_PROJECT= FTXUI + +CMAKE_OFF= FTXUI_BUILD_DOCS FTXUI_BUILD_EXAMPLES FTXUI_BUILD_TESTS +CMAKE_ON= BUILD_SHARED_LIBS +CMAKE_TESTING_ON= FTXUI_BUILD_TESTS + +# tests fail to build, see https://github.com/ArthurSonzogni/FTXUI/issues/551 + +.include diff --git a/devel/ftxui/distinfo b/devel/ftxui/distinfo new file mode 100644 index 000000000000..50c875a867aa --- /dev/null +++ b/devel/ftxui/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1673338251 +SHA256 (ArthurSonzogni-FTXUI-v3.0.0-69-g90dfcee_GH0.tar.gz) = e52a5217715dd13df1be7638be5820f3429813ab9ef07c7440297ab7d9ab3f37 +SIZE (ArthurSonzogni-FTXUI-v3.0.0-69-g90dfcee_GH0.tar.gz) = 1147107 diff --git a/devel/ftxui/pkg-descr b/devel/ftxui/pkg-descr new file mode 100644 index 000000000000..76144e997aec --- /dev/null +++ b/devel/ftxui/pkg-descr @@ -0,0 +1,15 @@ +FTXUI is a simple C++ library for terminal based user interfaces. + +Feature: +* Functional style. Inspired by [1] and React +* Simple and elegant syntax (in my opinion) +* Keyboard & mouse navigation. +* Support for UTF8 and fullwidth chars +* Support for animations. Demo 1, Demo 2 +* Support for drawing. Demo +* No dependencies +* Cross platform: Linux/MacOS (main target), WebAssembly, Windows +* Learn by examples, and tutorials +* Multiple packages: CMake FetchContent (preferred), vcpkg, pkgbuild, conan. +* Good practises: documentation, tests, fuzzers, performance tests, automated + CI, automated packaging, etc diff --git a/devel/ftxui/pkg-plist b/devel/ftxui/pkg-plist new file mode 100644 index 000000000000..1b8c0a77abed --- /dev/null +++ b/devel/ftxui/pkg-plist @@ -0,0 +1,37 @@ +include/ftxui/component/animation.hpp +include/ftxui/component/captured_mouse.hpp +include/ftxui/component/component.hpp +include/ftxui/component/component_base.hpp +include/ftxui/component/component_options.hpp +include/ftxui/component/event.hpp +include/ftxui/component/loop.hpp +include/ftxui/component/mouse.hpp +include/ftxui/component/receiver.hpp +include/ftxui/component/screen_interactive.hpp +include/ftxui/component/task.hpp +include/ftxui/dom/canvas.hpp +include/ftxui/dom/deprecated.hpp +include/ftxui/dom/elements.hpp +include/ftxui/dom/flexbox_config.hpp +include/ftxui/dom/node.hpp +include/ftxui/dom/requirement.hpp +include/ftxui/dom/table.hpp +include/ftxui/dom/take_any_args.hpp +include/ftxui/screen/box.hpp +include/ftxui/screen/color.hpp +include/ftxui/screen/color_info.hpp +include/ftxui/screen/deprecated.hpp +include/ftxui/screen/screen.hpp +include/ftxui/screen/string.hpp +include/ftxui/screen/terminal.hpp +include/ftxui/util/autoreset.hpp +include/ftxui/util/ref.hpp +lib/cmake/ftxui/ftxui-config-version-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/ftxui/ftxui-config-version.cmake +lib/cmake/ftxui/ftxui-config.cmake +lib/libftxui-component.so +lib/libftxui-component.so.3.0.0 +lib/libftxui-dom.so +lib/libftxui-dom.so.3.0.0 +lib/libftxui-screen.so +lib/libftxui-screen.so.3.0.0