Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: logiops-0.2.3
@ 2023-03-18 21:58 T0mstone
  2023-03-19 22:42 ` [PR PATCH] [Updated] " T0mstone
                   ` (8 more replies)
  0 siblings, 9 replies; 11+ messages in thread
From: T0mstone @ 2023-03-18 21:58 UTC (permalink / raw)
  To: ml

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

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

https://github.com/T0mstone/void-packages logiops
https://github.com/void-linux/void-packages/pull/42849

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

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


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


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

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

From b06f237766e7ce0f22422366b62be75e98670cb9 Mon Sep 17 00:00:00 2001
From: T0mstone <realt0mstone@gmail.com>
Date: Sat, 18 Mar 2023 22:36:22 +0100
Subject: [PATCH] New package: logiops-0.2.3

---
 srcpkgs/logiops/files/logid.cfg |  1 +
 srcpkgs/logiops/files/logid/run |  2 ++
 srcpkgs/logiops/template        | 25 +++++++++++++++++++++++++
 3 files changed, 28 insertions(+)
 create mode 100644 srcpkgs/logiops/files/logid.cfg
 create mode 100644 srcpkgs/logiops/files/logid/run
 create mode 100644 srcpkgs/logiops/template

diff --git a/srcpkgs/logiops/files/logid.cfg b/srcpkgs/logiops/files/logid.cfg
new file mode 100644
index 000000000000..76be54d61e23
--- /dev/null
+++ b/srcpkgs/logiops/files/logid.cfg
@@ -0,0 +1 @@
+devices: ();
\ No newline at end of file
diff --git a/srcpkgs/logiops/files/logid/run b/srcpkgs/logiops/files/logid/run
new file mode 100644
index 000000000000..8217287a3a7e
--- /dev/null
+++ b/srcpkgs/logiops/files/logid/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec logid
\ No newline at end of file
diff --git a/srcpkgs/logiops/template b/srcpkgs/logiops/template
new file mode 100644
index 000000000000..4c32d69aaf13
--- /dev/null
+++ b/srcpkgs/logiops/template
@@ -0,0 +1,25 @@
+# Template file for 'logiops'
+pkgname=logiops
+version=0.2.3
+revision=1
+build_style=cmake
+make_cmd=make
+hostmakedepends="gcc make cmake pkg-config"
+makedepends="libevdev-devel eudev-libudev-devel libconfig-devel libconfig++-devel"
+short_desc="An unofficial userspace driver for HID++ Logitech devices"
+maintainer="T0mstone <realt0mstone@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/PixlOne/logiops"
+changelog="https://github.com/PixlOne/logiops/releases/tag/v${version}"
+distfiles="https://github.com/PixlOne/logiops/archive/refs/tags/v${version}.tar.gz"
+checksum=45147cacc5e75d461fa53e6f391aa6994cc724a422d1a8f8943e50186854f88f
+conf_files="/etc/logid.cfg"
+
+export CMAKE_GENERATOR="Unix Makefiles"
+
+post_install() {
+	vlicense LICENSE
+	vsconf logid.example.cfg logid.cfg
+	vconf $FILESDIR/logid.cfg
+	vsv logid
+}
\ No newline at end of file

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

* Re: [PR PATCH] [Updated] New package: logiops-0.2.3
  2023-03-18 21:58 [PR PATCH] New package: logiops-0.2.3 T0mstone
@ 2023-03-19 22:42 ` T0mstone
  2023-03-19 22:44 ` T0mstone
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 11+ messages in thread
From: T0mstone @ 2023-03-19 22:42 UTC (permalink / raw)
  To: ml

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

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

https://github.com/T0mstone/void-packages logiops
https://github.com/void-linux/void-packages/pull/42849

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

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


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


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

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

From 8b27142b6056f8a0eba7d1f1f52d3b151f42d369 Mon Sep 17 00:00:00 2001
From: T0mstone <realt0mstone@gmail.com>
Date: Sat, 18 Mar 2023 22:36:22 +0100
Subject: [PATCH] New package: logiops-0.2.3

