* [PR PATCH] New package: logiops-0.2.3
@ 2023-03-18 21:58 T0mstone
2023-03-19 22:42 ` [PR PATCH] [Updated] " T0mstone
2023-03-19 22:44 ` T0mstone
0 siblings, 2 replies; 4+ 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] 4+ 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
1 sibling, 0 replies; 4+ 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] 4+ 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
1 sibling, 0 replies; 4+ 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] 4+ messages in thread
* [PR PATCH] New package: logiops-0.2.3
@ 2022-11-08 22:12 Owenlaw222
0 siblings, 0 replies; 4+ messages in thread
From: Owenlaw222 @ 2022-11-08 22:12 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 755 bytes --]
There is a new 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 7d4ab3ae64e43ca9efc2e94dc7393546b9fb85a4 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..2255e0a52d18
--- /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] 4+ messages in thread
end of thread, other threads:[~2023-03-19 22:44 UTC | newest]
Thread overview: 4+ 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
-- strict thread matches above, loose matches on Subject: below --
2022-11-08 22:12 [PR PATCH] " 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).