* [PR PATCH] New packages: caps2esc-0.1.3, interception-tools-0.1.1
@ 2020-05-03 23:29 cgtz
2020-05-03 23:52 ` [PR PATCH] [Updated] " cgtz
2021-04-24 2:16 ` [PR PATCH] [Closed]: " cgtz
0 siblings, 2 replies; 3+ messages in thread
From: cgtz @ 2020-05-03 23:29 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 619 bytes --]
There is a new pull request by cgtz against master on the void-packages repository
https://github.com/cgtz/void-packages caps2esc-0.1.3
https://github.com/void-linux/void-packages/pull/21595
New packages: caps2esc-0.1.3, interception-tools-0.1.1
Two new packages:
* interception-tools (adapted from https://aur.archlinux.org/packages/interception-tools/)
* caps2esc (adapted from https://aur.archlinux.org/packages/interception-caps2esc/)
A service is provided to run caps2esc using tools provided by interception-tools.
A patch file from https://github.com/void-linux/void-packages/pull/21595.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-caps2esc-0.1.3-21595.patch --]
[-- Type: text/x-diff, Size: 3619 bytes --]
From 6336c75442665c55958b13f20c4096a111ec46dd Mon Sep 17 00:00:00 2001
From: Casey Getz <clg0000@gmail.com>
Date: Sun, 3 May 2020 19:44:55 -0700
Subject: [PATCH 1/2] New package: interception-tools-0.1.1
---
srcpkgs/interception-tools/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/interception-tools/template
diff --git a/srcpkgs/interception-tools/template b/srcpkgs/interception-tools/template
new file mode 100644
index 00000000000..761a99adad5
--- /dev/null
+++ b/srcpkgs/interception-tools/template
@@ -0,0 +1,15 @@
+# Template file for 'interception-tools'
+pkgname=interception-tools
+version=0.1.1
+revision=1
+wrksrc="tools-v0.1.1-92830567d8d86384fd42502aa0eb3de12584cdaf"
+build_style=cmake
+configure_args="-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release"
+makedepends="cmake gcc eudev-libudev-devel libevdev-devel yaml-cpp-devel"
+depends="eudev-libudev libevdev yaml-cpp"
+short_desc="Minimal composable infrastructure on top of libudev and libevdev"
+maintainer="Casey Getz <clg0000@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://gitlab.com/interception/linux/tools"
+distfiles="https://gitlab.com/interception/linux/tools/repository/archive.tar.gz?ref=v${version}>interception-tools-${version}.tar.gz"
+checksum="722017f78c21469ddc3f8ec151ce5522dc75c31762a82d445a0d53bfe1bde491"
From c0820c2b5706cedb921562d7f4832ead357f7aa4 Mon Sep 17 00:00:00 2001
From: Casey Getz <clg0000@gmail.com>
Date: Sun, 3 May 2020 21:38:05 -0700
Subject: [PATCH 2/2] New package: caps2esc-0.1.3
---
srcpkgs/caps2esc/files/caps2esc.yaml | 5 +++++
srcpkgs/caps2esc/files/caps2esc/run | 3 +++
srcpkgs/caps2esc/template | 23 +++++++++++++++++++++++
3 files changed, 31 insertions(+)
create mode 100644 srcpkgs/caps2esc/files/caps2esc.yaml
create mode 100644 srcpkgs/caps2esc/files/caps2esc/run
create mode 100644 srcpkgs/caps2esc/template
diff --git a/srcpkgs/caps2esc/files/caps2esc.yaml b/srcpkgs/caps2esc/files/caps2esc.yaml
new file mode 100644
index 00000000000..b5ae7f1ee53
--- /dev/null
+++ b/srcpkgs/caps2esc/files/caps2esc.yaml
@@ -0,0 +1,5 @@
+- JOB: "intercept -g $DEVNODE | caps2esc | uinput -d $DEVNODE"
+ DEVICE:
+ EVENTS:
+ EV_KEY: [KEY_CAPSLOCK, KEY_ESC]
+
diff --git a/srcpkgs/caps2esc/files/caps2esc/run b/srcpkgs/caps2esc/files/caps2esc/run
new file mode 100644
index 00000000000..d1be4bb97f0
--- /dev/null
+++ b/srcpkgs/caps2esc/files/caps2esc/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+sv check udevd >/dev/null || exit 1
+exec /usr/bin/nice -n -20 /usr/bin/udevmon -c /etc/caps2esc.yaml
diff --git a/srcpkgs/caps2esc/template b/srcpkgs/caps2esc/template
new file mode 100644
index 00000000000..7b194adb771
--- /dev/null
+++ b/srcpkgs/caps2esc/template
@@ -0,0 +1,23 @@
+# Template file for 'caps2esc'
+pkgname=caps2esc
+version=0.1.3
+revision=1
+wrksrc="caps2esc-v0.1.3-bb09cd8d9a3f04463df55cb4ba63d2d4920e04a9"
+build_style=cmake
+configure_args="-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release"
+makedepends="cmake gcc"
+depends="interception-tools"
+short_desc="Transforming the most useless key ever in the most useful one"
+maintainer="Casey Getz <clg0000@gmail.com>"
+license="MIT"
+homepage="https://gitlab.com/interception/linux/plugins/caps2esc"
+distfiles="https://gitlab.com/interception/linux/plugins/caps2esc/repository/archive.tar.gz?ref=v${version}>caps2esc-${version}.tar.gz"
+checksum="4055525a195afa8c12c2e7b3635d856bb88088383393aa48d370bacdc5b0dea4"
+
+conf_files="/etc/caps2esc.yaml"
+
+post_install() {
+ vlicense LICENSE.md
+ vinstall ${FILESDIR}/caps2esc.yaml 644 etc
+ vsv caps2esc
+}
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PR PATCH] [Updated] New packages: caps2esc-0.1.3, interception-tools-0.1.1
2020-05-03 23:29 [PR PATCH] New packages: caps2esc-0.1.3, interception-tools-0.1.1 cgtz
@ 2020-05-03 23:52 ` cgtz
2021-04-24 2:16 ` [PR PATCH] [Closed]: " cgtz
1 sibling, 0 replies; 3+ messages in thread
From: cgtz @ 2020-05-03 23:52 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 624 bytes --]
There is an updated pull request by cgtz against master on the void-packages repository
https://github.com/cgtz/void-packages caps2esc-0.1.3
https://github.com/void-linux/void-packages/pull/21595
New packages: caps2esc-0.1.3, interception-tools-0.1.1
Two new packages:
* interception-tools (adapted from https://aur.archlinux.org/packages/interception-tools/)
* caps2esc (adapted from https://aur.archlinux.org/packages/interception-caps2esc/)
A service is provided to run caps2esc using tools provided by interception-tools.
A patch file from https://github.com/void-linux/void-packages/pull/21595.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-caps2esc-0.1.3-21595.patch --]
[-- Type: text/x-diff, Size: 3583 bytes --]
From 72052cbfef95f94dc41aa6cf86da451e2bcede26 Mon Sep 17 00:00:00 2001
From: Casey Getz <clg0000@gmail.com>
Date: Sun, 3 May 2020 19:44:55 -0700
Subject: [PATCH 1/2] New package: interception-tools-0.1.1
---
srcpkgs/interception-tools/template | 15 +++++++++++++++
1 file changed, 15 insertions(+)
create mode 100644 srcpkgs/interception-tools/template
diff --git a/srcpkgs/interception-tools/template b/srcpkgs/interception-tools/template
new file mode 100644
index 00000000000..225cd13f75b
--- /dev/null
+++ b/srcpkgs/interception-tools/template
@@ -0,0 +1,15 @@
+# Template file for 'interception-tools'
+pkgname=interception-tools
+version=0.1.1
+revision=1
+wrksrc="tools-v0.1.1-92830567d8d86384fd42502aa0eb3de12584cdaf"
+build_style=cmake
+configure_args="-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release"
+makedepends="eudev-libudev-devel libevdev-devel yaml-cpp-devel"
+depends="eudev-libudev libevdev yaml-cpp"
+short_desc="Minimal composable infrastructure on top of libudev and libevdev"
+maintainer="Casey Getz <clg0000@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://gitlab.com/interception/linux/tools"
+distfiles="https://gitlab.com/interception/linux/tools/repository/archive.tar.gz?ref=v${version}>interception-tools-${version}.tar.gz"
+checksum="722017f78c21469ddc3f8ec151ce5522dc75c31762a82d445a0d53bfe1bde491"
From e971dda284e77cced772e03110450fe2ec527c2c Mon Sep 17 00:00:00 2001
From: Casey Getz <clg0000@gmail.com>
Date: Sun, 3 May 2020 21:38:05 -0700
Subject: [PATCH 2/2] New package: caps2esc-0.1.3
---
srcpkgs/caps2esc/files/caps2esc.yaml | 5 +++++
srcpkgs/caps2esc/files/caps2esc/run | 3 +++
srcpkgs/caps2esc/template | 22 ++++++++++++++++++++++
3 files changed, 30 insertions(+)
create mode 100644 srcpkgs/caps2esc/files/caps2esc.yaml
create mode 100644 srcpkgs/caps2esc/files/caps2esc/run
create mode 100644 srcpkgs/caps2esc/template
diff --git a/srcpkgs/caps2esc/files/caps2esc.yaml b/srcpkgs/caps2esc/files/caps2esc.yaml
new file mode 100644
index 00000000000..b5ae7f1ee53
--- /dev/null
+++ b/srcpkgs/caps2esc/files/caps2esc.yaml
@@ -0,0 +1,5 @@
+- JOB: "intercept -g $DEVNODE | caps2esc | uinput -d $DEVNODE"
+ DEVICE:
+ EVENTS:
+ EV_KEY: [KEY_CAPSLOCK, KEY_ESC]
+
diff --git a/srcpkgs/caps2esc/files/caps2esc/run b/srcpkgs/caps2esc/files/caps2esc/run
new file mode 100644
index 00000000000..d1be4bb97f0
--- /dev/null
+++ b/srcpkgs/caps2esc/files/caps2esc/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+sv check udevd >/dev/null || exit 1
+exec /usr/bin/nice -n -20 /usr/bin/udevmon -c /etc/caps2esc.yaml
diff --git a/srcpkgs/caps2esc/template b/srcpkgs/caps2esc/template
new file mode 100644
index 00000000000..d7805af3218
--- /dev/null
+++ b/srcpkgs/caps2esc/template
@@ -0,0 +1,22 @@
+# Template file for 'caps2esc'
+pkgname=caps2esc
+version=0.1.3
+revision=1
+wrksrc="caps2esc-v0.1.3-bb09cd8d9a3f04463df55cb4ba63d2d4920e04a9"
+build_style=cmake
+configure_args="-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release"
+depends="interception-tools"
+short_desc="Transforming the most useless key ever in the most useful one"
+maintainer="Casey Getz <clg0000@gmail.com>"
+license="MIT"
+homepage="https://gitlab.com/interception/linux/plugins/caps2esc"
+distfiles="https://gitlab.com/interception/linux/plugins/caps2esc/repository/archive.tar.gz?ref=v${version}>caps2esc-${version}.tar.gz"
+checksum="4055525a195afa8c12c2e7b3635d856bb88088383393aa48d370bacdc5b0dea4"
+
+conf_files="/etc/caps2esc.yaml"
+
+post_install() {
+ vlicense LICENSE.md
+ vinstall ${FILESDIR}/caps2esc.yaml 644 etc
+ vsv caps2esc
+}
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PR PATCH] [Closed]: New packages: caps2esc-0.1.3, interception-tools-0.1.1
2020-05-03 23:29 [PR PATCH] New packages: caps2esc-0.1.3, interception-tools-0.1.1 cgtz
2020-05-03 23:52 ` [PR PATCH] [Updated] " cgtz
@ 2021-04-24 2:16 ` cgtz
1 sibling, 0 replies; 3+ messages in thread
From: cgtz @ 2021-04-24 2:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 467 bytes --]
There's a closed pull request on the void-packages repository
New packages: caps2esc-0.1.3, interception-tools-0.1.1
https://github.com/void-linux/void-packages/pull/21595
Description:
Two new packages:
* interception-tools (adapted from https://aur.archlinux.org/packages/interception-tools/)
* caps2esc (adapted from https://aur.archlinux.org/packages/interception-caps2esc/)
A service is provided to run caps2esc using tools provided by interception-tools.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-04-24 2:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-03 23:29 [PR PATCH] New packages: caps2esc-0.1.3, interception-tools-0.1.1 cgtz
2020-05-03 23:52 ` [PR PATCH] [Updated] " cgtz
2021-04-24 2:16 ` [PR PATCH] [Closed]: " cgtz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).