From nobody Sun Aug 11 02:58:27 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 4WhMm33RzXz5SJF9; Sun, 11 Aug 2024 02:58:27 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WhMm31ZGLz4gLm; Sun, 11 Aug 2024 02:58:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723345107; 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=Dr9iGpxm7v2/12gxD7pBjkBzzYm1q0bk+ZGBF6Ods9c=; b=rqPkdLpH6W68uV3DdXXcihHoaPtJYwgw4cqYQndewTf2jY5KxAlWWeOgIYXFxrkTsySgff tKxOXXFsptB9frkHZ2KkYXXpiglI6dHwqTn0u8jrF/UPqFIcjx3wdhjIsq/+3dmwihx4FW SsWMKUwq7iniYH3dDUyvSYYogicRaQ2G26+E3Oj+5MMF0ry/bvOqGA2WbbmMrxTQj5IMHH k90uksQ1pG3zpDR3K+d9fgxyUrJC5LtvZYgVIUEtCTOe8+YINU0G25X8ttU91Qjz5DvcgI hqyiG0mv2inV7OR8VC83Ov8eLubbjdHDHC1EAQRrtEtLyo/9bi35HQcSCt2UMA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723345107; a=rsa-sha256; cv=none; b=Mfuws2rwJYFBZ5liKzNilRzMrDUpYbEuWC3TxkhQG+IslQMNweKJ5XN+bz9Ro+b/a8kWWD VcLXvGhctp2BKqpTe8vh/jO8XGN0ADwAWTG09hiMstIcBOPHNYgMqtgb+2Mj+wJ//80piG PFZIGiKqW2ajji24Mci2zalAiL13Nrz1rmGWctBo7B40RYYw4T3xJhrGEkMnHXf5X/npgk SAEBbXCmnrHvPTkUefRMf+FDQtgYmWmsvxKfIPcfeQcDczOu7+Q6fZN74/QiWLLc35NQbk ntpRXjf8OBWnmmS3u4bcFWN1pUnbFm0g4kXJtu9RZexOkwmhA6oA9o1AFwnN4g== 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=1723345107; 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=Dr9iGpxm7v2/12gxD7pBjkBzzYm1q0bk+ZGBF6Ods9c=; b=mMlargulUSR6lpQJasU+W8RxcCa1a7Jtc6vWB87V29sfG633Skq6VICECF41khyHKnFD7G SSuC+yL0msLNUAwVz62rIMfUt75mZRANzjZPfpfp99ejeDd2TCj9GlN59Ml/3V3uHNUQ+g NLgPhWgDBKQ7E0arOmrWhemun7hQra6ZQsx1GYT7SMauB1mdmhDrCzw8Ulfb+p3+rTSTWW Y4Wj+ajGO4cbT73xx5MMweg/2snGnb4eqaJZ0wnNZC4OJQOZKJFKQC6ZSrY/MJ2tV6FmSS ZhOoA+tuHzFya168tFfAhtO/ROcHr9AJ5G1sdKdCAl7cxKR/NdRNi4x5ejxB/w== 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 4WhMm317C4zR2c; Sun, 11 Aug 2024 02:58:27 +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 47B2wRTg085863; Sun, 11 Aug 2024 02:58:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47B2wRVY085860; Sun, 11 Aug 2024 02:58:27 GMT (envelope-from git) Date: Sun, 11 Aug 2024 02:58:27 GMT Message-Id: <202408110258.47B2wRVY085860@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: 713a610437d1 - main - devel/comlin: New port: Small self-contained alternative to readline and libedit 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: 713a610437d168a3224dd5f4928de9e0705e20ed Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=713a610437d168a3224dd5f4928de9e0705e20ed commit 713a610437d168a3224dd5f4928de9e0705e20ed Author: Yuri Victorovich AuthorDate: 2024-08-11 02:56:11 +0000 Commit: Yuri Victorovich CommitDate: 2024-08-11 02:58:24 +0000 devel/comlin: New port: Small self-contained alternative to readline and libedit PR: 280602 Reported by: Daniel Engberg --- devel/Makefile | 1 + devel/comlin/Makefile | 27 +++++++++++++++++++++++++++ devel/comlin/distinfo | 3 +++ devel/comlin/files/patch-meson.build | 21 +++++++++++++++++++++ devel/comlin/pkg-descr | 11 +++++++++++ 5 files changed, 63 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 7641d67b405b..87d1846b8477 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -454,6 +454,7 @@ SUBDIR += color SUBDIR += colorgcc SUBDIR += colormake + SUBDIR += comlin SUBDIR += commit-patch SUBDIR += commitizen SUBDIR += commoncpp diff --git a/devel/comlin/Makefile b/devel/comlin/Makefile new file mode 100644 index 000000000000..61b1fda74c26 --- /dev/null +++ b/devel/comlin/Makefile @@ -0,0 +1,27 @@ +PORTNAME= comlin # fork of github.com/antirez/linenoise (port devel/linenoise) +DISTVERSION= g20240315 +CATEGORIES= devel + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Small self-contained alternative to readline and libedit +WWW= https://github.com/drobilla/comlin + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= meson +USE_LDCONFIG= yes + +USE_GITHUB= yes +GH_ACCOUNT= drobilla +GH_TAGNAME= 4d13650 + +MESON_ARGS= -Ddocs=disabled + +PLIST_FILES= include/comlin.h \ + lib/libcomlin.so \ + lib/libcomlin.so.0 \ + lib/libcomlin.so.0.0.1 \ + libdata/pkgconfig/comlin.pc + +.include diff --git a/devel/comlin/distinfo b/devel/comlin/distinfo new file mode 100644 index 000000000000..b442c2e25db6 --- /dev/null +++ b/devel/comlin/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1723344871 +SHA256 (drobilla-comlin-g20240315-4d13650_GH0.tar.gz) = 6d570794d707db5f317ac979f83ce90f3eeeb8b3815cc0751ca91ff0557d08af +SIZE (drobilla-comlin-g20240315-4d13650_GH0.tar.gz) = 27762 diff --git a/devel/comlin/files/patch-meson.build b/devel/comlin/files/patch-meson.build new file mode 100644 index 000000000000..134976df3902 --- /dev/null +++ b/devel/comlin/files/patch-meson.build @@ -0,0 +1,21 @@ +--- meson.build.orig 2024-03-15 21:01:28 UTC ++++ meson.build +@@ -17,8 +17,7 @@ major_version = meson.project_version().split('.')[0] + comlin_src_root = meson.current_source_dir() + comlin_build_root = meson.current_build_dir() + major_version = meson.project_version().split('.')[0] +-version_suffix = '-@0@'.format(major_version) +-versioned_name = 'comlin' + version_suffix ++versioned_name = 'comlin' + + ####################### + # Compilers and Flags # +@@ -124,7 +123,7 @@ meson.override_dependency(versioned_name, comlin_dep) + meson.override_dependency(versioned_name, comlin_dep) + + # Install header to a versioned include directory +-install_headers(c_headers, subdir: versioned_name / 'comlin') ++install_headers(c_headers) + + ######### + # Tests # diff --git a/devel/comlin/pkg-descr b/devel/comlin/pkg-descr new file mode 100644 index 000000000000..d26e37a923e5 --- /dev/null +++ b/devel/comlin/pkg-descr @@ -0,0 +1,11 @@ +comlin is a minimal, zero-config, BSD licensed, readline replacement used +in Redis, MongoDB, Android and many other projects. + +Features: +* Single and multi line editing mode with the usual key bindings implemented. +* History handling. +* Completion. +* Hints (suggestions at the right of the prompt as you type). +* Multiplexing mode, with prompt hiding/restoring for asynchronous output. +* About ~850 lines (comments and spaces excluded) of BSD license source code. +* Only uses a subset of VT100 escapes (ANSI.SYS compatible).