---
 srcpkgs/logiops/files/logid.cfg |  1 +
 srcpkgs/logiops/files/logid/run |  2 ++
 srcpkgs/logiops/template        | 25 +++++++++++++++++++++++++
 3 files changed, 28 insertions(+)
 create mode 100644 srcpkgs/logiops/files/logid.cfg
 create mode 100644 srcpkgs/logiops/files/logid/run
 create mode 100644 srcpkgs/logiops/template

diff --git a/srcpkgs/logiops/files/logid.cfg b/srcpkgs/logiops/files/logid.cfg
new file mode 100644
index 000000000000..76be54d61e23
--- /dev/null
+++ b/srcpkgs/logiops/files/logid.cfg
@@ -0,0 +1 @@
+devices: ();
\ No newline at end of file
diff --git a/srcpkgs/logiops/files/logid/run b/srcpkgs/logiops/files/logid/run
new file mode 100644
index 000000000000..8217287a3a7e
--- /dev/null
+++ b/srcpkgs/logiops/files/logid/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec logid
\ No newline at end of file
diff --git a/srcpkgs/logiops/template b/srcpkgs/logiops/template
new file mode 100644
index 000000000000..4c32d69aaf13
--- /dev/null
+++ b/srcpkgs/logiops/template
@@ -0,0 +1,25 @@
+# Template file for 'logiops'
+pkgname=logiops
+version=0.2.3
+revision=1
+build_style=cmake
+make_cmd=make
+hostmakedepends="gcc make cmake pkg-config"
+makedepends="libevdev-devel eudev-libudev-devel libconfig-devel libconfig++-devel"
+short_desc="An unofficial userspace driver for HID++ Logitech devices"
+maintainer="T0mstone <realt0mstone@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/PixlOne/logiops"
+changelog="https://github.com/PixlOne/logiops/releases/tag/v${version}"
+distfiles="https://github.com/PixlOne/logiops/archive/refs/tags/v${version}.tar.gz"
+checksum=45147cacc5e75d461fa53e6f391aa6994cc724a422d1a8f8943e50186854f88f
+conf_files="/etc/logid.cfg"
+
+export CMAKE_GENERATOR="Unix Makefiles"
+
+post_install() {
+	vlicense LICENSE
+	vsconf logid.example.cfg logid.cfg
+	vconf $FILESDIR/logid.cfg
+	vsv logid
+}
\ No newline at end of file

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

