Github messages for voidlinux
 help / color / mirror / Atom feed
From: knusbaum <knusbaum@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: keymapper-1.9.1
Date: Sun, 20 Mar 2022 02:27:47 +0100	[thread overview]
Message-ID: <20220320012747.t6Y6v5aQu0PBJXZgEfPmjqV9oSFskdvQHoLmvZ3nRUE@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-36234@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 675 bytes --]

There is an updated pull request by knusbaum against master on the void-packages repository

https://github.com/knusbaum/void-packages new-keymapper
https://github.com/void-linux/void-packages/pull/36234

New package: keymapper-1.9.1
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**


#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

Fixes #36218 


A patch file from https://github.com/void-linux/void-packages/pull/36234.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new-keymapper-36234.patch --]
[-- Type: text/x-diff, Size: 2231 bytes --]

From 5521661e91438bab61b4060982803cd626e1c5de Mon Sep 17 00:00:00 2001
From: Kyle Nusbaum <KyleJNusbaum@gmail.com>
Date: Sat, 19 Mar 2022 17:11:35 -0500
Subject: [PATCH] New package: keymapper-1.9.1

---
 srcpkgs/keymapper/files/keymapperd/run |  3 +++
 srcpkgs/keymapper/patches/musl.patch   | 10 ++++++++++
 srcpkgs/keymapper/template             | 18 ++++++++++++++++++
 3 files changed, 31 insertions(+)
 create mode 100644 srcpkgs/keymapper/files/keymapperd/run
 create mode 100644 srcpkgs/keymapper/patches/musl.patch
 create mode 100644 srcpkgs/keymapper/template

diff --git a/srcpkgs/keymapper/files/keymapperd/run b/srcpkgs/keymapper/files/keymapperd/run
new file mode 100644
index 000000000000..adf687f7a30b
--- /dev/null
+++ b/srcpkgs/keymapper/files/keymapperd/run
@@ -0,0 +1,3 @@
+#!/usr/bin/bash
+
+exec keymapperd
diff --git a/srcpkgs/keymapper/patches/musl.patch b/srcpkgs/keymapper/patches/musl.patch
new file mode 100644
index 000000000000..bd0e1ead12ec
--- /dev/null
+++ b/srcpkgs/keymapper/patches/musl.patch
@@ -0,0 +1,10 @@
+--- a/src/linux/server/ClientPort.cpp	2022-03-19 20:16:31.781429414 -0500
++++ b/src/linux/server/ClientPort.cpp	2022-03-19 20:16:20.738430072 -0500
+@@ -8,6 +8,7 @@
+ #include <sys/un.h>
+ #include <sys/stat.h>
+ #include <cerrno>
++#include <cstring>
+ 
+ namespace {
+   bool read_key_sequence(int fd, KeySequence* sequence) {
diff --git a/srcpkgs/keymapper/template b/srcpkgs/keymapper/template
new file mode 100644
index 000000000000..7f5b8d17df6e
--- /dev/null
+++ b/srcpkgs/keymapper/template
@@ -0,0 +1,18 @@
+# Template file for 'keymapper'
+pkgname=keymapper
+version=1.9.1
+revision=1
+build_style=cmake
+hostmakedepends="pkg-config wayland-devel"
+makedepends="libusb-devel libX11-devel dbus-devel eudev-libudev-devel wayland-devel"
+short_desc="Cross-platform context-aware keyremapper"
+maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"
+license="GPL-3.0-only"
+homepage="https://github.com/houmain/keymapper"
+distfiles="https://github.com/houmain/keymapper/archive/refs/tags/${version}.tar.gz"
+checksum=a215e8e13464b1c61b91994d7f46c96c0133b401d8fa2ac2bcd5f82844b0f89d
+
+post_install() {
+	rm ${DESTDIR}/usr/lib/systemd/system/keymapperd.service
+	vsv keymapperd
+}

  parent reply	other threads:[~2022-03-20  1:27 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-19 22:12 [PR PATCH] " knusbaum
2022-03-20  1:10 ` knusbaum
2022-03-20  1:27 ` knusbaum [this message]
2022-03-20  2:07 ` [PR REVIEW] " tibequadorian
2022-03-20  2:08 ` [PR PATCH] [Updated] " knusbaum
2022-03-20  2:09 ` knusbaum
2022-03-20  2:11 ` [PR REVIEW] " tibequadorian
2022-03-20  2:11 ` tibequadorian
2022-03-20  2:12 ` knusbaum
2022-03-20  2:12 ` [PR PATCH] [Updated] " knusbaum
2022-03-22 23:12 ` tibequadorian
2022-03-22 23:14 ` tibequadorian
2022-03-22 23:19 ` tibequadorian
2022-03-22 23:20 ` knusbaum
2022-06-29  2:15 ` github-actions
2022-07-13  2:15 ` [PR PATCH] [Closed]: " github-actions

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=20220320012747.t6Y6v5aQu0PBJXZgEfPmjqV9oSFskdvQHoLmvZ3nRUE@z \
    --to=knusbaum@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).