Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: ydotool-1.0.1
@ 2022-12-28  0:27 Newchair2644
  2022-12-28  0:46 ` JamiKettunen
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Newchair2644 @ 2022-12-28  0:27 UTC (permalink / raw)
  To: ml

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

There is a new pull request by Newchair2644 against master on the void-packages repository

https://github.com/Newchair2644/void-packages ydotool
https://github.com/void-linux/void-packages/pull/41322

New package: ydotool-1.0.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 [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
<!--
- 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/41322.patch is attached

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

From 7d1496c8d46a0cac91827b5e0e233ff096ec0dbe Mon Sep 17 00:00:00 2001
From: Numair Dubas <Numair2644@protonmail.com>
Date: Tue, 27 Dec 2022 19:12:27 -0500
Subject: [PATCH] New package: ydotool-1.0.1

---
 srcpkgs/ydotool/files/ydotoold/run |  3 +++
 srcpkgs/ydotool/template           | 20 ++++++++++++++++++++
 2 files changed, 23 insertions(+)
 create mode 100755 srcpkgs/ydotool/files/ydotoold/run
 create mode 100644 srcpkgs/ydotool/template

diff --git a/srcpkgs/ydotool/files/ydotoold/run b/srcpkgs/ydotool/files/ydotoold/run
new file mode 100755
index 000000000000..c267a063a2ca
--- /dev/null
+++ b/srcpkgs/ydotool/files/ydotoold/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+[ -r conf ]  && . ../conf
+exec ydotoold ${OPTS:-}
diff --git a/srcpkgs/ydotool/template b/srcpkgs/ydotool/template
new file mode 100644
index 000000000000..e6b064ef0f0b
--- /dev/null
+++ b/srcpkgs/ydotool/template
@@ -0,0 +1,20 @@
+# Template file for 'ydotool'
+pkgname=ydotool
+version=1.0.1
+revision=1
+build_style=cmake
+hostmakedepends="scdoc"
+short_desc="Generic command-line automation tool (no X!)"
+maintainer="Numair Dubas <Numair2644@protonmail.com>"
+license="AGPL-3.0-or-later"
+homepage="https://github.com/ReimuNotMoe/ydotool"
+distfiles="${homepage}/archive/refs/tags/v${version}.tar.gz"
+checksum=02311cdc608f205711b06a95e5fd71093b2294f4920efc526f5e98a2ddab42b8
+
+post_install() {
+	vsv ydotoold
+	vman build/manpage/ydotool.1
+	vman build/manpage/ydotoold.8
+	vlicense LICENSE
+	vdoc README.md
+}

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: New package: ydotool-1.0.1
  2022-12-28  0:27 [PR PATCH] New package: ydotool-1.0.1 Newchair2644
@ 2022-12-28  0:46 ` JamiKettunen
  2022-12-28 16:32 ` [PR PATCH] [Closed]: " Newchair2644
  2022-12-28 16:32 ` Newchair2644
  2 siblings, 0 replies; 7+ messages in thread
From: JamiKettunen @ 2022-12-28  0:46 UTC (permalink / raw)
  To: ml

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

New comment by JamiKettunen on void-packages repository

https://github.com/void-linux/void-packages/pull/41322#issuecomment-1366288088

Comment:
Previous attempt: #39920, author of that decided to write a similar `dotool` program and got it packaged instead https://voidlinux.org/packages/?arch=x86_64&q=dotool, perhaps that might work for you as well? Not saying this program cannot be packaged of course as well but there exists a similar program already (which I actually wasn't aware of either previously)

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PR PATCH] [Closed]: New package: ydotool-1.0.1
  2022-12-28  0:27 [PR PATCH] New package: ydotool-1.0.1 Newchair2644
  2022-12-28  0:46 ` JamiKettunen
@ 2022-12-28 16:32 ` Newchair2644
  2022-12-28 16:32 ` Newchair2644
  2 siblings, 0 replies; 7+ messages in thread
From: Newchair2644 @ 2022-12-28 16:32 UTC (permalink / raw)
  To: ml

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

There's a closed pull request on the void-packages repository

New package: ydotool-1.0.1
https://github.com/void-linux/void-packages/pull/41322

Description:
<!-- 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 [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
<!--
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: New package: ydotool-1.0.1
  2022-12-28  0:27 [PR PATCH] New package: ydotool-1.0.1 Newchair2644
  2022-12-28  0:46 ` JamiKettunen
  2022-12-28 16:32 ` [PR PATCH] [Closed]: " Newchair2644
@ 2022-12-28 16:32 ` Newchair2644
  2 siblings, 0 replies; 7+ messages in thread
