Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: numen-0.1
@ 2022-10-04 16:56 JohnGebbie
  2022-10-09  9:49 ` [PR PATCH] [Updated] " JohnGebbie
                   ` (59 more replies)
  0 siblings, 60 replies; 61+ messages in thread
From: JohnGebbie @ 2022-10-04 16:56 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JohnGebbie/void-packages numen3
https://github.com/void-linux/void-packages/pull/39716

New package: numen-0.1
#### Testing the changes
- I tested the changes in this PR: **NO**

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


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

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

From 8404c4f75adf36e8bd513a177908232f58411403 Mon Sep 17 00:00:00 2001
From: John Gebbie <me@johngebbie.com>
Date: Tue, 4 Oct 2022 17:50:42 +0100
Subject: [PATCH] New package: numen-0.1

---
 srcpkgs/numen/files/numen/conf      |  6 +++++
 srcpkgs/numen/files/numen/control/t |  2 ++
 srcpkgs/numen/files/numen/log/run   |  2 ++
 srcpkgs/numen/files/numen/run       |  7 ++++++
 srcpkgs/numen/files/run             | 10 +++++++++
 srcpkgs/numen/template              | 35 +++++++++++++++++++++++++++++
 6 files changed, 62 insertions(+)
 create mode 100644 srcpkgs/numen/files/numen/conf
 create mode 100755 srcpkgs/numen/files/numen/control/t
 create mode 100755 srcpkgs/numen/files/numen/log/run
 create mode 100755 srcpkgs/numen/files/numen/run
 create mode 100644 srcpkgs/numen/files/run
 create mode 100644 srcpkgs/numen/template

diff --git a/srcpkgs/numen/files/numen/conf b/srcpkgs/numen/files/numen/conf
new file mode 100644
index 000000000000..f4ec56bcfb54
--- /dev/null
+++ b/srcpkgs/numen/files/numen/conf
@@ -0,0 +1,6 @@
+# Example to run numen as a specific user:
+
+# NUMENUSER=john
+# export XAUTHORITY="/run/user/$(id -u $NUMENUSER)/Xauthority"
+# export XDG_DATA_HOME="/home/$NUMENUSER/.local/share"
+# OPTS=$(find "/home/$NUMENUSER/.config/numen/phrases/" -maxdepth 1 \! -type d)
diff --git a/srcpkgs/numen/files/numen/control/t b/srcpkgs/numen/files/numen/control/t
new file mode 100755
index 000000000000..eeeb1555652a
--- /dev/null
+++ b/srcpkgs/numen/files/numen/control/t
@@ -0,0 +1,2 @@
+#!/bin/sh
+pkill -P $(cat supervise/pid)
diff --git a/srcpkgs/numen/files/numen/log/run b/srcpkgs/numen/files/numen/log/run
new file mode 100755
index 000000000000..01131544c6d3
--- /dev/null
+++ b/srcpkgs/numen/files/numen/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec logger -p daemon.info -t numen
diff --git a/srcpkgs/numen/files/numen/run b/srcpkgs/numen/files/numen/run
new file mode 100755
index 000000000000..efd9c8b9477a
--- /dev/null
+++ b/srcpkgs/numen/files/numen/run
@@ -0,0 +1,7 @@
+#!/bin/sh
+exec 2>&1
+[ -r ./conf ] && . ./conf
+: ${NUMENUSER:=_numen}
+mkdir -p /usr/share/numen
+chown $NUMENUSER:$NUMENUSER /usr/share/numen || exit
+XDG_DATA_HOME="${XDG_DATA_HOME:-/usr/share}" exec chpst -u $NUMENUSER:input:audio /usr/local/bin/numen ${OPTS}
diff --git a/srcpkgs/numen/files/run b/srcpkgs/numen/files/run
new file mode 100644
index 000000000000..a21a244dad58
--- /dev/null
+++ b/srcpkgs/numen/files/run
@@ -0,0 +1,10 @@
+#!/bin/sh
+cd /usr/libexec/numen || exit
+if [ -z "$NUMEN_MODEL" ]; then
+	if [ -e /usr/share/vosk-models/small-en-us ]; then
+		export NUMEN_MODEL=/usr/share/vosk-models/small-en-us
+	else
+		echo 'numen: You need to install the vosk-model-small-en-us package or set $NUMEN_MODEL.' > /dev/stderr
+	fi
+fi
+exec ./numen "$@"
diff --git a/srcpkgs/numen/template b/srcpkgs/numen/template
new file mode 100644
index 000000000000..87620d0351d6
--- /dev/null
+++ b/srcpkgs/numen/template
@@ -0,0 +1,35 @@
+# Template file for 'numen'
+pkgname=numen
+version=0.1
+revision=1
+build_style=go
+go_import_path="git.sr.ht/~geb/numen"
+hostmakedepends="scdoc"
+makedepends="vosk-api libgomp-devel"
+depends="alsa-utils xdotool xset ydotool"
+short_desc="Voice control for handsfree computing"
+maintainer="John Gebbie <me@johngebbie.com>"
+license="GPL-3.0-only"
+homepage="https://sr.ht/~geb/numen"
+distfiles="https://git.sr.ht/~geb/numen/archive/${version}.tar.gz"
+checksum=f5d69ca098d3714c132adda29d3fb527da12e4c4ec92fa29cf87cb8acaf38c98
+
+system_accounts="_numen"
+_numen_groups="input audio"
+
+pre_build() {
+	export CGO_LDFLAGS="-fopenmp"
+}
+
+post_install() {
+	vmkdir usr/libexec/numen
+	mv "${DESTDIR}/usr/bin/numen" "${DESTDIR}/usr/libexec/numen/speech"
+	mv handlers "${DESTDIR}/usr/libexec/speech"
+	vbin "${FILESDIR}/run" numen
+
+	vmkdir etc/numen
+	mv phrases "${DESTDIR}/etc/numen/phrases"
+	vbin displaying
+	scdoc < numen.1.scd > numen.1
+	vman numen.1
+}

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

* Re: [PR PATCH] [Updated] New package: numen-0.1
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
@ 2022-10-09  9:49 ` JohnGebbie
  2022-10-09 14:30 ` JohnGebbie
                   ` (58 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2022-10-09  9:49 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JohnGebbie/void-packages numen3
https://github.com/void-linux/void-packages/pull/39716

New package: numen-0.1
#### Testing the changes
- I tested the changes in this PR: **NO**

#### 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'm still working on this. I put it here so I could link to it in a question.

This depends on https://github.com/void-linux/void-packages/pull/38268 and https://github.com/void-linux/void-packages/pull/39015.

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

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

From cba1ce5b537bd0c4458807062c8c6642c1085b95 Mon Sep 17 00:00:00 2001
From: John Gebbie <me@johngebbie.com>
Date: Tue, 4 Oct 2022 17:50:42 +0100
Subject: [PATCH] New package: numen-0.1

---
 srcpkgs/numen/files/numen/conf      |  6 +++++
 srcpkgs/numen/files/numen/control/t |  2 ++
 srcpkgs/numen/files/numen/log/run   |  2 ++
 srcpkgs/numen/files/numen/run       |  7 ++++++
 srcpkgs/numen/files/run             | 10 +++++++++
 srcpkgs/numen/template              | 35 +++++++++++++++++++++++++++++
 6 files changed, 62 insertions(+)
 create mode 100644 srcpkgs/numen/files/numen/conf
 create mode 100755 srcpkgs/numen/files/numen/control/t
 create mode 100755 srcpkgs/numen/files/numen/log/run
 create mode 100755 srcpkgs/numen/files/numen/run
 create mode 100644 srcpkgs/numen/files/run
 create mode 100644 srcpkgs/numen/template

diff --git a/srcpkgs/numen/files/numen/conf b/srcpkgs/numen/files/numen/conf
new file mode 100644
index 000000000000..f4ec56bcfb54
--- /dev/null
+++ b/srcpkgs/numen/files/numen/conf
@@ -0,0 +1,6 @@
+# Example to run numen as a specific user:
+
+# NUMENUSER=john
+# export XAUTHORITY="/run/user/$(id -u $NUMENUSER)/Xauthority"
+# export XDG_DATA_HOME="/home/$NUMENUSER/.local/share"
+# OPTS=$(find "/home/$NUMENUSER/.config/numen/phrases/" -maxdepth 1 \! -type d)
diff --git a/srcpkgs/numen/files/numen/control/t b/srcpkgs/numen/files/numen/control/t
new file mode 100755
index 000000000000..eeeb1555652a
--- /dev/null
+++ b/srcpkgs/numen/files/numen/control/t
@@ -0,0 +1,2 @@
+#!/bin/sh
+pkill -P $(cat supervise/pid)
diff --git a/srcpkgs/numen/files/numen/log/run b/srcpkgs/numen/files/numen/log/run
new file mode 100755
index 000000000000..01131544c6d3
--- /dev/null
+++ b/srcpkgs/numen/files/numen/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec logger -p daemon.info -t numen
diff --git a/srcpkgs/numen/files/numen/run b/srcpkgs/numen/files/numen/run
new file mode 100755
index 000000000000..0f8f870dc1a2
--- /dev/null
+++ b/srcpkgs/numen/files/numen/run
@@ -0,0 +1,7 @@
+#!/bin/sh
+exec 2>&1
+[ -r ./conf ] && . ./conf
+: ${NUMENUSER:=_numen}
+mkdir -p /usr/share/numen
+chown $NUMENUSER:$NUMENUSER /usr/share/numen || exit
+XDG_DATA_HOME="${XDG_DATA_HOME:-/usr/share}" exec chpst -u $NUMENUSER:input:audio /usr/bin/numen ${OPTS}
diff --git a/srcpkgs/numen/files/run b/srcpkgs/numen/files/run
new file mode 100644
index 000000000000..a21a244dad58
--- /dev/null
+++ b/srcpkgs/numen/files/run
@@ -0,0 +1,10 @@
+#!/bin/sh
+cd /usr/libexec/numen || exit
+if [ -z "$NUMEN_MODEL" ]; then
+	if [ -e /usr/share/vosk-models/small-en-us ]; then
+		export NUMEN_MODEL=/usr/share/vosk-models/small-en-us
+	else
+		echo 'numen: You need to install the vosk-model-small-en-us package or set $NUMEN_MODEL.' > /dev/stderr
+	fi
+fi
+exec ./numen "$@"
diff --git a/srcpkgs/numen/template b/srcpkgs/numen/template
new file mode 100644
index 000000000000..87620d0351d6
--- /dev/null
+++ b/srcpkgs/numen/template
@@ -0,0 +1,35 @@
+# Template file for 'numen'
+pkgname=numen
+version=0.1
+revision=1
+build_style=go
+go_import_path="git.sr.ht/~geb/numen"
+hostmakedepends="scdoc"
+makedepends="vosk-api libgomp-devel"
+depends="alsa-utils xdotool xset ydotool"
+short_desc="Voice control for handsfree computing"
+maintainer="John Gebbie <me@johngebbie.com>"
+license="GPL-3.0-only"
+homepage="https://sr.ht/~geb/numen"
+distfiles="https://git.sr.ht/~geb/numen/archive/${version}.tar.gz"
+checksum=f5d69ca098d3714c132adda29d3fb527da12e4c4ec92fa29cf87cb8acaf38c98
+
+system_accounts="_numen"
+_numen_groups="input audio"
+
+pre_build() {
+	export CGO_LDFLAGS="-fopenmp"
+}
+
+post_install() {
+	vmkdir usr/libexec/numen
+	mv "${DESTDIR}/usr/bin/numen" "${DESTDIR}/usr/libexec/numen/speech"
+	mv handlers "${DESTDIR}/usr/libexec/speech"
+	vbin "${FILESDIR}/run" numen
+
+	vmkdir etc/numen
+	mv phrases "${DESTDIR}/etc/numen/phrases"
+	vbin displaying
+	scdoc < numen.1.scd > numen.1
+	vman numen.1
+}

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

* Re: [PR PATCH] [Updated] New package: numen-0.1
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
  2022-10-09  9:49 ` [PR PATCH] [Updated] " JohnGebbie