* Re: [PR PATCH] [Updated] New package: logiops-0.2.3
  2023-03-18 21:58 [PR PATCH] New package: logiops-0.2.3 T0mstone
  2023-03-19 22:42 ` [PR PATCH] [Updated] " T0mstone
@ 2023-03-19 22:44 ` T0mstone
  2023-03-26 18:55 ` T0mstone
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 11+ messages in thread
From: T0mstone @ 2023-03-19 22:44 UTC (permalink / raw)
  To: ml

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

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

https://github.com/T0mstone/void-packages logiops
https://github.com/void-linux/void-packages/pull/42849

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

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


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


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

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

From db981958be201ad629d89db694b8c72e213b7774 Mon Sep 17 00:00:00 2001
From: T0mstone <realt0mstone@gmail.com>
Date: Sat, 18 Mar 2023 22:36:22 +0100
Subject: [PATCH] New package: logiops-0.2.3

---
 srcpkgs/logiops/files/logid.cfg |  1 +
 srcpkgs/logiops/files/logid/run |  7 +++++++
 srcpkgs/logiops/template        | 24 ++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 100644 srcpkgs/logiops/files/logid.cfg
 create mode 100644 srcpkgs/logiops/files/logid/run
 create mode 100644 srcpkgs/logiops/template

diff --git a/srcpkgs/logiops/files/logid.cfg b/srcpkgs/logiops/files/logid.cfg
new file mode 100644
index 000000000000..76be54d61e23
--- /dev/null
+++ b/srcpkgs/logiops/files/logid.cfg
@@ -0,0 +1 @@
+devices: ();
\ No newline at end of file
diff --git a/srcpkgs/logiops/files/logid/run b/srcpkgs/logiops/files/logid/run
new file mode 100644
index 000000000000..c99363c7ea18
--- /dev/null
+++ b/srcpkgs/logiops/files/logid/run
@@ -0,0 +1,7 @@
+#!/bin/sh
+if /usr/bin/modprobe hid_logitech_hidpp
+then exec /usr/bin/logid
+else
+	# retry every second until the module is loaded
+	sleep 1
+fi
\ No newline at end of file
diff --git a/srcpkgs/logiops/template b/srcpkgs/logiops/template
new file mode 100644
index 000000000000..a799c02bdb40
--- /dev/null
+++ b/srcpkgs/logiops/template
@@ -0,0 +1,24 @@
+# Template file for 'logiops'
+pkgname=logiops
+version=0.2.3
+revision=1
+build_style=cmake
+make_cmd=make
+hostmakedepends="gcc make cmake pkg-config"
+makedepends="libevdev-devel eudev-libudev-devel libconfig-devel libconfig++-devel"
+short_desc="Unofficial userspace driver for HID++ Logitech devices"
+maintainer="T0mstone <realt0mstone@gmail.com>"
+license="GPL-3.0"
+homepage="https://github.com/PixlOne/logiops"
+changelog="https://github.com/PixlOne/logiops/releases/tag/v${version}"
+distfiles="https://github.com/PixlOne/logiops/archive/refs/tags/v${version}.tar.gz"
+checksum=45147cacc5e75d461fa53e6f391aa6994cc724a422d1a8f8943e50186854f88f
+conf_files="/etc/logid.cfg"
+
+export CMAKE_GENERATOR="Unix Makefiles"
+
+post_install() {
+	vsconf logid.example.cfg logid.cfg
+	vconf $FILESDIR/logid.cfg
+	vsv logid
+}

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

* Re: [PR PATCH] [Updated] New package: logiops-0.2.3
  2023-03-18 21:58 [PR PATCH] New package: logiops-0.2.3 T0mstone
  2023-03-19 22:42 ` [PR PATCH] [Updated] " T0mstone
  2023-03-19 22:44 ` T0mstone
@ 2023-03-26 18:55 ` T0mstone
  2023-06-25  2:13 ` github-actions
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 11+ messages in thread
From: T0mstone @ 2023-03-26 18:55 UTC (permalink / raw)
  To: ml

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

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

https://github.com/T0mstone/void-packages logiops
https://github.com/void-linux/void-packages/pull/42849

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

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


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


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

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

From 854a86e8c8bd75c80f06176fbf464f3131a5c5d4 Mon Sep 17 00:00:00 2001
From: T0mstone <realt0mstone@gmail.com>
Date: Sat, 18 Mar 2023 22:36:22 +0100
Subject: [PATCH] New package: logiops-0.2.3

---
 srcpkgs/logiops/files/logid.cfg |  1 +
 srcpkgs/logiops/files/logid/run |  7 +++++++
 srcpkgs/logiops/template        | 24 ++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 100644 srcpkgs/logiops/files/logid.cfg
 create mode 100644 srcpkgs/logiops/files/logid/run
 create mode 100644 srcpkgs/logiops/template

diff --git a/srcpkgs/logiops/files/logid.cfg b/srcpkgs/logiops/files/logid.cfg
new file mode 100644
index 000000000000..76be54d61e23
--- /dev/null
+++ b/srcpkgs/logiops/files/logid.cfg
@@ -0,0 +1 @@
+devices: ();
\ No newline at end of file
diff --git a/srcpkgs/logiops/files/logid/run b/srcpkgs/logiops/files/logid/run
new file mode 100644
index 000000000000..c99363c7ea18
--- /dev/null
+++ b/srcpkgs/logiops/files/logid/run
@@ -0,0 +1,7 @@
+#!/bin/sh
+if /usr/bin/modprobe hid_logitech_hidpp
+then exec /usr/bin/logid
+else
+	# retry every second until the module is loaded
+	sleep 1
+fi
\ No newline at end of file
diff --git a/srcpkgs/logiops/template b/srcpkgs/logiops/template
new file mode 100644
index 000000000000..86b570c094f5
--- /dev/null
+++ b/srcpkgs/logiops/template
@@ -0,0 +1,24 @@
+# Template file for 'logiops'
+pkgname=logiops
+version=0.2.3
+revision=1
+build_style=cmake
+make_cmd=make
+hostmakedepends="gcc make cmake pkg-config"
+makedepends="libevdev-devel eudev-libudev-devel libconfig-devel libconfig++-devel"
+short_desc="Unofficial userspace driver for HID++ Logitech devices"
+maintainer="T0mstone <realt0mstone@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/PixlOne/logiops"
+changelog="https://github.com/PixlOne/logiops/releases/tag/v${version}"
+distfiles="https://github.com/PixlOne/logiops/archive/refs/tags/v${version}.tar.gz"
+checksum=45147cacc5e75d461fa53e6f391aa6994cc724a422d1a8f8943e50186854f88f
+conf_files="/etc/logid.cfg"
+
+export CMAKE_GENERATOR="Unix Makefiles"
+
+post_install() {
+	vsconf logid.example.cfg logid.cfg
+	vconf $FILESDIR/logid.cfg
+	vsv logid
+}

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

* Re: New package: logiops-0.2.3
  2023-03-18 21:58 [PR PATCH] New package: logiops-0.2.3 T0mstone
                   ` (2 preceding siblings ...)
  2023-03-26 18:55 ` T0mstone
@ 2023-06-25  2:13 ` github-actions
  2023-06-25 18:53 ` [PR REVIEW] " Duncaen
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 11+ messages in thread
From: github-actions @ 2023-06-25  2:13 UTC (permalink / raw)
  To: ml

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

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/42849#issuecomment-1605822804

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

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

* Re: [PR REVIEW] New package: logiops-0.2.3
  2023-03-18 21:58 [PR PATCH] New package: logiops-0.2.3 T0mstone
                   ` (3 preceding siblings ...)
  2023-06-25  2:13 ` github-actions
@ 2023-06-25 18:53 ` Duncaen
  2023-06-25 18:56 ` Duncaen
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 11+ messages in thread
From: Duncaen @ 2023-06-25 18:53 UTC (permalink / raw)
  To: ml

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

New review comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/pull/42849#discussion_r1241263717

Comment:
Its easier to simply not ship a configuration file and let the user create it.

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

* Re: [PR REVIEW] New package: logiops-0.2.3
  2023-03-18 21:58 [PR PATCH] New package: logiops-0.2.3 T0mstone
                   ` (4 preceding siblings ...)
  2023-06-25 18:53 ` [PR REVIEW] " Duncaen
@ 2023-06-25 18:56 ` Duncaen
  2023-06-28 17:21 ` [PR PATCH] [Updated] " T0mstone
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 11+ messages in thread
From: Duncaen @ 2023-06-25 18:56 UTC (permalink / raw)
  To: ml

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

New review comment by Duncaen on void-packages repository

https://github.com/void-linux/void-packages/pull/42849#discussion_r1241264346

Comment:
The file should have a trailing newline and probably look like
```
#!/bin/sh
[ -r conf ] && . ./conf
modprobe -q hid_logitech_hidpp || exit 1
exec logid ${OPTS}

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

