From 3cb4ff6455ba711677069b39bdb2e0aae6f21d9a Mon Sep 17 00:00:00 2001 From: Leonardo Taccari Date: Sun, 2 Aug 2020 16:55:39 +0200 Subject: [PATCH] clipmenu: Import clipmenu-6.1.0 as wip/clipmenu clipmenu is a simple clipboard manager using dmenu and xsel. clipmenu has many useful features, including: - Customising the maximum number of clips stored (default 1000) - Disabling clip collection temporarily with clipctl disable, reenabling with clipctl enable - Not storing clipboard changes from certain applications, like password managers - Taking direct ownership of the clipboard Still WIP, for possible more information about known problems that should be investigated please give a look to TODO. --- Makefile | 1 + clipmenu/DESCR | 10 ++++++++++ clipmenu/Makefile | 41 +++++++++++++++++++++++++++++++++++++++++ clipmenu/PLIST | 6 ++++++ clipmenu/TODO | 4 ++++ clipmenu/distinfo | 6 ++++++ 6 files changed, 68 insertions(+) create mode 100644 clipmenu/DESCR create mode 100644 clipmenu/Makefile create mode 100644 clipmenu/PLIST create mode 100644 clipmenu/TODO create mode 100644 clipmenu/distinfo diff --git a/Makefile b/Makefile index 78ce7392dc..3b5e25f22c 100644 --- a/Makefile +++ b/Makefile @@ -431,6 +431,7 @@ SUBDIR+= clfswm SUBDIR+= clhep SUBDIR+= cli-git SUBDIR+= clic +SUBDIR+= clipmenu SUBDIR+= clipnotify SUBDIR+= cliquer SUBDIR+= clisp diff --git a/clipmenu/DESCR b/clipmenu/DESCR new file mode 100644 index 0000000000..aefcd30ec8 --- /dev/null +++ b/clipmenu/DESCR @@ -0,0 +1,10 @@ +clipmenu is a simple clipboard manager using dmenu and xsel. + +clipmenu has many useful features, including: + + - Customising the maximum number of clips stored (default 1000) + - Disabling clip collection temporarily with clipctl disable, reenabling + with clipctl enable + - Not storing clipboard changes from certain applications, like password + managers + - Taking direct ownership of the clipboard diff --git a/clipmenu/Makefile b/clipmenu/Makefile new file mode 100644 index 0000000000..0be598b11d --- /dev/null +++ b/clipmenu/Makefile @@ -0,0 +1,41 @@ +# $NetBSD$ + +DISTNAME= clipmenu-6.1.0 +CATEGORIES= x11 +MASTER_SITES= ${MASTER_SITE_GITHUB:=cdown/} + +MAINTAINER= leot@NetBSD.org +HOMEPAGE= https://github.com/cdown/clipmenu/ +COMMENT= Clipboard management using dmenu +LICENSE= public-domain + +NO_BUILD= yes + +USE_TOOLS+= bash:run + +DEPENDS+= clipnotify-[0-9]*:../../wip/clipnotify +DEPENDS+= dmenu-[0-9]*:../../x11/dmenu +DEPENDS+= xsel-[0-9]*:../../x11/xsel + +REPLACE_BASH+= clipctl +REPLACE_BASH+= clipdel +REPLACE_BASH+= clipfsck +REPLACE_BASH+= clipmenu +REPLACE_BASH+= clipmenud +REPLACE_BASH+= tests/test-clipmenu +REPLACE_BASH+= tests/test-perf + +CLIPMENU_SCRIPTS+= clipctl +CLIPMENU_SCRIPTS+= clipdel +CLIPMENU_SCRIPTS+= clipmenu +CLIPMENU_SCRIPTS+= clipmenud + +INSTALLATION_DIRS= bin share/doc/clipmenu + +do-install: +.for s in ${CLIPMENU_SCRIPTS} + ${INSTALL_SCRIPT} ${WRKSRC}/${s} ${DESTDIR}${PREFIX}/bin +.endfor + ${INSTALL_DATA} ${WRKSRC}/README.md ${DESTDIR}${PREFIX}/share/doc/clipmenu + +.include "../../mk/bsd.pkg.mk" diff --git a/clipmenu/PLIST b/clipmenu/PLIST new file mode 100644 index 0000000000..d2afd4db7d --- /dev/null +++ b/clipmenu/PLIST @@ -0,0 +1,6 @@ +@comment $NetBSD$ +bin/clipctl +bin/clipdel +bin/clipmenu +bin/clipmenud +share/doc/clipmenu/README.md diff --git a/clipmenu/TODO b/clipmenu/TODO new file mode 100644 index 0000000000..882f31a58f --- /dev/null +++ b/clipmenu/TODO @@ -0,0 +1,4 @@ + - Investigate what is `truncate' tool used in clipmenud and if there is any + portable way to do what it does + - Investigate possible semantic of %N in strftime(3) (used in the date(1) + invocation, probably not portable or a typo) diff --git a/clipmenu/distinfo b/clipmenu/distinfo new file mode 100644 index 0000000000..4ca5dc09ca --- /dev/null +++ b/clipmenu/distinfo @@ -0,0 +1,6 @@ +$NetBSD$ + +SHA1 (clipmenu-6.1.0.tar.gz) = 516cd44ce8171776b2b5a073d0fac551f8adbe6a +RMD160 (clipmenu-6.1.0.tar.gz) = 396d0c231b056bb2633d74b4bbbe24548846d3c4 +SHA512 (clipmenu-6.1.0.tar.gz) = 1392b08025b564dc17ca44e43847fdea85886b89fdd5426635c9c16d204610c6a9cc19297a20cdbc2eeef2c878adbfe994a2cfd05176457ca6fcbc75bc036acc +Size (clipmenu-6.1.0.tar.gz) = 8711 bytes