From: sbogomolov <sbogomolov@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New packages: interception-tools-0.6.6, caps2esc-0.3.2
Date: Mon, 28 Jun 2021 23:33:39 +0200 [thread overview]
Message-ID: <20210628213339.T1aIOIOHrnCVGccWKXLqthzkJsVDc6uRsgcShvJGUww@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1628 bytes --]
There is an updated pull request by sbogomolov against master on the void-packages repository
https://github.com/sbogomolov/void-packages caps2esc
https://github.com/void-linux/void-packages/pull/31575
New packages: interception-tools-0.6.6, caps2esc-0.3.2
<!-- Mark items with [x] where applicable -->
#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)
#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR
<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!--
#### Does it build and run successfully?
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
- [ ] aarch64-musl
- [ ] armv7l
- [ ] armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/31575.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-caps2esc-31575.patch --]
[-- Type: text/x-diff, Size: 3546 bytes --]
From 9c0080a141feb2ac59eb62bf86b03fe5d66e250b Mon Sep 17 00:00:00 2001
From: Sergii Bogomolov <sergii@bogomolov.io>
Date: Sat, 19 Jun 2021 00:27:48 +0200
Subject: [PATCH 1/2] New package: interception-tools-0.6.6
---
srcpkgs/interception-tools/files/udevmon/run | 11 +++++++++++
srcpkgs/interception-tools/template | 18 ++++++++++++++++++
2 files changed, 29 insertions(+)
create mode 100755 srcpkgs/interception-tools/files/udevmon/run
create mode 100644 srcpkgs/interception-tools/template
diff --git a/srcpkgs/interception-tools/files/udevmon/run b/srcpkgs/interception-tools/files/udevmon/run
new file mode 100755
index 000000000000..ee170326d7b4
--- /dev/null
+++ b/srcpkgs/interception-tools/files/udevmon/run
@@ -0,0 +1,11 @@
+#!/bin/sh
+OPTS=""
+if [ -r ./conf ]; then
+ . ./conf
+ if [ ! -z "${CONF_FILE}" ]; then
+ OPTS="-c ${CONF_FILE}"
+ fi
+fi
+
+exec 2>&1
+exec udevmon ${OPTS}
diff --git a/srcpkgs/interception-tools/template b/srcpkgs/interception-tools/template
new file mode 100644
index 000000000000..b1eec7ba786c
--- /dev/null
+++ b/srcpkgs/interception-tools/template
@@ -0,0 +1,18 @@
+# Template file for 'interception-tools'
+pkgname=interception-tools
+version=0.6.6
+revision=1
+wrksrc="tools-v${version}"
+build_style=cmake
+makedepends="boost-devel eudev-libudev-devel libevdev-devel yaml-cpp-devel"
+depends="glibc eudev-libudev libevdev yaml-cpp"
+short_desc="Small set of utilities for operating on input events of evdev devices"
+maintainer="Sergii Bogomolov <sergii@bogomolov.io>"
+license="GPL-3.0-or-later"
+homepage="https://gitlab.com/interception/linux/tools"
+distfiles="https://gitlab.com/interception/linux/tools/-/archive/v${version}/tools-v${version}.tar.gz"
+checksum="6917eb7109c7514ef620f7ea184f95e7be522b8f5b226b121675c0a7f628afee"
+post_install() {
+ vdoc README.md
+ vsv udevmon
+}
From 7d267739d33e5d8679fafb401605713bc3a03149 Mon Sep 17 00:00:00 2001
From: Sergii Bogomolov <sergii@bogomolov.io>
Date: Sat, 19 Jun 2021 00:29:26 +0200
Subject: [PATCH 2/2] New package: caps2esc-0.3.2
---
srcpkgs/caps2esc/files/caps2esc.yaml.example | 4 ++++
srcpkgs/caps2esc/template | 18 ++++++++++++++++++
2 files changed, 22 insertions(+)
create mode 100644 srcpkgs/caps2esc/files/caps2esc.yaml.example
create mode 100644 srcpkgs/caps2esc/template
diff --git a/srcpkgs/caps2esc/files/caps2esc.yaml.example b/srcpkgs/caps2esc/files/caps2esc.yaml.example
new file mode 100644
index 000000000000..9a1f96bd447a
--- /dev/null
+++ b/srcpkgs/caps2esc/files/caps2esc.yaml.example
@@ -0,0 +1,4 @@
+- JOB: "intercept -g $DEVNODE | caps2esc | uinput -d $DEVNODE"
+ DEVICE:
+ EVENTS:
+ EV_KEY: [KEY_CAPSLOCK, KEY_ESC]
diff --git a/srcpkgs/caps2esc/template b/srcpkgs/caps2esc/template
new file mode 100644
index 000000000000..3d3bcc0386d8
--- /dev/null
+++ b/srcpkgs/caps2esc/template
@@ -0,0 +1,18 @@
+# Template file for 'caps2esc'
+pkgname=caps2esc
+version=0.3.2
+revision=1
+wrksrc="caps2esc-v${version}"
+build_style=cmake
+depends="interception-tools"
+short_desc="Transforming the most useless key ever in the most useful one"
+maintainer="Sergii Bogomolov <sergii@bogomolov.io>"
+license="MIT"
+homepage="https://gitlab.com/interception/linux/plugins/caps2esc"
+distfiles="https://gitlab.com/interception/linux/plugins/caps2esc/-/archive/v${version}/caps2esc-v${version}.tar.gz"
+checksum="d8a5c7a23cb7368fde2b91a0b5481d8ce906af146dd9a49f609052f2cf1d212c"
+post_install() {
+ vsconf ${FILESDIR}/caps2esc.yaml.example
+ vdoc README.md
+ vlicense LICENSE.md
+}
next parent reply other threads:[~2021-06-28 21:33 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
2021-06-28 21:33 ` sbogomolov [this message]
2021-07-11 21:57 ` sbogomolov
2021-07-12 21:13 ` sbogomolov
2021-07-12 21:32 ` sbogomolov
2021-07-13 13:46 ` sbogomolov
2021-07-15 18:25 ` sbogomolov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210628213339.T1aIOIOHrnCVGccWKXLqthzkJsVDc6uRsgcShvJGUww@z \
--to=sbogomolov@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).