* Re: [PR PATCH] [Updated] New package: logiops-0.2.3
  2023-03-18 21:58 [PR PATCH] New package: logiops-0.2.3 T0mstone
                   ` (5 preceding siblings ...)
  2023-06-25 18:56 ` Duncaen
@ 2023-06-28 17:21 ` T0mstone
  2023-06-28 17:23 ` T0mstone
  2023-06-28 17:49 ` [PR PATCH] [Closed]: " Duncaen
  8 siblings, 0 replies; 11+ messages in thread
From: T0mstone @ 2023-06-28 17:21 UTC (permalink / raw)
  To: ml

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

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

https://github.com/T0mstone/void-packages logiops
https://github.com/void-linux/void-packages/pull/42849

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

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


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


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

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

From 0b72e7f77bc027bc27bcdd79e97db56ec555be7a Mon Sep 17 00:00:00 2001
From: T0mstone <realt0mstone@gmail.com>
Date: Sat, 18 Mar 2023 22:36:22 +0100
Subject: [PATCH 1/2] New package: logiops-0.2.3

---
 srcpkgs/logiops/files/logid.cfg |  1 +
 srcpkgs/logiops/files/logid/run |  7 +++++++
 srcpkgs/logiops/template        | 24 ++++++++++++++++++++++++
 3 files changed, 32 insertions(+)
 create mode 100644 srcpkgs/logiops/files/logid.cfg
 create mode 100644 srcpkgs/logiops/files/logid/run
 create mode 100644 srcpkgs/logiops/template

diff --git a/srcpkgs/logiops/files/logid.cfg b/srcpkgs/logiops/files/logid.cfg
new file mode 100644
index 000000000000..76be54d61e23
--- /dev/null
+++ b/srcpkgs/logiops/files/logid.cfg
@@ -0,0 +1 @@
+devices: ();
\ No newline at end of file
diff --git a/srcpkgs/logiops/files/logid/run b/srcpkgs/logiops/files/logid/run
new file mode 100644
index 000000000000..c99363c7ea18
--- /dev/null
+++ b/srcpkgs/logiops/files/logid/run
@@ -0,0 +1,7 @@
+#!/bin/sh
+if /usr/bin/modprobe hid_logitech_hidpp
+then exec /usr/bin/logid
+else
+	# retry every second until the module is loaded
+	sleep 1
+fi
\ No newline at end of file
diff --git a/srcpkgs/logiops/template b/srcpkgs/logiops/template
new file mode 100644
index 000000000000..86b570c094f5
--- /dev/null
+++ b/srcpkgs/logiops/template
@@ -0,0 +1,24 @@
+# Template file for 'logiops'
+pkgname=logiops
+version=0.2.3
+revision=1
+build_style=cmake
+make_cmd=make
+hostmakedepends="gcc make cmake pkg-config"
+makedepends="libevdev-devel eudev-libudev-devel libconfig-devel libconfig++-devel"
+short_desc="Unofficial userspace driver for HID++ Logitech devices"
+maintainer="T0mstone <realt0mstone@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/PixlOne/logiops"
+changelog="https://github.com/PixlOne/logiops/releases/tag/v${version}"
+distfiles="https://github.com/PixlOne/logiops/archive/refs/tags/v${version}.tar.gz"
+checksum=45147cacc5e75d461fa53e6f391aa6994cc724a422d1a8f8943e50186854f88f
+conf_files="/etc/logid.cfg"
+
+export CMAKE_GENERATOR="Unix Makefiles"
+
+post_install() {
+	vsconf logid.example.cfg logid.cfg
+	vconf $FILESDIR/logid.cfg
+	vsv logid
+}

From e61948595dc59503c0f44512016abb07c19bc037 Mon Sep 17 00:00:00 2001
From: T0mstone <realt0mstone@gmail.com>
Date: Wed, 28 Jun 2023 19:21:43 +0200
Subject: [PATCH 2/2] address complaints

---
 srcpkgs/logiops/files/logid.cfg | 1 -
 srcpkgs/logiops/files/logid/run | 9 +++------
 srcpkgs/logiops/template        | 1 -
 3 files changed, 3 insertions(+), 8 deletions(-)
 delete mode 100644 srcpkgs/logiops/files/logid.cfg

diff --git a/srcpkgs/logiops/files/logid.cfg b/srcpkgs/logiops/files/logid.cfg
deleted file mode 100644
index 76be54d61e23..000000000000
--- a/srcpkgs/logiops/files/logid.cfg
+++ /dev/null
@@ -1 +0,0 @@
-devices: ();
\ No newline at end of file
diff --git a/srcpkgs/logiops/files/logid/run b/srcpkgs/logiops/files/logid/run
index c99363c7ea18..30542ccf311f 100644
--- a/srcpkgs/logiops/files/logid/run
+++ b/srcpkgs/logiops/files/logid/run
@@ -1,7 +1,4 @@
 #!/bin/sh
-if /usr/bin/modprobe hid_logitech_hidpp
-then exec /usr/bin/logid
-else
-	# retry every second until the module is loaded
-	sleep 1
-fi
\ No newline at end of file
+[ -r conf ] && . ./conf
+modprobe -q hid_logitech_hidpp || exit 1
+exec logid ${OPTS}
diff --git a/srcpkgs/logiops/template b/srcpkgs/logiops/template
index 86b570c094f5..7de956775ae9 100644
--- a/srcpkgs/logiops/template
+++ b/srcpkgs/logiops/template
@@ -19,6 +19,5 @@ export CMAKE_GENERATOR="Unix Makefiles"
 
 post_install() {
 	vsconf logid.example.cfg logid.cfg
-	vconf $FILESDIR/logid.cfg
 	vsv logid
 }

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

* Re: New package: logiops-0.2.3
  2023-03-18 21:58 [PR PATCH] New package: logiops-0.2.3 T0mstone
                   ` (6 preceding siblings ...)
  2023-06-28 17:21 ` [PR PATCH] [Updated] " T0mstone
@ 2023-06-28 17:23 ` T0mstone
  2023-06-28 17:49 ` [PR PATCH] [Closed]: " Duncaen
  8 siblings, 0 replies; 11+ messages in thread
From: T0mstone @ 2023-06-28 17:23 UTC (permalink / raw)
  To: ml

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

New comment by T0mstone on void-packages repository

https://github.com/void-linux/void-packages/pull/42849#issuecomment-1611809374

Comment:
Thanks for the feedback! Is it fine now? (I'll squash the branch if you want me to – I've kept it as a separate commit for now to keep the PR history)

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

* Re: [PR PATCH] [Closed]: New package: logiops-0.2.3
  2023-03-18 21:58 [PR PATCH] New package: logiops-0.2.3 T0mstone
                   ` (7 preceding siblings ...)
  2023-06-28 17:23 ` T0mstone
@ 2023-06-28 17:49 ` Duncaen
  8 siblings, 0 replies; 11+ messages in thread
