From nobody Mon Dec 26 16:27:12 2022 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 4NgjqN41MTz2Fvj9; Mon, 26 Dec 2022 16:27:12 +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 4NgjqN3Pjyz4QfH; Mon, 26 Dec 2022 16:27:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672072032; 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=oQqD9gy/rR9rA4me1UERHRBXUoRbYfyKZKTgO6jwN2U=; b=WsmHEESaZq2vxNXRNTG4ujypOk4PtkTdtlp5kHvnJmBhQEwsuzWNNHvBS44Dzvxg0C7Zjm lLwtrSsJMDkHnpJ/tosLR/NjWYHNDtilvWSu0izKFyDbsto0qgyBI4vndjV/hGjgEB6tIB U9AWukoCd7BQF7MVpias5z069Ri0h6RV+5/yOEgWGeY45VSx0V4x8zXj+Y7DgUSzZwaDhv fmstftq6PCNaXwA6ojA/W1OS9fiSKBSoU6UYSrsvoQEYcu6qzS7/f4lXpaRu6+d2Js+uZN AiRXEWhNEJPXLJRYkJzjfem4nis3KbcBIRMkaNMoq5zhJNUjgwlzt7ATWLMb6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1672072032; 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=oQqD9gy/rR9rA4me1UERHRBXUoRbYfyKZKTgO6jwN2U=; b=eQISED0NVQEOAeKpWy8iKXVEO/WTgiubqp5QX+RITkVOS6o0GlzqCS5oBuz26KKOv23MfT qA+0/IiGK+hYtPVMQcloSaU8GMFR2zdVvsFLVbXliUY7pUutnx6ibFIiMxJHZCX/+vVqV3 D0EYDpWxsM/PIzvK4Vdl5vweQvacrVbAFGrCwbjCO9Clej381M1xw4Cvv4v0IFrGYTQbOQ wpYcq5QBMcUMGNpJ2CgF1M8dXVJejtk46dufiCnKfgGC4/oBpOrBTZX8Y6iEZf7TNUGymN xhmB8IkqmMpn2lPeGFnIYBV+fCyznLwpGioCQ4faJVJM8CgAx2JO6/KJ1wHKVQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1672072032; a=rsa-sha256; cv=none; b=Chx52i3rh1I34RZ8siaop+6rWhIE6d6WSTj586BB3S4dCN7iKJWsRZId9VuJ76CkVgKKij c4rsncaqWCc6DachmgVY02l/2rSFv3bd91LTZ/cy0b//nUN3q2OkbiDPo5Xq5+qwbSclBl 6s6QgOMgKnmWBxt9sSZEqNU8PKh4gjg2GhoxlFpZXDojPM0VxynciUj+cshj8BS6HqQR34 7qfe4f5+AjMweuJuvNTP8mKuz391EYU5bgXr7Xv36kh6qMW0nvDyg37LDm9tbkAfgzp55y ip+NzBfCs8Pv8G5XeQKi1PUND6Sev9PJ+8HczgwSSeN/vrNpBqz/74suphg1Ug== 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 4NgjqN2JszzdD7; Mon, 26 Dec 2022 16:27:12 +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 2BQGRC3G069037; Mon, 26 Dec 2022 16:27:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BQGRCQJ069036; Mon, 26 Dec 2022 16:27:12 GMT (envelope-from git) Date: Mon, 26 Dec 2022 16:27:12 GMT Message-Id: <202212261627.2BQGRCQJ069036@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: 835345903638 - main - x11/cliphist: add new port 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: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 835345903638cc1f348e0a81f479a18dadc44b98 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=835345903638cc1f348e0a81f479a18dadc44b98 commit 835345903638cc1f348e0a81f479a18dadc44b98 Author: Jan Beich AuthorDate: 2022-03-12 12:54:40 +0000 Commit: Jan Beich CommitDate: 2022-12-26 16:25:11 +0000 x11/cliphist: add new port cliphist is clipboard history "manager" for wayland - write clipboard changes to a history file - recall history with dmenu (for example) - both text and images are supported - clipboard is preserved byte-for-byte - leading / trailing whitespace / no whitespace or newlines are preserved - won’t break fancy editor selections like vim wordwise, linewise, block mode - no concept of a picker, only pipes https://github.com/sentriz/cliphist --- x11/Makefile | 1 + x11/cliphist/Makefile | 32 ++++++++++++++++++++++++++++++++ x11/cliphist/distinfo | 9 +++++++++ x11/cliphist/pkg-descr | 11 +++++++++++ 4 files changed, 53 insertions(+) diff --git a/x11/Makefile b/x11/Makefile index 7bed8e4f543d..c62452c55323 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -39,6 +39,7 @@ SUBDIR += cinnamon-session SUBDIR += cl-clx SUBDIR += cl-clx-sbcl + SUBDIR += cliphist SUBDIR += clipman SUBDIR += compton-conf SUBDIR += conlecterm diff --git a/x11/cliphist/Makefile b/x11/cliphist/Makefile new file mode 100644 index 000000000000..566ad48cba77 --- /dev/null +++ b/x11/cliphist/Makefile @@ -0,0 +1,32 @@ +PORTNAME= cliphist +DISTVERSIONPREFIX= v +DISTVERSION= 0.3.1 +CATEGORIES= x11 wayland + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= Wayland clipboard manager +WWW= https://github.com/sentriz/cliphist + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= go:modules +USE_GITHUB= yes +GH_ACCOUNT= sentriz +GH_TUPLE= etcd-io:bbolt:v1.3.6:etcd_io_bbolt/vendor/go.etcd.io/bbolt \ + golang:sys:3681064d5158:golang_sys/vendor/golang.org/x/sys \ + matryer:is:v1.4.0:matryer_is/vendor/github.com/matryer/is +PLIST_FILES= bin/${PORTNAME} + +OPTIONS_DEFINE= FZF +OPTIONS_DEFAULT=FZF + +FZF_DESC= Script with only unique lines and previews +FZF_RUN_DEPENDS= fzf:textproc/fzf +FZF_PLIST_FILES= bin/${PORTNAME}-fzf + +post-install-FZF-on: + @${INSTALL_SCRIPT} ${WRKSRC}/contrib/${FZF_PLIST_FILES:T} \ + ${STAGEDIR}${PREFIX}/bin + +.include diff --git a/x11/cliphist/distinfo b/x11/cliphist/distinfo new file mode 100644 index 000000000000..ac2cf9a81134 --- /dev/null +++ b/x11/cliphist/distinfo @@ -0,0 +1,9 @@ +TIMESTAMP = 1647089680 +SHA256 (sentriz-cliphist-v0.3.1_GH0.tar.gz) = 381b92356e76229c5d15c2d42b3ee63734b7463aacbd200087abd6ed3c30c5ce +SIZE (sentriz-cliphist-v0.3.1_GH0.tar.gz) = 18757 +SHA256 (etcd-io-bbolt-v1.3.6_GH0.tar.gz) = a2e524f7f32c44fa0765de192ac0789c585010cadd2c2ddcf9518e858a96ec1f +SIZE (etcd-io-bbolt-v1.3.6_GH0.tar.gz) = 98025 +SHA256 (golang-sys-3681064d5158_GH0.tar.gz) = c084b1b6a081b78986c7364ec483397d6c128aa447ab672aa132fda309bd4db7 +SIZE (golang-sys-3681064d5158_GH0.tar.gz) = 1258557 +SHA256 (matryer-is-v1.4.0_GH0.tar.gz) = 9fdffa00496e767c2585c2fd7dbb018bee65b6f65f95aaeb96966719fbdd3ddc +SIZE (matryer-is-v1.4.0_GH0.tar.gz) = 89607 diff --git a/x11/cliphist/pkg-descr b/x11/cliphist/pkg-descr new file mode 100644 index 000000000000..c55beb34ab16 --- /dev/null +++ b/x11/cliphist/pkg-descr @@ -0,0 +1,11 @@ +cliphist is clipboard history "manager" for wayland + +- write clipboard changes to a history file +- recall history with dmenu (for example) +- both text and images are supported +- clipboard is preserved byte-for-byte + - leading / trailing whitespace / no whitespace or newlines are + preserved + - won’t break fancy editor selections like vim wordwise, linewise, + block mode +- no concept of a picker, only pipes