pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

xcape: import xcape-1.2

Module Name:	pkgsrc-wip
Committed By:	pickles <>
Pushed By:	pickles
Date:		Mon Feb 14 01:09:10 2022 +0100
Changeset:	7b0cc1424ea425cec783dc849677cc3875db841b

Modified Files:
Added Files:

Log Message:
xcape: import xcape-1.2

xcape allows you to use a modifier key as another key when pressed and
released on its own.

To see a diff of this commit:;a=commitdiff;h=7b0cc1424ea425cec783dc849677cc3875db841b

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

 Makefile       |  1 +
 xcape/DESCR    |  7 +++++++
 xcape/Makefile | 26 ++++++++++++++++++++++++++
 xcape/PLIST    |  3 +++
 xcape/distinfo |  5 +++++
 5 files changed, 42 insertions(+)

diff --git a/Makefile b/Makefile
index 89eaf0d9d3..f910fc923c 100644
--- a/Makefile
+++ b/Makefile
@@ -5935,6 +5935,7 @@ SUBDIR+=	xbelmark
 SUBDIR+=	xbnbt
 SUBDIR+=	xbps
 SUBDIR+=	xbsql
+SUBDIR+=	xcape
 SUBDIR+=	xcb-util-xrm-git
 SUBDIR+=	xchat2-tcl
 SUBDIR+=	xdiskusage
diff --git a/xcape/DESCR b/xcape/DESCR
new file mode 100644
index 0000000000..3db56eb235
--- /dev/null
+++ b/xcape/DESCR
@@ -0,0 +1,7 @@
+xcape allows you to use a modifier key as another key when pressed and
+released on its own. Note that it is slightly slower than pressing the
+original key, because the pressed event does not occur until the key is
+released. The default behaviour is to generate the Escape key when Left
+Control is pressed and released on its own. (If you don't understand why
+anybody would want this, I'm guessing that Vim is not your favourite text
+editor ;)
diff --git a/xcape/Makefile b/xcape/Makefile
new file mode 100644
index 0000000000..a476b65357
--- /dev/null
+++ b/xcape/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD$
+DISTNAME=	xcape-1.2
+CATEGORIES=	sysutils x11
+COMMENT=	Configure modifier keys to act as other keys when pressed
+LICENSE=	gnu-gpl-v3
+USE_TOOLS+=	pkg-config gmake
+SUBST_CLASSES+=		makefile
+SUBST_STAGE.makefile=	pre-build
+SUBST_MESSAGE.makefile=	Fixing makefile
+SUBST_FILES.makefile=	Makefile
+SUBST_SED.makefile=	-e 's,/usr,${PREFIX},g'
+SUBST_SED.makefile+=	-e 's,local/man,${PKGMANDIR},g'
+.include "../../x11/libX11/"
+.include "../../x11/libXtst/"
+.include "../../x11/libXi/"
+.include "../../mk/"
diff --git a/xcape/PLIST b/xcape/PLIST
new file mode 100644
index 0000000000..1baf48aadc
--- /dev/null
+++ b/xcape/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD$
diff --git a/xcape/distinfo b/xcape/distinfo
new file mode 100644
index 0000000000..8e4f32c069
--- /dev/null
+++ b/xcape/distinfo
@@ -0,0 +1,5 @@
+BLAKE2s (xcape-1.2.tar.gz) = b8fa5a1da07d13a8f9f8f1ce267f0ca672d724829661d30360de22dd0c7279f6
+SHA512 (xcape-1.2.tar.gz) = 5ae8502250a9ec55a4b0c5f7301c1597c652b76904261153b720362e3c5882e8db980c85396a2594f99ae2fb72ab7070c1b06c9432d54b7da84975ff45b25a79
+Size (xcape-1.2.tar.gz) = 18730 bytes

Home | Main Index | Thread Index | Old Index