From: Duncaen @ 2023-06-28 17:49 UTC (permalink / raw)
  To: ml

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

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

New package: logiops-0.2.3
https://github.com/void-linux/void-packages/pull/42849

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

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


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


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

* Re: [PR PATCH] [Updated] New package: logiops-0.2.3
  2022-11-08 22:12 [PR PATCH] " Owenlaw222
@ 2022-11-09  1:47 ` Owenlaw222
  0 siblings, 0 replies; 11+ messages in thread
From: Owenlaw222 @ 2022-11-09  1:47 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Owenlaw222/void-packages logiops-package
https://github.com/void-linux/void-packages/pull/40396

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

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

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

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



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

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

From 7da6e43756a0696dcfc7c801d86e9e4b4e13acaa Mon Sep 17 00:00:00 2001
From: Owen Law <owenlaw222@gmail.com>
Date: Tue, 8 Nov 2022 17:03:00 -0500
Subject: [PATCH] New package: logiops-0.2.3

---
 srcpkgs/logiops/files/logid/run                 |  3 +++
 .../logiops/patches/musl-include-systime.patch  |  4 ++++
 srcpkgs/logiops/patches/musl-replace-uint.patch | 14 ++++++++++++++
 srcpkgs/logiops/template                        | 17 +++++++++++++++++
 4 files changed, 38 insertions(+)
 create mode 100644 srcpkgs/logiops/files/logid/run
 create mode 100644 srcpkgs/logiops/patches/musl-include-systime.patch
 create mode 100644 srcpkgs/logiops/patches/musl-replace-uint.patch
 create mode 100644 srcpkgs/logiops/template

diff --git a/srcpkgs/logiops/files/logid/run b/srcpkgs/logiops/files/logid/run
new file mode 100644
index 000000000000..0ccf49521a6a
--- /dev/null
+++ b/srcpkgs/logiops/files/logid/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec /bin/logid
diff --git a/srcpkgs/logiops/patches/musl-include-systime.patch b/srcpkgs/logiops/patches/musl-include-systime.patch
new file mode 100644
index 000000000000..dd84d5dc7a5a
--- /dev/null
+++ b/srcpkgs/logiops/patches/musl-include-systime.patch
@@ -0,0 +1,4 @@
+--- a/src/logid/backend/raw/RawDevice.cpp
++++ b/src/logid/backend/raw/RawDevice.cpp
+@@ -42,0 +42,1 @@
++#include <sys/time.h>
diff --git a/srcpkgs/logiops/patches/musl-replace-uint.patch b/srcpkgs/logiops/patches/musl-replace-uint.patch
new file mode 100644
index 000000000000..d0046c6dab5c
--- /dev/null
+++ b/srcpkgs/logiops/patches/musl-replace-uint.patch
@@ -0,0 +1,14 @@
+--- a/src/logid/actions/KeypressAction.h
++++ b/src/logid/actions/KeypressAction.h
+@@ -41,3 +41,3 @@
+-            std::vector<uint>& keys();
++            std::vector<unsigned int>& keys();
+         protected:
+-            std::vector<uint> _keys;
++            std::vector<unsigned int> _keys;
+
+--- a/src/logid/actions/KeypressAction.cpp
++++ b/src/logid/actions/KeypressAction.cpp
+@@ -88,1 +88,1 @@
+-std::vector<uint>& KeypressAction::Config::keys()
++std::vector<unsigned int>& KeypressAction::Config::keys()
diff --git a/srcpkgs/logiops/template b/srcpkgs/logiops/template
new file mode 100644
index 000000000000..8386bfb546c8
--- /dev/null
+++ b/srcpkgs/logiops/template
@@ -0,0 +1,17 @@
+# Template file for 'logiops'
+pkgname=logiops
+version=0.2.3
+revision=1
+build_style=cmake
+hostmakedepends="cmake pkg-config"
+makedepends="libevdev-devel eudev-libudev-devel libconfig-devel libconfig++-devel"
+short_desc="Unoffical userspace driver for HID++ Logitech devices"
+maintainer="Owen Law <owenlaw222@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/PixlOne/logiops"
+distfiles="https://www.github.com/PixlOne/logiops/archive/refs/tags/v${version}.tar.gz"
+checksum=45147cacc5e75d461fa53e6f391aa6994cc724a422d1a8f8943e50186854f88f
+
+post_install() {
+	vsv logid
+}

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

end of thread, other threads:[~2023-06-28 17:49 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-18 21:58 [PR PATCH] New package: logiops-0.2.3 T0mstone
2023-03-19 22:42 ` [PR PATCH] [Updated] " T0mstone
2023-03-19 22:44 ` T0mstone
2023-03-26 18:55 ` T0mstone
2023-06-25  2:13 ` github-actions
2023-06-25 18:53 ` [PR REVIEW] " Duncaen
2023-06-25 18:56 ` Duncaen
2023-06-28 17:21 ` [PR PATCH] [Updated] " T0mstone
2023-06-28 17:23 ` T0mstone
2023-06-28 17:49 ` [PR PATCH] [Closed]: " Duncaen
  -- strict thread matches above, loose matches on Subject: below --
2022-11-08 22:12 [PR PATCH] " Owenlaw222
2022-11-09  1:47 ` [PR PATCH] [Updated] " Owenlaw222

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