@ 2022-10-09 14:30 ` JohnGebbie
  2022-10-09 16:38 ` JohnGebbie
                   ` (57 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2022-10-09 14:30 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JohnGebbie/void-packages numen3
https://github.com/void-linux/void-packages/pull/39716

New package: numen-0.1
#### Testing the changes
- I tested the changes in this PR: **NO**

#### 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'm still working on this. I put it here so I could link to it in a question.

This depends on https://github.com/void-linux/void-packages/pull/38268 and https://github.com/void-linux/void-packages/pull/39015.

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

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

From 156fb7a6c4ecab1eadbaa56fa8eef6d2fbc11185 Mon Sep 17 00:00:00 2001
From: John Gebbie <me@johngebbie.com>
Date: Tue, 4 Oct 2022 17:50:42 +0100
Subject: [PATCH] New package: numen-0.1

---
 srcpkgs/numen/files/numen/conf      |  6 +++++
 srcpkgs/numen/files/numen/control/t |  2 ++
 srcpkgs/numen/files/numen/log/run   |  2 ++
 srcpkgs/numen/files/numen/run       |  7 ++++++
 srcpkgs/numen/files/run             | 10 ++++++++
 srcpkgs/numen/template              | 36 +++++++++++++++++++++++++++++
 6 files changed, 63 insertions(+)
 create mode 100644 srcpkgs/numen/files/numen/conf
 create mode 100755 srcpkgs/numen/files/numen/control/t
 create mode 100755 srcpkgs/numen/files/numen/log/run
 create mode 100755 srcpkgs/numen/files/numen/run
 create mode 100644 srcpkgs/numen/files/run
 create mode 100644 srcpkgs/numen/template

diff --git a/srcpkgs/numen/files/numen/conf b/srcpkgs/numen/files/numen/conf
new file mode 100644
index 000000000000..f4ec56bcfb54
--- /dev/null
+++ b/srcpkgs/numen/files/numen/conf
@@ -0,0 +1,6 @@
+# Example to run numen as a specific user:
+
+# NUMENUSER=john
+# export XAUTHORITY="/run/user/$(id -u $NUMENUSER)/Xauthority"
+# export XDG_DATA_HOME="/home/$NUMENUSER/.local/share"
+# OPTS=$(find "/home/$NUMENUSER/.config/numen/phrases/" -maxdepth 1 \! -type d)
diff --git a/srcpkgs/numen/files/numen/control/t b/srcpkgs/numen/files/numen/control/t
new file mode 100755
index 000000000000..eeeb1555652a
--- /dev/null
+++ b/srcpkgs/numen/files/numen/control/t
@@ -0,0 +1,2 @@
+#!/bin/sh
+pkill -P $(cat supervise/pid)
diff --git a/srcpkgs/numen/files/numen/log/run b/srcpkgs/numen/files/numen/log/run
new file mode 100755
index 000000000000..01131544c6d3
--- /dev/null
+++ b/srcpkgs/numen/files/numen/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec logger -p daemon.info -t numen
diff --git a/srcpkgs/numen/files/numen/run b/srcpkgs/numen/files/numen/run
new file mode 100755
index 000000000000..0f8f870dc1a2
--- /dev/null
+++ b/srcpkgs/numen/files/numen/run
@@ -0,0 +1,7 @@
+#!/bin/sh
+exec 2>&1
+[ -r ./conf ] && . ./conf
+: ${NUMENUSER:=_numen}
+mkdir -p /usr/share/numen
+chown $NUMENUSER:$NUMENUSER /usr/share/numen || exit
+XDG_DATA_HOME="${XDG_DATA_HOME:-/usr/share}" exec chpst -u $NUMENUSER:input:audio /usr/bin/numen ${OPTS}
diff --git a/srcpkgs/numen/files/run b/srcpkgs/numen/files/run
new file mode 100644
index 000000000000..a21a244dad58
--- /dev/null
+++ b/srcpkgs/numen/files/run
@@ -0,0 +1,10 @@
+#!/bin/sh
+cd /usr/libexec/numen || exit
+if [ -z "$NUMEN_MODEL" ]; then
+	if [ -e /usr/share/vosk-models/small-en-us ]; then
+		export NUMEN_MODEL=/usr/share/vosk-models/small-en-us
+	else
+		echo 'numen: You need to install the vosk-model-small-en-us package or set $NUMEN_MODEL.' > /dev/stderr
+	fi
+fi
+exec ./numen "$@"
diff --git a/srcpkgs/numen/template b/srcpkgs/numen/template
new file mode 100644
index 000000000000..1c06345ba34a
--- /dev/null
+++ b/srcpkgs/numen/template
@@ -0,0 +1,36 @@
+# Template file for 'numen'
+pkgname=numen
+version=0.1
+revision=1
+build_style=go
+go_import_path="git.sr.ht/~geb/numen"
+hostmakedepends="scdoc"
+makedepends="vosk-api libgomp-devel"
+depends="alsa-utils xdotool xset ydotool"
+short_desc="Voice control for handsfree computing"
+maintainer="John Gebbie <me@johngebbie.com>"
+license="GPL-3.0-only"
+homepage="https://sr.ht/~geb/numen"
+distfiles="https://git.sr.ht/~geb/numen/archive/${version}.tar.gz"
+checksum=8829139beec06c1c661fb0edeae83bc43db84ae9be73463f203fd8e762f13e56
+
+system_accounts="_numen"
+_numen_groups="input audio"
+
+pre_build() {
+	# For the vosk-api package (openblas).
+	export CGO_LDFLAGS="-fopenmp"
+}
+
+post_install() {
+	vmkdir usr/libexec/numen
+	mv "${DESTDIR}/usr/bin/numen" "${DESTDIR}/usr/libexec/numen/speech"
+	mv handlers "${DESTDIR}/usr/libexec/speech"
+	vbin "${FILESDIR}/run" numen
+
+	vmkdir etc/numen
+	mv phrases "${DESTDIR}/etc/numen/phrases"
+	vbin displaying
+	scdoc < numen.1.scd > numen.1
+	vman numen.1
+}

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

* Re: [PR PATCH] [Updated] New package: numen-0.1
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
  2022-10-09  9:49 ` [PR PATCH] [Updated] " JohnGebbie
  2022-10-09 14:30 ` JohnGebbie
@ 2022-10-09 16:38 ` JohnGebbie
  2022-10-14  9:27 ` JohnGebbie
                   ` (56 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2022-10-09 16:38 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JohnGebbie/void-packages numen3
https://github.com/void-linux/void-packages/pull/39716

New package: numen-0.1
#### Testing the changes
- I tested the changes in this PR: **NO**

#### 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'm still working on this. I put it here so I could link to it in a question.

This depends on https://github.com/void-linux/void-packages/pull/38268 and https://github.com/void-linux/void-packages/pull/39015.

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

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

From 48671bfb6d8b39d9a0cd2c3811923730460af698 Mon Sep 17 00:00:00 2001
From: John Gebbie <me@johngebbie.com>
Date: Tue, 4 Oct 2022 17:50:42 +0100
Subject: [PATCH] New package: numen-0.1

---
 srcpkgs/numen/files/numen/conf      |  6 +++++
 srcpkgs/numen/files/numen/control/t |  2 ++
 srcpkgs/numen/files/numen/log/run   |  2 ++
 srcpkgs/numen/files/numen/run       |  7 +++++
 srcpkgs/numen/files/run             | 10 +++++++
 srcpkgs/numen/template              | 41 +++++++++++++++++++++++++++++
 6 files changed, 68 insertions(+)
 create mode 100644 srcpkgs/numen/files/numen/conf
 create mode 100755 srcpkgs/numen/files/numen/control/t
 create mode 100755 srcpkgs/numen/files/numen/log/run
 create mode 100755 srcpkgs/numen/files/numen/run
 create mode 100644 srcpkgs/numen/files/run
 create mode 100644 srcpkgs/numen/template

diff --git a/srcpkgs/numen/files/numen/conf b/srcpkgs/numen/files/numen/conf
new file mode 100644
index 000000000000..f4ec56bcfb54
--- /dev/null
+++ b/srcpkgs/numen/files/numen/conf
@@ -0,0 +1,6 @@
+# Example to run numen as a specific user:
+
+# NUMENUSER=john
+# export XAUTHORITY="/run/user/$(id -u $NUMENUSER)/Xauthority"
+# export XDG_DATA_HOME="/home/$NUMENUSER/.local/share"
+# OPTS=$(find "/home/$NUMENUSER/.config/numen/phrases/" -maxdepth 1 \! -type d)
diff --git a/srcpkgs/numen/files/numen/control/t b/srcpkgs/numen/files/numen/control/t
new file mode 100755
index 000000000000..eeeb1555652a
--- /dev/null
+++ b/srcpkgs/numen/files/numen/control/t
@@ -0,0 +1,2 @@
+#!/bin/sh
+pkill -P $(cat supervise/pid)
diff --git a/srcpkgs/numen/files/numen/log/run b/srcpkgs/numen/files/numen/log/run
new file mode 100755
index 000000000000..01131544c6d3
--- /dev/null
+++ b/srcpkgs/numen/files/numen/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec logger -p daemon.info -t numen
diff --git a/srcpkgs/numen/files/numen/run b/srcpkgs/numen/files/numen/run
new file mode 100755
index 000000000000..0f8f870dc1a2
--- /dev/null
+++ b/srcpkgs/numen/files/numen/run
@@ -0,0 +1,7 @@
+#!/bin/sh
+exec 2>&1
+[ -r ./conf ] && . ./conf
+: ${NUMENUSER:=_numen}
+mkdir -p /usr/share/numen
+chown $NUMENUSER:$NUMENUSER /usr/share/numen || exit
+XDG_DATA_HOME="${XDG_DATA_HOME:-/usr/share}" exec chpst -u $NUMENUSER:input:audio /usr/bin/numen ${OPTS}
diff --git a/srcpkgs/numen/files/run b/srcpkgs/numen/files/run
new file mode 100644
index 000000000000..a21a244dad58
--- /dev/null
+++ b/srcpkgs/numen/files/run
@@ -0,0 +1,10 @@
+#!/bin/sh
+cd /usr/libexec/numen || exit
+if [ -z "$NUMEN_MODEL" ]; then
+	if [ -e /usr/share/vosk-models/small-en-us ]; then
+		export NUMEN_MODEL=/usr/share/vosk-models/small-en-us
+	else
+		echo 'numen: You need to install the vosk-model-small-en-us package or set $NUMEN_MODEL.' > /dev/stderr
+	fi
+fi
+exec ./numen "$@"
diff --git a/srcpkgs/numen/template b/srcpkgs/numen/template
new file mode 100644
index 000000000000..238461a70046
--- /dev/null
+++ b/srcpkgs/numen/template
@@ -0,0 +1,41 @@
+# Template file for 'numen'
+pkgname=numen
+version=0.1
+revision=1
+build_style=go
+go_import_path="git.sr.ht/~geb/numen"
+hostmakedepends="scdoc"
+makedepends="vosk-api libgomp-devel"
+depends="alsa-utils xdotool xset ydotool"
+short_desc="Voice control for handsfree computing"
+maintainer="John Gebbie <me@johngebbie.com>"
+license="GPL-3.0-only"
+homepage="https://sr.ht/~geb/numen"
+distfiles="https://git.sr.ht/~geb/numen/archive/${version}.tar.gz"
+checksum=8829139beec06c1c661fb0edeae83bc43db84ae9be73463f203fd8e762f13e56
+
+system_accounts="_numen"
+_numen_groups="input audio"
+
+pre_build() {
+	# For the vosk-api package (openblas).
+	export CGO_LDFLAGS="-fopenmp"
+}
+
+post_install() {
+	vmkdir etc/numen
+	mv phrases "${DESTDIR}/etc/numen/phrases"
+	mv displaying "${DESTDIR}/usr/bin"
+	scdoc < numen.1.scd > numen.1
+	vman numen.1
+
+	vmkdir usr/libexec/numen
+	mv "${DESTDIR}/usr/bin/numen" "${DESTDIR}/usr/libexec/numen/speech"
+	mv handlers "${DESTDIR}/usr/libexec/numen"
+	for f in *; do
+		if [ -f "$f" ] && [ -x "$f" ]; then
+			mv "$f" "${DESTDIR}/usr/libexec/numen/$f"
+		fi
+	done
+	vbin "${FILESDIR}/run" numen
+}

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

* Re: [PR PATCH] [Updated] New package: numen-0.1
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (2 preceding siblings ...)
  2022-10-09 16:38 ` JohnGebbie
@ 2022-10-14  9:27 ` JohnGebbie
  2022-10-14  9:53 ` JohnGebbie
                   ` (55 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2022-10-14  9:27 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JohnGebbie/void-packages numen3
https://github.com/void-linux/void-packages/pull/39716

New package: numen-0.1
#### Testing the changes
- I tested the changes in this PR: **NO**

#### 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'm still working on this. I put it here so I could link to it in a question.

This depends on https://github.com/void-linux/void-packages/pull/38268 and https://github.com/void-linux/void-packages/pull/39015.

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

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

From e016c366990c4258e10ec580947e2a702e409847 Mon Sep 17 00:00:00 2001
From: John Gebbie <me@johngebbie.com>
Date: Tue, 4 Oct 2022 17:50:42 +0100
Subject: [PATCH] New package: numen-0.1

---
 srcpkgs/numen/files/numen/conf      |  6 ++++
 srcpkgs/numen/files/numen/control/t |  2 ++
 srcpkgs/numen/files/numen/log/run   |  2 ++
 srcpkgs/numen/files/numen/run       |  7 ++++
 srcpkgs/numen/files/run             | 10 ++++++
 srcpkgs/numen/template              | 50 +++++++++++++++++++++++++++++
 6 files changed, 77 insertions(+)
 create mode 100644 srcpkgs/numen/files/numen/conf
 create mode 100755 srcpkgs/numen/files/numen/control/t
 create mode 100755 srcpkgs/numen/files/numen/log/run
 create mode 100755 srcpkgs/numen/files/numen/run
 create mode 100644 srcpkgs/numen/files/run
 create mode 100644 srcpkgs/numen/template

diff --git a/srcpkgs/numen/files/numen/conf b/srcpkgs/numen/files/numen/conf
new file mode 100644
index 000000000000..f4ec56bcfb54
--- /dev/null
+++ b/srcpkgs/numen/files/numen/conf
@@ -0,0 +1,6 @@
+# Example to run numen as a specific user:
+
+# NUMENUSER=john
+# export XAUTHORITY="/run/user/$(id -u $NUMENUSER)/Xauthority"
+# export XDG_DATA_HOME="/home/$NUMENUSER/.local/share"
+# OPTS=$(find "/home/$NUMENUSER/.config/numen/phrases/" -maxdepth 1 \! -type d)
diff --git a/srcpkgs/numen/files/numen/control/t b/srcpkgs/numen/files/numen/control/t
new file mode 100755
index 000000000000..eeeb1555652a
--- /dev/null
+++ b/srcpkgs/numen/files/numen/control/t
@@ -0,0 +1,2 @@
+#!/bin/sh
+pkill -P $(cat supervise/pid)
diff --git a/srcpkgs/numen/files/numen/log/run b/srcpkgs/numen/files/numen/log/run
new file mode 100755
index 000000000000..01131544c6d3
--- /dev/null
+++ b/srcpkgs/numen/files/numen/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec logger -p daemon.info -t numen
diff --git a/srcpkgs/numen/files/numen/run b/srcpkgs/numen/files/numen/run
new file mode 100755
index 000000000000..0f8f870dc1a2
--- /dev/null
+++ b/srcpkgs/numen/files/numen/run
@@ -0,0 +1,7 @@
+#!/bin/sh
+exec 2>&1
+[ -r ./conf ] && . ./conf
+: ${NUMENUSER:=_numen}
+mkdir -p /usr/share/numen
+chown $NUMENUSER:$NUMENUSER /usr/share/numen || exit
+XDG_DATA_HOME="${XDG_DATA_HOME:-/usr/share}" exec chpst -u $NUMENUSER:input:audio /usr/bin/numen ${OPTS}
diff --git a/srcpkgs/numen/files/run b/srcpkgs/numen/files/run
new file mode 100644
index 000000000000..a21a244dad58
--- /dev/null
+++ b/srcpkgs/numen/files/run
@@ -0,0 +1,10 @@
+#!/bin/sh
+cd /usr/libexec/numen || exit
+if [ -z "$NUMEN_MODEL" ]; then
+	if [ -e /usr/share/vosk-models/small-en-us ]; then
+		export NUMEN_MODEL=/usr/share/vosk-models/small-en-us
+	else
+		echo 'numen: You need to install the vosk-model-small-en-us package or set $NUMEN_MODEL.' > /dev/stderr
+	fi
+fi
+exec ./numen "$@"
diff --git a/srcpkgs/numen/template b/srcpkgs/numen/template
new file mode 100644
index 000000000000..7f4719707d4e
--- /dev/null
+++ b/srcpkgs/numen/template
@@ -0,0 +1,50 @@
+# Template file for 'numen'
+pkgname=numen
+version=0.1
+revision=1
+build_style=go
+go_import_path="git.sr.ht/~geb/numen"
+hostmakedepends="scdoc"
+makedepends="vosk-api libgomp-devel"
+depends="alsa-utils xdotool xset ydotool"
+short_desc="Voice control for handsfree computing"
+maintainer="John Gebbie <me@johngebbie.com>"
+license="GPL-3.0-only"
+homepage="https://sr.ht/~geb/numen"
+distfiles="https://git.sr.ht/~geb/numen/archive/${version}.tar.gz"
+checksum=8829139beec06c1c661fb0edeae83bc43db84ae9be73463f203fd8e762f13e56
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	makedepends+=" libexecinfo-devel"
+fi
+
+system_accounts="_numen"
+_numen_groups="input audio"
+
+pre_build() {
+	# for the vosk-api package (openblas)
+	export CGO_LDFLAGS="$CGO_LDFLAGS -fopenmp"
+
+	if [ "$XBPS_TARGET_LIBC" = musl ]; then
+		# for the vosk-api package (openfst)
+		export CGO_LDFLAGS="$CGO_LDFLAGS -lexecinfo"
+	fi
+}
+
+post_install() {
+	vmkdir etc/numen
+	mv phrases "${DESTDIR}/etc/numen/phrases"
+	mv displaying "${DESTDIR}/usr/bin"
+	scdoc < numen.1.scd > numen.1
+	vman numen.1
+
+	vmkdir usr/libexec/numen
+	mv "${DESTDIR}/usr/bin/numen" "${DESTDIR}/usr/libexec/numen/speech"
+	mv handlers "${DESTDIR}/usr/libexec/numen"
+	for f in *; do
+		if [ -f "$f" ] && [ -x "$f" ]; then
+			mv "$f" "${DESTDIR}/usr/libexec/numen/$f"
+		fi
+	done
+	vbin "${FILESDIR}/run" numen
+}

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

* Re: [PR PATCH] [Updated] New package: numen-0.1
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (3 preceding siblings ...)
  2022-10-14  9:27 ` JohnGebbie
@ 2022-10-14  9:53 ` JohnGebbie
  2022-10-30 11:20 ` JohnGebbie
                   ` (54 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2022-10-14  9:53 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JohnGebbie/void-packages numen3
https://github.com/void-linux/void-packages/pull/39716

New package: numen-0.1
#### Testing the changes
- I tested the changes in this PR: **NO**

#### 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'm still working on this. I put it here so I could link to it in a question.

This depends on https://github.com/void-linux/void-packages/pull/38268 and https://github.com/void-linux/void-packages/pull/39015.

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

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

From 9cf58664c025925430ae1892fd82a6ee5ff95c26 Mon Sep 17 00:00:00 2001
From: John Gebbie <me@johngebbie.com>
Date: Tue, 4 Oct 2022 17:50:42 +0100
Subject: [PATCH] New package: numen-0.1

---
 srcpkgs/numen/files/numen/conf      |  6 ++++
 srcpkgs/numen/files/numen/control/t |  2 ++
 srcpkgs/numen/files/numen/log/run   |  2 ++
 srcpkgs/numen/files/numen/run       |  7 ++++
 srcpkgs/numen/files/run             | 10 ++++++
 srcpkgs/numen/template              | 52 +++++++++++++++++++++++++++++
 6 files changed, 79 insertions(+)
 create mode 100644 srcpkgs/numen/files/numen/conf
 create mode 100755 srcpkgs/numen/files/numen/control/t
 create mode 100755 srcpkgs/numen/files/numen/log/run
 create mode 100755 srcpkgs/numen/files/numen/run
 create mode 100644 srcpkgs/numen/files/run
 create mode 100644 srcpkgs/numen/template

diff --git a/srcpkgs/numen/files/numen/conf b/srcpkgs/numen/files/numen/conf
new file mode 100644
index 000000000000..f4ec56bcfb54
--- /dev/null
+++ b/srcpkgs/numen/files/numen/conf
@@ -0,0 +1,6 @@
+# Example to run numen as a specific user:
+
+# NUMENUSER=john
+# export XAUTHORITY="/run/user/$(id -u $NUMENUSER)/Xauthority"
+# export XDG_DATA_HOME="/home/$NUMENUSER/.local/share"
+# OPTS=$(find "/home/$NUMENUSER/.config/numen/phrases/" -maxdepth 1 \! -type d)
diff --git a/srcpkgs/numen/files/numen/control/t b/srcpkgs/numen/files/numen/control/t
new file mode 100755
index 000000000000..eeeb1555652a
--- /dev/null
+++ b/srcpkgs/numen/files/numen/control/t
@@ -0,0 +1,2 @@
+#!/bin/sh
+pkill -P $(cat supervise/pid)
diff --git a/srcpkgs/numen/files/numen/log/run b/srcpkgs/numen/files/numen/log/run
new file mode 100755
index 000000000000..01131544c6d3
--- /dev/null
+++ b/srcpkgs/numen/files/numen/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec logger -p daemon.info -t numen
diff --git a/srcpkgs/numen/files/numen/run b/srcpkgs/numen/files/numen/run
new file mode 100755
index 000000000000..0f8f870dc1a2
--- /dev/null
+++ b/srcpkgs/numen/files/numen/run
@@ -0,0 +1,7 @@
+#!/bin/sh
+exec 2>&1
+[ -r ./conf ] && . ./conf
+: ${NUMENUSER:=_numen}
+mkdir -p /usr/share/numen
+chown $NUMENUSER:$NUMENUSER /usr/share/numen || exit
+XDG_DATA_HOME="${XDG_DATA_HOME:-/usr/share}" exec chpst -u $NUMENUSER:input:audio /usr/bin/numen ${OPTS}
diff --git a/srcpkgs/numen/files/run b/srcpkgs/numen/files/run
new file mode 100644
index 000000000000..a21a244dad58
--- /dev/null
+++ b/srcpkgs/numen/files/run
@@ -0,0 +1,10 @@
+#!/bin/sh
+cd /usr/libexec/numen || exit
+if [ -z "$NUMEN_MODEL" ]; then
+	if [ -e /usr/share/vosk-models/small-en-us ]; then
+		export NUMEN_MODEL=/usr/share/vosk-models/small-en-us
+	else
+		echo 'numen: You need to install the vosk-model-small-en-us package or set $NUMEN_MODEL.' > /dev/stderr
+	fi
+fi
+exec ./numen "$@"
diff --git a/srcpkgs/numen/template b/srcpkgs/numen/template
new file mode 100644
index 000000000000..808956e97052
--- /dev/null
+++ b/srcpkgs/numen/template
@@ -0,0 +1,52 @@
+# Template file for 'numen'
+pkgname=numen
+version=0.1
+revision=1
+build_style=go
+go_import_path="git.sr.ht/~geb/numen"
+hostmakedepends="scdoc"
+makedepends="vosk-api libgomp-devel"
+depends="alsa-utils xdotool xset ydotool"
+short_desc="Voice control for handsfree computing"
+maintainer="John Gebbie <me@johngebbie.com>"
+license="GPL-3.0-only"
+homepage="https://sr.ht/~geb/numen"
+distfiles="https://git.sr.ht/~geb/numen/archive/${version}.tar.gz"
+checksum=8829139beec06c1c661fb0edeae83bc43db84ae9be73463f203fd8e762f13e56
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	makedepends+=" libexecinfo-devel"
+fi
+
+system_accounts="_numen"
+_numen_groups="input audio"
+
+pre_build() {
+	# for the vosk-api package (openblas)
+	export CGO_LDFLAGS="$CGO_LDFLAGS -fopenmp"
+
+	if [ "$XBPS_TARGET_LIBC" = musl ]; then
+		# for the vosk-api package (openfst)
+		export CGO_LDFLAGS="$CGO_LDFLAGS -lexecinfo"
+	fi
+}
+
+post_install() {
+	vmkdir etc/numen
+	mv phrases "${DESTDIR}/etc/numen/phrases"
+	mv displaying "${DESTDIR}/usr/bin"
+	scdoc < numen.1.scd > numen.1
+	vman numen.1
+
+	vmkdir usr/libexec/numen
+	mv "${DESTDIR}/usr/bin/numen" "${DESTDIR}/usr/libexec/numen/speech"
+	mv handlers "${DESTDIR}/usr/libexec/numen"
+	for f in *; do
+		if [ -f "$f" ] && [ -x "$f" ]; then
+			mv "$f" "${DESTDIR}/usr/libexec/numen/$f"
+		fi
+	done
+	vbin "${FILESDIR}/run" numen
+
+	vsv numen
+}

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

* Re: [PR PATCH] [Updated] New package: numen-0.1
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (4 preceding siblings ...)
  2022-10-14  9:53 ` JohnGebbie
@ 2022-10-30 11:20 ` JohnGebbie
  2022-10-31 12:08 ` JohnGebbie
                   ` (53 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2022-10-30 11:20 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JohnGebbie/void-packages numen3
https://github.com/void-linux/void-packages/pull/39716

New package: numen-0.1
#### Testing the changes
- I tested the changes in this PR: **NO**

#### 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'm still working on this. I put it here so I could link to it in a question.

This depends on https://github.com/void-linux/void-packages/pull/40115 and https://github.com/void-linux/void-packages/pull/39015.

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

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

From 39f75c824c8b3c1bd34529543a86a4143bddf4e2 Mon Sep 17 00:00:00 2001
From: John Gebbie <me@johngebbie.com>
Date: Tue, 4 Oct 2022 17:50:42 +0100
Subject: [PATCH] New package: numen-0.1

---
 srcpkgs/numen/files/numen/conf    | 13 +++++++++++
 srcpkgs/numen/files/numen/log/run |  2 ++
 srcpkgs/numen/files/numen/run     | 11 +++++++++
 srcpkgs/numen/files/run           | 10 +++++++++
 srcpkgs/numen/template            | 37 +++++++++++++++++++++++++++++++
 5 files changed, 73 insertions(+)
 create mode 100644 srcpkgs/numen/files/numen/conf
 create mode 100755 srcpkgs/numen/files/numen/log/run
 create mode 100755 srcpkgs/numen/files/numen/run
 create mode 100644 srcpkgs/numen/files/run
 create mode 100644 srcpkgs/numen/template

diff --git a/srcpkgs/numen/files/numen/conf b/srcpkgs/numen/files/numen/conf
new file mode 100644
index 000000000000..69bb15189699
--- /dev/null
+++ b/srcpkgs/numen/files/numen/conf
@@ -0,0 +1,13 @@
+# Example to run numen as a specific user:
+
+# NUMENUSER=john
+# NUMENGROUP="$NUMENUSER"
+# DATA_HOME="/home/$NUMENUSER/.local/share"
+# export XAUTHORITY="/run/user/$(id -u $NUMENUSER)/Xauthority"
+# OPTS=$(
+# 	if [ -d "/home/$NUMENUSER/.config/numen/phrases" ]; then
+# 		printf %s\\n "/home/$NUMENUSER/.config/numen/phrases/"*.phrases
+# 	else
+# 		printf %s\\n /etc/numen/phrases/*.phrases
+# 	fi
+# )
diff --git a/srcpkgs/numen/files/numen/log/run b/srcpkgs/numen/files/numen/log/run
new file mode 100755
index 000000000000..f77a7f813f11
--- /dev/null
+++ b/srcpkgs/numen/files/numen/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec vlogger -p daemon.info -t numen
diff --git a/srcpkgs/numen/files/numen/run b/srcpkgs/numen/files/numen/run
new file mode 100755
index 000000000000..84d8165ad3fb
--- /dev/null
+++ b/srcpkgs/numen/files/numen/run
@@ -0,0 +1,11 @@
+#!/bin/sh
+exec 2>&1
+[ -r ./conf ] && . ./conf
+: ${NUMENUSER:=_numen}
+: ${NUMENGROUP:=_numen}
+if [ -z "$DATA_HOME" ]; then
+	DATA_HOME=/usr/share
+	rm -rf "$DATA_HOME/numen" && mkdir -p "$DATA_HOME/numen"
+	chown "$NUMENUSER:$NUMENGROUP" "$DATA_HOME/numen"
+fi
+XDG_DATA_HOME="$DATA_HOME" exec chpst -u "$NUMENUSER:$NUMENGROUP:input:audio" numen ${OPTS}
diff --git a/srcpkgs/numen/files/run b/srcpkgs/numen/files/run
new file mode 100644
index 000000000000..a21a244dad58
--- /dev/null
+++ b/srcpkgs/numen/files/run
@@ -0,0 +1,10 @@
+#!/bin/sh
+cd /usr/libexec/numen || exit
+if [ -z "$NUMEN_MODEL" ]; then
+	if [ -e /usr/share/vosk-models/small-en-us ]; then
+		export NUMEN_MODEL=/usr/share/vosk-models/small-en-us
+	else
+		echo 'numen: You need to install the vosk-model-small-en-us package or set $NUMEN_MODEL.' > /dev/stderr
+	fi
+fi
+exec ./numen "$@"
diff --git a/srcpkgs/numen/template b/srcpkgs/numen/template
new file mode 100644
index 000000000000..c9aa0918853d
--- /dev/null
+++ b/srcpkgs/numen/template
@@ -0,0 +1,37 @@
+# Template file for 'numen'
+pkgname=numen
+version=tmp2
+revision=1
+build_style=go
+go_import_path="git.sr.ht/~geb/numen"
+hostmakedepends="scdoc"
+makedepends="vosk-api libgomp-devel"
+depends="alsa-utils dmenu dotool xdotool xset"
+short_desc="Voice control for handsfree computing"
+maintainer="John Gebbie <me@johngebbie.com>"
+license="GPL-3.0-only"
+homepage="https://sr.ht/~geb/numen"
+distfiles="https://git.sr.ht/~geb/numen/archive/${version}.tar.gz"
+checksum=1bade9c25261b6199cca4cf73c87ba5ad1c6a4018c7fc6ca33f7e48c29400399
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	makedepends+=" libexecinfo-devel"
+fi
+
+system_accounts="_numen"
+
+pre_build() {
+	# for the vosk-api package (openblas)
+	export CGO_LDFLAGS="$CGO_LDFLAGS -fopenmp"
+
+	if [ "$XBPS_TARGET_LIBC" = musl ]; then
+		# for the vosk-api package (openfst)
+		export CGO_LDFLAGS="$CGO_LDFLAGS -lexecinfo"
+	fi
+}
+
+post_install() {
+	mv "${DESTDIR}/usr/bin/numen" speech
+	PACKAGING=true ./install-numen.sh "${DESTDIR}" /usr/bin
+	vsv numen
+}

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

* Re: [PR PATCH] [Updated] New package: numen-0.1
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (5 preceding siblings ...)
  2022-10-30 11:20 ` JohnGebbie
@ 2022-10-31 12:08 ` JohnGebbie
  2022-10-31 12:22 ` New package: numen-0.2 JohnGebbie
                   ` (52 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2022-10-31 12:08 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JohnGebbie/void-packages numen3
https://github.com/void-linux/void-packages/pull/39716

New package: numen-0.1
#### Testing the changes
- I tested the changes in this PR: **NO**

#### 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'm still working on this. I put it here so I could link to it in a question.

This depends on https://github.com/void-linux/void-packages/pull/40115 and https://github.com/void-linux/void-packages/pull/39015.

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

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

From a4991c304db05a8b03307dfafd92937b47e9f2a7 Mon Sep 17 00:00:00 2001
From: John Gebbie <me@johngebbie.com>
Date: Tue, 4 Oct 2022 17:50:42 +0100
Subject: [PATCH] New package: numen-0.2

---
 srcpkgs/numen/files/numen/conf    | 13 +++++++++++
 srcpkgs/numen/files/numen/log/run |  2 ++
 srcpkgs/numen/files/numen/run     | 11 +++++++++
 srcpkgs/numen/template            | 37 +++++++++++++++++++++++++++++++
 4 files changed, 63 insertions(+)
 create mode 100644 srcpkgs/numen/files/numen/conf
 create mode 100755 srcpkgs/numen/files/numen/log/run
 create mode 100755 srcpkgs/numen/files/numen/run
 create mode 100644 srcpkgs/numen/template

diff --git a/srcpkgs/numen/files/numen/conf b/srcpkgs/numen/files/numen/conf
new file mode 100644
index 000000000000..635f5b0aa313
--- /dev/null
+++ b/srcpkgs/numen/files/numen/conf
@@ -0,0 +1,13 @@
+# Example to run the service as a specific user:
+
+# NUMENUSER=john
+# NUMENGROUP="$NUMENUSER"
+# DATA_HOME="/home/$NUMENUSER/.local/share"
+# export XAUTHORITY="/run/user/$(id -u $NUMENUSER)/Xauthority"
+# OPTS=$(
+# 	if [ -d "/home/$NUMENUSER/.config/numen/phrases" ]; then
+# 		printf %s\\n "/home/$NUMENUSER/.config/numen/phrases/"*.phrases
+# 	else
+# 		printf %s\\n /etc/numen/phrases/*.phrases
+# 	fi
+# )
diff --git a/srcpkgs/numen/files/numen/log/run b/srcpkgs/numen/files/numen/log/run
new file mode 100755
index 000000000000..f77a7f813f11
--- /dev/null
+++ b/srcpkgs/numen/files/numen/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec vlogger -p daemon.info -t numen
diff --git a/srcpkgs/numen/files/numen/run b/srcpkgs/numen/files/numen/run
new file mode 100755
index 000000000000..84d8165ad3fb
--- /dev/null
+++ b/srcpkgs/numen/files/numen/run
@@ -0,0 +1,11 @@
+#!/bin/sh
+exec 2>&1
+[ -r ./conf ] && . ./conf
+: ${NUMENUSER:=_numen}
+: ${NUMENGROUP:=_numen}
+if [ -z "$DATA_HOME" ]; then
+	DATA_HOME=/usr/share
+	rm -rf "$DATA_HOME/numen" && mkdir -p "$DATA_HOME/numen"
+	chown "$NUMENUSER:$NUMENGROUP" "$DATA_HOME/numen"
+fi
+XDG_DATA_HOME="$DATA_HOME" exec chpst -u "$NUMENUSER:$NUMENGROUP:input:audio" numen ${OPTS}
diff --git a/srcpkgs/numen/template b/srcpkgs/numen/template
new file mode 100644
index 000000000000..442a541bdf4f
--- /dev/null
+++ b/srcpkgs/numen/template
@@ -0,0 +1,37 @@
+# Template file for 'numen'
+pkgname=numen
+version=0.2
+revision=1
+build_style=go
+go_import_path="git.sr.ht/~geb/numen"
+hostmakedepends="scdoc"
+makedepends="vosk-api libgomp-devel"
+depends="alsa-utils dmenu dotool xdotool xset"
+short_desc="Voice control for handsfree computing"
+maintainer="John Gebbie <me@johngebbie.com>"
+license="GPL-3.0-only"
+homepage="https://numen.johngebbie.com"
+distfiles="https://git.sr.ht/~geb/numen/archive/${version}.tar.gz"
+checksum=05d814725767395af9b0ef6e5d9cf944a3cc4cf9245dce87b311aa1fb40efdef
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	makedepends+=" libexecinfo-devel"
+fi
+
+system_accounts="_numen"
+
+pre_build() {
+	# for the vosk-api package (openblas)
+	export CGO_LDFLAGS="$CGO_LDFLAGS -fopenmp"
+
+	if [ "$XBPS_TARGET_LIBC" = musl ]; then
+		# for the vosk-api package (openfst)
+		export CGO_LDFLAGS="$CGO_LDFLAGS -lexecinfo"
+	fi
+}
+
+post_install() {
+	mv "${DESTDIR}/usr/bin/numen" speech
+	PACKAGING=true ./install-numen.sh "${DESTDIR}" /usr/bin
+	vsv numen
+}

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

* Re: New package: numen-0.2
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (6 preceding siblings ...)
  2022-10-31 12:08 ` JohnGebbie
@ 2022-10-31 12:22 ` JohnGebbie
  2022-11-09 17:25 ` [PR PATCH] [Updated] " JohnGebbie
                   ` (51 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2022-10-31 12:22 UTC (permalink / raw)
  To: ml

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

New comment by JohnGebbie on void-packages repository

https://github.com/void-linux/void-packages/pull/39716#issuecomment-1297007293

Comment:
this is ready to merge when vosk-api has been: https://github.com/void-linux/void-packages/pull/39015

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

* Re: [PR PATCH] [Updated] New package: numen-0.2
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (7 preceding siblings ...)
  2022-10-31 12:22 ` New package: numen-0.2 JohnGebbie
@ 2022-11-09 17:25 ` JohnGebbie
  2022-11-09 17:29 ` New package: numen-0.3 JohnGebbie
                   ` (50 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2022-11-09 17:25 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JohnGebbie/void-packages numen3
https://github.com/void-linux/void-packages/pull/39716

New package: numen-0.2
#### 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**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

This is my voice control for desktop computing without a keyboard or mouse.
This template is ready except it depends on the vosk-api which is to be merged: https://github.com/void-linux/void-packages/pull/39015

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

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

From a97952093f8b421ea2a0e37273c50566f9c82bf4 Mon Sep 17 00:00:00 2001
From: John Gebbie <me@johngebbie.com>
Date: Tue, 4 Oct 2022 17:50:42 +0100
Subject: [PATCH] New package: numen-0.3

---
 srcpkgs/numen/files/numen/conf    |  7 ++++++
 srcpkgs/numen/files/numen/log/run |  2 ++
 srcpkgs/numen/files/numen/run     | 11 +++++++++
 srcpkgs/numen/template            | 37 +++++++++++++++++++++++++++++++
 4 files changed, 57 insertions(+)
 create mode 100644 srcpkgs/numen/files/numen/conf
 create mode 100755 srcpkgs/numen/files/numen/log/run
 create mode 100755 srcpkgs/numen/files/numen/run
 create mode 100644 srcpkgs/numen/template

diff --git a/srcpkgs/numen/files/numen/conf b/srcpkgs/numen/files/numen/conf
new file mode 100644
index 000000000000..2d814396e2d9
--- /dev/null
+++ b/srcpkgs/numen/files/numen/conf
@@ -0,0 +1,7 @@
+# Example to run the service as a specific user:
+
+# NUMENUSER=john
+# NUMENGROUP="$NUMENUSER"
+# NUMENHOME="/home/$NUMENUSER"
+# export HOME="$NUMENHOME"
+# export XAUTHORITY="/run/user/$(id -u "$NUMENUSER")/Xauthority"
diff --git a/srcpkgs/numen/files/numen/log/run b/srcpkgs/numen/files/numen/log/run
new file mode 100755
index 000000000000..f77a7f813f11
--- /dev/null
+++ b/srcpkgs/numen/files/numen/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec vlogger -p daemon.info -t numen
diff --git a/srcpkgs/numen/files/numen/run b/srcpkgs/numen/files/numen/run
new file mode 100755
index 000000000000..da29f62904da
--- /dev/null
+++ b/srcpkgs/numen/files/numen/run
@@ -0,0 +1,11 @@
+#!/bin/sh
+exec 2>&1
+[ -r ./conf ] && . ./conf
+: ${NUMENUSER:=_numen}
+: ${NUMENGROUP:=_numen}
+if [ -z "$NUMENHOME" ]; then
+	mkdir -p /usr/share/numen
+	chown "$NUMENUSER:$NUMENGROUP" /usr/share/numen
+	export XDG_DATA_HOME=/usr/share
+fi
+exec chpst -u "$NUMENUSER:$NUMENGROUP:input:audio" numen ${OPTS}
diff --git a/srcpkgs/numen/template b/srcpkgs/numen/template
new file mode 100644
index 000000000000..21292741199a
--- /dev/null
+++ b/srcpkgs/numen/template
@@ -0,0 +1,37 @@
+# Template file for 'numen'
+pkgname=numen
+version=0.3
+revision=1
+build_style=go
+go_import_path="git.sr.ht/~geb/numen"
+hostmakedepends="scdoc"
+makedepends="vosk-api libgomp-devel"
+depends="alsa-utils dmenu dotool xdotool xset"
+short_desc="Voice control for handsfree computing"
+maintainer="John Gebbie <me@johngebbie.com>"
+license="GPL-3.0-only"
+homepage="https://numen.johngebbie.com"
+distfiles="https://git.sr.ht/~geb/numen/archive/${version}.tar.gz"
+checksum=b34a0164e015fb5df23cd7820a0ffb36c901f6e58830b897d41c89757bfa133f
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	makedepends+=" libexecinfo-devel"
+fi
+
+system_accounts="_numen"
+
+pre_build() {
+	# for the vosk-api package (openblas)
+	export CGO_LDFLAGS="$CGO_LDFLAGS -fopenmp"
+
+	if [ "$XBPS_TARGET_LIBC" = musl ]; then
+		# for the vosk-api package (openfst)
+		export CGO_LDFLAGS="$CGO_LDFLAGS -lexecinfo"
+	fi
+}
+
+post_install() {
+	mv "${DESTDIR}/usr/bin/numen" speech
+	PACKAGING=true ./install-numen.sh "${DESTDIR}" /usr/bin
+	vsv numen
+}

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

* Re: New package: numen-0.3
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (8 preceding siblings ...)
  2022-11-09 17:25 ` [PR PATCH] [Updated] " JohnGebbie
@ 2022-11-09 17:29 ` JohnGebbie
  2022-11-15 15:20 ` [PR PATCH] [Updated] " JohnGebbie
                   ` (49 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2022-11-09 17:29 UTC (permalink / raw)
  To: ml

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

New comment by JohnGebbie on void-packages repository

https://github.com/void-linux/void-packages/pull/39716#issuecomment-1309097560

Comment:
updated the template to version 0.3.
this is ready to merge when vosk-api has been: https://github.com/void-linux/void-packages/pull/39015

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

* Re: [PR PATCH] [Updated] New package: numen-0.3
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (9 preceding siblings ...)
  2022-11-09 17:29 ` New package: numen-0.3 JohnGebbie
@ 2022-11-15 15:20 ` JohnGebbie
  2022-12-04 16:06 ` JohnGebbie
                   ` (48 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2022-11-15 15:20 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JohnGebbie/void-packages numen3
https://github.com/void-linux/void-packages/pull/39716

New package: numen-0.3
#### 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**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

This is my voice control for desktop computing without a keyboard or mouse.
This template is ready except it depends on the vosk-api which is to be merged: https://github.com/void-linux/void-packages/pull/39015

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

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

From 3852231f3fd5c5a6937d9106a3e41c1754824210 Mon Sep 17 00:00:00 2001
From: John Gebbie <me@johngebbie.com>
Date: Tue, 4 Oct 2022 17:50:42 +0100
Subject: [PATCH] New package: numen-0.3

---
 srcpkgs/numen/files/numen/conf    |  7 ++++++
 srcpkgs/numen/files/numen/log/run |  2 ++
 srcpkgs/numen/files/numen/run     | 11 +++++++++
 srcpkgs/numen/template            | 38 +++++++++++++++++++++++++++++++
 4 files changed, 58 insertions(+)
 create mode 100644 srcpkgs/numen/files/numen/conf
 create mode 100755 srcpkgs/numen/files/numen/log/run
 create mode 100755 srcpkgs/numen/files/numen/run
 create mode 100644 srcpkgs/numen/template

diff --git a/srcpkgs/numen/files/numen/conf b/srcpkgs/numen/files/numen/conf
new file mode 100644
index 000000000000..2d814396e2d9
--- /dev/null
+++ b/srcpkgs/numen/files/numen/conf
@@ -0,0 +1,7 @@
+# Example to run the service as a specific user:
+
+# NUMENUSER=john
+# NUMENGROUP="$NUMENUSER"
+# NUMENHOME="/home/$NUMENUSER"
+# export HOME="$NUMENHOME"
+# export XAUTHORITY="/run/user/$(id -u "$NUMENUSER")/Xauthority"
diff --git a/srcpkgs/numen/files/numen/log/run b/srcpkgs/numen/files/numen/log/run
new file mode 100755
index 000000000000..f77a7f813f11
--- /dev/null
+++ b/srcpkgs/numen/files/numen/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec vlogger -p daemon.info -t numen
diff --git a/srcpkgs/numen/files/numen/run b/srcpkgs/numen/files/numen/run
new file mode 100755
index 000000000000..da29f62904da
--- /dev/null
+++ b/srcpkgs/numen/files/numen/run
@@ -0,0 +1,11 @@
+#!/bin/sh
+exec 2>&1
+[ -r ./conf ] && . ./conf
+: ${NUMENUSER:=_numen}
+: ${NUMENGROUP:=_numen}
+if [ -z "$NUMENHOME" ]; then
+	mkdir -p /usr/share/numen
+	chown "$NUMENUSER:$NUMENGROUP" /usr/share/numen
+	export XDG_DATA_HOME=/usr/share
+fi
+exec chpst -u "$NUMENUSER:$NUMENGROUP:input:audio" numen ${OPTS}
diff --git a/srcpkgs/numen/template b/srcpkgs/numen/template
new file mode 100644
index 000000000000..6583c8d22432
--- /dev/null
+++ b/srcpkgs/numen/template
@@ -0,0 +1,38 @@
+# Template file for 'numen'
+pkgname=numen
+version=0.3
+revision=1
+build_style=go
+go_import_path="git.sr.ht/~geb/numen"
+hostmakedepends="scdoc"
+makedepends="vosk-api libgomp-devel"
+depends="alsa-utils dmenu dotool xdotool xset"
+short_desc="Voice control for handsfree computing"
+maintainer="John Gebbie <me@johngebbie.com>"
+license="GPL-3.0-only"
+homepage="https://numenvoice.com"
+changelog="https://git.sr.ht/~geb/numen/blob/master/CHANGELOG.md"
+distfiles="https://git.sr.ht/~geb/numen/archive/${version}.tar.gz"
+checksum=b34a0164e015fb5df23cd7820a0ffb36c901f6e58830b897d41c89757bfa133f
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	makedepends+=" libexecinfo-devel"
+fi
+
+system_accounts="_numen"
+
+pre_build() {
+	# for the vosk-api package (openblas)
+	export CGO_LDFLAGS="$CGO_LDFLAGS -fopenmp"
+
+	if [ "$XBPS_TARGET_LIBC" = musl ]; then
+		# for the vosk-api package (openfst)
+		export CGO_LDFLAGS="$CGO_LDFLAGS -lexecinfo"
+	fi
+}
+
+post_install() {
+	mv "${DESTDIR}/usr/bin/numen" speech
+	PACKAGING=true ./install-numen.sh "${DESTDIR}" /usr/bin
+	vsv numen
+}

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

* Re: [PR PATCH] [Updated] New package: numen-0.3
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (10 preceding siblings ...)
  2022-11-15 15:20 ` [PR PATCH] [Updated] " JohnGebbie
@ 2022-12-04 16:06 ` JohnGebbie
  2022-12-04 16:12 ` JohnGebbie
                   ` (47 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2022-12-04 16:06 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JohnGebbie/void-packages numen3
https://github.com/void-linux/void-packages/pull/39716

New package: numen-0.3
#### 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**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

This is [my voice control](https://numenvoice.com) for handsfree computing, mainly for accessibility needs.
This template is ready except it depends on the vosk-api which is to be merged: https://github.com/void-linux/void-packages/pull/39015

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

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

From 53875c33a0e08ac64fb88e3a37ff2ea2808e6b62 Mon Sep 17 00:00:00 2001
From: John Gebbie <me@johngebbie.com>
Date: Tue, 4 Oct 2022 17:50:42 +0100
Subject: [PATCH] New package: numen-0.3

---
 srcpkgs/numen/files/numen/conf    |  7 ++++++
 srcpkgs/numen/files/numen/log/run |  2 ++
 srcpkgs/numen/files/numen/run     | 11 +++++++++
 srcpkgs/numen/template            | 38 +++++++++++++++++++++++++++++++
 4 files changed, 58 insertions(+)
 create mode 100644 srcpkgs/numen/files/numen/conf
 create mode 100755 srcpkgs/numen/files/numen/log/run
 create mode 100755 srcpkgs/numen/files/numen/run
 create mode 100644 srcpkgs/numen/template

diff --git a/srcpkgs/numen/files/numen/conf b/srcpkgs/numen/files/numen/conf
new file mode 100644
index 000000000000..2d814396e2d9
--- /dev/null
+++ b/srcpkgs/numen/files/numen/conf
@@ -0,0 +1,7 @@
+# Example to run the service as a specific user:
+
+# NUMENUSER=john
+# NUMENGROUP="$NUMENUSER"
+# NUMENHOME="/home/$NUMENUSER"
+# export HOME="$NUMENHOME"
+# export XAUTHORITY="/run/user/$(id -u "$NUMENUSER")/Xauthority"
diff --git a/srcpkgs/numen/files/numen/log/run b/srcpkgs/numen/files/numen/log/run
new file mode 100755
index 000000000000..f77a7f813f11
--- /dev/null
+++ b/srcpkgs/numen/files/numen/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec vlogger -p daemon.info -t numen
diff --git a/srcpkgs/numen/files/numen/run b/srcpkgs/numen/files/numen/run
new file mode 100755
index 000000000000..da29f62904da
--- /dev/null
+++ b/srcpkgs/numen/files/numen/run
@@ -0,0 +1,11 @@
+#!/bin/sh
+exec 2>&1
+[ -r ./conf ] && . ./conf
+: ${NUMENUSER:=_numen}
+: ${NUMENGROUP:=_numen}
+if [ -z "$NUMENHOME" ]; then
+	mkdir -p /usr/share/numen
+	chown "$NUMENUSER:$NUMENGROUP" /usr/share/numen
+	export XDG_DATA_HOME=/usr/share
+fi
+exec chpst -u "$NUMENUSER:$NUMENGROUP:input:audio" numen ${OPTS}
diff --git a/srcpkgs/numen/template b/srcpkgs/numen/template
new file mode 100644
index 000000000000..6583c8d22432
--- /dev/null
+++ b/srcpkgs/numen/template
@@ -0,0 +1,38 @@
+# Template file for 'numen'
+pkgname=numen
+version=0.3
+revision=1
+build_style=go
+go_import_path="git.sr.ht/~geb/numen"
+hostmakedepends="scdoc"
+makedepends="vosk-api libgomp-devel"
+depends="alsa-utils dmenu dotool xdotool xset"
+short_desc="Voice control for handsfree computing"
+maintainer="John Gebbie <me@johngebbie.com>"
+license="GPL-3.0-only"
+homepage="https://numenvoice.com"
+changelog="https://git.sr.ht/~geb/numen/blob/master/CHANGELOG.md"
+distfiles="https://git.sr.ht/~geb/numen/archive/${version}.tar.gz"
+checksum=b34a0164e015fb5df23cd7820a0ffb36c901f6e58830b897d41c89757bfa133f
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	makedepends+=" libexecinfo-devel"
+fi
+
+system_accounts="_numen"
+
+pre_build() {
+	# for the vosk-api package (openblas)
+	export CGO_LDFLAGS="$CGO_LDFLAGS -fopenmp"
+
+	if [ "$XBPS_TARGET_LIBC" = musl ]; then
+		# for the vosk-api package (openfst)
+		export CGO_LDFLAGS="$CGO_LDFLAGS -lexecinfo"
+	fi
+}
+
+post_install() {
+	mv "${DESTDIR}/usr/bin/numen" speech
+	PACKAGING=true ./install-numen.sh "${DESTDIR}" /usr/bin
+	vsv numen
+}

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

* Re: [PR PATCH] [Updated] New package: numen-0.3
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (11 preceding siblings ...)
  2022-12-04 16:06 ` JohnGebbie
@ 2022-12-04 16:12 ` JohnGebbie
  2022-12-05 10:04 ` JohnGebbie
                   ` (46 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2022-12-04 16:12 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JohnGebbie/void-packages numen3
https://github.com/void-linux/void-packages/pull/39716

New package: numen-0.3
#### 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**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

This is [my voice control](https://numenvoice.com) for handsfree computing, mainly for accessibility needs.
This template is ready except it depends on the vosk-api which is to be merged: https://github.com/void-linux/void-packages/pull/39015

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

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

From 599e6db9ad58d0977cbd7d0158e4f66c9b11d4bf Mon Sep 17 00:00:00 2001
From: John Gebbie <me@johngebbie.com>
Date: Tue, 4 Oct 2022 17:50:42 +0100
Subject: [PATCH] New package: numen-0.3

---
 srcpkgs/numen/files/numen/conf    |  7 ++++++
 srcpkgs/numen/files/numen/log/run |  2 ++
 srcpkgs/numen/files/numen/run     | 11 +++++++++
 srcpkgs/numen/template            | 38 +++++++++++++++++++++++++++++++
 4 files changed, 58 insertions(+)
 create mode 100644 srcpkgs/numen/files/numen/conf
 create mode 100755 srcpkgs/numen/files/numen/log/run
 create mode 100755 srcpkgs/numen/files/numen/run
 create mode 100644 srcpkgs/numen/template

diff --git a/srcpkgs/numen/files/numen/conf b/srcpkgs/numen/files/numen/conf
new file mode 100644
index 000000000000..2d814396e2d9
--- /dev/null
+++ b/srcpkgs/numen/files/numen/conf
@@ -0,0 +1,7 @@
+# Example to run the service as a specific user:
+
+# NUMENUSER=john
+# NUMENGROUP="$NUMENUSER"
+# NUMENHOME="/home/$NUMENUSER"
+# export HOME="$NUMENHOME"
+# export XAUTHORITY="/run/user/$(id -u "$NUMENUSER")/Xauthority"
diff --git a/srcpkgs/numen/files/numen/log/run b/srcpkgs/numen/files/numen/log/run
new file mode 100755
index 000000000000..f77a7f813f11
--- /dev/null
+++ b/srcpkgs/numen/files/numen/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec vlogger -p daemon.info -t numen
diff --git a/srcpkgs/numen/files/numen/run b/srcpkgs/numen/files/numen/run
new file mode 100755
index 000000000000..da29f62904da
--- /dev/null
+++ b/srcpkgs/numen/files/numen/run
@@ -0,0 +1,11 @@
+#!/bin/sh
+exec 2>&1
+[ -r ./conf ] && . ./conf
+: ${NUMENUSER:=_numen}
+: ${NUMENGROUP:=_numen}
+if [ -z "$NUMENHOME" ]; then
+	mkdir -p /usr/share/numen
+	chown "$NUMENUSER:$NUMENGROUP" /usr/share/numen
+	export XDG_DATA_HOME=/usr/share
+fi
+exec chpst -u "$NUMENUSER:$NUMENGROUP:input:audio" numen ${OPTS}
diff --git a/srcpkgs/numen/template b/srcpkgs/numen/template
new file mode 100644
index 000000000000..6583c8d22432
--- /dev/null
+++ b/srcpkgs/numen/template
@@ -0,0 +1,38 @@
+# Template file for 'numen'
+pkgname=numen
+version=0.3
+revision=1
+build_style=go
+go_import_path="git.sr.ht/~geb/numen"
+hostmakedepends="scdoc"
+makedepends="vosk-api libgomp-devel"
+depends="alsa-utils dmenu dotool xdotool xset"
+short_desc="Voice control for handsfree computing"
+maintainer="John Gebbie <me@johngebbie.com>"
+license="GPL-3.0-only"
+homepage="https://numenvoice.com"
+changelog="https://git.sr.ht/~geb/numen/blob/master/CHANGELOG.md"
+distfiles="https://git.sr.ht/~geb/numen/archive/${version}.tar.gz"
+checksum=b34a0164e015fb5df23cd7820a0ffb36c901f6e58830b897d41c89757bfa133f
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	makedepends+=" libexecinfo-devel"
+fi
+
+system_accounts="_numen"
+
+pre_build() {
+	# for the vosk-api package (openblas)
+	export CGO_LDFLAGS="$CGO_LDFLAGS -fopenmp"
+
+	if [ "$XBPS_TARGET_LIBC" = musl ]; then
+		# for the vosk-api package (openfst)
+		export CGO_LDFLAGS="$CGO_LDFLAGS -lexecinfo"
+	fi
+}
+
+post_install() {
+	mv "${DESTDIR}/usr/bin/numen" speech
+	PACKAGING=true ./install-numen.sh "${DESTDIR}" /usr/bin
+	vsv numen
+}

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

* Re: [PR PATCH] [Updated] New package: numen-0.3
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (12 preceding siblings ...)
  2022-12-04 16:12 ` JohnGebbie
@ 2022-12-05 10:04 ` JohnGebbie
  2022-12-05 10:10 ` JohnGebbie
                   ` (45 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2022-12-05 10:04 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JohnGebbie/void-packages numen3
https://github.com/void-linux/void-packages/pull/39716

New package: numen-0.3
#### 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**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

This is [my voice control](https://numenvoice.com) for handsfree computing, mainly for accessibility needs.
This template is ready except it depends on the vosk-api which is to be merged: https://github.com/void-linux/void-packages/pull/39015

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

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

From f5e49396d4f7b69e90a001c8e0715acfd3391d5e Mon Sep 17 00:00:00 2001
From: John Gebbie <me@johngebbie.com>
Date: Tue, 4 Oct 2022 17:50:42 +0100
Subject: [PATCH] New package: numen-0.3

---
 srcpkgs/numen/files/numen/conf    |  7 ++++++
 srcpkgs/numen/files/numen/log/run |  2 ++
 srcpkgs/numen/files/numen/run     | 11 +++++++++
 srcpkgs/numen/template            | 38 +++++++++++++++++++++++++++++++
 4 files changed, 58 insertions(+)
 create mode 100644 srcpkgs/numen/files/numen/conf
 create mode 100755 srcpkgs/numen/files/numen/log/run
 create mode 100755 srcpkgs/numen/files/numen/run
 create mode 100644 srcpkgs/numen/template

diff --git a/srcpkgs/numen/files/numen/conf b/srcpkgs/numen/files/numen/conf
new file mode 100644
index 000000000000..2d814396e2d9
--- /dev/null
+++ b/srcpkgs/numen/files/numen/conf
@@ -0,0 +1,7 @@
+# Example to run the service as a specific user:
+
+# NUMENUSER=john
+# NUMENGROUP="$NUMENUSER"
+# NUMENHOME="/home/$NUMENUSER"
+# export HOME="$NUMENHOME"
+# export XAUTHORITY="/run/user/$(id -u "$NUMENUSER")/Xauthority"
diff --git a/srcpkgs/numen/files/numen/log/run b/srcpkgs/numen/files/numen/log/run
new file mode 100755
index 000000000000..f77a7f813f11
--- /dev/null
+++ b/srcpkgs/numen/files/numen/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec vlogger -p daemon.info -t numen
diff --git a/srcpkgs/numen/files/numen/run b/srcpkgs/numen/files/numen/run
new file mode 100755
index 000000000000..da29f62904da
--- /dev/null
+++ b/srcpkgs/numen/files/numen/run
@@ -0,0 +1,11 @@
+#!/bin/sh
+exec 2>&1
+[ -r ./conf ] && . ./conf
+: ${NUMENUSER:=_numen}
+: ${NUMENGROUP:=_numen}
+if [ -z "$NUMENHOME" ]; then
+	mkdir -p /usr/share/numen
+	chown "$NUMENUSER:$NUMENGROUP" /usr/share/numen
+	export XDG_DATA_HOME=/usr/share
+fi
+exec chpst -u "$NUMENUSER:$NUMENGROUP:input:audio" numen ${OPTS}
diff --git a/srcpkgs/numen/template b/srcpkgs/numen/template
new file mode 100644
index 000000000000..6583c8d22432
--- /dev/null
+++ b/srcpkgs/numen/template
@@ -0,0 +1,38 @@
+# Template file for 'numen'
+pkgname=numen
+version=0.3
+revision=1
+build_style=go
+go_import_path="git.sr.ht/~geb/numen"
+hostmakedepends="scdoc"
+makedepends="vosk-api libgomp-devel"
+depends="alsa-utils dmenu dotool xdotool xset"
+short_desc="Voice control for handsfree computing"
+maintainer="John Gebbie <me@johngebbie.com>"
+license="GPL-3.0-only"
+homepage="https://numenvoice.com"
+changelog="https://git.sr.ht/~geb/numen/blob/master/CHANGELOG.md"
+distfiles="https://git.sr.ht/~geb/numen/archive/${version}.tar.gz"
+checksum=b34a0164e015fb5df23cd7820a0ffb36c901f6e58830b897d41c89757bfa133f
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	makedepends+=" libexecinfo-devel"
+fi
+
+system_accounts="_numen"
+
+pre_build() {
+	# for the vosk-api package (openblas)
+	export CGO_LDFLAGS="$CGO_LDFLAGS -fopenmp"
+
+	if [ "$XBPS_TARGET_LIBC" = musl ]; then
+		# for the vosk-api package (openfst)
+		export CGO_LDFLAGS="$CGO_LDFLAGS -lexecinfo"
+	fi
+}
+
+post_install() {
+	mv "${DESTDIR}/usr/bin/numen" speech
+	PACKAGING=true ./install-numen.sh "${DESTDIR}" /usr/bin
+	vsv numen
+}

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

* Re: [PR PATCH] [Updated] New package: numen-0.3
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (13 preceding siblings ...)
  2022-12-05 10:04 ` JohnGebbie
@ 2022-12-05 10:10 ` JohnGebbie
  2022-12-05 10:11 ` JohnGebbie
                   ` (44 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2022-12-05 10:10 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JohnGebbie/void-packages numen3
https://github.com/void-linux/void-packages/pull/39716

New package: numen-0.3
#### 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**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

This is [my voice control](https://numenvoice.com) for handsfree computing, mainly for accessibility needs.
This template is ready except it depends on the vosk-api which is to be merged: https://github.com/void-linux/void-packages/pull/39015

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

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

From 1b3012c95bd3315e0899e115248cb39845838973 Mon Sep 17 00:00:00 2001
From: John Gebbie <me@johngebbie.com>
Date: Tue, 4 Oct 2022 17:50:42 +0100
Subject: [PATCH] New package: numen-0.3

---
 srcpkgs/numen/files/numen/conf    |  7 ++++++
 srcpkgs/numen/files/numen/log/run |  2 ++
 srcpkgs/numen/files/numen/run     | 11 +++++++++
 srcpkgs/numen/template            | 38 +++++++++++++++++++++++++++++++
 4 files changed, 58 insertions(+)
 create mode 100644 srcpkgs/numen/files/numen/conf
 create mode 100755 srcpkgs/numen/files/numen/log/run
 create mode 100755 srcpkgs/numen/files/numen/run
 create mode 100644 srcpkgs/numen/template

diff --git a/srcpkgs/numen/files/numen/conf b/srcpkgs/numen/files/numen/conf
new file mode 100644
index 000000000000..2d814396e2d9
--- /dev/null
+++ b/srcpkgs/numen/files/numen/conf
@@ -0,0 +1,7 @@
+# Example to run the service as a specific user:
+
+# NUMENUSER=john
+# NUMENGROUP="$NUMENUSER"
+# NUMENHOME="/home/$NUMENUSER"
+# export HOME="$NUMENHOME"
+# export XAUTHORITY="/run/user/$(id -u "$NUMENUSER")/Xauthority"
diff --git a/srcpkgs/numen/files/numen/log/run b/srcpkgs/numen/files/numen/log/run
new file mode 100755
index 000000000000..f77a7f813f11
--- /dev/null
+++ b/srcpkgs/numen/files/numen/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec vlogger -p daemon.info -t numen
diff --git a/srcpkgs/numen/files/numen/run b/srcpkgs/numen/files/numen/run
new file mode 100755
index 000000000000..da29f62904da
--- /dev/null
+++ b/srcpkgs/numen/files/numen/run
@@ -0,0 +1,11 @@
+#!/bin/sh
+exec 2>&1
+[ -r ./conf ] && . ./conf
+: ${NUMENUSER:=_numen}
+: ${NUMENGROUP:=_numen}
+if [ -z "$NUMENHOME" ]; then
+	mkdir -p /usr/share/numen
+	chown "$NUMENUSER:$NUMENGROUP" /usr/share/numen
+	export XDG_DATA_HOME=/usr/share
+fi
+exec chpst -u "$NUMENUSER:$NUMENGROUP:input:audio" numen ${OPTS}
diff --git a/srcpkgs/numen/template b/srcpkgs/numen/template
new file mode 100644
index 000000000000..d73e9151fe88
--- /dev/null
+++ b/srcpkgs/numen/template
@@ -0,0 +1,38 @@
+# Template file for 'numen'
+pkgname=numen
+version=0.4
+revision=1
+build_style=go
+go_import_path="git.sr.ht/~geb/numen"
+hostmakedepends="scdoc"
+makedepends="vosk-api libgomp-devel"
+depends="alsa-utils dmenu dotool xdotool xset"
+short_desc="Voice control for handsfree computing"
+maintainer="John Gebbie <me@johngebbie.com>"
+license="GPL-3.0-only"
+homepage="https://numenvoice.com"
+changelog="https://git.sr.ht/~geb/numen/blob/master/CHANGELOG.md"
+distfiles="https://git.sr.ht/~geb/numen/archive/${version}.tar.gz"
+checksum=4255b2e5b454e2b633ce409d6753a36f8d8e88269ae1c0ed0bb3e23b7a038f60
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	makedepends+=" libexecinfo-devel"
+fi
+
+system_accounts="_numen"
+
+pre_build() {
+	# for the vosk-api package (openblas)
+	export CGO_LDFLAGS="$CGO_LDFLAGS -fopenmp"
+
+	if [ "$XBPS_TARGET_LIBC" = musl ]; then
+		# for the vosk-api package (openfst)
+		export CGO_LDFLAGS="$CGO_LDFLAGS -lexecinfo"
+	fi
+}
+
+post_install() {
+	mv "${DESTDIR}/usr/bin/numen" speech
+	PACKAGING=true ./install-numen.sh "${DESTDIR}" /usr/bin
+	vsv numen
+}

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

* Re: [PR PATCH] [Updated] New package: numen-0.3
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (14 preceding siblings ...)
  2022-12-05 10:10 ` JohnGebbie
@ 2022-12-05 10:11 ` JohnGebbie
  2022-12-08 11:17 ` [PR PATCH] [Updated] New package: numen-0.4 JohnGebbie
                   ` (43 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2022-12-05 10:11 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JohnGebbie/void-packages numen3
https://github.com/void-linux/void-packages/pull/39716

New package: numen-0.3
#### 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**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

This is [my voice control](https://numenvoice.com) for handsfree computing, mainly for accessibility needs.
This template is ready except it depends on the vosk-api which is to be merged: https://github.com/void-linux/void-packages/pull/39015

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

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

From 503eaea23aa43b7904456af8cd5e00cd3a6a3229 Mon Sep 17 00:00:00 2001
From: John Gebbie <me@johngebbie.com>
Date: Tue, 4 Oct 2022 17:50:42 +0100
Subject: [PATCH] New package: numen-0.4

---
 srcpkgs/numen/files/numen/conf    |  7 ++++++
 srcpkgs/numen/files/numen/log/run |  2 ++
 srcpkgs/numen/files/numen/run     | 11 +++++++++
 srcpkgs/numen/template            | 38 +++++++++++++++++++++++++++++++
 4 files changed, 58 insertions(+)
 create mode 100644 srcpkgs/numen/files/numen/conf
 create mode 100755 srcpkgs/numen/files/numen/log/run
 create mode 100755 srcpkgs/numen/files/numen/run
 create mode 100644 srcpkgs/numen/template

diff --git a/srcpkgs/numen/files/numen/conf b/srcpkgs/numen/files/numen/conf
new file mode 100644
index 000000000000..2d814396e2d9
--- /dev/null
+++ b/srcpkgs/numen/files/numen/conf
@@ -0,0 +1,7 @@
+# Example to run the service as a specific user:
+
+# NUMENUSER=john
+# NUMENGROUP="$NUMENUSER"
+# NUMENHOME="/home/$NUMENUSER"
+# export HOME="$NUMENHOME"
+# export XAUTHORITY="/run/user/$(id -u "$NUMENUSER")/Xauthority"
diff --git a/srcpkgs/numen/files/numen/log/run b/srcpkgs/numen/files/numen/log/run
new file mode 100755
index 000000000000..f77a7f813f11
--- /dev/null
+++ b/srcpkgs/numen/files/numen/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec vlogger -p daemon.info -t numen
diff --git a/srcpkgs/numen/files/numen/run b/srcpkgs/numen/files/numen/run
new file mode 100755
index 000000000000..da29f62904da
--- /dev/null
+++ b/srcpkgs/numen/files/numen/run
@@ -0,0 +1,11 @@
+#!/bin/sh
+exec 2>&1
+[ -r ./conf ] && . ./conf
+: ${NUMENUSER:=_numen}
+: ${NUMENGROUP:=_numen}
+if [ -z "$NUMENHOME" ]; then
+	mkdir -p /usr/share/numen
+	chown "$NUMENUSER:$NUMENGROUP" /usr/share/numen
+	export XDG_DATA_HOME=/usr/share
+fi
+exec chpst -u "$NUMENUSER:$NUMENGROUP:input:audio" numen ${OPTS}
diff --git a/srcpkgs/numen/template b/srcpkgs/numen/template
new file mode 100644
index 000000000000..d73e9151fe88
--- /dev/null
+++ b/srcpkgs/numen/template
@@ -0,0 +1,38 @@
+# Template file for 'numen'
+pkgname=numen
+version=0.4
+revision=1
+build_style=go
+go_import_path="git.sr.ht/~geb/numen"
+hostmakedepends="scdoc"
+makedepends="vosk-api libgomp-devel"
+depends="alsa-utils dmenu dotool xdotool xset"
+short_desc="Voice control for handsfree computing"
+maintainer="John Gebbie <me@johngebbie.com>"
+license="GPL-3.0-only"
+homepage="https://numenvoice.com"
+changelog="https://git.sr.ht/~geb/numen/blob/master/CHANGELOG.md"
+distfiles="https://git.sr.ht/~geb/numen/archive/${version}.tar.gz"
+checksum=4255b2e5b454e2b633ce409d6753a36f8d8e88269ae1c0ed0bb3e23b7a038f60
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	makedepends+=" libexecinfo-devel"
+fi
+
+system_accounts="_numen"
+
+pre_build() {
+	# for the vosk-api package (openblas)
+	export CGO_LDFLAGS="$CGO_LDFLAGS -fopenmp"
+
+	if [ "$XBPS_TARGET_LIBC" = musl ]; then
+		# for the vosk-api package (openfst)
+		export CGO_LDFLAGS="$CGO_LDFLAGS -lexecinfo"
+	fi
+}
+
+post_install() {
+	mv "${DESTDIR}/usr/bin/numen" speech
+	PACKAGING=true ./install-numen.sh "${DESTDIR}" /usr/bin
+	vsv numen
+}

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

* Re: [PR PATCH] [Updated] New package: numen-0.4
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (15 preceding siblings ...)
  2022-12-05 10:11 ` JohnGebbie
@ 2022-12-08 11:17 ` JohnGebbie
  2022-12-08 11:34 ` JohnGebbie
                   ` (42 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2022-12-08 11:17 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JohnGebbie/void-packages numen3
https://github.com/void-linux/void-packages/pull/39716

New package: numen-0.4
#### 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**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

This is [my voice control](https://numenvoice.com) for handsfree computing, mainly for accessibility needs.

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

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

From 40e1c26942e7db0c245c775470a418a36c41743f Mon Sep 17 00:00:00 2001
From: John Gebbie <me@johngebbie.com>
Date: Tue, 4 Oct 2022 17:50:42 +0100
Subject: [PATCH] New package: numen-0.4

---
 srcpkgs/numen/files/numen/conf    |  7 ++++++
 srcpkgs/numen/files/numen/log/run |  2 ++
 srcpkgs/numen/files/numen/run     | 11 +++++++++
 srcpkgs/numen/template            | 38 +++++++++++++++++++++++++++++++
 4 files changed, 58 insertions(+)
 create mode 100644 srcpkgs/numen/files/numen/conf
 create mode 100755 srcpkgs/numen/files/numen/log/run
 create mode 100755 srcpkgs/numen/files/numen/run
 create mode 100644 srcpkgs/numen/template

diff --git a/srcpkgs/numen/files/numen/conf b/srcpkgs/numen/files/numen/conf
new file mode 100644
index 000000000000..2d814396e2d9
--- /dev/null
+++ b/srcpkgs/numen/files/numen/conf
@@ -0,0 +1,7 @@
+# Example to run the service as a specific user:
+
+# NUMENUSER=john
+# NUMENGROUP="$NUMENUSER"
+# NUMENHOME="/home/$NUMENUSER"
+# export HOME="$NUMENHOME"
+# export XAUTHORITY="/run/user/$(id -u "$NUMENUSER")/Xauthority"
diff --git a/srcpkgs/numen/files/numen/log/run b/srcpkgs/numen/files/numen/log/run
new file mode 100755
index 000000000000..f77a7f813f11
--- /dev/null
+++ b/srcpkgs/numen/files/numen/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec vlogger -p daemon.info -t numen
diff --git a/srcpkgs/numen/files/numen/run b/srcpkgs/numen/files/numen/run
new file mode 100755
index 000000000000..da29f62904da
--- /dev/null
+++ b/srcpkgs/numen/files/numen/run
@@ -0,0 +1,11 @@
+#!/bin/sh
+exec 2>&1
+[ -r ./conf ] && . ./conf
+: ${NUMENUSER:=_numen}
+: ${NUMENGROUP:=_numen}
+if [ -z "$NUMENHOME" ]; then
+	mkdir -p /usr/share/numen
+	chown "$NUMENUSER:$NUMENGROUP" /usr/share/numen
+	export XDG_DATA_HOME=/usr/share
+fi
+exec chpst -u "$NUMENUSER:$NUMENGROUP:input:audio" numen ${OPTS}
diff --git a/srcpkgs/numen/template b/srcpkgs/numen/template
new file mode 100644
index 000000000000..d73e9151fe88
--- /dev/null
+++ b/srcpkgs/numen/template
@@ -0,0 +1,38 @@
+# Template file for 'numen'
+pkgname=numen
+version=0.4
+revision=1
+build_style=go
+go_import_path="git.sr.ht/~geb/numen"
+hostmakedepends="scdoc"
+makedepends="vosk-api libgomp-devel"
+depends="alsa-utils dmenu dotool xdotool xset"
+short_desc="Voice control for handsfree computing"
+maintainer="John Gebbie <me@johngebbie.com>"
+license="GPL-3.0-only"
+homepage="https://numenvoice.com"
+changelog="https://git.sr.ht/~geb/numen/blob/master/CHANGELOG.md"
+distfiles="https://git.sr.ht/~geb/numen/archive/${version}.tar.gz"
+checksum=4255b2e5b454e2b633ce409d6753a36f8d8e88269ae1c0ed0bb3e23b7a038f60
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	makedepends+=" libexecinfo-devel"
+fi
+
+system_accounts="_numen"
+
+pre_build() {
+	# for the vosk-api package (openblas)
+	export CGO_LDFLAGS="$CGO_LDFLAGS -fopenmp"
+
+	if [ "$XBPS_TARGET_LIBC" = musl ]; then
+		# for the vosk-api package (openfst)
+		export CGO_LDFLAGS="$CGO_LDFLAGS -lexecinfo"
+	fi
+}
+
+post_install() {
+	mv "${DESTDIR}/usr/bin/numen" speech
+	PACKAGING=true ./install-numen.sh "${DESTDIR}" /usr/bin
+	vsv numen
+}

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

* Re: New package: numen-0.4
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (16 preceding siblings ...)
  2022-12-08 11:17 ` [PR PATCH] [Updated] New package: numen-0.4 JohnGebbie
@ 2022-12-08 11:34 ` JohnGebbie
  2022-12-08 22:17 ` JohnGebbie
                   ` (41 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2022-12-08 11:34 UTC (permalink / raw)
  To: ml

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

New comment by JohnGebbie on void-packages repository

https://github.com/void-linux/void-packages/pull/39716#issuecomment-1342579416

Comment:
just updated the branch

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

* Re: New package: numen-0.4
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (17 preceding siblings ...)
  2022-12-08 11:34 ` JohnGebbie
@ 2022-12-08 22:17 ` JohnGebbie
  2022-12-08 23:01 ` [PR PATCH] [Updated] " JohnGebbie
                   ` (40 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2022-12-08 22:17 UTC (permalink / raw)
  To: ml

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

New comment by JohnGebbie on void-packages repository

https://github.com/void-linux/void-packages/pull/39716#issuecomment-1343447475

Comment:
I'm going to release a new version soon, so let's hold off

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

* Re: [PR PATCH] [Updated] New package: numen-0.4
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (18 preceding siblings ...)
  2022-12-08 22:17 ` JohnGebbie
@ 2022-12-08 23:01 ` JohnGebbie
  2022-12-08 23:01 ` JohnGebbie
                   ` (39 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2022-12-08 23:01 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JohnGebbie/void-packages numen3
https://github.com/void-linux/void-packages/pull/39716

New package: numen-0.4
#### 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**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

This is [my voice control](https://numenvoice.com) for handsfree computing, mainly for accessibility needs.

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

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

From 504181638718f26ea0854530b597cb77269388bb Mon Sep 17 00:00:00 2001
From: John Gebbie <me@johngebbie.com>
Date: Tue, 4 Oct 2022 17:50:42 +0100
Subject: [PATCH] New package: numen-0.4

---
 srcpkgs/numen/files/numen/conf    |  7 ++++++
 srcpkgs/numen/files/numen/log/run |  2 ++
 srcpkgs/numen/files/numen/run     | 11 +++++++++
 srcpkgs/numen/template            | 40 +++++++++++++++++++++++++++++++
 4 files changed, 60 insertions(+)
 create mode 100644 srcpkgs/numen/files/numen/conf
 create mode 100755 srcpkgs/numen/files/numen/log/run
 create mode 100755 srcpkgs/numen/files/numen/run
 create mode 100644 srcpkgs/numen/template

diff --git a/srcpkgs/numen/files/numen/conf b/srcpkgs/numen/files/numen/conf
new file mode 100644
index 000000000000..2d814396e2d9
--- /dev/null
+++ b/srcpkgs/numen/files/numen/conf
@@ -0,0 +1,7 @@
+# Example to run the service as a specific user:
+
+# NUMENUSER=john
+# NUMENGROUP="$NUMENUSER"
+# NUMENHOME="/home/$NUMENUSER"
+# export HOME="$NUMENHOME"
+# export XAUTHORITY="/run/user/$(id -u "$NUMENUSER")/Xauthority"
diff --git a/srcpkgs/numen/files/numen/log/run b/srcpkgs/numen/files/numen/log/run
new file mode 100755
index 000000000000..f77a7f813f11
--- /dev/null
+++ b/srcpkgs/numen/files/numen/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec vlogger -p daemon.info -t numen
diff --git a/srcpkgs/numen/files/numen/run b/srcpkgs/numen/files/numen/run
new file mode 100755
index 000000000000..da29f62904da
--- /dev/null
+++ b/srcpkgs/numen/files/numen/run
@@ -0,0 +1,11 @@
+#!/bin/sh
+exec 2>&1
+[ -r ./conf ] && . ./conf
+: ${NUMENUSER:=_numen}
+: ${NUMENGROUP:=_numen}
+if [ -z "$NUMENHOME" ]; then
+	mkdir -p /usr/share/numen
+	chown "$NUMENUSER:$NUMENGROUP" /usr/share/numen
+	export XDG_DATA_HOME=/usr/share
+fi
+exec chpst -u "$NUMENUSER:$NUMENGROUP:input:audio" numen ${OPTS}
diff --git a/srcpkgs/numen/template b/srcpkgs/numen/template
new file mode 100644
index 000000000000..7acec9f6662f
--- /dev/null
+++ b/srcpkgs/numen/template
@@ -0,0 +1,40 @@
+# Template file for 'numen'
+pkgname=numen
+# TODO This tag is on the develop branch just in case you suggest changes
+# when reviewing that I should include in the release.
+version=0.5
+revision=1
+build_style=go
+go_import_path="git.sr.ht/~geb/numen"
+hostmakedepends="scdoc"
+makedepends="vosk-api libgomp-devel"
+depends="alsa-utils dmenu dotool xdotool xset"
+short_desc="Voice control for handsfree computing"
+maintainer="John Gebbie <me@johngebbie.com>"
+license="GPL-3.0-only"
+homepage="https://numenvoice.com"
+changelog="https://git.sr.ht/~geb/numen/blob/master/CHANGELOG.md"
+distfiles="https://git.sr.ht/~geb/numen/archive/${version}.tar.gz"
+checksum=f0df01baba28b3a8b30c3b3beb6af3cbcd03d0de6068d26d77ca38ad0a6a9e02
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	makedepends+=" libexecinfo-devel"
+fi
+
+system_accounts="_numen"
+
+pre_build() {
+	# for the vosk-api package (openblas)
+	export CGO_LDFLAGS="$CGO_LDFLAGS -fopenmp"
+
+	if [ "$XBPS_TARGET_LIBC" = musl ]; then
+		# for the vosk-api package (openfst)
+		export CGO_LDFLAGS="$CGO_LDFLAGS -lexecinfo"
+	fi
+}
+
+post_install() {
+	mv "${DESTDIR}/usr/bin/numen" speech
+	PACKAGING=true ./install-numen.sh "${DESTDIR}" /usr/bin
+	vsv numen
+}

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

* Re: [PR PATCH] [Updated] New package: numen-0.4
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (19 preceding siblings ...)
  2022-12-08 23:01 ` [PR PATCH] [Updated] " JohnGebbie
@ 2022-12-08 23:01 ` JohnGebbie
  2022-12-08 23:02 ` JohnGebbie
                   ` (38 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2022-12-08 23:01 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JohnGebbie/void-packages numen3
https://github.com/void-linux/void-packages/pull/39716

New package: numen-0.4
#### 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**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

This is [my voice control](https://numenvoice.com) for handsfree computing, mainly for accessibility needs.

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

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

From 80b4057bf82502bf771efc2b912caf8f8ab20030 Mon Sep 17 00:00:00 2001
From: John Gebbie <me@johngebbie.com>
Date: Tue, 4 Oct 2022 17:50:42 +0100
Subject: [PATCH] New package: numen-0.5

---
 srcpkgs/numen/files/numen/conf    |  7 ++++++
 srcpkgs/numen/files/numen/log/run |  2 ++
 srcpkgs/numen/files/numen/run     | 11 +++++++++
 srcpkgs/numen/template            | 40 +++++++++++++++++++++++++++++++
 4 files changed, 60 insertions(+)
 create mode 100644 srcpkgs/numen/files/numen/conf
 create mode 100755 srcpkgs/numen/files/numen/log/run
 create mode 100755 srcpkgs/numen/files/numen/run
 create mode 100644 srcpkgs/numen/template

diff --git a/srcpkgs/numen/files/numen/conf b/srcpkgs/numen/files/numen/conf
new file mode 100644
index 000000000000..2d814396e2d9
--- /dev/null
+++ b/srcpkgs/numen/files/numen/conf
@@ -0,0 +1,7 @@
+# Example to run the service as a specific user:
+
+# NUMENUSER=john
+# NUMENGROUP="$NUMENUSER"
+# NUMENHOME="/home/$NUMENUSER"
+# export HOME="$NUMENHOME"
+# export XAUTHORITY="/run/user/$(id -u "$NUMENUSER")/Xauthority"
diff --git a/srcpkgs/numen/files/numen/log/run b/srcpkgs/numen/files/numen/log/run
new file mode 100755
index 000000000000..f77a7f813f11
--- /dev/null
+++ b/srcpkgs/numen/files/numen/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec vlogger -p daemon.info -t numen
diff --git a/srcpkgs/numen/files/numen/run b/srcpkgs/numen/files/numen/run
new file mode 100755
index 000000000000..da29f62904da
--- /dev/null
+++ b/srcpkgs/numen/files/numen/run
@@ -0,0 +1,11 @@
+#!/bin/sh
+exec 2>&1
+[ -r ./conf ] && . ./conf
+: ${NUMENUSER:=_numen}
+: ${NUMENGROUP:=_numen}
+if [ -z "$NUMENHOME" ]; then
+	mkdir -p /usr/share/numen
+	chown "$NUMENUSER:$NUMENGROUP" /usr/share/numen
+	export XDG_DATA_HOME=/usr/share
+fi
+exec chpst -u "$NUMENUSER:$NUMENGROUP:input:audio" numen ${OPTS}
diff --git a/srcpkgs/numen/template b/srcpkgs/numen/template
new file mode 100644
index 000000000000..7acec9f6662f
--- /dev/null
+++ b/srcpkgs/numen/template
@@ -0,0 +1,40 @@
+# Template file for 'numen'
+pkgname=numen
+# TODO This tag is on the develop branch just in case you suggest changes
+# when reviewing that I should include in the release.
+version=0.5
+revision=1
+build_style=go
+go_import_path="git.sr.ht/~geb/numen"
+hostmakedepends="scdoc"
+makedepends="vosk-api libgomp-devel"
+depends="alsa-utils dmenu dotool xdotool xset"
+short_desc="Voice control for handsfree computing"
+maintainer="John Gebbie <me@johngebbie.com>"
+license="GPL-3.0-only"
+homepage="https://numenvoice.com"
+changelog="https://git.sr.ht/~geb/numen/blob/master/CHANGELOG.md"
+distfiles="https://git.sr.ht/~geb/numen/archive/${version}.tar.gz"
+checksum=f0df01baba28b3a8b30c3b3beb6af3cbcd03d0de6068d26d77ca38ad0a6a9e02
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	makedepends+=" libexecinfo-devel"
+fi
+
+system_accounts="_numen"
+
+pre_build() {
+	# for the vosk-api package (openblas)
+	export CGO_LDFLAGS="$CGO_LDFLAGS -fopenmp"
+
+	if [ "$XBPS_TARGET_LIBC" = musl ]; then
+		# for the vosk-api package (openfst)
+		export CGO_LDFLAGS="$CGO_LDFLAGS -lexecinfo"
+	fi
+}
+
+post_install() {
+	mv "${DESTDIR}/usr/bin/numen" speech
+	PACKAGING=true ./install-numen.sh "${DESTDIR}" /usr/bin
+	vsv numen
+}

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

* Re: New package: numen-0.4
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (20 preceding siblings ...)
  2022-12-08 23:01 ` JohnGebbie
@ 2022-12-08 23:02 ` JohnGebbie
  2022-12-17 17:30 ` [PR PATCH] [Updated] " JohnGebbie
                   ` (37 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2022-12-08 23:02 UTC (permalink / raw)
  To: ml

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

New comment by JohnGebbie on void-packages repository

https://github.com/void-linux/void-packages/pull/39716#issuecomment-1343447475

Comment:
I'm going to release a new version soon, so let's hold off

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

* Re: [PR PATCH] [Updated] New package: numen-0.4
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (21 preceding siblings ...)
  2022-12-08 23:02 ` JohnGebbie
@ 2022-12-17 17:30 ` JohnGebbie
  2022-12-17 17:33 ` JohnGebbie
                   ` (36 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2022-12-17 17:30 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JohnGebbie/void-packages numen3
https://github.com/void-linux/void-packages/pull/39716

New package: numen-0.4
#### 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**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

This is [my voice control](https://numenvoice.com) for handsfree computing, mainly for accessibility needs.

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

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

From f20ef4cb92b0350615a4bbcf80788b408f256f1b Mon Sep 17 00:00:00 2001
From: John Gebbie <me@johngebbie.com>
Date: Tue, 4 Oct 2022 17:50:42 +0100
Subject: [PATCH] New package: numen-0.5

---
 srcpkgs/numen/files/numen/conf    |  7 ++++++
 srcpkgs/numen/files/numen/log/run |  2 ++
 srcpkgs/numen/files/numen/run     | 11 +++++++++
 srcpkgs/numen/template            | 40 +++++++++++++++++++++++++++++++
 4 files changed, 60 insertions(+)
 create mode 100644 srcpkgs/numen/files/numen/conf
 create mode 100755 srcpkgs/numen/files/numen/log/run
 create mode 100755 srcpkgs/numen/files/numen/run
 create mode 100644 srcpkgs/numen/template

diff --git a/srcpkgs/numen/files/numen/conf b/srcpkgs/numen/files/numen/conf
new file mode 100644
index 000000000000..2d814396e2d9
--- /dev/null
+++ b/srcpkgs/numen/files/numen/conf
@@ -0,0 +1,7 @@
+# Example to run the service as a specific user:
+
+# NUMENUSER=john
+# NUMENGROUP="$NUMENUSER"
+# NUMENHOME="/home/$NUMENUSER"
+# export HOME="$NUMENHOME"
+# export XAUTHORITY="/run/user/$(id -u "$NUMENUSER")/Xauthority"
diff --git a/srcpkgs/numen/files/numen/log/run b/srcpkgs/numen/files/numen/log/run
new file mode 100755
index 000000000000..f77a7f813f11
--- /dev/null
+++ b/srcpkgs/numen/files/numen/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec vlogger -p daemon.info -t numen
diff --git a/srcpkgs/numen/files/numen/run b/srcpkgs/numen/files/numen/run
new file mode 100755
index 000000000000..da29f62904da
--- /dev/null
+++ b/srcpkgs/numen/files/numen/run
@@ -0,0 +1,11 @@
+#!/bin/sh
+exec 2>&1
+[ -r ./conf ] && . ./conf
+: ${NUMENUSER:=_numen}
+: ${NUMENGROUP:=_numen}
+if [ -z "$NUMENHOME" ]; then
+	mkdir -p /usr/share/numen
+	chown "$NUMENUSER:$NUMENGROUP" /usr/share/numen
+	export XDG_DATA_HOME=/usr/share
+fi
+exec chpst -u "$NUMENUSER:$NUMENGROUP:input:audio" numen ${OPTS}
diff --git a/srcpkgs/numen/template b/srcpkgs/numen/template
new file mode 100644
index 000000000000..7acec9f6662f
--- /dev/null
+++ b/srcpkgs/numen/template
@@ -0,0 +1,40 @@
+# Template file for 'numen'
+pkgname=numen
+# TODO This tag is on the develop branch just in case you suggest changes
+# when reviewing that I should include in the release.
+version=0.5
+revision=1
+build_style=go
+go_import_path="git.sr.ht/~geb/numen"
+hostmakedepends="scdoc"
+makedepends="vosk-api libgomp-devel"
+depends="alsa-utils dmenu dotool xdotool xset"
+short_desc="Voice control for handsfree computing"
+maintainer="John Gebbie <me@johngebbie.com>"
+license="GPL-3.0-only"
+homepage="https://numenvoice.com"
+changelog="https://git.sr.ht/~geb/numen/blob/master/CHANGELOG.md"
+distfiles="https://git.sr.ht/~geb/numen/archive/${version}.tar.gz"
+checksum=f0df01baba28b3a8b30c3b3beb6af3cbcd03d0de6068d26d77ca38ad0a6a9e02
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	makedepends+=" libexecinfo-devel"
+fi
+
+system_accounts="_numen"
+
+pre_build() {
+	# for the vosk-api package (openblas)
+	export CGO_LDFLAGS="$CGO_LDFLAGS -fopenmp"
+
+	if [ "$XBPS_TARGET_LIBC" = musl ]; then
+		# for the vosk-api package (openfst)
+		export CGO_LDFLAGS="$CGO_LDFLAGS -lexecinfo"
+	fi
+}
+
+post_install() {
+	mv "${DESTDIR}/usr/bin/numen" speech
+	PACKAGING=true ./install-numen.sh "${DESTDIR}" /usr/bin
+	vsv numen
+}

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

* Re: New package: numen-0.4
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (22 preceding siblings ...)
  2022-12-17 17:30 ` [PR PATCH] [Updated] " JohnGebbie
@ 2022-12-17 17:33 ` JohnGebbie
  2022-12-28 10:12 ` [PR PATCH] [Updated] " JohnGebbie
                   ` (35 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2022-12-17 17:33 UTC (permalink / raw)
  To: ml

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

New comment by JohnGebbie on void-packages repository

https://github.com/void-linux/void-packages/pull/39716#issuecomment-1356349045

Comment:
just updated the branch. still ready for review

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

* Re: [PR PATCH] [Updated] New package: numen-0.4
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (23 preceding siblings ...)
  2022-12-17 17:33 ` JohnGebbie
@ 2022-12-28 10:12 ` JohnGebbie
  2022-12-29 20:36 ` [PR PATCH] [Updated] New package: numen-0.5 JohnGebbie
                   ` (34 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2022-12-28 10:12 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JohnGebbie/void-packages numen3
https://github.com/void-linux/void-packages/pull/39716

New package: numen-0.4
#### 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**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

This is [my voice control](https://numenvoice.com) for handsfree computing, mainly for accessibility needs.

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

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

From 13e521ce271fe1c84da0563c2df9d26af8e6fb11 Mon Sep 17 00:00:00 2001
From: John Gebbie <me@johngebbie.com>
Date: Tue, 4 Oct 2022 17:50:42 +0100
Subject: [PATCH] New package: numen-0.5

---
 srcpkgs/numen/files/numen/conf    |  7 ++++++
 srcpkgs/numen/files/numen/log/run |  2 ++
 srcpkgs/numen/files/numen/run     | 11 +++++++++
 srcpkgs/numen/template            | 40 +++++++++++++++++++++++++++++++
 4 files changed, 60 insertions(+)
 create mode 100644 srcpkgs/numen/files/numen/conf
 create mode 100755 srcpkgs/numen/files/numen/log/run
 create mode 100755 srcpkgs/numen/files/numen/run
 create mode 100644 srcpkgs/numen/template

diff --git a/srcpkgs/numen/files/numen/conf b/srcpkgs/numen/files/numen/conf
new file mode 100644
index 000000000000..2d814396e2d9
--- /dev/null
+++ b/srcpkgs/numen/files/numen/conf
@@ -0,0 +1,7 @@
+# Example to run the service as a specific user:
+
+# NUMENUSER=john
+# NUMENGROUP="$NUMENUSER"
+# NUMENHOME="/home/$NUMENUSER"
+# export HOME="$NUMENHOME"
+# export XAUTHORITY="/run/user/$(id -u "$NUMENUSER")/Xauthority"
diff --git a/srcpkgs/numen/files/numen/log/run b/srcpkgs/numen/files/numen/log/run
new file mode 100755
index 000000000000..f77a7f813f11
--- /dev/null
+++ b/srcpkgs/numen/files/numen/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec vlogger -p daemon.info -t numen
diff --git a/srcpkgs/numen/files/numen/run b/srcpkgs/numen/files/numen/run
new file mode 100755
index 000000000000..da29f62904da
--- /dev/null
+++ b/srcpkgs/numen/files/numen/run
@@ -0,0 +1,11 @@
+#!/bin/sh
+exec 2>&1
+[ -r ./conf ] && . ./conf
+: ${NUMENUSER:=_numen}
+: ${NUMENGROUP:=_numen}
+if [ -z "$NUMENHOME" ]; then
+	mkdir -p /usr/share/numen
+	chown "$NUMENUSER:$NUMENGROUP" /usr/share/numen
+	export XDG_DATA_HOME=/usr/share
+fi
+exec chpst -u "$NUMENUSER:$NUMENGROUP:input:audio" numen ${OPTS}
diff --git a/srcpkgs/numen/template b/srcpkgs/numen/template
new file mode 100644
index 000000000000..7acec9f6662f
--- /dev/null
+++ b/srcpkgs/numen/template
@@ -0,0 +1,40 @@
+# Template file for 'numen'
+pkgname=numen
+# TODO This tag is on the develop branch just in case you suggest changes
+# when reviewing that I should include in the release.
+version=0.5
+revision=1
+build_style=go
+go_import_path="git.sr.ht/~geb/numen"
+hostmakedepends="scdoc"
+makedepends="vosk-api libgomp-devel"
+depends="alsa-utils dmenu dotool xdotool xset"
+short_desc="Voice control for handsfree computing"
+maintainer="John Gebbie <me@johngebbie.com>"
+license="GPL-3.0-only"
+homepage="https://numenvoice.com"
+changelog="https://git.sr.ht/~geb/numen/blob/master/CHANGELOG.md"
+distfiles="https://git.sr.ht/~geb/numen/archive/${version}.tar.gz"
+checksum=f0df01baba28b3a8b30c3b3beb6af3cbcd03d0de6068d26d77ca38ad0a6a9e02
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	makedepends+=" libexecinfo-devel"
+fi
+
+system_accounts="_numen"
+
+pre_build() {
+	# for the vosk-api package (openblas)
+	export CGO_LDFLAGS="$CGO_LDFLAGS -fopenmp"
+
+	if [ "$XBPS_TARGET_LIBC" = musl ]; then
+		# for the vosk-api package (openfst)
+		export CGO_LDFLAGS="$CGO_LDFLAGS -lexecinfo"
+	fi
+}
+
+post_install() {
+	mv "${DESTDIR}/usr/bin/numen" speech
+	PACKAGING=true ./install-numen.sh "${DESTDIR}" /usr/bin
+	vsv numen
+}

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

* Re: [PR PATCH] [Updated] New package: numen-0.5
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (24 preceding siblings ...)
  2022-12-28 10:12 ` [PR PATCH] [Updated] " JohnGebbie
@ 2022-12-29 20:36 ` JohnGebbie
  2022-12-29 21:56 ` [PR REVIEW] " paper42
                   ` (33 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2022-12-29 20:36 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JohnGebbie/void-packages numen3
https://github.com/void-linux/void-packages/pull/39716

New package: numen-0.5
#### 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**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

This is [my voice control](https://numenvoice.com) for handsfree computing, mainly for accessibility needs.

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

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

From 1f72bc172ceb0ffe38a54ec909ed503f50cc7a5c Mon Sep 17 00:00:00 2001
From: John Gebbie <me@johngebbie.com>
Date: Tue, 4 Oct 2022 17:50:42 +0100
Subject: [PATCH] New package: numen-0.5

---
 srcpkgs/numen/files/numen/conf    |  7 ++++++
 srcpkgs/numen/files/numen/log/run |  2 ++
 srcpkgs/numen/files/numen/run     | 11 +++++++++
 srcpkgs/numen/template            | 40 +++++++++++++++++++++++++++++++
 4 files changed, 60 insertions(+)
 create mode 100644 srcpkgs/numen/files/numen/conf
 create mode 100755 srcpkgs/numen/files/numen/log/run
 create mode 100755 srcpkgs/numen/files/numen/run
 create mode 100644 srcpkgs/numen/template

diff --git a/srcpkgs/numen/files/numen/conf b/srcpkgs/numen/files/numen/conf
new file mode 100644
index 000000000000..2d814396e2d9
--- /dev/null
+++ b/srcpkgs/numen/files/numen/conf
@@ -0,0 +1,7 @@
+# Example to run the service as a specific user:
+
+# NUMENUSER=john
+# NUMENGROUP="$NUMENUSER"
+# NUMENHOME="/home/$NUMENUSER"
+# export HOME="$NUMENHOME"
+# export XAUTHORITY="/run/user/$(id -u "$NUMENUSER")/Xauthority"
diff --git a/srcpkgs/numen/files/numen/log/run b/srcpkgs/numen/files/numen/log/run
new file mode 100755
index 000000000000..f77a7f813f11
--- /dev/null
+++ b/srcpkgs/numen/files/numen/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec vlogger -p daemon.info -t numen
diff --git a/srcpkgs/numen/files/numen/run b/srcpkgs/numen/files/numen/run
new file mode 100755
index 000000000000..da29f62904da
--- /dev/null
+++ b/srcpkgs/numen/files/numen/run
@@ -0,0 +1,11 @@
+#!/bin/sh
+exec 2>&1
+[ -r ./conf ] && . ./conf
+: ${NUMENUSER:=_numen}
+: ${NUMENGROUP:=_numen}
+if [ -z "$NUMENHOME" ]; then
+	mkdir -p /usr/share/numen
+	chown "$NUMENUSER:$NUMENGROUP" /usr/share/numen
+	export XDG_DATA_HOME=/usr/share
+fi
+exec chpst -u "$NUMENUSER:$NUMENGROUP:input:audio" numen ${OPTS}
diff --git a/srcpkgs/numen/template b/srcpkgs/numen/template
new file mode 100644
index 000000000000..54d346c0ee87
--- /dev/null
+++ b/srcpkgs/numen/template
@@ -0,0 +1,40 @@
+# Template file for 'numen'
+pkgname=numen
+# TODO I will release version 0.5 after this has been reviewed, in case you
+# suggest changes
+version=1607b16953280ad01fad23d673e589102e344397
+revision=1
+build_style=go
+go_import_path="git.sr.ht/~geb/numen"
+hostmakedepends="scdoc"
+makedepends="vosk-api libgomp-devel"
+depends="alsa-utils dmenu dotool xdotool xset"
+short_desc="Voice control for handsfree computing"
+maintainer="John Gebbie <me@johngebbie.com>"
+license="GPL-3.0-only"
+homepage="https://numenvoice.com"
+changelog="https://git.sr.ht/~geb/numen/blob/master/CHANGELOG.md"
+distfiles="https://git.sr.ht/~geb/numen/archive/${version}.tar.gz"
+checksum=c9c5a5cfe723196d3e62e0d786e76f2387e941ae6f62e38fb5b001963662f61a
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	makedepends+=" libexecinfo-devel"
+fi
+
+system_accounts="_numen"
+
+pre_build() {
+	# for the vosk-api package (openblas)
+	export CGO_LDFLAGS="$CGO_LDFLAGS -fopenmp"
+
+	if [ "$XBPS_TARGET_LIBC" = musl ]; then
+		# for the vosk-api package (openfst)
+		export CGO_LDFLAGS="$CGO_LDFLAGS -lexecinfo"
+	fi
+}
+
+post_install() {
+	mv "${DESTDIR}/usr/bin/numen" speech
+	PACKAGING=true ./install-numen.sh "${DESTDIR}" /usr/bin
+	vsv numen
+}

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

* Re: [PR REVIEW] New package: numen-0.5
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (25 preceding siblings ...)
  2022-12-29 20:36 ` [PR PATCH] [Updated] New package: numen-0.5 JohnGebbie
@ 2022-12-29 21:56 ` paper42
  2022-12-29 22:10 ` [PR PATCH] [Updated] " JohnGebbie
                   ` (32 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: paper42 @ 2022-12-29 21:56 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/39716#discussion_r1059162327

Comment:
this file has to be marked as a conf_file, otherwise it would be overwritten on the next update

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

* Re: [PR PATCH] [Updated] New package: numen-0.5
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (26 preceding siblings ...)
  2022-12-29 21:56 ` [PR REVIEW] " paper42
@ 2022-12-29 22:10 ` JohnGebbie
  2022-12-29 22:11 ` [PR REVIEW] " JohnGebbie
                   ` (31 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2022-12-29 22:10 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JohnGebbie/void-packages numen3
https://github.com/void-linux/void-packages/pull/39716

New package: numen-0.5
#### 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**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

This is [my voice control](https://numenvoice.com) for handsfree computing, mainly for accessibility needs.

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

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

From ec12d63496f828863a0eeb108de757d43b6b8466 Mon Sep 17 00:00:00 2001
From: John Gebbie <me@johngebbie.com>
Date: Tue, 4 Oct 2022 17:50:42 +0100
Subject: [PATCH] New package: numen-0.5

---
 srcpkgs/numen/files/numen/conf    |  7 ++++++
 srcpkgs/numen/files/numen/log/run |  2 ++
 srcpkgs/numen/files/numen/run     | 11 +++++++++
 srcpkgs/numen/template            | 41 +++++++++++++++++++++++++++++++
 4 files changed, 61 insertions(+)
 create mode 100644 srcpkgs/numen/files/numen/conf
 create mode 100755 srcpkgs/numen/files/numen/log/run
 create mode 100755 srcpkgs/numen/files/numen/run
 create mode 100644 srcpkgs/numen/template

diff --git a/srcpkgs/numen/files/numen/conf b/srcpkgs/numen/files/numen/conf
new file mode 100644
index 000000000000..2d814396e2d9
--- /dev/null
+++ b/srcpkgs/numen/files/numen/conf
@@ -0,0 +1,7 @@
+# Example to run the service as a specific user:
+
+# NUMENUSER=john
+# NUMENGROUP="$NUMENUSER"
+# NUMENHOME="/home/$NUMENUSER"
+# export HOME="$NUMENHOME"
+# export XAUTHORITY="/run/user/$(id -u "$NUMENUSER")/Xauthority"
diff --git a/srcpkgs/numen/files/numen/log/run b/srcpkgs/numen/files/numen/log/run
new file mode 100755
index 000000000000..f77a7f813f11
--- /dev/null
+++ b/srcpkgs/numen/files/numen/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec vlogger -p daemon.info -t numen
diff --git a/srcpkgs/numen/files/numen/run b/srcpkgs/numen/files/numen/run
new file mode 100755
index 000000000000..da29f62904da
--- /dev/null
+++ b/srcpkgs/numen/files/numen/run
@@ -0,0 +1,11 @@
+#!/bin/sh
+exec 2>&1
+[ -r ./conf ] && . ./conf
+: ${NUMENUSER:=_numen}
+: ${NUMENGROUP:=_numen}
+if [ -z "$NUMENHOME" ]; then
+	mkdir -p /usr/share/numen
+	chown "$NUMENUSER:$NUMENGROUP" /usr/share/numen
+	export XDG_DATA_HOME=/usr/share
+fi
+exec chpst -u "$NUMENUSER:$NUMENGROUP:input:audio" numen ${OPTS}
diff --git a/srcpkgs/numen/template b/srcpkgs/numen/template
new file mode 100644
index 000000000000..7b5c5eaf8cb1
--- /dev/null
+++ b/srcpkgs/numen/template
@@ -0,0 +1,41 @@
+# Template file for 'numen'
+pkgname=numen
+# TODO I will release version 0.5 after this has been reviewed, in case you
+# suggest changes
+version=1607b16953280ad01fad23d673e589102e344397
+revision=1
+build_style=go
+go_import_path="git.sr.ht/~geb/numen"
+hostmakedepends="scdoc"
+makedepends="vosk-api libgomp-devel"
+depends="alsa-utils dmenu dotool xdotool xset"
+short_desc="Voice control for handsfree computing"
+maintainer="John Gebbie <me@johngebbie.com>"
+license="GPL-3.0-only"
+homepage="https://numenvoice.com"
+changelog="https://git.sr.ht/~geb/numen/blob/master/CHANGELOG.md"
+distfiles="https://git.sr.ht/~geb/numen/archive/${version}.tar.gz"
+checksum=c9c5a5cfe723196d3e62e0d786e76f2387e941ae6f62e38fb5b001963662f61a
+conf_files="/etc/sv/numen/conf"
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	makedepends+=" libexecinfo-devel"
+fi
+
+system_accounts="_numen"
+
+pre_build() {
+	# for the vosk-api package (openblas)
+	export CGO_LDFLAGS="$CGO_LDFLAGS -fopenmp"
+
+	if [ "$XBPS_TARGET_LIBC" = musl ]; then
+		# for the vosk-api package (openfst)
+		export CGO_LDFLAGS="$CGO_LDFLAGS -lexecinfo"
+	fi
+}
+
+post_install() {
+	mv "${DESTDIR}/usr/bin/numen" speech
+	PACKAGING=true ./install-numen.sh "${DESTDIR}" /usr/bin
+	vsv numen
+}

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

* Re: [PR REVIEW] New package: numen-0.5
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (27 preceding siblings ...)
  2022-12-29 22:10 ` [PR PATCH] [Updated] " JohnGebbie
@ 2022-12-29 22:11 ` JohnGebbie
  2022-12-30 11:19 ` [PR PATCH] [Updated] " JohnGebbie
                   ` (30 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2022-12-29 22:11 UTC (permalink / raw)
  To: ml

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

New review comment by JohnGebbie on void-packages repository

https://github.com/void-linux/void-packages/pull/39716#discussion_r1059167740

Comment:
Thank you :)!

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

* Re: [PR PATCH] [Updated] New package: numen-0.5
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (28 preceding siblings ...)
  2022-12-29 22:11 ` [PR REVIEW] " JohnGebbie
@ 2022-12-30 11:19 ` JohnGebbie
  2022-12-30 11:21 ` JohnGebbie
                   ` (29 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2022-12-30 11:19 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JohnGebbie/void-packages numen3
https://github.com/void-linux/void-packages/pull/39716

New package: numen-0.5
#### 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**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

This is [my voice control](https://numenvoice.com) for handsfree computing, mainly for accessibility needs.

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

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

From 16056d554d5c421b87360594b533cc899e1df18b Mon Sep 17 00:00:00 2001
From: John Gebbie <me@johngebbie.com>
Date: Tue, 4 Oct 2022 17:50:42 +0100
Subject: [PATCH] New package: numen-0.5

---
 srcpkgs/numen/files/numen/conf    |  7 ++++++
 srcpkgs/numen/files/numen/log/run |  2 ++
 srcpkgs/numen/files/numen/run     | 11 +++++++++
 srcpkgs/numen/template            | 39 +++++++++++++++++++++++++++++++
 4 files changed, 59 insertions(+)
 create mode 100644 srcpkgs/numen/files/numen/conf
 create mode 100755 srcpkgs/numen/files/numen/log/run
 create mode 100755 srcpkgs/numen/files/numen/run
 create mode 100644 srcpkgs/numen/template

diff --git a/srcpkgs/numen/files/numen/conf b/srcpkgs/numen/files/numen/conf
new file mode 100644
index 000000000000..2d814396e2d9
--- /dev/null
+++ b/srcpkgs/numen/files/numen/conf
@@ -0,0 +1,7 @@
+# Example to run the service as a specific user:
+
+# NUMENUSER=john
+# NUMENGROUP="$NUMENUSER"
+# NUMENHOME="/home/$NUMENUSER"
+# export HOME="$NUMENHOME"
+# export XAUTHORITY="/run/user/$(id -u "$NUMENUSER")/Xauthority"
diff --git a/srcpkgs/numen/files/numen/log/run b/srcpkgs/numen/files/numen/log/run
new file mode 100755
index 000000000000..f77a7f813f11
--- /dev/null
+++ b/srcpkgs/numen/files/numen/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec vlogger -p daemon.info -t numen
diff --git a/srcpkgs/numen/files/numen/run b/srcpkgs/numen/files/numen/run
new file mode 100755
index 000000000000..da29f62904da
--- /dev/null
+++ b/srcpkgs/numen/files/numen/run
@@ -0,0 +1,11 @@
+#!/bin/sh
+exec 2>&1
+[ -r ./conf ] && . ./conf
+: ${NUMENUSER:=_numen}
+: ${NUMENGROUP:=_numen}
+if [ -z "$NUMENHOME" ]; then
+	mkdir -p /usr/share/numen
+	chown "$NUMENUSER:$NUMENGROUP" /usr/share/numen
+	export XDG_DATA_HOME=/usr/share
+fi
+exec chpst -u "$NUMENUSER:$NUMENGROUP:input:audio" numen ${OPTS}
diff --git a/srcpkgs/numen/template b/srcpkgs/numen/template
new file mode 100644
index 000000000000..c3cf5b117484
--- /dev/null
+++ b/srcpkgs/numen/template
@@ -0,0 +1,39 @@
+# Template file for 'numen'
+pkgname=numen
+version=0.5
+revision=1
+build_style=go
+go_import_path="git.sr.ht/~geb/numen"
+hostmakedepends="scdoc"
+makedepends="vosk-api libgomp-devel"
+depends="alsa-utils dmenu dotool xdotool xset"
+short_desc="Voice control for handsfree computing"
+maintainer="John Gebbie <me@johngebbie.com>"
+license="GPL-3.0-only"
+homepage="https://numenvoice.com"
+changelog="https://git.sr.ht/~geb/numen/blob/master/CHANGELOG.md"
+distfiles="https://git.sr.ht/~geb/numen/archive/${version}.tar.gz"
+checksum=c9c5a5cfe723196d3e62e0d786e76f2387e941ae6f62e38fb5b001963662f61a
+conf_files="/etc/sv/numen/conf"
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	makedepends+=" libexecinfo-devel"
+fi
+
+system_accounts="_numen"
+
+pre_build() {
+	# for the vosk-api package (openblas)
+	export CGO_LDFLAGS="$CGO_LDFLAGS -fopenmp"
+
+	if [ "$XBPS_TARGET_LIBC" = musl ]; then
+		# for the vosk-api package (openfst)
+		export CGO_LDFLAGS="$CGO_LDFLAGS -lexecinfo"
+	fi
+}
+
+post_install() {
+	mv "${DESTDIR}/usr/bin/numen" speech
+	PACKAGING=true ./install-numen.sh "${DESTDIR}" /usr/bin
+	vsv numen
+}

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

* Re: [PR PATCH] [Updated] New package: numen-0.5
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (29 preceding siblings ...)
  2022-12-30 11:19 ` [PR PATCH] [Updated] " JohnGebbie
@ 2022-12-30 11:21 ` JohnGebbie
  2022-12-30 11:48 ` JohnGebbie
                   ` (28 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2022-12-30 11:21 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JohnGebbie/void-packages numen3
https://github.com/void-linux/void-packages/pull/39716

New package: numen-0.5
#### 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**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

This is [my voice control](https://numenvoice.com) for handsfree computing, mainly for accessibility needs.

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

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

From e4ebab1f2c0a0ec0678d0ef0185a2ac38d599442 Mon Sep 17 00:00:00 2001
From: John Gebbie <me@johngebbie.com>
Date: Tue, 4 Oct 2022 17:50:42 +0100
Subject: [PATCH] New package: numen-0.5

---
 srcpkgs/numen/files/numen/conf    |  7 ++++++
 srcpkgs/numen/files/numen/log/run |  2 ++
 srcpkgs/numen/files/numen/run     | 11 +++++++++
 srcpkgs/numen/template            | 39 +++++++++++++++++++++++++++++++
 4 files changed, 59 insertions(+)
 create mode 100644 srcpkgs/numen/files/numen/conf
 create mode 100755 srcpkgs/numen/files/numen/log/run
 create mode 100755 srcpkgs/numen/files/numen/run
 create mode 100644 srcpkgs/numen/template

diff --git a/srcpkgs/numen/files/numen/conf b/srcpkgs/numen/files/numen/conf
new file mode 100644
index 000000000000..2d814396e2d9
--- /dev/null
+++ b/srcpkgs/numen/files/numen/conf
@@ -0,0 +1,7 @@
+# Example to run the service as a specific user:
+
+# NUMENUSER=john
+# NUMENGROUP="$NUMENUSER"
+# NUMENHOME="/home/$NUMENUSER"
+# export HOME="$NUMENHOME"
+# export XAUTHORITY="/run/user/$(id -u "$NUMENUSER")/Xauthority"
diff --git a/srcpkgs/numen/files/numen/log/run b/srcpkgs/numen/files/numen/log/run
new file mode 100755
index 000000000000..f77a7f813f11
--- /dev/null
+++ b/srcpkgs/numen/files/numen/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec vlogger -p daemon.info -t numen
diff --git a/srcpkgs/numen/files/numen/run b/srcpkgs/numen/files/numen/run
new file mode 100755
index 000000000000..da29f62904da
--- /dev/null
+++ b/srcpkgs/numen/files/numen/run
@@ -0,0 +1,11 @@
+#!/bin/sh
+exec 2>&1
+[ -r ./conf ] && . ./conf
+: ${NUMENUSER:=_numen}
+: ${NUMENGROUP:=_numen}
+if [ -z "$NUMENHOME" ]; then
+	mkdir -p /usr/share/numen
+	chown "$NUMENUSER:$NUMENGROUP" /usr/share/numen
+	export XDG_DATA_HOME=/usr/share
+fi
+exec chpst -u "$NUMENUSER:$NUMENGROUP:input:audio" numen ${OPTS}
diff --git a/srcpkgs/numen/template b/srcpkgs/numen/template
new file mode 100644
index 000000000000..9a090b124a42
--- /dev/null
+++ b/srcpkgs/numen/template
@@ -0,0 +1,39 @@
+# Template file for 'numen'
+pkgname=numen
+version=0.5
+revision=1
+build_style=go
+go_import_path="git.sr.ht/~geb/numen"
+hostmakedepends="scdoc"
+makedepends="vosk-api libgomp-devel"
+depends="alsa-utils dmenu dotool xdotool xset"
+short_desc="Voice control for handsfree computing"
+maintainer="John Gebbie <me@johngebbie.com>"
+license="GPL-3.0-only"
+homepage="https://numenvoice.com"
+changelog="https://git.sr.ht/~geb/numen/blob/master/CHANGELOG.md"
+distfiles="https://git.sr.ht/~geb/numen/archive/${version}.tar.gz"
+checksum=6b1ca7b5b9b2134d43ce4f684b3833d75be2de66354e302d43ec2d03b071a520
+conf_files="/etc/sv/numen/conf"
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	makedepends+=" libexecinfo-devel"
+fi
+
+system_accounts="_numen"
+
+pre_build() {
+	# for the vosk-api package (openblas)
+	export CGO_LDFLAGS="$CGO_LDFLAGS -fopenmp"
+
+	if [ "$XBPS_TARGET_LIBC" = musl ]; then
+		# for the vosk-api package (openfst)
+		export CGO_LDFLAGS="$CGO_LDFLAGS -lexecinfo"
+	fi
+}
+
+post_install() {
+	mv "${DESTDIR}/usr/bin/numen" speech
+	PACKAGING=true ./install-numen.sh "${DESTDIR}" /usr/bin
+	vsv numen
+}

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

* Re: New package: numen-0.5
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (30 preceding siblings ...)
  2022-12-30 11:21 ` JohnGebbie
@ 2022-12-30 11:48 ` JohnGebbie
  2022-12-31 11:56 ` JohnGebbie
                   ` (27 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2022-12-30 11:48 UTC (permalink / raw)
  To: ml

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

New comment by JohnGebbie on void-packages repository

https://github.com/void-linux/void-packages/pull/39716#issuecomment-1367877092

Comment:
That's me released version 0.5 and updated the template.
I deleted and uninstalled numen and most the dependencies and reinstalled numen and all seems well.
I also edited the service conf and reinstalled numen to check my modifications would be preserved and they were.


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

* Re: New package: numen-0.5
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (31 preceding siblings ...)
  2022-12-30 11:48 ` JohnGebbie
@ 2022-12-31 11:56 ` JohnGebbie
  2022-12-31 11:58 ` JohnGebbie
                   ` (26 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2022-12-31 11:56 UTC (permalink / raw)
  To: ml

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

New comment by JohnGebbie on void-packages repository

https://github.com/void-linux/void-packages/pull/39716#issuecomment-1337079725

Comment:
ready to merge

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

* Re: New package: numen-0.5
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (32 preceding siblings ...)
  2022-12-31 11:56 ` JohnGebbie
@ 2022-12-31 11:58 ` JohnGebbie
  2022-12-31 13:30 ` JohnGebbie
                   ` (25 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2022-12-31 11:58 UTC (permalink / raw)
  To: ml

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

New comment by JohnGebbie on void-packages repository

https://github.com/void-linux/void-packages/pull/39716#issuecomment-1368206108

Comment:
All seems well and ready to merge.

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

* Re: New package: numen-0.5
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (33 preceding siblings ...)
  2022-12-31 11:58 ` JohnGebbie
@ 2022-12-31 13:30 ` JohnGebbie
  2022-12-31 14:43 ` [PR REVIEW] " paper42
                   ` (24 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2022-12-31 13:30 UTC (permalink / raw)
  To: ml

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

New comment by JohnGebbie on void-packages repository

https://github.com/void-linux/void-packages/pull/39716#issuecomment-1368216146

Comment:
Hold off there seems to be a bug in a recent commit

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

* Re: [PR REVIEW] New package: numen-0.5
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (34 preceding siblings ...)
  2022-12-31 13:30 ` JohnGebbie
@ 2022-12-31 14:43 ` paper42
  2022-12-31 16:36 ` [PR PATCH] [Updated] " JohnGebbie
                   ` (23 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: paper42 @ 2022-12-31 14:43 UTC (permalink / raw)
  To: ml

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

New review comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/39716#discussion_r1059653035

Comment:
what's the purpose of this line?

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

* Re: [PR PATCH] [Updated] New package: numen-0.5
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (35 preceding siblings ...)
  2022-12-31 14:43 ` [PR REVIEW] " paper42
@ 2022-12-31 16:36 ` JohnGebbie
  2022-12-31 16:52 ` [PR REVIEW] " JohnGebbie
                   ` (22 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2022-12-31 16:36 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JohnGebbie/void-packages numen3
https://github.com/void-linux/void-packages/pull/39716

New package: numen-0.5
#### 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**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

This is [my voice control](https://numenvoice.com) for handsfree computing, mainly for accessibility needs.

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

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

From c797236be02a93233a16b4c0540b618942c77b86 Mon Sep 17 00:00:00 2001
From: John Gebbie <me@johngebbie.com>
Date: Tue, 4 Oct 2022 17:50:42 +0100
Subject: [PATCH] New package: numen-0.5

---
 srcpkgs/numen/files/numen/conf    |  7 ++++++
 srcpkgs/numen/files/numen/log/run |  2 ++
 srcpkgs/numen/files/numen/run     | 11 +++++++++
 srcpkgs/numen/template            | 40 +++++++++++++++++++++++++++++++
 4 files changed, 60 insertions(+)
 create mode 100644 srcpkgs/numen/files/numen/conf
 create mode 100755 srcpkgs/numen/files/numen/log/run
 create mode 100755 srcpkgs/numen/files/numen/run
 create mode 100644 srcpkgs/numen/template

diff --git a/srcpkgs/numen/files/numen/conf b/srcpkgs/numen/files/numen/conf
new file mode 100644
index 000000000000..2d814396e2d9
--- /dev/null
+++ b/srcpkgs/numen/files/numen/conf
@@ -0,0 +1,7 @@
+# Example to run the service as a specific user:
+
+# NUMENUSER=john
+# NUMENGROUP="$NUMENUSER"
+# NUMENHOME="/home/$NUMENUSER"
+# export HOME="$NUMENHOME"
+# export XAUTHORITY="/run/user/$(id -u "$NUMENUSER")/Xauthority"
diff --git a/srcpkgs/numen/files/numen/log/run b/srcpkgs/numen/files/numen/log/run
new file mode 100755
index 000000000000..f77a7f813f11
--- /dev/null
+++ b/srcpkgs/numen/files/numen/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec vlogger -p daemon.info -t numen
diff --git a/srcpkgs/numen/files/numen/run b/srcpkgs/numen/files/numen/run
new file mode 100755
index 000000000000..da29f62904da
--- /dev/null
+++ b/srcpkgs/numen/files/numen/run
@@ -0,0 +1,11 @@
+#!/bin/sh
+exec 2>&1
+[ -r ./conf ] && . ./conf
+: ${NUMENUSER:=_numen}
+: ${NUMENGROUP:=_numen}
+if [ -z "$NUMENHOME" ]; then
+	mkdir -p /usr/share/numen
+	chown "$NUMENUSER:$NUMENGROUP" /usr/share/numen
+	export XDG_DATA_HOME=/usr/share
+fi
+exec chpst -u "$NUMENUSER:$NUMENGROUP:input:audio" numen ${OPTS}
diff --git a/srcpkgs/numen/template b/srcpkgs/numen/template
new file mode 100644
index 000000000000..89d16ce1ff65
--- /dev/null
+++ b/srcpkgs/numen/template
@@ -0,0 +1,40 @@
+# Template file for 'numen'
+pkgname=numen
+version=0.5
+revision=1
+build_style=go
+go_import_path="git.sr.ht/~geb/numen"
+go_package="speech.go"
+hostmakedepends="scdoc"
+makedepends="vosk-api libgomp-devel"
+depends="alsa-utils dmenu dotool xdotool xset"
+short_desc="Voice control for handsfree computing"
+maintainer="John Gebbie <me@johngebbie.com>"
+license="GPL-3.0-only"
+homepage="https://numenvoice.com"
+changelog="https://git.sr.ht/~geb/numen/blob/master/CHANGELOG.md"
+distfiles="https://git.sr.ht/~geb/numen/archive/${version}.tar.gz"
+checksum=c1df50b67c725c885450853a959de10b46ac4af01fca2c120fa14ba89a6920e0
+conf_files="/etc/sv/numen/conf"
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	makedepends+=" libexecinfo-devel"
+fi
+
+system_accounts="_numen"
+
+pre_build() {
+	# for the vosk-api package (openblas)
+	export CGO_LDFLAGS="$CGO_LDFLAGS -fopenmp"
+
+	if [ "$XBPS_TARGET_LIBC" = musl ]; then
+		# for the vosk-api package (openfst)
+		export CGO_LDFLAGS="$CGO_LDFLAGS -lexecinfo"
+	fi
+}
+
+post_install() {
+	mv "${DESTDIR}/usr/bin/speech" .
+	PACKAGING=true ./install-numen.sh "${DESTDIR}" /usr/bin
+	vsv numen
+}

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

* Re: [PR REVIEW] New package: numen-0.5
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (36 preceding siblings ...)
  2022-12-31 16:36 ` [PR PATCH] [Updated] " JohnGebbie
@ 2022-12-31 16:52 ` JohnGebbie
  2022-12-31 21:46 ` JohnGebbie
                   ` (21 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2022-12-31 16:52 UTC (permalink / raw)
  To: ml

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

New review comment by JohnGebbie on void-packages repository

https://github.com/void-linux/void-packages/pull/39716#discussion_r1059662884

Comment:
numen is not just a go executable, it's a pipline with shell scripts too.
The go module name has to be `git.sr.ht/~geb/numen` but the go file is speech.go.
I have added `go_package="speech.go"` so it is compiled as `speech` which is a slight improvement I think.

(I also thought I could compile it to $wrksrc by with `do_install` instead of `post_install` but then it ends up in a directory in $GOPATH.)


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

* Re: New package: numen-0.5
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (37 preceding siblings ...)
  2022-12-31 16:52 ` [PR REVIEW] " JohnGebbie
@ 2022-12-31 21:46 ` JohnGebbie
  2022-12-31 21:46 ` JohnGebbie
                   ` (20 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2022-12-31 21:46 UTC (permalink / raw)
  To: ml

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

New comment by JohnGebbie on void-packages repository

https://github.com/void-linux/void-packages/pull/39716#issuecomment-1368216146

Comment:
Hold off there seems to be a bug in a recent commit

EDIT: Has been resolved and was due to an old dependency on another distro anyway
(Happy new year!)

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

* Re: New package: numen-0.5
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (38 preceding siblings ...)
  2022-12-31 21:46 ` JohnGebbie
@ 2022-12-31 21:46 ` JohnGebbie
  2023-01-02 21:35 ` [PR PATCH] [Updated] " JohnGebbie
                   ` (19 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2022-12-31 21:46 UTC (permalink / raw)
  To: ml

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

New comment by JohnGebbie on void-packages repository

https://github.com/void-linux/void-packages/pull/39716#issuecomment-1368216146

Comment:
Hold off there seems to be a bug in a recent commit

EDIT: Has been resolved and was due to an old dependency on another distro anyway
(Happy new yearish!)

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

* Re: [PR PATCH] [Updated] New package: numen-0.5
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (39 preceding siblings ...)
  2022-12-31 21:46 ` JohnGebbie
@ 2023-01-02 21:35 ` JohnGebbie
  2023-01-02 21:38 ` JohnGebbie
                   ` (18 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2023-01-02 21:35 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JohnGebbie/void-packages numen3
https://github.com/void-linux/void-packages/pull/39716

New package: numen-0.5
#### 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**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

This is [my voice control](https://numenvoice.com) for handsfree computing, mainly for accessibility needs.

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

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

From b0ea7df9cafe4233dc269aca6cc8b1945472caaf Mon Sep 17 00:00:00 2001
From: John Gebbie <me@johngebbie.com>
Date: Tue, 4 Oct 2022 17:50:42 +0100
Subject: [PATCH] New package: numen-0.5

---
 srcpkgs/numen/files/numen/conf    |  7 ++++++
 srcpkgs/numen/files/numen/log/run |  2 ++
 srcpkgs/numen/files/numen/run     | 11 +++++++++
 srcpkgs/numen/template            | 40 +++++++++++++++++++++++++++++++
 4 files changed, 60 insertions(+)
 create mode 100644 srcpkgs/numen/files/numen/conf
 create mode 100755 srcpkgs/numen/files/numen/log/run
 create mode 100755 srcpkgs/numen/files/numen/run
 create mode 100644 srcpkgs/numen/template

diff --git a/srcpkgs/numen/files/numen/conf b/srcpkgs/numen/files/numen/conf
new file mode 100644
index 000000000000..2d814396e2d9
--- /dev/null
+++ b/srcpkgs/numen/files/numen/conf
@@ -0,0 +1,7 @@
+# Example to run the service as a specific user:
+
+# NUMENUSER=john
+# NUMENGROUP="$NUMENUSER"
+# NUMENHOME="/home/$NUMENUSER"
+# export HOME="$NUMENHOME"
+# export XAUTHORITY="/run/user/$(id -u "$NUMENUSER")/Xauthority"
diff --git a/srcpkgs/numen/files/numen/log/run b/srcpkgs/numen/files/numen/log/run
new file mode 100755
index 000000000000..f77a7f813f11
--- /dev/null
+++ b/srcpkgs/numen/files/numen/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec vlogger -p daemon.info -t numen
diff --git a/srcpkgs/numen/files/numen/run b/srcpkgs/numen/files/numen/run
new file mode 100755
index 000000000000..da29f62904da
--- /dev/null
+++ b/srcpkgs/numen/files/numen/run
@@ -0,0 +1,11 @@
+#!/bin/sh
+exec 2>&1
+[ -r ./conf ] && . ./conf
+: ${NUMENUSER:=_numen}
+: ${NUMENGROUP:=_numen}
+if [ -z "$NUMENHOME" ]; then
+	mkdir -p /usr/share/numen
+	chown "$NUMENUSER:$NUMENGROUP" /usr/share/numen
+	export XDG_DATA_HOME=/usr/share
+fi
+exec chpst -u "$NUMENUSER:$NUMENGROUP:input:audio" numen ${OPTS}
diff --git a/srcpkgs/numen/template b/srcpkgs/numen/template
new file mode 100644
index 000000000000..89d16ce1ff65
--- /dev/null
+++ b/srcpkgs/numen/template
@@ -0,0 +1,40 @@
+# Template file for 'numen'
+pkgname=numen
+version=0.5
+revision=1
+build_style=go
+go_import_path="git.sr.ht/~geb/numen"
+go_package="speech.go"
+hostmakedepends="scdoc"
+makedepends="vosk-api libgomp-devel"
+depends="alsa-utils dmenu dotool xdotool xset"
+short_desc="Voice control for handsfree computing"
+maintainer="John Gebbie <me@johngebbie.com>"
+license="GPL-3.0-only"
+homepage="https://numenvoice.com"
+changelog="https://git.sr.ht/~geb/numen/blob/master/CHANGELOG.md"
+distfiles="https://git.sr.ht/~geb/numen/archive/${version}.tar.gz"
+checksum=c1df50b67c725c885450853a959de10b46ac4af01fca2c120fa14ba89a6920e0
+conf_files="/etc/sv/numen/conf"
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	makedepends+=" libexecinfo-devel"
+fi
+
+system_accounts="_numen"
+
+pre_build() {
+	# for the vosk-api package (openblas)
+	export CGO_LDFLAGS="$CGO_LDFLAGS -fopenmp"
+
+	if [ "$XBPS_TARGET_LIBC" = musl ]; then
+		# for the vosk-api package (openfst)
+		export CGO_LDFLAGS="$CGO_LDFLAGS -lexecinfo"
+	fi
+}
+
+post_install() {
+	mv "${DESTDIR}/usr/bin/speech" .
+	PACKAGING=true ./install-numen.sh "${DESTDIR}" /usr/bin
+	vsv numen
+}

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

* Re: New package: numen-0.5
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (40 preceding siblings ...)
  2023-01-02 21:35 ` [PR PATCH] [Updated] " JohnGebbie
@ 2023-01-02 21:38 ` JohnGebbie
  2023-01-06 14:22 ` Eloitor
                   ` (17 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2023-01-02 21:38 UTC (permalink / raw)
  To: ml

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

New comment by JohnGebbie on void-packages repository

https://github.com/void-linux/void-packages/pull/39716#issuecomment-1369227342

Comment:
Just updated the branch. This is ready to merge if you think so.

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

* Re: New package: numen-0.5
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (41 preceding siblings ...)
  2023-01-02 21:38 ` JohnGebbie
@ 2023-01-06 14:22 ` Eloitor
  2023-01-06 14:23 ` Eloitor
                   ` (16 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: Eloitor @ 2023-01-06 14:22 UTC (permalink / raw)
  To: ml

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

New comment by Eloitor on void-packages repository

https://github.com/void-linux/void-packages/pull/39716#issuecomment-1373705569

Comment:
I tested it and `it works well for me! Thank you

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

* Re: New package: numen-0.5
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (42 preceding siblings ...)
  2023-01-06 14:22 ` Eloitor
@ 2023-01-06 14:23 ` Eloitor
  2023-01-06 14:23 ` Eloitor
                   ` (15 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: Eloitor @ 2023-01-06 14:23 UTC (permalink / raw)
  To: ml

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

New comment by Eloitor on void-packages repository

https://github.com/void-linux/void-packages/pull/39716#issuecomment-1373705569

Comment:
I tested it and ^hit works well for me! Thank you

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

* Re: New package: numen-0.5
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (43 preceding siblings ...)
  2023-01-06 14:23 ` Eloitor
@ 2023-01-06 14:23 ` Eloitor
  2023-01-06 15:05 ` JohnGebbie
                   ` (14 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: Eloitor @ 2023-01-06 14:23 UTC (permalink / raw)
  To: ml

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

New comment by Eloitor on void-packages repository

https://github.com/void-linux/void-packages/pull/39716#issuecomment-1373705569

Comment:
I tested it and it works well for me! Thank you

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

* Re: New package: numen-0.5
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (44 preceding siblings ...)
  2023-01-06 14:23 ` Eloitor
@ 2023-01-06 15:05 ` JohnGebbie
  2023-01-06 15:06 ` JohnGebbie
                   ` (13 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2023-01-06 15:05 UTC (permalink / raw)
  To: ml

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

New comment by JohnGebbie on void-packages repository

https://github.com/void-linux/void-packages/pull/39716#issuecomment-1373746967

Comment:
Thanks @Eloitor, that's great :) You'd be very welcome on the [matrix chat](https://matrix.to/#/#numen:matrix.org) if that's something use.

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

* Re: New package: numen-0.5
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (45 preceding siblings ...)
  2023-01-06 15:05 ` JohnGebbie
@ 2023-01-06 15:06 ` JohnGebbie
  2023-01-06 15:08 ` [PR PATCH] [Updated] " JohnGebbie
                   ` (12 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2023-01-06 15:06 UTC (permalink / raw)
  To: ml

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

New comment by JohnGebbie on void-packages repository

https://github.com/void-linux/void-packages/pull/39716#issuecomment-1373746967

Comment:
Thanks @Eloitor, that's great :) You'd be very welcome on the [matrix chat](https://matrix.to/#/#numen:matrix.org) if that's something you use.

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

* Re: [PR PATCH] [Updated] New package: numen-0.5
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (46 preceding siblings ...)
  2023-01-06 15:06 ` JohnGebbie
@ 2023-01-06 15:08 ` JohnGebbie
  2023-01-06 15:09 ` JohnGebbie
                   ` (11 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2023-01-06 15:08 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JohnGebbie/void-packages numen3
https://github.com/void-linux/void-packages/pull/39716

New package: numen-0.5
#### 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**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

This is [my voice control](https://numenvoice.com) for handsfree computing, mainly for accessibility needs.

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

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

From 9af2165309466d10fbab128e12b7b011a1a5c18b Mon Sep 17 00:00:00 2001
From: John Gebbie <me@johngebbie.com>
Date: Tue, 4 Oct 2022 17:50:42 +0100
Subject: [PATCH] New package: numen-0.5

---
 srcpkgs/numen/files/numen/conf    |  7 ++++++
 srcpkgs/numen/files/numen/log/run |  2 ++
 srcpkgs/numen/files/numen/run     | 11 +++++++++
 srcpkgs/numen/template            | 40 +++++++++++++++++++++++++++++++
 4 files changed, 60 insertions(+)
 create mode 100644 srcpkgs/numen/files/numen/conf
 create mode 100755 srcpkgs/numen/files/numen/log/run
 create mode 100755 srcpkgs/numen/files/numen/run
 create mode 100644 srcpkgs/numen/template

diff --git a/srcpkgs/numen/files/numen/conf b/srcpkgs/numen/files/numen/conf
new file mode 100644
index 000000000000..2d814396e2d9
--- /dev/null
+++ b/srcpkgs/numen/files/numen/conf
@@ -0,0 +1,7 @@
+# Example to run the service as a specific user:
+
+# NUMENUSER=john
+# NUMENGROUP="$NUMENUSER"
+# NUMENHOME="/home/$NUMENUSER"
+# export HOME="$NUMENHOME"
+# export XAUTHORITY="/run/user/$(id -u "$NUMENUSER")/Xauthority"
diff --git a/srcpkgs/numen/files/numen/log/run b/srcpkgs/numen/files/numen/log/run
new file mode 100755
index 000000000000..f77a7f813f11
--- /dev/null
+++ b/srcpkgs/numen/files/numen/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec vlogger -p daemon.info -t numen
diff --git a/srcpkgs/numen/files/numen/run b/srcpkgs/numen/files/numen/run
new file mode 100755
index 000000000000..da29f62904da
--- /dev/null
+++ b/srcpkgs/numen/files/numen/run
@@ -0,0 +1,11 @@
+#!/bin/sh
+exec 2>&1
+[ -r ./conf ] && . ./conf
+: ${NUMENUSER:=_numen}
+: ${NUMENGROUP:=_numen}
+if [ -z "$NUMENHOME" ]; then
+	mkdir -p /usr/share/numen
+	chown "$NUMENUSER:$NUMENGROUP" /usr/share/numen
+	export XDG_DATA_HOME=/usr/share
+fi
+exec chpst -u "$NUMENUSER:$NUMENGROUP:input:audio" numen ${OPTS}
diff --git a/srcpkgs/numen/template b/srcpkgs/numen/template
new file mode 100644
index 000000000000..89d16ce1ff65
--- /dev/null
+++ b/srcpkgs/numen/template
@@ -0,0 +1,40 @@
+# Template file for 'numen'
+pkgname=numen
+version=0.5
+revision=1
+build_style=go
+go_import_path="git.sr.ht/~geb/numen"
+go_package="speech.go"
+hostmakedepends="scdoc"
+makedepends="vosk-api libgomp-devel"
+depends="alsa-utils dmenu dotool xdotool xset"
+short_desc="Voice control for handsfree computing"
+maintainer="John Gebbie <me@johngebbie.com>"
+license="GPL-3.0-only"
+homepage="https://numenvoice.com"
+changelog="https://git.sr.ht/~geb/numen/blob/master/CHANGELOG.md"
+distfiles="https://git.sr.ht/~geb/numen/archive/${version}.tar.gz"
+checksum=c1df50b67c725c885450853a959de10b46ac4af01fca2c120fa14ba89a6920e0
+conf_files="/etc/sv/numen/conf"
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	makedepends+=" libexecinfo-devel"
+fi
+
+system_accounts="_numen"
+
+pre_build() {
+	# for the vosk-api package (openblas)
+	export CGO_LDFLAGS="$CGO_LDFLAGS -fopenmp"
+
+	if [ "$XBPS_TARGET_LIBC" = musl ]; then
+		# for the vosk-api package (openfst)
+		export CGO_LDFLAGS="$CGO_LDFLAGS -lexecinfo"
+	fi
+}
+
+post_install() {
+	mv "${DESTDIR}/usr/bin/speech" .
+	PACKAGING=true ./install-numen.sh "${DESTDIR}" /usr/bin
+	vsv numen
+}

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

* Re: New package: numen-0.5
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (47 preceding siblings ...)
  2023-01-06 15:08 ` [PR PATCH] [Updated] " JohnGebbie
@ 2023-01-06 15:09 ` JohnGebbie
  2023-01-10 14:39 ` [PR PATCH] [Updated] " JohnGebbie
                   ` (10 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2023-01-06 15:09 UTC (permalink / raw)
  To: ml

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

New comment by JohnGebbie on void-packages repository

https://github.com/void-linux/void-packages/pull/39716#issuecomment-1373750703

Comment:
just git pulled, still ready

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

* Re: [PR PATCH] [Updated] New package: numen-0.5
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (48 preceding siblings ...)
  2023-01-06 15:09 ` JohnGebbie
@ 2023-01-10 14:39 ` JohnGebbie
  2023-01-12 14:06 ` JohnGebbie
                   ` (9 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2023-01-10 14:39 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JohnGebbie/void-packages numen3
https://github.com/void-linux/void-packages/pull/39716

New package: numen-0.5
#### 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**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

This is [my voice control](https://numenvoice.com) for handsfree computing, mainly for accessibility needs.

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

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

From d6fcf93d23f59fc54bd8f8ae1b0c964258a0009c Mon Sep 17 00:00:00 2001
From: John Gebbie <me@johngebbie.com>
Date: Tue, 4 Oct 2022 17:50:42 +0100
Subject: [PATCH] New package: numen-0.5

---
 srcpkgs/numen/files/numen/conf    |  7 ++++++
 srcpkgs/numen/files/numen/log/run |  2 ++
 srcpkgs/numen/files/numen/run     | 11 +++++++++
 srcpkgs/numen/template            | 40 +++++++++++++++++++++++++++++++
 4 files changed, 60 insertions(+)
 create mode 100644 srcpkgs/numen/files/numen/conf
 create mode 100755 srcpkgs/numen/files/numen/log/run
 create mode 100755 srcpkgs/numen/files/numen/run
 create mode 100644 srcpkgs/numen/template

diff --git a/srcpkgs/numen/files/numen/conf b/srcpkgs/numen/files/numen/conf
new file mode 100644
index 000000000000..2d814396e2d9
--- /dev/null
+++ b/srcpkgs/numen/files/numen/conf
@@ -0,0 +1,7 @@
+# Example to run the service as a specific user:
+
+# NUMENUSER=john
+# NUMENGROUP="$NUMENUSER"
+# NUMENHOME="/home/$NUMENUSER"
+# export HOME="$NUMENHOME"
+# export XAUTHORITY="/run/user/$(id -u "$NUMENUSER")/Xauthority"
diff --git a/srcpkgs/numen/files/numen/log/run b/srcpkgs/numen/files/numen/log/run
new file mode 100755
index 000000000000..f77a7f813f11
--- /dev/null
+++ b/srcpkgs/numen/files/numen/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec vlogger -p daemon.info -t numen
diff --git a/srcpkgs/numen/files/numen/run b/srcpkgs/numen/files/numen/run
new file mode 100755
index 000000000000..da29f62904da
--- /dev/null
+++ b/srcpkgs/numen/files/numen/run
@@ -0,0 +1,11 @@
+#!/bin/sh
+exec 2>&1
+[ -r ./conf ] && . ./conf
+: ${NUMENUSER:=_numen}
+: ${NUMENGROUP:=_numen}
+if [ -z "$NUMENHOME" ]; then
+	mkdir -p /usr/share/numen
+	chown "$NUMENUSER:$NUMENGROUP" /usr/share/numen
+	export XDG_DATA_HOME=/usr/share
+fi
+exec chpst -u "$NUMENUSER:$NUMENGROUP:input:audio" numen ${OPTS}
diff --git a/srcpkgs/numen/template b/srcpkgs/numen/template
new file mode 100644
index 000000000000..89d16ce1ff65
--- /dev/null
+++ b/srcpkgs/numen/template
@@ -0,0 +1,40 @@
+# Template file for 'numen'
+pkgname=numen
+version=0.5
+revision=1
+build_style=go
+go_import_path="git.sr.ht/~geb/numen"
+go_package="speech.go"
+hostmakedepends="scdoc"
+makedepends="vosk-api libgomp-devel"
+depends="alsa-utils dmenu dotool xdotool xset"
+short_desc="Voice control for handsfree computing"
+maintainer="John Gebbie <me@johngebbie.com>"
+license="GPL-3.0-only"
+homepage="https://numenvoice.com"
+changelog="https://git.sr.ht/~geb/numen/blob/master/CHANGELOG.md"
+distfiles="https://git.sr.ht/~geb/numen/archive/${version}.tar.gz"
+checksum=c1df50b67c725c885450853a959de10b46ac4af01fca2c120fa14ba89a6920e0
+conf_files="/etc/sv/numen/conf"
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	makedepends+=" libexecinfo-devel"
+fi
+
+system_accounts="_numen"
+
+pre_build() {
+	# for the vosk-api package (openblas)
+	export CGO_LDFLAGS="$CGO_LDFLAGS -fopenmp"
+
+	if [ "$XBPS_TARGET_LIBC" = musl ]; then
+		# for the vosk-api package (openfst)
+		export CGO_LDFLAGS="$CGO_LDFLAGS -lexecinfo"
+	fi
+}
+
+post_install() {
+	mv "${DESTDIR}/usr/bin/speech" .
+	PACKAGING=true ./install-numen.sh "${DESTDIR}" /usr/bin
+	vsv numen
+}

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

* Re: [PR PATCH] [Updated] New package: numen-0.5
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (49 preceding siblings ...)
  2023-01-10 14:39 ` [PR PATCH] [Updated] " JohnGebbie
@ 2023-01-12 14:06 ` JohnGebbie
  2023-01-15 14:12 ` JohnGebbie
                   ` (8 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2023-01-12 14:06 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JohnGebbie/void-packages numen3
https://github.com/void-linux/void-packages/pull/39716

New package: numen-0.5
#### 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**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

This is [my voice control](https://numenvoice.com) for handsfree computing, mainly for accessibility needs.

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

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

From cb4f6627209a2f8416b7a9e890cb5e50820da15d Mon Sep 17 00:00:00 2001
From: John Gebbie <me@johngebbie.com>
Date: Tue, 4 Oct 2022 17:50:42 +0100
Subject: [PATCH] New package: numen-0.5

---
 srcpkgs/numen/files/numen/conf    |  7 ++++++
 srcpkgs/numen/files/numen/log/run |  2 ++
 srcpkgs/numen/files/numen/run     | 11 +++++++++
 srcpkgs/numen/template            | 40 +++++++++++++++++++++++++++++++
 4 files changed, 60 insertions(+)
 create mode 100644 srcpkgs/numen/files/numen/conf
 create mode 100755 srcpkgs/numen/files/numen/log/run
 create mode 100755 srcpkgs/numen/files/numen/run
 create mode 100644 srcpkgs/numen/template

diff --git a/srcpkgs/numen/files/numen/conf b/srcpkgs/numen/files/numen/conf
new file mode 100644
index 000000000000..2d814396e2d9
--- /dev/null
+++ b/srcpkgs/numen/files/numen/conf
@@ -0,0 +1,7 @@
+# Example to run the service as a specific user:
+
+# NUMENUSER=john
+# NUMENGROUP="$NUMENUSER"
+# NUMENHOME="/home/$NUMENUSER"
+# export HOME="$NUMENHOME"
+# export XAUTHORITY="/run/user/$(id -u "$NUMENUSER")/Xauthority"
diff --git a/srcpkgs/numen/files/numen/log/run b/srcpkgs/numen/files/numen/log/run
new file mode 100755
index 000000000000..f77a7f813f11
--- /dev/null
+++ b/srcpkgs/numen/files/numen/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec vlogger -p daemon.info -t numen
diff --git a/srcpkgs/numen/files/numen/run b/srcpkgs/numen/files/numen/run
new file mode 100755
index 000000000000..da29f62904da
--- /dev/null
+++ b/srcpkgs/numen/files/numen/run
@@ -0,0 +1,11 @@
+#!/bin/sh
+exec 2>&1
+[ -r ./conf ] && . ./conf
+: ${NUMENUSER:=_numen}
+: ${NUMENGROUP:=_numen}
+if [ -z "$NUMENHOME" ]; then
+	mkdir -p /usr/share/numen
+	chown "$NUMENUSER:$NUMENGROUP" /usr/share/numen
+	export XDG_DATA_HOME=/usr/share
+fi
+exec chpst -u "$NUMENUSER:$NUMENGROUP:input:audio" numen ${OPTS}
diff --git a/srcpkgs/numen/template b/srcpkgs/numen/template
new file mode 100644
index 000000000000..89d16ce1ff65
--- /dev/null
+++ b/srcpkgs/numen/template
@@ -0,0 +1,40 @@
+# Template file for 'numen'
+pkgname=numen
+version=0.5
+revision=1
+build_style=go
+go_import_path="git.sr.ht/~geb/numen"
+go_package="speech.go"
+hostmakedepends="scdoc"
+makedepends="vosk-api libgomp-devel"
+depends="alsa-utils dmenu dotool xdotool xset"
+short_desc="Voice control for handsfree computing"
+maintainer="John Gebbie <me@johngebbie.com>"
+license="GPL-3.0-only"
+homepage="https://numenvoice.com"
+changelog="https://git.sr.ht/~geb/numen/blob/master/CHANGELOG.md"
+distfiles="https://git.sr.ht/~geb/numen/archive/${version}.tar.gz"
+checksum=c1df50b67c725c885450853a959de10b46ac4af01fca2c120fa14ba89a6920e0
+conf_files="/etc/sv/numen/conf"
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	makedepends+=" libexecinfo-devel"
+fi
+
+system_accounts="_numen"
+
+pre_build() {
+	# for the vosk-api package (openblas)
+	export CGO_LDFLAGS="$CGO_LDFLAGS -fopenmp"
+
+	if [ "$XBPS_TARGET_LIBC" = musl ]; then
+		# for the vosk-api package (openfst)
+		export CGO_LDFLAGS="$CGO_LDFLAGS -lexecinfo"
+	fi
+}
+
+post_install() {
+	mv "${DESTDIR}/usr/bin/speech" .
+	PACKAGING=true ./install-numen.sh "${DESTDIR}" /usr/bin
+	vsv numen
+}

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

* Re: [PR PATCH] [Updated] New package: numen-0.5
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (50 preceding siblings ...)
  2023-01-12 14:06 ` JohnGebbie
@ 2023-01-15 14:12 ` JohnGebbie
  2023-01-20 11:33 ` JohnGebbie
                   ` (7 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2023-01-15 14:12 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JohnGebbie/void-packages numen3
https://github.com/void-linux/void-packages/pull/39716

New package: numen-0.5
#### 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**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

This is [my voice control](https://numenvoice.com) for handsfree computing, mainly for accessibility needs.

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

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

From 58f86840c9326a10115aff22b82125321334f948 Mon Sep 17 00:00:00 2001
From: John Gebbie <me@johngebbie.com>
Date: Tue, 4 Oct 2022 17:50:42 +0100
Subject: [PATCH] New package: numen-0.5

---
 srcpkgs/numen/files/numen/conf    |  7 ++++++
 srcpkgs/numen/files/numen/log/run |  2 ++
 srcpkgs/numen/files/numen/run     | 11 +++++++++
 srcpkgs/numen/template            | 40 +++++++++++++++++++++++++++++++
 4 files changed, 60 insertions(+)
 create mode 100644 srcpkgs/numen/files/numen/conf
 create mode 100755 srcpkgs/numen/files/numen/log/run
 create mode 100755 srcpkgs/numen/files/numen/run
 create mode 100644 srcpkgs/numen/template

diff --git a/srcpkgs/numen/files/numen/conf b/srcpkgs/numen/files/numen/conf
new file mode 100644
index 000000000000..2d814396e2d9
--- /dev/null
+++ b/srcpkgs/numen/files/numen/conf
@@ -0,0 +1,7 @@
+# Example to run the service as a specific user:
+
+# NUMENUSER=john
+# NUMENGROUP="$NUMENUSER"
+# NUMENHOME="/home/$NUMENUSER"
+# export HOME="$NUMENHOME"
+# export XAUTHORITY="/run/user/$(id -u "$NUMENUSER")/Xauthority"
diff --git a/srcpkgs/numen/files/numen/log/run b/srcpkgs/numen/files/numen/log/run
new file mode 100755
index 000000000000..f77a7f813f11
--- /dev/null
+++ b/srcpkgs/numen/files/numen/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec vlogger -p daemon.info -t numen
diff --git a/srcpkgs/numen/files/numen/run b/srcpkgs/numen/files/numen/run
new file mode 100755
index 000000000000..da29f62904da
--- /dev/null
+++ b/srcpkgs/numen/files/numen/run
@@ -0,0 +1,11 @@
+#!/bin/sh
+exec 2>&1
+[ -r ./conf ] && . ./conf
+: ${NUMENUSER:=_numen}
+: ${NUMENGROUP:=_numen}
+if [ -z "$NUMENHOME" ]; then
+	mkdir -p /usr/share/numen
+	chown "$NUMENUSER:$NUMENGROUP" /usr/share/numen
+	export XDG_DATA_HOME=/usr/share
+fi
+exec chpst -u "$NUMENUSER:$NUMENGROUP:input:audio" numen ${OPTS}
diff --git a/srcpkgs/numen/template b/srcpkgs/numen/template
new file mode 100644
index 000000000000..89d16ce1ff65
--- /dev/null
+++ b/srcpkgs/numen/template
@@ -0,0 +1,40 @@
+# Template file for 'numen'
+pkgname=numen
+version=0.5
+revision=1
+build_style=go
+go_import_path="git.sr.ht/~geb/numen"
+go_package="speech.go"
+hostmakedepends="scdoc"
+makedepends="vosk-api libgomp-devel"
+depends="alsa-utils dmenu dotool xdotool xset"
+short_desc="Voice control for handsfree computing"
+maintainer="John Gebbie <me@johngebbie.com>"
+license="GPL-3.0-only"
+homepage="https://numenvoice.com"
+changelog="https://git.sr.ht/~geb/numen/blob/master/CHANGELOG.md"
+distfiles="https://git.sr.ht/~geb/numen/archive/${version}.tar.gz"
+checksum=c1df50b67c725c885450853a959de10b46ac4af01fca2c120fa14ba89a6920e0
+conf_files="/etc/sv/numen/conf"
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	makedepends+=" libexecinfo-devel"
+fi
+
+system_accounts="_numen"
+
+pre_build() {
+	# for the vosk-api package (openblas)
+	export CGO_LDFLAGS="$CGO_LDFLAGS -fopenmp"
+
+	if [ "$XBPS_TARGET_LIBC" = musl ]; then
+		# for the vosk-api package (openfst)
+		export CGO_LDFLAGS="$CGO_LDFLAGS -lexecinfo"
+	fi
+}
+
+post_install() {
+	mv "${DESTDIR}/usr/bin/speech" .
+	PACKAGING=true ./install-numen.sh "${DESTDIR}" /usr/bin
+	vsv numen
+}

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

* Re: [PR PATCH] [Updated] New package: numen-0.5
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (51 preceding siblings ...)
  2023-01-15 14:12 ` JohnGebbie
@ 2023-01-20 11:33 ` JohnGebbie
  2023-01-25 15:36 ` JohnGebbie
                   ` (6 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2023-01-20 11:33 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JohnGebbie/void-packages numen3
https://github.com/void-linux/void-packages/pull/39716

New package: numen-0.5
#### 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**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

This is [my voice control](https://numenvoice.com) for handsfree computing, mainly for accessibility needs.

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

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

From 7fcd88e2d3a21bfa9bd65f8e0d7f4276677b9c62 Mon Sep 17 00:00:00 2001
From: John Gebbie <me@johngebbie.com>
Date: Tue, 4 Oct 2022 17:50:42 +0100
Subject: [PATCH] New package: numen-0.5

---
 srcpkgs/numen/files/numen/conf    |  7 ++++++
 srcpkgs/numen/files/numen/log/run |  2 ++
 srcpkgs/numen/files/numen/run     | 11 +++++++++
 srcpkgs/numen/template            | 40 +++++++++++++++++++++++++++++++
 4 files changed, 60 insertions(+)
 create mode 100644 srcpkgs/numen/files/numen/conf
 create mode 100755 srcpkgs/numen/files/numen/log/run
 create mode 100755 srcpkgs/numen/files/numen/run
 create mode 100644 srcpkgs/numen/template

diff --git a/srcpkgs/numen/files/numen/conf b/srcpkgs/numen/files/numen/conf
new file mode 100644
index 000000000000..2d814396e2d9
--- /dev/null
+++ b/srcpkgs/numen/files/numen/conf
@@ -0,0 +1,7 @@
+# Example to run the service as a specific user:
+
+# NUMENUSER=john
+# NUMENGROUP="$NUMENUSER"
+# NUMENHOME="/home/$NUMENUSER"
+# export HOME="$NUMENHOME"
+# export XAUTHORITY="/run/user/$(id -u "$NUMENUSER")/Xauthority"
diff --git a/srcpkgs/numen/files/numen/log/run b/srcpkgs/numen/files/numen/log/run
new file mode 100755
index 000000000000..f77a7f813f11
--- /dev/null
+++ b/srcpkgs/numen/files/numen/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec vlogger -p daemon.info -t numen
diff --git a/srcpkgs/numen/files/numen/run b/srcpkgs/numen/files/numen/run
new file mode 100755
index 000000000000..da29f62904da
--- /dev/null
+++ b/srcpkgs/numen/files/numen/run
@@ -0,0 +1,11 @@
+#!/bin/sh
+exec 2>&1
+[ -r ./conf ] && . ./conf
+: ${NUMENUSER:=_numen}
+: ${NUMENGROUP:=_numen}
+if [ -z "$NUMENHOME" ]; then
+	mkdir -p /usr/share/numen
+	chown "$NUMENUSER:$NUMENGROUP" /usr/share/numen
+	export XDG_DATA_HOME=/usr/share
+fi
+exec chpst -u "$NUMENUSER:$NUMENGROUP:input:audio" numen ${OPTS}
diff --git a/srcpkgs/numen/template b/srcpkgs/numen/template
new file mode 100644
index 000000000000..89d16ce1ff65
--- /dev/null
+++ b/srcpkgs/numen/template
@@ -0,0 +1,40 @@
+# Template file for 'numen'
+pkgname=numen
+version=0.5
+revision=1
+build_style=go
+go_import_path="git.sr.ht/~geb/numen"
+go_package="speech.go"
+hostmakedepends="scdoc"
+makedepends="vosk-api libgomp-devel"
+depends="alsa-utils dmenu dotool xdotool xset"
+short_desc="Voice control for handsfree computing"
+maintainer="John Gebbie <me@johngebbie.com>"
+license="GPL-3.0-only"
+homepage="https://numenvoice.com"
+changelog="https://git.sr.ht/~geb/numen/blob/master/CHANGELOG.md"
+distfiles="https://git.sr.ht/~geb/numen/archive/${version}.tar.gz"
+checksum=c1df50b67c725c885450853a959de10b46ac4af01fca2c120fa14ba89a6920e0
+conf_files="/etc/sv/numen/conf"
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	makedepends+=" libexecinfo-devel"
+fi
+
+system_accounts="_numen"
+
+pre_build() {
+	# for the vosk-api package (openblas)
+	export CGO_LDFLAGS="$CGO_LDFLAGS -fopenmp"
+
+	if [ "$XBPS_TARGET_LIBC" = musl ]; then
+		# for the vosk-api package (openfst)
+		export CGO_LDFLAGS="$CGO_LDFLAGS -lexecinfo"
+	fi
+}
+
+post_install() {
+	mv "${DESTDIR}/usr/bin/speech" .
+	PACKAGING=true ./install-numen.sh "${DESTDIR}" /usr/bin
+	vsv numen
+}

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

* Re: [PR PATCH] [Updated] New package: numen-0.5
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (52 preceding siblings ...)
  2023-01-20 11:33 ` JohnGebbie
@ 2023-01-25 15:36 ` JohnGebbie
  2023-01-25 15:41 ` JohnGebbie
                   ` (5 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2023-01-25 15:36 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JohnGebbie/void-packages numen3
https://github.com/void-linux/void-packages/pull/39716

New package: numen-0.5
#### 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**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

This is [my voice control](https://numenvoice.com) for handsfree computing, mainly for accessibility needs.

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

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

From 8d726a01a18b55a992955e4546e5b39b84369e75 Mon Sep 17 00:00:00 2001
From: John Gebbie <me@johngebbie.com>
Date: Tue, 4 Oct 2022 17:50:42 +0100
Subject: [PATCH] New package: numen-0.5

---
 srcpkgs/numen/files/numen/conf    |  7 ++++++
 srcpkgs/numen/files/numen/log/run |  2 ++
 srcpkgs/numen/files/numen/run     | 11 +++++++++
 srcpkgs/numen/template            | 40 +++++++++++++++++++++++++++++++
 4 files changed, 60 insertions(+)
 create mode 100644 srcpkgs/numen/files/numen/conf
 create mode 100755 srcpkgs/numen/files/numen/log/run
 create mode 100755 srcpkgs/numen/files/numen/run
 create mode 100644 srcpkgs/numen/template

diff --git a/srcpkgs/numen/files/numen/conf b/srcpkgs/numen/files/numen/conf
new file mode 100644
index 000000000000..2d814396e2d9
--- /dev/null
+++ b/srcpkgs/numen/files/numen/conf
@@ -0,0 +1,7 @@
+# Example to run the service as a specific user:
+
+# NUMENUSER=john
+# NUMENGROUP="$NUMENUSER"
+# NUMENHOME="/home/$NUMENUSER"
+# export HOME="$NUMENHOME"
+# export XAUTHORITY="/run/user/$(id -u "$NUMENUSER")/Xauthority"
diff --git a/srcpkgs/numen/files/numen/log/run b/srcpkgs/numen/files/numen/log/run
new file mode 100755
index 000000000000..f77a7f813f11
--- /dev/null
+++ b/srcpkgs/numen/files/numen/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec vlogger -p daemon.info -t numen
diff --git a/srcpkgs/numen/files/numen/run b/srcpkgs/numen/files/numen/run
new file mode 100755
index 000000000000..da29f62904da
--- /dev/null
+++ b/srcpkgs/numen/files/numen/run
@@ -0,0 +1,11 @@
+#!/bin/sh
+exec 2>&1
+[ -r ./conf ] && . ./conf
+: ${NUMENUSER:=_numen}
+: ${NUMENGROUP:=_numen}
+if [ -z "$NUMENHOME" ]; then
+	mkdir -p /usr/share/numen
+	chown "$NUMENUSER:$NUMENGROUP" /usr/share/numen
+	export XDG_DATA_HOME=/usr/share
+fi
+exec chpst -u "$NUMENUSER:$NUMENGROUP:input:audio" numen ${OPTS}
diff --git a/srcpkgs/numen/template b/srcpkgs/numen/template
new file mode 100644
index 000000000000..89d16ce1ff65
--- /dev/null
+++ b/srcpkgs/numen/template
@@ -0,0 +1,40 @@
+# Template file for 'numen'
+pkgname=numen
+version=0.5
+revision=1
+build_style=go
+go_import_path="git.sr.ht/~geb/numen"
+go_package="speech.go"
+hostmakedepends="scdoc"
+makedepends="vosk-api libgomp-devel"
+depends="alsa-utils dmenu dotool xdotool xset"
+short_desc="Voice control for handsfree computing"
+maintainer="John Gebbie <me@johngebbie.com>"
+license="GPL-3.0-only"
+homepage="https://numenvoice.com"
+changelog="https://git.sr.ht/~geb/numen/blob/master/CHANGELOG.md"
+distfiles="https://git.sr.ht/~geb/numen/archive/${version}.tar.gz"
+checksum=c1df50b67c725c885450853a959de10b46ac4af01fca2c120fa14ba89a6920e0
+conf_files="/etc/sv/numen/conf"
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	makedepends+=" libexecinfo-devel"
+fi
+
+system_accounts="_numen"
+
+pre_build() {
+	# for the vosk-api package (openblas)
+	export CGO_LDFLAGS="$CGO_LDFLAGS -fopenmp"
+
+	if [ "$XBPS_TARGET_LIBC" = musl ]; then
+		# for the vosk-api package (openfst)
+		export CGO_LDFLAGS="$CGO_LDFLAGS -lexecinfo"
+	fi
+}
+
+post_install() {
+	mv "${DESTDIR}/usr/bin/speech" .
+	PACKAGING=true ./install-numen.sh "${DESTDIR}" /usr/bin
+	vsv numen
+}

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

* Re: New package: numen-0.5
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (53 preceding siblings ...)
  2023-01-25 15:36 ` JohnGebbie
@ 2023-01-25 15:41 ` JohnGebbie
  2023-01-31 11:06 ` [PR PATCH] [Updated] " JohnGebbie
                   ` (4 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2023-01-25 15:41 UTC (permalink / raw)
  To: ml

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

New comment by JohnGebbie on void-packages repository

https://github.com/void-linux/void-packages/pull/39716#issuecomment-1403818657

Comment:
@paper42 There should be the next release in a month or two and I'll bump the vosk-api and dotool templates at the same time, but I'd still love have this merged as it is.

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

* Re: [PR PATCH] [Updated] New package: numen-0.5
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (54 preceding siblings ...)
  2023-01-25 15:41 ` JohnGebbie
@ 2023-01-31 11:06 ` JohnGebbie
  2023-02-04 18:47 ` JohnGebbie
                   ` (3 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2023-01-31 11:06 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JohnGebbie/void-packages numen3
https://github.com/void-linux/void-packages/pull/39716

New package: numen-0.5
#### 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**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

This is [my voice control](https://numenvoice.com) for handsfree computing, mainly for accessibility needs.

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

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

From 23f1fc90375b09f1c0e9a3c12ddceac3cee10777 Mon Sep 17 00:00:00 2001
From: John Gebbie <me@johngebbie.com>
Date: Tue, 4 Oct 2022 17:50:42 +0100
Subject: [PATCH] New package: numen-0.5

---
 srcpkgs/numen/files/numen/conf    |  7 ++++++
 srcpkgs/numen/files/numen/log/run |  2 ++
 srcpkgs/numen/files/numen/run     | 11 +++++++++
 srcpkgs/numen/template            | 40 +++++++++++++++++++++++++++++++
 4 files changed, 60 insertions(+)
 create mode 100644 srcpkgs/numen/files/numen/conf
 create mode 100755 srcpkgs/numen/files/numen/log/run
 create mode 100755 srcpkgs/numen/files/numen/run
 create mode 100644 srcpkgs/numen/template

diff --git a/srcpkgs/numen/files/numen/conf b/srcpkgs/numen/files/numen/conf
new file mode 100644
index 000000000000..2d814396e2d9
--- /dev/null
+++ b/srcpkgs/numen/files/numen/conf
@@ -0,0 +1,7 @@
+# Example to run the service as a specific user:
+
+# NUMENUSER=john
+# NUMENGROUP="$NUMENUSER"
+# NUMENHOME="/home/$NUMENUSER"
+# export HOME="$NUMENHOME"
+# export XAUTHORITY="/run/user/$(id -u "$NUMENUSER")/Xauthority"
diff --git a/srcpkgs/numen/files/numen/log/run b/srcpkgs/numen/files/numen/log/run
new file mode 100755
index 000000000000..f77a7f813f11
--- /dev/null
+++ b/srcpkgs/numen/files/numen/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec vlogger -p daemon.info -t numen
diff --git a/srcpkgs/numen/files/numen/run b/srcpkgs/numen/files/numen/run
new file mode 100755
index 000000000000..da29f62904da
--- /dev/null
+++ b/srcpkgs/numen/files/numen/run
@@ -0,0 +1,11 @@
+#!/bin/sh
+exec 2>&1
+[ -r ./conf ] && . ./conf
+: ${NUMENUSER:=_numen}
+: ${NUMENGROUP:=_numen}
+if [ -z "$NUMENHOME" ]; then
+	mkdir -p /usr/share/numen
+	chown "$NUMENUSER:$NUMENGROUP" /usr/share/numen
+	export XDG_DATA_HOME=/usr/share
+fi
+exec chpst -u "$NUMENUSER:$NUMENGROUP:input:audio" numen ${OPTS}
diff --git a/srcpkgs/numen/template b/srcpkgs/numen/template
new file mode 100644
index 000000000000..89d16ce1ff65
--- /dev/null
+++ b/srcpkgs/numen/template
@@ -0,0 +1,40 @@
+# Template file for 'numen'
+pkgname=numen
+version=0.5
+revision=1
+build_style=go
+go_import_path="git.sr.ht/~geb/numen"
+go_package="speech.go"
+hostmakedepends="scdoc"
+makedepends="vosk-api libgomp-devel"
+depends="alsa-utils dmenu dotool xdotool xset"
+short_desc="Voice control for handsfree computing"
+maintainer="John Gebbie <me@johngebbie.com>"
+license="GPL-3.0-only"
+homepage="https://numenvoice.com"
+changelog="https://git.sr.ht/~geb/numen/blob/master/CHANGELOG.md"
+distfiles="https://git.sr.ht/~geb/numen/archive/${version}.tar.gz"
+checksum=c1df50b67c725c885450853a959de10b46ac4af01fca2c120fa14ba89a6920e0
+conf_files="/etc/sv/numen/conf"
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	makedepends+=" libexecinfo-devel"
+fi
+
+system_accounts="_numen"
+
+pre_build() {
+	# for the vosk-api package (openblas)
+	export CGO_LDFLAGS="$CGO_LDFLAGS -fopenmp"
+
+	if [ "$XBPS_TARGET_LIBC" = musl ]; then
+		# for the vosk-api package (openfst)
+		export CGO_LDFLAGS="$CGO_LDFLAGS -lexecinfo"
+	fi
+}
+
+post_install() {
+	mv "${DESTDIR}/usr/bin/speech" .
+	PACKAGING=true ./install-numen.sh "${DESTDIR}" /usr/bin
+	vsv numen
+}

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

* Re: [PR PATCH] [Updated] New package: numen-0.5
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (55 preceding siblings ...)
  2023-01-31 11:06 ` [PR PATCH] [Updated] " JohnGebbie
@ 2023-02-04 18:47 ` JohnGebbie
  2023-02-06 12:23 ` JohnGebbie
                   ` (2 subsequent siblings)
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2023-02-04 18:47 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JohnGebbie/void-packages numen3
https://github.com/void-linux/void-packages/pull/39716

New package: numen-0.5
#### 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**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

This is [my voice control](https://numenvoice.com) for handsfree computing, mainly for accessibility needs.

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

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

From 71e8203e35a94229d0876a1bc7a39a0d6353b7bc Mon Sep 17 00:00:00 2001
From: John Gebbie <me@johngebbie.com>
Date: Tue, 4 Oct 2022 17:50:42 +0100
Subject: [PATCH] New package: numen-0.5

---
 srcpkgs/numen/files/numen/conf    |  7 ++++++
 srcpkgs/numen/files/numen/log/run |  2 ++
 srcpkgs/numen/files/numen/run     | 11 +++++++++
 srcpkgs/numen/template            | 40 +++++++++++++++++++++++++++++++
 4 files changed, 60 insertions(+)
 create mode 100644 srcpkgs/numen/files/numen/conf
 create mode 100755 srcpkgs/numen/files/numen/log/run
 create mode 100755 srcpkgs/numen/files/numen/run
 create mode 100644 srcpkgs/numen/template

diff --git a/srcpkgs/numen/files/numen/conf b/srcpkgs/numen/files/numen/conf
new file mode 100644
index 000000000000..2d814396e2d9
--- /dev/null
+++ b/srcpkgs/numen/files/numen/conf
@@ -0,0 +1,7 @@
+# Example to run the service as a specific user:
+
+# NUMENUSER=john
+# NUMENGROUP="$NUMENUSER"
+# NUMENHOME="/home/$NUMENUSER"
+# export HOME="$NUMENHOME"
+# export XAUTHORITY="/run/user/$(id -u "$NUMENUSER")/Xauthority"
diff --git a/srcpkgs/numen/files/numen/log/run b/srcpkgs/numen/files/numen/log/run
new file mode 100755
index 000000000000..f77a7f813f11
--- /dev/null
+++ b/srcpkgs/numen/files/numen/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec vlogger -p daemon.info -t numen
diff --git a/srcpkgs/numen/files/numen/run b/srcpkgs/numen/files/numen/run
new file mode 100755
index 000000000000..da29f62904da
--- /dev/null
+++ b/srcpkgs/numen/files/numen/run
@@ -0,0 +1,11 @@
+#!/bin/sh
+exec 2>&1
+[ -r ./conf ] && . ./conf
+: ${NUMENUSER:=_numen}
+: ${NUMENGROUP:=_numen}
+if [ -z "$NUMENHOME" ]; then
+	mkdir -p /usr/share/numen
+	chown "$NUMENUSER:$NUMENGROUP" /usr/share/numen
+	export XDG_DATA_HOME=/usr/share
+fi
+exec chpst -u "$NUMENUSER:$NUMENGROUP:input:audio" numen ${OPTS}
diff --git a/srcpkgs/numen/template b/srcpkgs/numen/template
new file mode 100644
index 000000000000..89d16ce1ff65
--- /dev/null
+++ b/srcpkgs/numen/template
@@ -0,0 +1,40 @@
+# Template file for 'numen'
+pkgname=numen
+version=0.5
+revision=1
+build_style=go
+go_import_path="git.sr.ht/~geb/numen"
+go_package="speech.go"
+hostmakedepends="scdoc"
+makedepends="vosk-api libgomp-devel"
+depends="alsa-utils dmenu dotool xdotool xset"
+short_desc="Voice control for handsfree computing"
+maintainer="John Gebbie <me@johngebbie.com>"
+license="GPL-3.0-only"
+homepage="https://numenvoice.com"
+changelog="https://git.sr.ht/~geb/numen/blob/master/CHANGELOG.md"
+distfiles="https://git.sr.ht/~geb/numen/archive/${version}.tar.gz"
+checksum=c1df50b67c725c885450853a959de10b46ac4af01fca2c120fa14ba89a6920e0
+conf_files="/etc/sv/numen/conf"
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	makedepends+=" libexecinfo-devel"
+fi
+
+system_accounts="_numen"
+
+pre_build() {
+	# for the vosk-api package (openblas)
+	export CGO_LDFLAGS="$CGO_LDFLAGS -fopenmp"
+
+	if [ "$XBPS_TARGET_LIBC" = musl ]; then
+		# for the vosk-api package (openfst)
+		export CGO_LDFLAGS="$CGO_LDFLAGS -lexecinfo"
+	fi
+}
+
+post_install() {
+	mv "${DESTDIR}/usr/bin/speech" .
+	PACKAGING=true ./install-numen.sh "${DESTDIR}" /usr/bin
+	vsv numen
+}

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

* Re: [PR PATCH] [Updated] New package: numen-0.5
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (56 preceding siblings ...)
  2023-02-04 18:47 ` JohnGebbie
@ 2023-02-06 12:23 ` JohnGebbie
  2023-02-06 12:29 ` [PR PATCH] [Updated] New package: numen-0.6 JohnGebbie
  2023-02-06 12:32 ` JohnGebbie
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2023-02-06 12:23 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JohnGebbie/void-packages numen3
https://github.com/void-linux/void-packages/pull/39716

New package: numen-0.5
#### 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**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

This is [my voice control](https://numenvoice.com) for handsfree computing, mainly for accessibility needs.

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

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

From 3afe8d381cd0641e3293b227877ede31312dd11b Mon Sep 17 00:00:00 2001
From: John Gebbie <me@johngebbie.com>
Date: Mon, 6 Feb 2023 12:05:47 +0000
Subject: [PATCH] New package: numen-0.6

---
 srcpkgs/numen/files/numen/conf    |  7 ++++++
 srcpkgs/numen/files/numen/log/run |  2 ++
 srcpkgs/numen/files/numen/run     | 11 +++++++++
 srcpkgs/numen/template            | 41 +++++++++++++++++++++++++++++++
 4 files changed, 61 insertions(+)
 create mode 100644 srcpkgs/numen/files/numen/conf
 create mode 100755 srcpkgs/numen/files/numen/log/run
 create mode 100755 srcpkgs/numen/files/numen/run
 create mode 100644 srcpkgs/numen/template

diff --git a/srcpkgs/numen/files/numen/conf b/srcpkgs/numen/files/numen/conf
new file mode 100644
index 000000000000..2d814396e2d9
--- /dev/null
+++ b/srcpkgs/numen/files/numen/conf
@@ -0,0 +1,7 @@
+# Example to run the service as a specific user:
+
+# NUMENUSER=john
+# NUMENGROUP="$NUMENUSER"
+# NUMENHOME="/home/$NUMENUSER"
+# export HOME="$NUMENHOME"
+# export XAUTHORITY="/run/user/$(id -u "$NUMENUSER")/Xauthority"
diff --git a/srcpkgs/numen/files/numen/log/run b/srcpkgs/numen/files/numen/log/run
new file mode 100755
index 000000000000..f77a7f813f11
--- /dev/null
+++ b/srcpkgs/numen/files/numen/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec vlogger -p daemon.info -t numen
diff --git a/srcpkgs/numen/files/numen/run b/srcpkgs/numen/files/numen/run
new file mode 100755
index 000000000000..da29f62904da
--- /dev/null
+++ b/srcpkgs/numen/files/numen/run
@@ -0,0 +1,11 @@
+#!/bin/sh
+exec 2>&1
+[ -r ./conf ] && . ./conf
+: ${NUMENUSER:=_numen}
+: ${NUMENGROUP:=_numen}
+if [ -z "$NUMENHOME" ]; then
+	mkdir -p /usr/share/numen
+	chown "$NUMENUSER:$NUMENGROUP" /usr/share/numen
+	export XDG_DATA_HOME=/usr/share
+fi
+exec chpst -u "$NUMENUSER:$NUMENGROUP:input:audio" numen ${OPTS}
diff --git a/srcpkgs/numen/template b/srcpkgs/numen/template
new file mode 100644
index 000000000000..dda35bda2000
--- /dev/null
+++ b/srcpkgs/numen/template
@@ -0,0 +1,41 @@
+# Template file for 'numen'
+pkgname=numen
+# TODO will release after review
+version=03234333fecebed0bcf1741104d73549c1fbcec5
+revision=1
+build_style=go
+go_import_path="git.sr.ht/~geb/numen"
+go_package="speech.go"
+hostmakedepends="scdoc"
+makedepends="vosk-api libgomp-devel"
+depends="alsa-utils dotool>=1.1"
+short_desc="Voice control for handsfree computing"
+maintainer="John Gebbie <me@johngebbie.com>"
+license="GPL-3.0-only"
+homepage="https://numenvoice.com"
+changelog="https://git.sr.ht/~geb/numen/blob/master/CHANGELOG.md"
+distfiles="https://git.sr.ht/~geb/numen/archive/${version}.tar.gz"
+checksum=a01f2a976f8290a4ee87d7cabd55d3617c2b9010521359d93c8c318ade5224d8
+conf_files="/etc/sv/numen/conf"
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	makedepends+=" libexecinfo-devel"
+fi
+
+system_accounts="_numen"
+
+pre_build() {
+	# for the vosk-api package (openblas)
+	export CGO_LDFLAGS="$CGO_LDFLAGS -fopenmp"
+
+	if [ "$XBPS_TARGET_LIBC" = musl ]; then
+		# for the vosk-api package (openfst)
+		export CGO_LDFLAGS="$CGO_LDFLAGS -lexecinfo"
+	fi
+}
+
+post_install() {
+	mv "${DESTDIR}/usr/bin/speech" .
+	PACKAGING=true ./install-numen.sh "${DESTDIR}" /usr/bin
+	vsv numen
+}

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

* Re: [PR PATCH] [Updated] New package: numen-0.6
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (57 preceding siblings ...)
  2023-02-06 12:23 ` JohnGebbie
@ 2023-02-06 12:29 ` JohnGebbie
  2023-02-06 12:32 ` JohnGebbie
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2023-02-06 12:29 UTC (permalink / raw)
  To: ml

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

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

https://github.com/JohnGebbie/void-packages numen3
https://github.com/void-linux/void-packages/pull/39716

New package: numen-0.6
#### 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**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)

This is [my voice control](https://numenvoice.com) for handsfree computing, mainly for accessibility needs.

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

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

From e55b8d4a395f585d71a300c071a5ac10a1bd1d4d Mon Sep 17 00:00:00 2001
From: John Gebbie <me@johngebbie.com>
Date: Mon, 6 Feb 2023 12:29:07 +0000
Subject: [PATCH] New package: numen-0.6

---
 srcpkgs/numen/files/numen/conf    |  7 ++++++
 srcpkgs/numen/files/numen/log/run |  2 ++
 srcpkgs/numen/files/numen/run     | 11 +++++++++
 srcpkgs/numen/template            | 40 +++++++++++++++++++++++++++++++
 4 files changed, 60 insertions(+)
 create mode 100644 srcpkgs/numen/files/numen/conf
 create mode 100755 srcpkgs/numen/files/numen/log/run
 create mode 100755 srcpkgs/numen/files/numen/run
 create mode 100644 srcpkgs/numen/template

diff --git a/srcpkgs/numen/files/numen/conf b/srcpkgs/numen/files/numen/conf
new file mode 100644
index 000000000000..2d814396e2d9
--- /dev/null
+++ b/srcpkgs/numen/files/numen/conf
@@ -0,0 +1,7 @@
+# Example to run the service as a specific user:
+
+# NUMENUSER=john
+# NUMENGROUP="$NUMENUSER"
+# NUMENHOME="/home/$NUMENUSER"
+# export HOME="$NUMENHOME"
+# export XAUTHORITY="/run/user/$(id -u "$NUMENUSER")/Xauthority"
diff --git a/srcpkgs/numen/files/numen/log/run b/srcpkgs/numen/files/numen/log/run
new file mode 100755
index 000000000000..f77a7f813f11
--- /dev/null
+++ b/srcpkgs/numen/files/numen/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec vlogger -p daemon.info -t numen
diff --git a/srcpkgs/numen/files/numen/run b/srcpkgs/numen/files/numen/run
new file mode 100755
index 000000000000..da29f62904da
--- /dev/null
+++ b/srcpkgs/numen/files/numen/run
@@ -0,0 +1,11 @@
+#!/bin/sh
+exec 2>&1
+[ -r ./conf ] && . ./conf
+: ${NUMENUSER:=_numen}
+: ${NUMENGROUP:=_numen}
+if [ -z "$NUMENHOME" ]; then
+	mkdir -p /usr/share/numen
+	chown "$NUMENUSER:$NUMENGROUP" /usr/share/numen
+	export XDG_DATA_HOME=/usr/share
+fi
+exec chpst -u "$NUMENUSER:$NUMENGROUP:input:audio" numen ${OPTS}
diff --git a/srcpkgs/numen/template b/srcpkgs/numen/template
new file mode 100644
index 000000000000..c6509bf98cac
--- /dev/null
+++ b/srcpkgs/numen/template
@@ -0,0 +1,40 @@
+# Template file for 'numen'
+pkgname=numen
+version=0.6
+revision=1
+build_style=go
+go_import_path="git.sr.ht/~geb/numen"
+go_package="speech.go"
+hostmakedepends="scdoc"
+makedepends="vosk-api libgomp-devel"
+depends="alsa-utils dotool>=1.1"
+short_desc="Voice control for handsfree computing"
+maintainer="John Gebbie <me@johngebbie.com>"
+license="GPL-3.0-only"
+homepage="https://numenvoice.com"
+changelog="https://git.sr.ht/~geb/numen/blob/master/CHANGELOG.md"
+distfiles="https://git.sr.ht/~geb/numen/archive/${version}.tar.gz"
+checksum=c3483d993c944f49ddbb885aec367056d148c1c1411200c4e7462d9df30bfde6
+conf_files="/etc/sv/numen/conf"
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	makedepends+=" libexecinfo-devel"
+fi
+
+system_accounts="_numen"
+
+pre_build() {
+	# for the vosk-api package (openblas)
+	export CGO_LDFLAGS="$CGO_LDFLAGS -fopenmp"
+
+	if [ "$XBPS_TARGET_LIBC" = musl ]; then
+		# for the vosk-api package (openfst)
+		export CGO_LDFLAGS="$CGO_LDFLAGS -lexecinfo"
+	fi
+}
+
+post_install() {
+	mv "${DESTDIR}/usr/bin/speech" .
+	PACKAGING=true ./install-numen.sh "${DESTDIR}" /usr/bin
+	vsv numen
+}

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

* Re: New package: numen-0.6
  2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
                   ` (58 preceding siblings ...)
  2023-02-06 12:29 ` [PR PATCH] [Updated] New package: numen-0.6 JohnGebbie
@ 2023-02-06 12:32 ` JohnGebbie
  59 siblings, 0 replies; 61+ messages in thread
From: JohnGebbie @ 2023-02-06 12:32 UTC (permalink / raw)
  To: ml

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

New comment by JohnGebbie on void-packages repository

https://github.com/void-linux/void-packages/pull/39716#issuecomment-1419009448

Comment:
This is ready but these should be merged first: https://github.com/void-linux/void-packages/pull/42091 https://github.com/void-linux/void-packages/pull/41536


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

end of thread, other threads:[~2023-02-06 12:32 UTC | newest]

Thread overview: 61+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-04 16:56 [PR PATCH] New package: numen-0.1 JohnGebbie
2022-10-09  9:49 ` [PR PATCH] [Updated] " JohnGebbie
2022-10-09 14:30 ` JohnGebbie
2022-10-09 16:38 ` JohnGebbie
2022-10-14  9:27 ` JohnGebbie
2022-10-14  9:53 ` JohnGebbie
2022-10-30 11:20 ` JohnGebbie
2022-10-31 12:08 ` JohnGebbie
2022-10-31 12:22 ` New package: numen-0.2 JohnGebbie
2022-11-09 17:25 ` [PR PATCH] [Updated] " JohnGebbie
2022-11-09 17:29 ` New package: numen-0.3 JohnGebbie
2022-11-15 15:20 ` [PR PATCH] [Updated] " JohnGebbie
2022-12-04 16:06 ` JohnGebbie
2022-12-04 16:12 ` JohnGebbie
2022-12-05 10:04 ` JohnGebbie
2022-12-05 10:10 ` JohnGebbie
2022-12-05 10:11 ` JohnGebbie
2022-12-08 11:17 ` [PR PATCH] [Updated] New package: numen-0.4 JohnGebbie
2022-12-08 11:34 ` JohnGebbie
2022-12-08 22:17 ` JohnGebbie
2022-12-08 23:01 ` [PR PATCH] [Updated] " JohnGebbie
2022-12-08 23:01 ` JohnGebbie
2022-12-08 23:02 ` JohnGebbie
2022-12-17 17:30 ` [PR PATCH] [Updated] " JohnGebbie
2022-12-17 17:33 ` JohnGebbie
2022-12-28 10:12 ` [PR PATCH] [Updated] " JohnGebbie
2022-12-29 20:36 ` [PR PATCH] [Updated] New package: numen-0.5 JohnGebbie
2022-12-29 21:56 ` [PR REVIEW] " paper42
2022-12-29 22:10 ` [PR PATCH] [Updated] " JohnGebbie
2022-12-29 22:11 ` [PR REVIEW] " JohnGebbie
2022-12-30 11:19 ` [PR PATCH] [Updated] " JohnGebbie
2022-12-30 11:21 ` JohnGebbie
2022-12-30 11:48 ` JohnGebbie
2022-12-31 11:56 ` JohnGebbie
2022-12-31 11:58 ` JohnGebbie
2022-12-31 13:30 ` JohnGebbie
2022-12-31 14:43 ` [PR REVIEW] " paper42
2022-12-31 16:36 ` [PR PATCH] [Updated] " JohnGebbie
2022-12-31 16:52 ` [PR REVIEW] " JohnGebbie
2022-12-31 21:46 ` JohnGebbie
2022-12-31 21:46 ` JohnGebbie
2023-01-02 21:35 ` [PR PATCH] [Updated] " JohnGebbie
2023-01-02 21:38 ` JohnGebbie
2023-01-06 14:22 ` Eloitor
2023-01-06 14:23 ` Eloitor
2023-01-06 14:23 ` Eloitor
2023-01-06 15:05 ` JohnGebbie
2023-01-06 15:06 ` JohnGebbie
2023-01-06 15:08 ` [PR PATCH] [Updated] " JohnGebbie
2023-01-06 15:09 ` JohnGebbie
2023-01-10 14:39 ` [PR PATCH] [Updated] " JohnGebbie
2023-01-12 14:06 ` JohnGebbie
2023-01-15 14:12 ` JohnGebbie
2023-01-20 11:33 ` JohnGebbie
2023-01-25 15:36 ` JohnGebbie
2023-01-25 15:41 ` JohnGebbie
2023-01-31 11:06 ` [PR PATCH] [Updated] " JohnGebbie
2023-02-04 18:47 ` JohnGebbie
2023-02-06 12:23 ` JohnGebbie
2023-02-06 12:29 ` [PR PATCH] [Updated] New package: numen-0.6 JohnGebbie
2023-02-06 12:32 ` 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).