From: Newchair2644 @ 2022-12-28 16:32 UTC (permalink / raw)
  To: ml

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

New comment by Newchair2644 on void-packages repository

https://github.com/void-linux/void-packages/pull/41322#issuecomment-1366776545

Comment:
I somhow missed that pr sorry. My attempt doesn't even address the issue of needing `root` to run `ydotool`. Thanks for the suggestion of `dotool`!

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PR PATCH] [Closed]: New package: ydotool-1.0.1
  2022-10-12 20:19 [PR PATCH] " JohnGebbie
@ 2022-10-22 19:50 ` JohnGebbie
  0 siblings, 0 replies; 7+ messages in thread
From: JohnGebbie @ 2022-10-22 19:50 UTC (permalink / raw)
  To: ml

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

There's a closed pull request on the void-packages repository

New package: ydotool-1.0.1
https://github.com/void-linux/void-packages/pull/39920

Description:
#### 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**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I cross built it for i686 and tested it on my laptop.
- I cross built it for aarch64-musl and tested it on my Raspberry Pi 4.

I started with https://github.com/void-linux/void-packages/pull/31237

Closes https://github.com/void-linux/void-packages/issues/31163


Sorry this is a continuation of https://github.com/void-linux/void-packages/pull/38268. I did a bad push that automatically closed the pull request, and then a force push to fix it but github won't let me reopen it because I force pushed when it was closed :( I was just trying to add a log/run to the service and update the branch.

The package is ready. I use it to type (with my voice) so I've been using it a lot.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PR PATCH] [Closed]: New package: ydotool-1.0.1
  2022-07-25 12:49 [PR PATCH] " JohnGebbie
  2022-08-08 19:28 ` [PR PATCH] [Closed]: " JohnGebbie
@ 2022-10-12 19:31 ` JohnGebbie
  1 sibling, 0 replies; 7+ messages in thread
From: JohnGebbie @ 2022-10-12 19:31 UTC (permalink / raw)
  To: ml

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

There's a closed pull request on the void-packages repository

New package: ydotool-1.0.1
https://github.com/void-linux/void-packages/pull/38268

Description:
#### 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**

#### 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
  - armv7l
  - armv6l-musl

I started with https://github.com/void-linux/void-packages/pull/31237

Closes https://github.com/void-linux/void-packages/issues/31163

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PR PATCH] [Closed]: New package: ydotool-1.0.1
  2022-07-25 12:49 [PR PATCH] " JohnGebbie
@ 2022-08-08 19:28 ` JohnGebbie
  2022-10-12 19:31 ` JohnGebbie
  1 sibling, 0 replies; 7+ messages in thread
From: JohnGebbie @ 2022-08-08 19:28 UTC (permalink / raw)
  To: ml

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

There's a closed pull request on the void-packages repository

New package: ydotool-1.0.1
https://github.com/void-linux/void-packages/pull/38268

Description:
#### 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**

#### 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
  - armv7l
  - armv6l-musl


I copied https://github.com/void-linux/void-packages/pull/31237 but ydotool has got easier to install.
To use it, you enable the ydotoold service and add your user to the "input" group.
This should press and release the A key: `ydotool key 30:1 30:0`

Currently I seem to need to `sv restart ydotoold` after I reboot.
Their manpages are out of date: https://github.com/ReimuNotMoe/ydotool/pull/144

Closes https://github.com/void-linux/void-packages/issues/31163

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-12-28 16:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-28  0:27 [PR PATCH] New package: ydotool-1.0.1 Newchair2644
2022-12-28  0:46 ` JamiKettunen
2022-12-28 16:32 ` [PR PATCH] [Closed]: " Newchair2644
2022-12-28 16:32 ` Newchair2644
  -- strict thread matches above, loose matches on Subject: below --
2022-10-12 20:19 [PR PATCH] " JohnGebbie
2022-10-22 19:50 ` [PR PATCH] [Closed]: " JohnGebbie
2022-07-25 12:49 [PR PATCH] " JohnGebbie
2022-08-08 19:28 ` [PR PATCH] [Closed]: " JohnGebbie
2022-10-12 19:31 ` JohnGebbie

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).