From nobody Wed Jun 05 08:32:03 2024 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 4VvLKv2cPcz5MNgh; Wed, 05 Jun 2024 08:32:03 +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 4VvLKv25flz4HXg; Wed, 5 Jun 2024 08:32:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717576323; 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=c3wfd8OKdVPNryDd6cFbsSL0xhYe9p3avtRc31AWiZI=; b=GENXfw+jit9p6bIpiNB4GtR3vCoVDz8PtMrMF7GxDVUIEg9sNifSlXbUrh5I99VgIvYADn 2tE8cxCffhWVzvzAtAwmdbGS6Ct8NrF+m9KWyA5/uF8y3KWlDxPObaQ4wptKxnaxT8X2Nl NQLBBo1R4huuJYITymoHrJZCGXQUVVbDjkE8xpQZUJXHIx+g9XionIFnyfLBsBhAk4X878 rO6E0VFcOq09S23ZuNfkHoZVBS8s1ClQwSgTQp39SSvvz1DfgxchiUk1XOpSJuJC5ynmlk Yfh/1fedO+0NCMiQ2r7h6q71iI+jttQyVHOqMpisKMKDLu3BVHnqBmRyiiQOkw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1717576323; a=rsa-sha256; cv=none; b=Xx1IzlINeY5n+E5j1YMkhm9QUT0Cx1g02ix+4NptPkP36HkwcvheN0XeynjZrNxa5J4mPV 2SzQFhY0Myess56GK4MQ/e7pjoCLMLVvUzerXU1cGWjPS+0+CZBGoJiQnJp+Y7SSQKA9vD AfhC57ELKaY6jaybrJGj9s5lKEn7bZCBgKBZ9he0l9R8pewomXgIUp0CVC9Qd8zOU2rcB8 LgFNMxLexsVA8FiildHVC0DVNcGcygDPb9/dceD4EkEIpWSNeD41FEEYq/Bx0Pq5CVQysf 4tIHpa52fTj/6VY6jjOrE56jfmcvRkvZoZqXQtN8Yn+EN/tks8ZfkZ8ie9X4xA== 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=1717576323; 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=c3wfd8OKdVPNryDd6cFbsSL0xhYe9p3avtRc31AWiZI=; b=hOaXqY/x5sxn7j+iR6e0e50TnVmM8AWaybUWYHtg6iV4BnxDJyROQUQVJacUeJoqM13GNC qAJFdfpLyPrNGZmVCu/jNeqLCYYbEM20RFmjw45mRqs9cbURL2EvlOtBk14X47BIb1VRhs 47PpipAh2RyLMDHINzkxRYPFg6YFQjdDyN9DWFpfhrDWkYIupxVzKgFkAqfI9l1deB5q90 SJx8MbSoqmI3PCTPSP+FYRz+RH7+JXc8vXPQSWeW4E2mllbpR58b4FKif6EtGpFBBuVC/8 U5lgsbqeMvMMDLbjx316NjgmYsJF9H/Q9ywO1eBI/kjcB1CMPKPVr90NUBfe1A== 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 4VvLKv1hvyzvq8; Wed, 5 Jun 2024 08:32:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 4558W3JK038801; Wed, 5 Jun 2024 08:32:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 4558W37q038798; Wed, 5 Jun 2024 08:32:03 GMT (envelope-from git) Date: Wed, 5 Jun 2024 08:32:03 GMT Message-Id: <202406050832.4558W37q038798@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: 3f7756e2eaa2 - main - misc/rgb-tui: New port: Create and get color codes from the terminal using a nice interface 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: 3f7756e2eaa2440f421cf93adfd75eac8de02358 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=3f7756e2eaa2440f421cf93adfd75eac8de02358 commit 3f7756e2eaa2440f421cf93adfd75eac8de02358 Author: Yuri Victorovich AuthorDate: 2024-06-05 08:31:20 +0000 Commit: Yuri Victorovich CommitDate: 2024-06-05 08:32:00 +0000 misc/rgb-tui: New port: Create and get color codes from the terminal using a nice interface --- misc/Makefile | 1 + misc/rgb-tui/Makefile | 25 +++++++++++++++++++++++++ misc/rgb-tui/distinfo | 3 +++ misc/rgb-tui/files/patch-CMakeLists.txt | 22 ++++++++++++++++++++++ misc/rgb-tui/pkg-descr | 1 + 5 files changed, 52 insertions(+) diff --git a/misc/Makefile b/misc/Makefile index a6b24afe27e7..448561e32c74 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -543,6 +543,7 @@ SUBDIR += ree SUBDIR += retry SUBDIR += rfc + SUBDIR += rgb-tui SUBDIR += ringtonetools SUBDIR += rname SUBDIR += rpl diff --git a/misc/rgb-tui/Makefile b/misc/rgb-tui/Makefile new file mode 100644 index 000000000000..f36702cd3728 --- /dev/null +++ b/misc/rgb-tui/Makefile @@ -0,0 +1,25 @@ +PORTNAME= rgb-tui +DISTVERSIONPREFIX= v +DISTVERSION= 1.1-6 +DISTVERSIONSUFFIX= -g207f0d9 +CATEGORIES= misc + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Create and get color codes from the terminal using a nice interface +WWW= https://github.com/ArthurSonzogni/rgb-tui + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libclip.so:x11/clip \ + libfmt.so:devel/libfmt \ + libftxui-screen.so:devel/ftxui + +USES= cmake localbase:ldflags + +USE_GITHUB= yes +GH_ACCOUNT= ArthurSonzogni + +PLIST_FILES= bin/${PORTNAME} + +.include diff --git a/misc/rgb-tui/distinfo b/misc/rgb-tui/distinfo new file mode 100644 index 000000000000..a8d904ea4eaf --- /dev/null +++ b/misc/rgb-tui/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1717555847 +SHA256 (ArthurSonzogni-rgb-tui-v1.1-6-g207f0d9_GH0.tar.gz) = 57d90a67fddf822e78bf24849b30a9dad0e66f7ff788cd1a83eedcc300204c1b +SIZE (ArthurSonzogni-rgb-tui-v1.1-6-g207f0d9_GH0.tar.gz) = 16785409 diff --git a/misc/rgb-tui/files/patch-CMakeLists.txt b/misc/rgb-tui/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..a51ca354c1fb --- /dev/null +++ b/misc/rgb-tui/files/patch-CMakeLists.txt @@ -0,0 +1,22 @@ +--- CMakeLists.txt.orig 2024-06-02 14:31:17 UTC ++++ CMakeLists.txt +@@ -9,6 +9,7 @@ set(BUILD_SHARED_LIBS FALSE) + set(BUILD_SHARED_LIBS FALSE) + + # --- Fetch FTXUI -------------------------------------------------------------- ++if (FALSE) + include(FetchContent) + + set(FETCHCONTENT_UPDATES_DISCONNECTED TRUE) +@@ -45,6 +46,11 @@ endif() + add_subdirectory(${clip_SOURCE_DIR} ${clip_BINARY_DIR} EXCLUDE_FROM_ALL) + target_include_directories(clip INTERFACE ${clip_SOURCE_DIR}) + endif() ++ ++endif() ++ ++find_package(ftxui) ++find_package(fmt) + + # ------------------------------------------------------------------------------ + diff --git a/misc/rgb-tui/pkg-descr b/misc/rgb-tui/pkg-descr new file mode 100644 index 000000000000..1bf5a47a90d4 --- /dev/null +++ b/misc/rgb-tui/pkg-descr @@ -0,0 +1 @@ +rgb-tui is a color picker with a terminal UI.