* Re: New packages: interception-tools-0.6.6, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
2021-06-28 21:33 ` [PR PATCH] [Updated] New packages: interception-tools-0.6.6, caps2esc-0.3.2 sbogomolov
@ 2021-06-28 22:00 ` sbogomolov
2021-06-28 22:01 ` sbogomolov
` (47 subsequent siblings)
49 siblings, 0 replies; 50+ messages in thread
From: sbogomolov @ 2021-06-28 22:00 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 204 bytes --]
New comment by sbogomolov on void-packages repository
https://github.com/void-linux/void-packages/pull/31575#issuecomment-870073212
Comment:
I've added README files as docs. It's better than nothing :)
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: New packages: interception-tools-0.6.6, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
2021-06-28 21:33 ` [PR PATCH] [Updated] New packages: interception-tools-0.6.6, caps2esc-0.3.2 sbogomolov
2021-06-28 22:00 ` sbogomolov
@ 2021-06-28 22:01 ` sbogomolov
2021-07-10 21:55 ` sbogomolov
` (46 subsequent siblings)
49 siblings, 0 replies; 50+ messages in thread
From: sbogomolov @ 2021-06-28 22:01 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 215 bytes --]
New comment by sbogomolov on void-packages repository
https://github.com/void-linux/void-packages/pull/31575#issuecomment-870073669
Comment:
Is there something I have to do in order to get that workflow approval?
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: New packages: interception-tools-0.6.6, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
` (2 preceding siblings ...)
2021-06-28 22:01 ` sbogomolov
@ 2021-07-10 21:55 ` sbogomolov
2021-07-11 3:15 ` ericonr
` (45 subsequent siblings)
49 siblings, 0 replies; 50+ messages in thread
From: sbogomolov @ 2021-07-10 21:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 357 bytes --]
New comment by sbogomolov on void-packages repository
https://github.com/void-linux/void-packages/pull/31575#issuecomment-877709337
Comment:
This is my first contribution, so I have no idea how long it should take until the first reaction or until the workflow to run the CI gets approved. Are the re some steps I should take in order for this to happen?
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: New packages: interception-tools-0.6.6, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
` (3 preceding siblings ...)
2021-07-10 21:55 ` sbogomolov
@ 2021-07-11 3:15 ` ericonr
2021-07-11 3:16 ` [PR REVIEW] " ericonr
` (44 subsequent siblings)
49 siblings, 0 replies; 50+ messages in thread
From: ericonr @ 2021-07-11 3:15 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 304 bytes --]
New comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/31575#issuecomment-877734538
Comment:
Pinging the PR is ok, or join us on IRC and mention it. We can't configure GH to auto-allow CI :/
New package PRs are usually quite low priority, unfortunately.
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR REVIEW] New packages: interception-tools-0.6.6, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
` (4 preceding siblings ...)
2021-07-11 3:15 ` ericonr
@ 2021-07-11 3:16 ` ericonr
2021-07-11 3:18 ` ericonr
` (43 subsequent siblings)
49 siblings, 0 replies; 50+ messages in thread
From: ericonr @ 2021-07-11 3:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 216 bytes --]
New review comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/31575#discussion_r667414259
Comment:
Doesn't upstream have their own examples? I'd rather not vendor this.
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR REVIEW] New packages: interception-tools-0.6.6, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
` (5 preceding siblings ...)
2021-07-11 3:16 ` [PR REVIEW] " ericonr
@ 2021-07-11 3:18 ` ericonr
2021-07-11 3:18 ` ericonr
` (42 subsequent siblings)
49 siblings, 0 replies; 50+ messages in thread
From: ericonr @ 2021-07-11 3:18 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 202 bytes --]
New review comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/31575#discussion_r667414325
Comment:
You should add to OPTS so user can add their own stuff.
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR REVIEW] New packages: interception-tools-0.6.6, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
` (6 preceding siblings ...)
2021-07-11 3:18 ` ericonr
@ 2021-07-11 3:18 ` ericonr
2021-07-11 21:30 ` sbogomolov
` (41 subsequent siblings)
49 siblings, 0 replies; 50+ messages in thread
From: ericonr @ 2021-07-11 3:18 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 262 bytes --]
New review comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/31575#discussion_r667414389
Comment:
All of the depends here should be detected automatically. Listing glibc also breaks musl builds for no good reason.
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: New packages: interception-tools-0.6.6, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
` (7 preceding siblings ...)
2021-07-11 3:18 ` ericonr
@ 2021-07-11 21:30 ` sbogomolov
2021-07-11 21:30 ` [PR REVIEW] " sbogomolov
` (40 subsequent siblings)
49 siblings, 0 replies; 50+ messages in thread
From: sbogomolov @ 2021-07-11 21:30 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 185 bytes --]
New comment by sbogomolov on void-packages repository
https://github.com/void-linux/void-packages/pull/31575#issuecomment-877864388
Comment:
Thanks, I'll try IRC channel next time :)
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR REVIEW] New packages: interception-tools-0.6.6, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
` (8 preceding siblings ...)
2021-07-11 21:30 ` sbogomolov
@ 2021-07-11 21:30 ` sbogomolov
2021-07-11 21:31 ` sbogomolov
` (39 subsequent siblings)
49 siblings, 0 replies; 50+ messages in thread
From: sbogomolov @ 2021-07-11 21:30 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 203 bytes --]
New review comment by sbogomolov on void-packages repository
https://github.com/void-linux/void-packages/pull/31575#discussion_r667538058
Comment:
It does. I'll remove this example in the next commit.
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR REVIEW] New packages: interception-tools-0.6.6, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
` (9 preceding siblings ...)
2021-07-11 21:30 ` [PR REVIEW] " sbogomolov
@ 2021-07-11 21:31 ` sbogomolov
2021-07-11 21:31 ` sbogomolov
` (38 subsequent siblings)
49 siblings, 0 replies; 50+ messages in thread
From: sbogomolov @ 2021-07-11 21:31 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 186 bytes --]
New review comment by sbogomolov on void-packages repository
https://github.com/void-linux/void-packages/pull/31575#discussion_r667538089
Comment:
I'll change this in the next commit.
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR REVIEW] New packages: interception-tools-0.6.6, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
` (10 preceding siblings ...)
2021-07-11 21:31 ` sbogomolov
@ 2021-07-11 21:31 ` sbogomolov
2021-07-11 21:55 ` sbogomolov
` (37 subsequent siblings)
49 siblings, 0 replies; 50+ messages in thread
From: sbogomolov @ 2021-07-11 21:31 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 190 bytes --]
New review comment by sbogomolov on void-packages repository
https://github.com/void-linux/void-packages/pull/31575#discussion_r667538155
Comment:
I'll try to build without listing those.
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR REVIEW] New packages: interception-tools-0.6.6, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
` (11 preceding siblings ...)
2021-07-11 21:31 ` sbogomolov
@ 2021-07-11 21:55 ` sbogomolov
2021-07-11 21:57 ` [PR PATCH] [Updated] " sbogomolov
` (36 subsequent siblings)
49 siblings, 0 replies; 50+ messages in thread
From: sbogomolov @ 2021-07-11 21:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 286 bytes --]
New review comment by sbogomolov on void-packages repository
https://github.com/void-linux/void-packages/pull/31575#discussion_r667540527
Comment:
Cool, it worked! Is this because `-devel` versions of those are listed as `makedepends`? Can it also automatically detect `makedepends`?
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR PATCH] [Updated] New packages: interception-tools-0.6.6, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
` (12 preceding siblings ...)
2021-07-11 21:55 ` sbogomolov
@ 2021-07-11 21:57 ` sbogomolov
2021-07-11 22:01 ` sbogomolov
` (35 subsequent siblings)
49 siblings, 0 replies; 50+ messages in thread
From: sbogomolov @ 2021-07-11 21:57 UTC (permalink / raw)
To: ml
[-- 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: 2939 bytes --]
From 27322b649e2bd75f85a77d7df04b6f6279e68c3b 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 | 10 ++++++++++
srcpkgs/interception-tools/template | 17 +++++++++++++++++
2 files changed, 27 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..bc80910c33bf
--- /dev/null
+++ b/srcpkgs/interception-tools/files/udevmon/run
@@ -0,0 +1,10 @@
+#!/bin/sh
+if [ -r ./conf ]; then
+ . ./conf
+ if [ ! -z "${CONF_FILE}" ]; then
+ OPTS="${OPTS:+$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..145f390747b4
--- /dev/null
+++ b/srcpkgs/interception-tools/template
@@ -0,0 +1,17 @@
+# 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"
+short_desc="Small set of utilities for operating on input events of evdev devices"
+maintainer="Sergii Bogomolov <void@sebo.dev>"
+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 312148d1cb943e84ab84683cb79502697da9ca2a 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/template | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 srcpkgs/caps2esc/template
diff --git a/srcpkgs/caps2esc/template b/srcpkgs/caps2esc/template
new file mode 100644
index 000000000000..36b4096f17b7
--- /dev/null
+++ b/srcpkgs/caps2esc/template
@@ -0,0 +1,17 @@
+# 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 <void@sebo.dev>"
+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() {
+ vdoc README.md
+ vlicense LICENSE.md
+}
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: New packages: interception-tools-0.6.6, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
` (13 preceding siblings ...)
2021-07-11 21:57 ` [PR PATCH] [Updated] " sbogomolov
@ 2021-07-11 22:01 ` sbogomolov
2021-07-11 22:23 ` [PR REVIEW] " ericonr
` (34 subsequent siblings)
49 siblings, 0 replies; 50+ messages in thread
From: sbogomolov @ 2021-07-11 22:01 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 244 bytes --]
New comment by sbogomolov on void-packages repository
https://github.com/void-linux/void-packages/pull/31575#issuecomment-877867370
Comment:
@ericonr Thank you for reviewing this change. I have addressed all your comments in the last commit.
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR REVIEW] New packages: interception-tools-0.6.6, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
` (14 preceding siblings ...)
2021-07-11 22:01 ` sbogomolov
@ 2021-07-11 22:23 ` ericonr
2021-07-11 22:25 ` ericonr
` (33 subsequent siblings)
49 siblings, 0 replies; 50+ messages in thread
From: ericonr @ 2021-07-11 22:23 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 252 bytes --]
New review comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/31575#discussion_r667543488
Comment:
```suggestion
OPTS="${OPTS} -c '${CONF_FILE}'"
```
is slightly simpler and the space doesn't hurt.
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR REVIEW] New packages: interception-tools-0.6.6, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
` (15 preceding siblings ...)
2021-07-11 22:23 ` [PR REVIEW] " ericonr
@ 2021-07-11 22:25 ` ericonr
2021-07-12 19:37 ` sbogomolov
` (32 subsequent siblings)
49 siblings, 0 replies; 50+ messages in thread
From: ericonr @ 2021-07-11 22:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 389 bytes --]
New review comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/31575#discussion_r667543662
Comment:
No. xbps-src will scan all ELF files in the package and figure out the shared libraries they need, then consult `common/shlibs` to see what packages provide said shared libraries.
`makedepends` are still the responsibility of the packager.
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: New packages: interception-tools-0.6.6, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
` (16 preceding siblings ...)
2021-07-11 22:25 ` ericonr
@ 2021-07-12 19:37 ` sbogomolov
2021-07-12 19:46 ` ericonr
` (31 subsequent siblings)
49 siblings, 0 replies; 50+ messages in thread
From: sbogomolov @ 2021-07-12 19:37 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 956 bytes --]
New comment by sbogomolov on void-packages repository
https://github.com/void-linux/void-packages/pull/31575#issuecomment-878541419
Comment:
I have checked the aarch64 cross compilation and it seems that the include directory is wrong.
```
FAILED: CMakeFiles/uinput.dir/uinput.cpp.o
/builddir/.xbps-interception-tools/wrappers/aarch64-linux-gnu-c++ -I/usr/include/libevdev-1.0 -fstack-clash-protection -D_FORTIFY_SOURCE=2 -O2 -march=armv8-a -I/usr/aarch64-linux-gnu/usr/include -Wall -Wextra -pedantic -std=c++11 -MD -MT CMakeFiles/uinput.dir/uinput.cpp.o -MF CMakeFiles/uinput.dir/uinput.cpp.o.d -o CMakeFiles/uinput.dir/uinput.cpp.o -c ../uinput.cpp
../uinput.cpp:15:10: fatal error: libevdev/libevdev-uinput.h: No such file or directory
15 | #include <libevdev/libevdev-uinput.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
It uses `-I/usr/include/libevdev-1.0` instead of `-I/usr/aarch64-linux-gnu/usr/include/libevdev-1.0`.
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: New packages: interception-tools-0.6.6, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
` (17 preceding siblings ...)
2021-07-12 19:37 ` sbogomolov
@ 2021-07-12 19:46 ` ericonr
2021-07-12 20:45 ` sbogomolov
` (30 subsequent siblings)
49 siblings, 0 replies; 50+ messages in thread
From: ericonr @ 2021-07-12 19:46 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 258 bytes --]
New comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/31575#issuecomment-878546688
Comment:
Yeah, they don't know how to use cmake... https://gitlab.com/interception/linux/tools/-/blob/master/CMakeLists.txt#L9
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: New packages: interception-tools-0.6.6, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
` (18 preceding siblings ...)
2021-07-12 19:46 ` ericonr
@ 2021-07-12 20:45 ` sbogomolov
2021-07-12 21:06 ` sbogomolov
` (29 subsequent siblings)
49 siblings, 0 replies; 50+ messages in thread
From: sbogomolov @ 2021-07-12 20:45 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 292 bytes --]
New comment by sbogomolov on void-packages repository
https://github.com/void-linux/void-packages/pull/31575#issuecomment-878582924
Comment:
Yeah, saw that. I've submitted a MR: https://gitlab.com/interception/linux/tools/-/merge_requests/16.
For now I'll add a patch to work around this.
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: New packages: interception-tools-0.6.6, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
` (19 preceding siblings ...)
2021-07-12 20:45 ` sbogomolov
@ 2021-07-12 21:06 ` sbogomolov
2021-07-12 21:06 ` sbogomolov
` (28 subsequent siblings)
49 siblings, 0 replies; 50+ messages in thread
From: sbogomolov @ 2021-07-12 21:06 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 338 bytes --]
New comment by sbogomolov on void-packages repository
https://github.com/void-linux/void-packages/pull/31575#issuecomment-878595117
Comment:
Another merge request to replace `__pid_t` with `pid_t`: https://gitlab.com/interception/linux/tools/-/merge_requests/17.
This allows to build it with `musl`. I'll add a patch for that as well.
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: New packages: interception-tools-0.6.6, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
` (20 preceding siblings ...)
2021-07-12 21:06 ` sbogomolov
@ 2021-07-12 21:06 ` sbogomolov
2021-07-12 21:11 ` sbogomolov
` (27 subsequent siblings)
49 siblings, 0 replies; 50+ messages in thread
From: sbogomolov @ 2021-07-12 21:06 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 389 bytes --]
New comment by sbogomolov on void-packages repository
https://github.com/void-linux/void-packages/pull/31575#issuecomment-878595117
Comment:
Another merge request to replace `__pid_t` with `pid_t`: https://gitlab.com/interception/linux/tools/-/merge_requests/17.
This allows to build it with `musl`. I'll add a patch for that as well (until it gets merged and new version is released).
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: New packages: interception-tools-0.6.6, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
` (21 preceding siblings ...)
2021-07-12 21:06 ` sbogomolov
@ 2021-07-12 21:11 ` sbogomolov
2021-07-12 21:13 ` [PR PATCH] [Updated] " sbogomolov
` (26 subsequent siblings)
49 siblings, 0 replies; 50+ messages in thread
From: sbogomolov @ 2021-07-12 21:11 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 510 bytes --]
New comment by sbogomolov on void-packages repository
https://github.com/void-linux/void-packages/pull/31575#issuecomment-878595117
Comment:
Another merge request to replace `__pid_t` with `pid_t`: https://gitlab.com/interception/linux/tools/-/merge_requests/17.
This allows to build it with `musl`. I'll add a patch for that as well (until it gets merged and new version is released).
These two patches should fix all the builds. At lest "it works on my machine" (as in builds for all architectures) :)
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR PATCH] [Updated] New packages: interception-tools-0.6.6, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
` (22 preceding siblings ...)
2021-07-12 21:11 ` sbogomolov
@ 2021-07-12 21:13 ` sbogomolov
2021-07-12 21:18 ` [PR REVIEW] " sbogomolov
` (25 subsequent siblings)
49 siblings, 0 replies; 50+ messages in thread
From: sbogomolov @ 2021-07-12 21:13 UTC (permalink / raw)
To: ml
[-- 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: 6441 bytes --]
From c2eee0cd149fe162565877e3bc798c640f1ba5df 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 | 10 +++++
.../patches/find_libevdev.patch | 29 +++++++++++++
.../patches/fix_pid_t.patch | 43 +++++++++++++++++++
srcpkgs/interception-tools/template | 18 ++++++++
4 files changed, 100 insertions(+)
create mode 100755 srcpkgs/interception-tools/files/udevmon/run
create mode 100644 srcpkgs/interception-tools/patches/find_libevdev.patch
create mode 100644 srcpkgs/interception-tools/patches/fix_pid_t.patch
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..bc80910c33bf
--- /dev/null
+++ b/srcpkgs/interception-tools/files/udevmon/run
@@ -0,0 +1,10 @@
+#!/bin/sh
+if [ -r ./conf ]; then
+ . ./conf
+ if [ ! -z "${CONF_FILE}" ]; then
+ OPTS="${OPTS:+$OPTS }-c '${CONF_FILE}'"
+ fi
+fi
+
+exec 2>&1
+exec udevmon ${OPTS}
diff --git a/srcpkgs/interception-tools/patches/find_libevdev.patch b/srcpkgs/interception-tools/patches/find_libevdev.patch
new file mode 100644
index 000000000000..6510f1c6330a
--- /dev/null
+++ b/srcpkgs/interception-tools/patches/find_libevdev.patch
@@ -0,0 +1,29 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index bda9e62..af5fd82 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -5,18 +5,21 @@ project(interception-tools)
+ find_package(Boost REQUIRED)
+ find_package(Threads REQUIRED)
+
++find_package(PkgConfig)
++pkg_check_modules(LIBEVDEV REQUIRED libevdev)
++
+ add_executable(udevmon udevmon.cpp)
+-target_include_directories(udevmon PRIVATE "/usr/include/libevdev-1.0")
++target_include_directories(udevmon PRIVATE ${LIBEVDEV_INCLUDE_DIRS})
+ target_compile_options(udevmon PRIVATE -Wall -Wextra -pedantic -std=c++11)
+ target_link_libraries(udevmon evdev udev yaml-cpp)
+
+ add_executable(intercept intercept.c)
+-target_include_directories(intercept PRIVATE "/usr/include/libevdev-1.0")
++target_include_directories(intercept PRIVATE ${LIBEVDEV_INCLUDE_DIRS})
+ target_compile_options(intercept PRIVATE -Wall -Wextra)
+ target_link_libraries(intercept evdev)
+
+ add_executable(uinput uinput.cpp)
+-target_include_directories(uinput PRIVATE "/usr/include/libevdev-1.0")
++target_include_directories(uinput PRIVATE ${LIBEVDEV_INCLUDE_DIRS})
+ target_compile_options(uinput PRIVATE -Wall -Wextra -pedantic -std=c++11)
+ target_link_libraries(uinput evdev udev yaml-cpp)
+
diff --git a/srcpkgs/interception-tools/patches/fix_pid_t.patch b/srcpkgs/interception-tools/patches/fix_pid_t.patch
new file mode 100644
index 000000000000..48a6de5d8f24
--- /dev/null
+++ b/srcpkgs/interception-tools/patches/fix_pid_t.patch
@@ -0,0 +1,43 @@
+diff --git a/udevmon.cpp b/udevmon.cpp
+index dec988d..a4112ff 100644
+--- a/udevmon.cpp
++++ b/udevmon.cpp
+@@ -79,10 +79,10 @@ struct cmd {
+ }
+ }
+
+- std::vector<__pid_t> launch() const {
+- std::vector<__pid_t> pids;
++ std::vector<pid_t> launch() const {
++ std::vector<pid_t> pids;
+ for (size_t i = 0; i < cmds.size(); ++i) {
+- __pid_t pid = fork();
++ pid_t pid = fork();
+ switch (pid) {
+ case -1: {
+ for (auto pid : pids)
+@@ -327,10 +327,10 @@ struct job {
+ });
+ }
+
+- std::vector<__pid_t> launch_for(const std::string &devnode) const {
+- std::vector<__pid_t> pids;
++ std::vector<pid_t> launch_for(const std::string &devnode) const {
++ std::vector<pid_t> pids;
+ for (size_t i = 0; i < cmds.size(); ++i) {
+- __pid_t pid = fork();
++ pid_t pid = fork();
+ switch (pid) {
+ case -1:
+ std::fprintf(stderr,
+@@ -559,8 +559,8 @@ struct jobs_manager {
+
+ std::vector<cmd> cmds;
+ std::vector<job> jobs;
+- std::vector<__pid_t> running_cmds;
+- std::map<std::string, std::vector<__pid_t>> running_jobs;
++ std::vector<pid_t> running_cmds;
++ std::map<std::string, std::vector<pid_t>> running_jobs;
+ };
+
+ std::vector<yaml> scan_config(const std::string &directory) {
diff --git a/srcpkgs/interception-tools/template b/srcpkgs/interception-tools/template
new file mode 100644
index 000000000000..a6d6999f02a0
--- /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
+hostmakedepends="pkg-config"
+makedepends="boost-devel eudev-libudev-devel libevdev-devel yaml-cpp-devel"
+short_desc="Small set of utilities for operating on input events of evdev devices"
+maintainer="Sergii Bogomolov <void@sebo.dev>"
+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 01aff2d486d458b8fe654ffe54f5efc39f681d1f 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/template | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 srcpkgs/caps2esc/template
diff --git a/srcpkgs/caps2esc/template b/srcpkgs/caps2esc/template
new file mode 100644
index 000000000000..36b4096f17b7
--- /dev/null
+++ b/srcpkgs/caps2esc/template
@@ -0,0 +1,17 @@
+# 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 <void@sebo.dev>"
+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() {
+ vdoc README.md
+ vlicense LICENSE.md
+}
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR REVIEW] New packages: interception-tools-0.6.6, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
` (23 preceding siblings ...)
2021-07-12 21:13 ` [PR PATCH] [Updated] " sbogomolov
@ 2021-07-12 21:18 ` sbogomolov
2021-07-12 21:28 ` ericonr
` (24 subsequent siblings)
49 siblings, 0 replies; 50+ messages in thread
From: sbogomolov @ 2021-07-12 21:18 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 601 bytes --]
New review comment by sbogomolov on void-packages repository
https://github.com/void-linux/void-packages/pull/31575#discussion_r668263901
Comment:
This was how I did it at first, but then that perfectionist in me started to scream that there must be a way to not have that extra space there :) If you insist - I can change it though.
Also, there is actually only one supported command line argument `-c` (there is also `-h` for help, but we can skip that one). Do you think it makes sense to still have `OPTS` here? Maybe for the potential new arguments that might be added in the future releases?
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR REVIEW] New packages: interception-tools-0.6.6, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
` (24 preceding siblings ...)
2021-07-12 21:18 ` [PR REVIEW] " sbogomolov
@ 2021-07-12 21:28 ` ericonr
2021-07-12 21:32 ` [PR PATCH] [Updated] " sbogomolov
` (23 subsequent siblings)
49 siblings, 0 replies; 50+ messages in thread
From: ericonr @ 2021-07-12 21:28 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 213 bytes --]
New review comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/31575#discussion_r668269277
Comment:
I'd rather use the simpler version ;)
And yes, any future args.
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR PATCH] [Updated] New packages: interception-tools-0.6.6, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
` (25 preceding siblings ...)
2021-07-12 21:28 ` ericonr
@ 2021-07-12 21:32 ` sbogomolov
2021-07-12 21:32 ` [PR REVIEW] " sbogomolov
` (22 subsequent siblings)
49 siblings, 0 replies; 50+ messages in thread
From: sbogomolov @ 2021-07-12 21:32 UTC (permalink / raw)
To: ml
[-- 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: 6434 bytes --]
From 7087ea302d2e6d5e9a0063c8fa27f5f6e03fa275 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 | 10 +++++
.../patches/find_libevdev.patch | 29 +++++++++++++
.../patches/fix_pid_t.patch | 43 +++++++++++++++++++
srcpkgs/interception-tools/template | 18 ++++++++
4 files changed, 100 insertions(+)
create mode 100755 srcpkgs/interception-tools/files/udevmon/run
create mode 100644 srcpkgs/interception-tools/patches/find_libevdev.patch
create mode 100644 srcpkgs/interception-tools/patches/fix_pid_t.patch
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..f041851365ae
--- /dev/null
+++ b/srcpkgs/interception-tools/files/udevmon/run
@@ -0,0 +1,10 @@
+#!/bin/sh
+if [ -r ./conf ]; then
+ . ./conf
+ if [ ! -z "${CONF_FILE}" ]; then
+ OPTS="${OPTS} -c '${CONF_FILE}'"
+ fi
+fi
+
+exec 2>&1
+exec udevmon ${OPTS}
diff --git a/srcpkgs/interception-tools/patches/find_libevdev.patch b/srcpkgs/interception-tools/patches/find_libevdev.patch
new file mode 100644
index 000000000000..6510f1c6330a
--- /dev/null
+++ b/srcpkgs/interception-tools/patches/find_libevdev.patch
@@ -0,0 +1,29 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index bda9e62..af5fd82 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -5,18 +5,21 @@ project(interception-tools)
+ find_package(Boost REQUIRED)
+ find_package(Threads REQUIRED)
+
++find_package(PkgConfig)
++pkg_check_modules(LIBEVDEV REQUIRED libevdev)
++
+ add_executable(udevmon udevmon.cpp)
+-target_include_directories(udevmon PRIVATE "/usr/include/libevdev-1.0")
++target_include_directories(udevmon PRIVATE ${LIBEVDEV_INCLUDE_DIRS})
+ target_compile_options(udevmon PRIVATE -Wall -Wextra -pedantic -std=c++11)
+ target_link_libraries(udevmon evdev udev yaml-cpp)
+
+ add_executable(intercept intercept.c)
+-target_include_directories(intercept PRIVATE "/usr/include/libevdev-1.0")
++target_include_directories(intercept PRIVATE ${LIBEVDEV_INCLUDE_DIRS})
+ target_compile_options(intercept PRIVATE -Wall -Wextra)
+ target_link_libraries(intercept evdev)
+
+ add_executable(uinput uinput.cpp)
+-target_include_directories(uinput PRIVATE "/usr/include/libevdev-1.0")
++target_include_directories(uinput PRIVATE ${LIBEVDEV_INCLUDE_DIRS})
+ target_compile_options(uinput PRIVATE -Wall -Wextra -pedantic -std=c++11)
+ target_link_libraries(uinput evdev udev yaml-cpp)
+
diff --git a/srcpkgs/interception-tools/patches/fix_pid_t.patch b/srcpkgs/interception-tools/patches/fix_pid_t.patch
new file mode 100644
index 000000000000..48a6de5d8f24
--- /dev/null
+++ b/srcpkgs/interception-tools/patches/fix_pid_t.patch
@@ -0,0 +1,43 @@
+diff --git a/udevmon.cpp b/udevmon.cpp
+index dec988d..a4112ff 100644
+--- a/udevmon.cpp
++++ b/udevmon.cpp
+@@ -79,10 +79,10 @@ struct cmd {
+ }
+ }
+
+- std::vector<__pid_t> launch() const {
+- std::vector<__pid_t> pids;
++ std::vector<pid_t> launch() const {
++ std::vector<pid_t> pids;
+ for (size_t i = 0; i < cmds.size(); ++i) {
+- __pid_t pid = fork();
++ pid_t pid = fork();
+ switch (pid) {
+ case -1: {
+ for (auto pid : pids)
+@@ -327,10 +327,10 @@ struct job {
+ });
+ }
+
+- std::vector<__pid_t> launch_for(const std::string &devnode) const {
+- std::vector<__pid_t> pids;
++ std::vector<pid_t> launch_for(const std::string &devnode) const {
++ std::vector<pid_t> pids;
+ for (size_t i = 0; i < cmds.size(); ++i) {
+- __pid_t pid = fork();
++ pid_t pid = fork();
+ switch (pid) {
+ case -1:
+ std::fprintf(stderr,
+@@ -559,8 +559,8 @@ struct jobs_manager {
+
+ std::vector<cmd> cmds;
+ std::vector<job> jobs;
+- std::vector<__pid_t> running_cmds;
+- std::map<std::string, std::vector<__pid_t>> running_jobs;
++ std::vector<pid_t> running_cmds;
++ std::map<std::string, std::vector<pid_t>> running_jobs;
+ };
+
+ std::vector<yaml> scan_config(const std::string &directory) {
diff --git a/srcpkgs/interception-tools/template b/srcpkgs/interception-tools/template
new file mode 100644
index 000000000000..a6d6999f02a0
--- /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
+hostmakedepends="pkg-config"
+makedepends="boost-devel eudev-libudev-devel libevdev-devel yaml-cpp-devel"
+short_desc="Small set of utilities for operating on input events of evdev devices"
+maintainer="Sergii Bogomolov <void@sebo.dev>"
+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 8f4911e09b6c2779c3e1e57ff9fd4a8df748c0bf 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/template | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 srcpkgs/caps2esc/template
diff --git a/srcpkgs/caps2esc/template b/srcpkgs/caps2esc/template
new file mode 100644
index 000000000000..36b4096f17b7
--- /dev/null
+++ b/srcpkgs/caps2esc/template
@@ -0,0 +1,17 @@
+# 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 <void@sebo.dev>"
+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() {
+ vdoc README.md
+ vlicense LICENSE.md
+}
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR REVIEW] New packages: interception-tools-0.6.6, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
` (26 preceding siblings ...)
2021-07-12 21:32 ` [PR PATCH] [Updated] " sbogomolov
@ 2021-07-12 21:32 ` sbogomolov
2021-07-13 10:43 ` sbogomolov
` (21 subsequent siblings)
49 siblings, 0 replies; 50+ messages in thread
From: sbogomolov @ 2021-07-12 21:32 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 155 bytes --]
New review comment by sbogomolov on void-packages repository
https://github.com/void-linux/void-packages/pull/31575#discussion_r668271668
Comment:
Done.
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: New packages: interception-tools-0.6.6, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
` (27 preceding siblings ...)
2021-07-12 21:32 ` [PR REVIEW] " sbogomolov
@ 2021-07-13 10:43 ` sbogomolov
2021-07-13 13:46 ` [PR PATCH] [Updated] " sbogomolov
` (20 subsequent siblings)
49 siblings, 0 replies; 50+ messages in thread
From: sbogomolov @ 2021-07-13 10:43 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 236 bytes --]
New comment by sbogomolov on void-packages repository
https://github.com/void-linux/void-packages/pull/31575#issuecomment-878980736
Comment:
@ericonr it worked :) Is there anything else I should change in order for this to be merged?
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR PATCH] [Updated] New packages: interception-tools-0.6.6, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
` (28 preceding siblings ...)
2021-07-13 10:43 ` sbogomolov
@ 2021-07-13 13:46 ` sbogomolov
2021-07-14 13:41 ` ericonr
` (19 subsequent siblings)
49 siblings, 0 replies; 50+ messages in thread
From: sbogomolov @ 2021-07-13 13:46 UTC (permalink / raw)
To: ml
[-- 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: 6430 bytes --]
From 3e20c805c35864a2c33f48e384558f10f18d6bf1 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 | 10 +++++
.../patches/find_libevdev.patch | 29 +++++++++++++
.../patches/fix_pid_t.patch | 43 +++++++++++++++++++
srcpkgs/interception-tools/template | 18 ++++++++
4 files changed, 100 insertions(+)
create mode 100755 srcpkgs/interception-tools/files/udevmon/run
create mode 100644 srcpkgs/interception-tools/patches/find_libevdev.patch
create mode 100644 srcpkgs/interception-tools/patches/fix_pid_t.patch
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..f041851365ae
--- /dev/null
+++ b/srcpkgs/interception-tools/files/udevmon/run
@@ -0,0 +1,10 @@
+#!/bin/sh
+if [ -r ./conf ]; then
+ . ./conf
+ if [ ! -z "${CONF_FILE}" ]; then
+ OPTS="${OPTS} -c '${CONF_FILE}'"
+ fi
+fi
+
+exec 2>&1
+exec udevmon ${OPTS}
diff --git a/srcpkgs/interception-tools/patches/find_libevdev.patch b/srcpkgs/interception-tools/patches/find_libevdev.patch
new file mode 100644
index 000000000000..6510f1c6330a
--- /dev/null
+++ b/srcpkgs/interception-tools/patches/find_libevdev.patch
@@ -0,0 +1,29 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index bda9e62..af5fd82 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -5,18 +5,21 @@ project(interception-tools)
+ find_package(Boost REQUIRED)
+ find_package(Threads REQUIRED)
+
++find_package(PkgConfig)
++pkg_check_modules(LIBEVDEV REQUIRED libevdev)
++
+ add_executable(udevmon udevmon.cpp)
+-target_include_directories(udevmon PRIVATE "/usr/include/libevdev-1.0")
++target_include_directories(udevmon PRIVATE ${LIBEVDEV_INCLUDE_DIRS})
+ target_compile_options(udevmon PRIVATE -Wall -Wextra -pedantic -std=c++11)
+ target_link_libraries(udevmon evdev udev yaml-cpp)
+
+ add_executable(intercept intercept.c)
+-target_include_directories(intercept PRIVATE "/usr/include/libevdev-1.0")
++target_include_directories(intercept PRIVATE ${LIBEVDEV_INCLUDE_DIRS})
+ target_compile_options(intercept PRIVATE -Wall -Wextra)
+ target_link_libraries(intercept evdev)
+
+ add_executable(uinput uinput.cpp)
+-target_include_directories(uinput PRIVATE "/usr/include/libevdev-1.0")
++target_include_directories(uinput PRIVATE ${LIBEVDEV_INCLUDE_DIRS})
+ target_compile_options(uinput PRIVATE -Wall -Wextra -pedantic -std=c++11)
+ target_link_libraries(uinput evdev udev yaml-cpp)
+
diff --git a/srcpkgs/interception-tools/patches/fix_pid_t.patch b/srcpkgs/interception-tools/patches/fix_pid_t.patch
new file mode 100644
index 000000000000..48a6de5d8f24
--- /dev/null
+++ b/srcpkgs/interception-tools/patches/fix_pid_t.patch
@@ -0,0 +1,43 @@
+diff --git a/udevmon.cpp b/udevmon.cpp
+index dec988d..a4112ff 100644
+--- a/udevmon.cpp
++++ b/udevmon.cpp
+@@ -79,10 +79,10 @@ struct cmd {
+ }
+ }
+
+- std::vector<__pid_t> launch() const {
+- std::vector<__pid_t> pids;
++ std::vector<pid_t> launch() const {
++ std::vector<pid_t> pids;
+ for (size_t i = 0; i < cmds.size(); ++i) {
+- __pid_t pid = fork();
++ pid_t pid = fork();
+ switch (pid) {
+ case -1: {
+ for (auto pid : pids)
+@@ -327,10 +327,10 @@ struct job {
+ });
+ }
+
+- std::vector<__pid_t> launch_for(const std::string &devnode) const {
+- std::vector<__pid_t> pids;
++ std::vector<pid_t> launch_for(const std::string &devnode) const {
++ std::vector<pid_t> pids;
+ for (size_t i = 0; i < cmds.size(); ++i) {
+- __pid_t pid = fork();
++ pid_t pid = fork();
+ switch (pid) {
+ case -1:
+ std::fprintf(stderr,
+@@ -559,8 +559,8 @@ struct jobs_manager {
+
+ std::vector<cmd> cmds;
+ std::vector<job> jobs;
+- std::vector<__pid_t> running_cmds;
+- std::map<std::string, std::vector<__pid_t>> running_jobs;
++ std::vector<pid_t> running_cmds;
++ std::map<std::string, std::vector<pid_t>> running_jobs;
+ };
+
+ std::vector<yaml> scan_config(const std::string &directory) {
diff --git a/srcpkgs/interception-tools/template b/srcpkgs/interception-tools/template
new file mode 100644
index 000000000000..540277a7fb24
--- /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
+hostmakedepends="pkg-config"
+makedepends="boost-devel eudev-libudev-devel libevdev-devel yaml-cpp-devel"
+short_desc="Small set of utilities for operating on input events of evdev devices"
+maintainer="Sergii Bogomolov <void@sebo.dev>"
+license="GPL-3.0-only"
+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 c9623eccd21ebab69de6cf2c8ab3188d74ac174c 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/template | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 srcpkgs/caps2esc/template
diff --git a/srcpkgs/caps2esc/template b/srcpkgs/caps2esc/template
new file mode 100644
index 000000000000..36b4096f17b7
--- /dev/null
+++ b/srcpkgs/caps2esc/template
@@ -0,0 +1,17 @@
+# 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 <void@sebo.dev>"
+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() {
+ vdoc README.md
+ vlicense LICENSE.md
+}
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: New packages: interception-tools-0.6.6, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
` (29 preceding siblings ...)
2021-07-13 13:46 ` [PR PATCH] [Updated] " sbogomolov
@ 2021-07-14 13:41 ` ericonr
2021-07-14 13:47 ` sbogomolov
` (18 subsequent siblings)
49 siblings, 0 replies; 50+ messages in thread
From: ericonr @ 2021-07-14 13:41 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 471 bytes --]
New comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/31575#issuecomment-879902863
Comment:
Ok, the packages look reasonable and I see why it can be useful (though note that with framebuffer, X and xkbcommon keymaps (for wayland) one should be able to implement what it does).
Since it required some patching, I'd prefer to wait for upstream to answer to your PRs so we can see how "packageable" it will end up being :)
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: New packages: interception-tools-0.6.6, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
` (30 preceding siblings ...)
2021-07-14 13:41 ` ericonr
@ 2021-07-14 13:47 ` sbogomolov
2021-07-14 13:48 ` sbogomolov
` (17 subsequent siblings)
49 siblings, 0 replies; 50+ messages in thread
From: sbogomolov @ 2021-07-14 13:47 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 475 bytes --]
New comment by sbogomolov on void-packages repository
https://github.com/void-linux/void-packages/pull/31575#issuecomment-879907805
Comment:
Sounds reasonable, let's wait.
Regarding the alternative solutions, I did not find any (for Wayland). What this achieves is that Caps lock key has two functions:
- ESC if it is tapped
- Ctrl if it is being held
There multiple ways to achieve any one of those behaviours, but not both. Or at least I could not find them :)
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: New packages: interception-tools-0.6.6, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
` (31 preceding siblings ...)
2021-07-14 13:47 ` sbogomolov
@ 2021-07-14 13:48 ` sbogomolov
2021-07-14 13:48 ` sbogomolov
` (16 subsequent siblings)
49 siblings, 0 replies; 50+ messages in thread
From: sbogomolov @ 2021-07-14 13:48 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 455 bytes --]
New comment by sbogomolov on void-packages repository
https://github.com/void-linux/void-packages/pull/31575#issuecomment-879907805
Comment:
Sounds reasonable, let's wait.
Regarding the alternative solutions, I did not find any (for Wayland). What this achieves is that Caps lock key has two functions:
- ESC on tap
- Ctrl on press
There multiple ways to achieve any one of those behaviours, but not both. Or at least I could not find them :)
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: New packages: interception-tools-0.6.6, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
` (32 preceding siblings ...)
2021-07-14 13:48 ` sbogomolov
@ 2021-07-14 13:48 ` sbogomolov
2021-07-15 18:25 ` [PR PATCH] [Updated] " sbogomolov
` (15 subsequent siblings)
49 siblings, 0 replies; 50+ messages in thread
From: sbogomolov @ 2021-07-14 13:48 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 459 bytes --]
New comment by sbogomolov on void-packages repository
https://github.com/void-linux/void-packages/pull/31575#issuecomment-879907805
Comment:
Sounds reasonable, let's wait.
Regarding the alternative solutions, I did not find any (for Wayland). What this achieves is that Caps lock key has two functions:
- ESC on tap
- Ctrl on press
There are multiple ways to achieve any one of those behaviours, but not both. Or at least I could not find them :)
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR PATCH] [Updated] New packages: interception-tools-0.6.6, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
` (33 preceding siblings ...)
2021-07-14 13:48 ` sbogomolov
@ 2021-07-15 18:25 ` sbogomolov
2021-07-15 18:26 ` New packages: interception-tools-0.6.7, caps2esc-0.3.2 sbogomolov
` (14 subsequent siblings)
49 siblings, 0 replies; 50+ messages in thread
From: sbogomolov @ 2021-07-15 18:25 UTC (permalink / raw)
To: ml
[-- 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: 2959 bytes --]
From eb127b46998be4728c7f90d7018f6d3f1cd163a9 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.7
---
srcpkgs/interception-tools/files/udevmon/run | 10 ++++++++++
srcpkgs/interception-tools/template | 18 ++++++++++++++++++
2 files changed, 28 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..f041851365ae
--- /dev/null
+++ b/srcpkgs/interception-tools/files/udevmon/run
@@ -0,0 +1,10 @@
+#!/bin/sh
+if [ -r ./conf ]; then
+ . ./conf
+ if [ ! -z "${CONF_FILE}" ]; then
+ OPTS="${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..f0e55acc6dc1
--- /dev/null
+++ b/srcpkgs/interception-tools/template
@@ -0,0 +1,18 @@
+# Template file for 'interception-tools'
+pkgname=interception-tools
+version=0.6.7
+revision=1
+wrksrc="tools-v${version}"
+build_style=cmake
+hostmakedepends="pkg-config"
+makedepends="boost-devel eudev-libudev-devel libevdev-devel yaml-cpp-devel"
+short_desc="Small set of utilities for operating on input events of evdev devices"
+maintainer="Sergii Bogomolov <void@sebo.dev>"
+license="GPL-3.0-only"
+homepage="https://gitlab.com/interception/linux/tools"
+distfiles="https://gitlab.com/interception/linux/tools/-/archive/v${version}/tools-v${version}.tar.gz"
+checksum="58a388899c7bb765c5d35306b57894fb220dc8ab4d37475a33898bb2934bca81"
+post_install() {
+ vdoc README.md
+ vsv udevmon
+}
From d4939b80c8eed4ea03c4d8bbb27402e65492e379 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/template | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 srcpkgs/caps2esc/template
diff --git a/srcpkgs/caps2esc/template b/srcpkgs/caps2esc/template
new file mode 100644
index 000000000000..36b4096f17b7
--- /dev/null
+++ b/srcpkgs/caps2esc/template
@@ -0,0 +1,17 @@
+# 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 <void@sebo.dev>"
+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() {
+ vdoc README.md
+ vlicense LICENSE.md
+}
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: New packages: interception-tools-0.6.7, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
` (34 preceding siblings ...)
2021-07-15 18:25 ` [PR PATCH] [Updated] " sbogomolov
@ 2021-07-15 18:26 ` sbogomolov
2021-07-15 21:08 ` [PR REVIEW] " paper42
` (13 subsequent siblings)
49 siblings, 0 replies; 50+ messages in thread
From: sbogomolov @ 2021-07-15 18:26 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 282 bytes --]
New comment by sbogomolov on void-packages repository
https://github.com/void-linux/void-packages/pull/31575#issuecomment-880919259
Comment:
@ericonr Both PRs were accepted and new version `0.6.7` was tagged. In the last commit I have removed both patches and bumped the version.
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR REVIEW] New packages: interception-tools-0.6.7, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
` (35 preceding siblings ...)
2021-07-15 18:26 ` New packages: interception-tools-0.6.7, caps2esc-0.3.2 sbogomolov
@ 2021-07-15 21:08 ` paper42
2021-07-15 21:25 ` sbogomolov
` (12 subsequent siblings)
49 siblings, 0 replies; 50+ messages in thread
From: paper42 @ 2021-07-15 21:08 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 160 bytes --]
New review comment by paper42 on void-packages repository
https://github.com/void-linux/void-packages/pull/31575#discussion_r670805762
Comment:
`! -z` = `-n`
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR REVIEW] New packages: interception-tools-0.6.7, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
` (36 preceding siblings ...)
2021-07-15 21:08 ` [PR REVIEW] " paper42
@ 2021-07-15 21:25 ` sbogomolov
2021-07-15 21:26 ` sbogomolov
` (11 subsequent siblings)
49 siblings, 0 replies; 50+ messages in thread
From: sbogomolov @ 2021-07-15 21:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 161 bytes --]
New review comment by sbogomolov on void-packages repository
https://github.com/void-linux/void-packages/pull/31575#discussion_r670815821
Comment:
Good point.
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR REVIEW] New packages: interception-tools-0.6.7, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
` (37 preceding siblings ...)
2021-07-15 21:25 ` sbogomolov
@ 2021-07-15 21:26 ` sbogomolov
2021-07-15 21:28 ` [PR PATCH] [Updated] " sbogomolov
` (10 subsequent siblings)
49 siblings, 0 replies; 50+ messages in thread
From: sbogomolov @ 2021-07-15 21:26 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 177 bytes --]
New review comment by sbogomolov on void-packages repository
https://github.com/void-linux/void-packages/pull/31575#discussion_r670815821
Comment:
Good point, I'll change it.
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR PATCH] [Updated] New packages: interception-tools-0.6.7, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
` (38 preceding siblings ...)
2021-07-15 21:26 ` sbogomolov
@ 2021-07-15 21:28 ` sbogomolov
2021-07-17 3:04 ` [PR REVIEW] " ericonr
` (9 subsequent siblings)
49 siblings, 0 replies; 50+ messages in thread
From: sbogomolov @ 2021-07-15 21:28 UTC (permalink / raw)
To: ml
[-- 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.7, 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: 2957 bytes --]
From 8effc38ef4adfdadbc8960252988f4eb18b03267 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.7
---
srcpkgs/interception-tools/files/udevmon/run | 10 ++++++++++
srcpkgs/interception-tools/template | 18 ++++++++++++++++++
2 files changed, 28 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..9850e63c03bd
--- /dev/null
+++ b/srcpkgs/interception-tools/files/udevmon/run
@@ -0,0 +1,10 @@
+#!/bin/sh
+if [ -r ./conf ]; then
+ . ./conf
+ if [ -n "${CONF_FILE}" ]; then
+ OPTS="${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..f0e55acc6dc1
--- /dev/null
+++ b/srcpkgs/interception-tools/template
@@ -0,0 +1,18 @@
+# Template file for 'interception-tools'
+pkgname=interception-tools
+version=0.6.7
+revision=1
+wrksrc="tools-v${version}"
+build_style=cmake
+hostmakedepends="pkg-config"
+makedepends="boost-devel eudev-libudev-devel libevdev-devel yaml-cpp-devel"
+short_desc="Small set of utilities for operating on input events of evdev devices"
+maintainer="Sergii Bogomolov <void@sebo.dev>"
+license="GPL-3.0-only"
+homepage="https://gitlab.com/interception/linux/tools"
+distfiles="https://gitlab.com/interception/linux/tools/-/archive/v${version}/tools-v${version}.tar.gz"
+checksum="58a388899c7bb765c5d35306b57894fb220dc8ab4d37475a33898bb2934bca81"
+post_install() {
+ vdoc README.md
+ vsv udevmon
+}
From c2d178e2fa3b7ffff894feefb47760e0f1d77beb 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/template | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 srcpkgs/caps2esc/template
diff --git a/srcpkgs/caps2esc/template b/srcpkgs/caps2esc/template
new file mode 100644
index 000000000000..36b4096f17b7
--- /dev/null
+++ b/srcpkgs/caps2esc/template
@@ -0,0 +1,17 @@
+# 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 <void@sebo.dev>"
+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() {
+ vdoc README.md
+ vlicense LICENSE.md
+}
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR REVIEW] New packages: interception-tools-0.6.7, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
` (39 preceding siblings ...)
2021-07-15 21:28 ` [PR PATCH] [Updated] " sbogomolov
@ 2021-07-17 3:04 ` ericonr
2021-07-17 3:04 ` ericonr
` (8 subsequent siblings)
49 siblings, 0 replies; 50+ messages in thread
From: ericonr @ 2021-07-17 3:04 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 260 bytes --]
New review comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/31575#discussion_r671598914
Comment:
```suggestion
checksum=58a388899c7bb765c5d35306b57894fb220dc8ab4d37475a33898bb2934bca81
post_install() {
```
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR REVIEW] New packages: interception-tools-0.6.7, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
` (40 preceding siblings ...)
2021-07-17 3:04 ` [PR REVIEW] " ericonr
@ 2021-07-17 3:04 ` ericonr
2021-07-17 3:04 ` ericonr
` (7 subsequent siblings)
49 siblings, 0 replies; 50+ messages in thread
From: ericonr @ 2021-07-17 3:04 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 260 bytes --]
New review comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/31575#discussion_r671598918
Comment:
```suggestion
checksum=d8a5c7a23cb7368fde2b91a0b5481d8ce906af146dd9a49f609052f2cf1d212c
post_install() {
```
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR REVIEW] New packages: interception-tools-0.6.7, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
` (41 preceding siblings ...)
2021-07-17 3:04 ` ericonr
@ 2021-07-17 3:04 ` ericonr
2021-07-17 8:27 ` sbogomolov
` (6 subsequent siblings)
49 siblings, 0 replies; 50+ messages in thread
From: ericonr @ 2021-07-17 3:04 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 230 bytes --]
New review comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/31575#discussion_r671598890
Comment:
Nit: you want this to happen before sourcing `.conf`, to catch any possible errors.
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR REVIEW] New packages: interception-tools-0.6.7, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
` (42 preceding siblings ...)
2021-07-17 3:04 ` ericonr
@ 2021-07-17 8:27 ` sbogomolov
2021-07-17 8:40 ` sbogomolov
` (5 subsequent siblings)
49 siblings, 0 replies; 50+ messages in thread
From: sbogomolov @ 2021-07-17 8:27 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 175 bytes --]
New review comment by sbogomolov on void-packages repository
https://github.com/void-linux/void-packages/pull/31575#discussion_r671643229
Comment:
Nice one. I'll change it.
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR REVIEW] New packages: interception-tools-0.6.7, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
` (43 preceding siblings ...)
2021-07-17 8:27 ` sbogomolov
@ 2021-07-17 8:40 ` sbogomolov
2021-07-17 8:40 ` sbogomolov
` (4 subsequent siblings)
49 siblings, 0 replies; 50+ messages in thread
From: sbogomolov @ 2021-07-17 8:40 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 154 bytes --]
New review comment by sbogomolov on void-packages repository
https://github.com/void-linux/void-packages/pull/31575#discussion_r671644495
Comment:
Ack.
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR REVIEW] New packages: interception-tools-0.6.7, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
` (44 preceding siblings ...)
2021-07-17 8:40 ` sbogomolov
@ 2021-07-17 8:40 ` sbogomolov
2021-07-17 8:43 ` [PR PATCH] [Updated] " sbogomolov
` (3 subsequent siblings)
49 siblings, 0 replies; 50+ messages in thread
From: sbogomolov @ 2021-07-17 8:40 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 153 bytes --]
New review comment by sbogomolov on void-packages repository
https://github.com/void-linux/void-packages/pull/31575#discussion_r671644502
Comment:
Ack
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR PATCH] [Updated] New packages: interception-tools-0.6.7, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
` (45 preceding siblings ...)
2021-07-17 8:40 ` sbogomolov
@ 2021-07-17 8:43 ` sbogomolov
2021-07-17 9:00 ` sbogomolov
` (2 subsequent siblings)
49 siblings, 0 replies; 50+ messages in thread
From: sbogomolov @ 2021-07-17 8:43 UTC (permalink / raw)
To: ml
[-- 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.7, 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: 2965 bytes --]
From 3c5bb21672df7ff2597b90726362f7970a2364fc 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.7
---
srcpkgs/interception-tools/files/udevmon/run | 12 ++++++++++++
srcpkgs/interception-tools/template | 19 +++++++++++++++++++
2 files changed, 31 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..fc2382c51c70
--- /dev/null
+++ b/srcpkgs/interception-tools/files/udevmon/run
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+exec 2>&1
+
+if [ -r ./conf ]; then
+ . ./conf
+ if [ -n "${CONF_FILE}" ]; then
+ OPTS="${OPTS} -c '${CONF_FILE}'"
+ fi
+fi
+
+exec udevmon ${OPTS}
diff --git a/srcpkgs/interception-tools/template b/srcpkgs/interception-tools/template
new file mode 100644
index 000000000000..740b366fc197
--- /dev/null
+++ b/srcpkgs/interception-tools/template
@@ -0,0 +1,19 @@
+# Template file for 'interception-tools'
+pkgname=interception-tools
+version=0.6.7
+revision=1
+wrksrc="tools-v${version}"
+build_style=cmake
+hostmakedepends="pkg-config"
+makedepends="boost-devel eudev-libudev-devel libevdev-devel yaml-cpp-devel"
+short_desc="Small set of utilities for operating on input events of evdev devices"
+maintainer="Sergii Bogomolov <void@sebo.dev>"
+license="GPL-3.0-only"
+homepage="https://gitlab.com/interception/linux/tools"
+distfiles="https://gitlab.com/interception/linux/tools/-/archive/v${version}/tools-v${version}.tar.gz"
+checksum=58a388899c7bb765c5d35306b57894fb220dc8ab4d37475a33898bb2934bca81
+
+post_install() {
+ vdoc README.md
+ vsv udevmon
+}
From 1e6adea9d4ec6b7d1be8a2a0dead52a7a5d0802f 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/template | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
create mode 100644 srcpkgs/caps2esc/template
diff --git a/srcpkgs/caps2esc/template b/srcpkgs/caps2esc/template
new file mode 100644
index 000000000000..17ec2315976e
--- /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 <void@sebo.dev>"
+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() {
+ vdoc README.md
+ vlicense LICENSE.md
+}
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: New packages: interception-tools-0.6.7, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
` (46 preceding siblings ...)
2021-07-17 8:43 ` [PR PATCH] [Updated] " sbogomolov
@ 2021-07-17 9:00 ` sbogomolov
2021-07-20 19:02 ` sbogomolov
2021-07-20 21:11 ` [PR PATCH] [Merged]: " ericonr
49 siblings, 0 replies; 50+ messages in thread
From: sbogomolov @ 2021-07-17 9:00 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 203 bytes --]
New comment by sbogomolov on void-packages repository
https://github.com/void-linux/void-packages/pull/31575#issuecomment-881861553
Comment:
@ericonr All your comments were addressed in the last push.
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: New packages: interception-tools-0.6.7, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
` (47 preceding siblings ...)
2021-07-17 9:00 ` sbogomolov
@ 2021-07-20 19:02 ` sbogomolov
2021-07-20 21:11 ` [PR PATCH] [Merged]: " ericonr
49 siblings, 0 replies; 50+ messages in thread
From: sbogomolov @ 2021-07-20 19:02 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 189 bytes --]
New comment by sbogomolov on void-packages repository
https://github.com/void-linux/void-packages/pull/31575#issuecomment-883623956
Comment:
@ericonr do you think this can be merged now?
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR PATCH] [Merged]: New packages: interception-tools-0.6.7, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
` (48 preceding siblings ...)
2021-07-20 19:02 ` sbogomolov
@ 2021-07-20 21:11 ` ericonr
49 siblings, 0 replies; 50+ messages in thread
From: ericonr @ 2021-07-20 21:11 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1465 bytes --]
There's a merged pull request on the void-packages repository
New packages: interception-tools-0.6.7, caps2esc-0.3.2
https://github.com/void-linux/void-packages/pull/31575
Description:
<!-- 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
-->
^ permalink raw reply [flat|nested] 50+ messages in thread
* Re: [PR PATCH] [Updated] New packages: interception-tools-0.6.6, caps2esc-0.3.2
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
@ 2021-06-28 21:33 ` sbogomolov
2021-06-28 22:00 ` sbogomolov
` (48 subsequent siblings)
49 siblings, 0 replies; 50+ messages in thread
From: sbogomolov @ 2021-06-28 21:33 UTC (permalink / raw)
To: ml
[-- 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
+}
^ permalink raw reply [flat|nested] 50+ messages in thread
end of thread, other threads:[~2021-07-20 21:11 UTC | newest]
Thread overview: 50+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31575@inbox.vuxu.org>
2021-06-28 21:33 ` [PR PATCH] [Updated] New packages: interception-tools-0.6.6, caps2esc-0.3.2 sbogomolov
2021-06-28 22:00 ` sbogomolov
2021-06-28 22:01 ` sbogomolov
2021-07-10 21:55 ` sbogomolov
2021-07-11 3:15 ` ericonr
2021-07-11 3:16 ` [PR REVIEW] " ericonr
2021-07-11 3:18 ` ericonr
2021-07-11 3:18 ` ericonr
2021-07-11 21:30 ` sbogomolov
2021-07-11 21:30 ` [PR REVIEW] " sbogomolov
2021-07-11 21:31 ` sbogomolov
2021-07-11 21:31 ` sbogomolov
2021-07-11 21:55 ` sbogomolov
2021-07-11 21:57 ` [PR PATCH] [Updated] " sbogomolov
2021-07-11 22:01 ` sbogomolov
2021-07-11 22:23 ` [PR REVIEW] " ericonr
2021-07-11 22:25 ` ericonr
2021-07-12 19:37 ` sbogomolov
2021-07-12 19:46 ` ericonr
2021-07-12 20:45 ` sbogomolov
2021-07-12 21:06 ` sbogomolov
2021-07-12 21:06 ` sbogomolov
2021-07-12 21:11 ` sbogomolov
2021-07-12 21:13 ` [PR PATCH] [Updated] " sbogomolov
2021-07-12 21:18 ` [PR REVIEW] " sbogomolov
2021-07-12 21:28 ` ericonr
2021-07-12 21:32 ` [PR PATCH] [Updated] " sbogomolov
2021-07-12 21:32 ` [PR REVIEW] " sbogomolov
2021-07-13 10:43 ` sbogomolov
2021-07-13 13:46 ` [PR PATCH] [Updated] " sbogomolov
2021-07-14 13:41 ` ericonr
2021-07-14 13:47 ` sbogomolov
2021-07-14 13:48 ` sbogomolov
2021-07-14 13:48 ` sbogomolov
2021-07-15 18:25 ` [PR PATCH] [Updated] " sbogomolov
2021-07-15 18:26 ` New packages: interception-tools-0.6.7, caps2esc-0.3.2 sbogomolov
2021-07-15 21:08 ` [PR REVIEW] " paper42
2021-07-15 21:25 ` sbogomolov
2021-07-15 21:26 ` sbogomolov
2021-07-15 21:28 ` [PR PATCH] [Updated] " sbogomolov
2021-07-17 3:04 ` [PR REVIEW] " ericonr
2021-07-17 3:04 ` ericonr
2021-07-17 3:04 ` ericonr
2021-07-17 8:27 ` sbogomolov
2021-07-17 8:40 ` sbogomolov
2021-07-17 8:40 ` sbogomolov
2021-07-17 8:43 ` [PR PATCH] [Updated] " sbogomolov
2021-07-17 9:00 ` sbogomolov
2021-07-20 19:02 ` sbogomolov
2021-07-20 21:11 ` [PR PATCH] [Merged]: " ericonr
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).