From: JohnGebbie <JohnGebbie@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: dotool-1.0
Date: Wed, 26 Oct 2022 14:50:05 +0200 [thread overview]
Message-ID: <20221026125005.qxuKNqR1nhHns8IKFcW5NbywNMK9oTfemTXp1WTA1NE@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-40115@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1043 bytes --]
There is an updated pull request by JohnGebbie against master on the void-packages repository
https://github.com/JohnGebbie/void-packages dotool
https://github.com/void-linux/void-packages/pull/40115
New package: dotool-1.0
#### Testing the changes
- I tested the changes in this PR: **briefly**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures:
- aarch64-musl cross
- armv7l cross
I was packaging ydotool (https://github.com/void-linux/void-packages/pull/39920),
which was a dependency of my program (https://github.com/void-linux/void-packages/pull/39716),
but it was requiring enough patching that I didn't want to depend on it and so I wrote dotool.
A patch file from https://github.com/void-linux/void-packages/pull/40115.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-dotool-40115.patch --]
[-- Type: text/x-diff, Size: 1845 bytes --]
From 2ca935d1bbcc99d655ec057d93235904c8059cec Mon Sep 17 00:00:00 2001
From: John Gebbie <me@johngebbie.com>
Date: Sat, 22 Oct 2022 19:27:12 +0100
Subject: [PATCH] New package: dotool-1.0
---
srcpkgs/dotool/files/dotoold/log/run | 2 ++
srcpkgs/dotool/files/dotoold/run | 3 +++
srcpkgs/dotool/template | 20 ++++++++++++++++++++
3 files changed, 25 insertions(+)
create mode 100755 srcpkgs/dotool/files/dotoold/log/run
create mode 100755 srcpkgs/dotool/files/dotoold/run
create mode 100644 srcpkgs/dotool/template
diff --git a/srcpkgs/dotool/files/dotoold/log/run b/srcpkgs/dotool/files/dotoold/log/run
new file mode 100755
index 000000000000..762ba9e6cc26
--- /dev/null
+++ b/srcpkgs/dotool/files/dotoold/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec vlogger -p daemon.info -t dotoold
diff --git a/srcpkgs/dotool/files/dotoold/run b/srcpkgs/dotool/files/dotoold/run
new file mode 100755
index 000000000000..4f8205c123e0
--- /dev/null
+++ b/srcpkgs/dotool/files/dotoold/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+exec 2>&1
+exec chpst -u _dotoold:input dotoold
diff --git a/srcpkgs/dotool/template b/srcpkgs/dotool/template
new file mode 100644
index 000000000000..dd9c871b851e
--- /dev/null
+++ b/srcpkgs/dotool/template
@@ -0,0 +1,20 @@
+# Template file for 'dotool'
+pkgname=dotool
+version=1.0
+revision=1
+build_style=go
+go_import_path="git.sr.ht/~geb/dotool"
+short_desc="Command to simulate input anywhere (X11, Wayland, TTYs)"
+maintainer="John Gebbie <me@johngebbie.com>"
+license="GPL-3.0-only"
+homepage="https://sr.ht/~geb/dotool"
+distfiles="https://git.sr.ht/~geb/dotool/archive/${version}.tar.gz"
+checksum=a92ca63f177df095cba5b7f15fe3512559a815d756c6121897a655385994d870
+system_accounts="_dotoold"
+
+post_install() {
+ vbin dotoolc
+ vbin dotoold
+ vsv dotoold
+ vinstall 80-dotool.rules 644 usr/lib/udev/rules.d
+}
next prev parent reply other threads:[~2022-10-26 12:50 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-22 19:39 [PR PATCH] " JohnGebbie
2022-10-22 19:57 ` [PR REVIEW] " classabbyamp
2022-10-22 19:57 ` classabbyamp
2022-10-22 20:04 ` JohnGebbie
2022-10-23 9:45 ` JohnGebbie
2022-10-23 17:50 ` classabbyamp
2022-10-23 17:52 ` classabbyamp
2022-10-23 21:53 ` JohnGebbie
2022-10-23 22:05 ` classabbyamp
2022-10-24 10:25 ` [PR PATCH] [Updated] " JohnGebbie
2022-10-24 10:28 ` [PR REVIEW] " JohnGebbie
2022-10-26 12:50 ` JohnGebbie [this message]
2022-10-26 14:45 ` [PR PATCH] [Updated] " JohnGebbie
2022-10-26 15:53 ` JohnGebbie
2022-10-26 18:21 ` [PR PATCH] [Merged]: " classabbyamp
2022-10-26 18:32 ` JohnGebbie
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=20221026125005.qxuKNqR1nhHns8IKFcW5NbywNMK9oTfemTXp1WTA1NE@z \
--to=johngebbie@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).