Github messages for voidlinux
 help / color / mirror / Atom feed
From: Owenlaw222 <Owenlaw222@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: logiops-0.2.3
Date: Tue, 08 Nov 2022 23:12:37 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-40396@inbox.vuxu.org> (raw)

[-- 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
+}

             reply	other threads:[~2022-11-08 22:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-08 22:12 Owenlaw222 [this message]
2022-11-09  1:47 ` [PR PATCH] [Updated] " Owenlaw222
2023-02-07  2:27 ` github-actions
2023-02-22  2:01 ` [PR PATCH] [Closed]: " github-actions
2023-03-18 21:58 [PR PATCH] " T0mstone

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-40396@inbox.vuxu.org \
    --to=owenlaw222@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).