GNU bug report logs -
#54355
[PATCH] gnu: Add ckb-next.
Previous Next
Reported by: Formbi <formbi <at> protonmail.com>
Date: Sat, 12 Mar 2022 20:15:02 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 54355 in the body.
You can then email your comments to 54355 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#54355
; Package
guix-patches
.
(Sat, 12 Mar 2022 20:15:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Formbi <formbi <at> protonmail.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sat, 12 Mar 2022 20:15:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
=This patch adds ckb-next, a free app for controlling some Corsair devices.
From 1e9e6403f28ebaccac9bd6f0f7d3bd744516aed1 Mon Sep 17 00:00:00 2001
From: Formbi <formbi <at> protonmail.com>
Date: Sat, 12 Mar 2022 20:09:26 +0100
Subject: [PATCH] gnu: add ckb-next
* gnu/packages/hardware.scm (ckb-next): add ckb-next
---
gnu/packages/hardware.scm | 64 +++++++++++++++++++++++++++++++++++++++
1 file changed, 64 insertions(+)
diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm
index 0a2a7dbb7..e43c18c1a 100644
--- a/gnu/packages/hardware.scm
+++ b/gnu/packages/hardware.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2018 Tobias Geerinckx-Rice <me <at> tobias.gr>
+;;; Copyright © 2022 Marcel Kupiec <formbi <at> protonmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -17,15 +18,20 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages hardware)
+ #:use-module (gnu packages bash)
#:use-module (gnu packages compression)
#:use-module (gnu packages gcc)
#:use-module (gnu packages glib)
#:use-module (gnu packages libusb)
#:use-module (gnu packages linux)
+ #:use-module (gnu packages lxqt)
#:use-module (gnu packages ncurses)
#:use-module (gnu packages pkg-config)
+ #:use-module (gnu packages pulseaudio)
+ #:use-module (gnu packages qt)
#:use-module (gnu packages xdisorg)
#:use-module (gnu packages xorg)
+ #:use-module (guix build-system cmake)
#:use-module (guix build-system gnu)
#:use-module (guix download)
#:use-module (guix git-download)
@@ -35,6 +41,64 @@
;; This is a module for packages related to physical hardware that don't (yet)
;; have a more specific home like gps.scm, security-token.scm, &c.
+(define-public ckb-next
+ (let ((commit "967f44018a9d46efa7203fad38518e9381eba0f3")
+ (revision "0"))
+ (package
+ (name "ckb-next")
+ (version (git-version "0.4.4" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ckb-next/ckb-next")
+ (commit commit)))
+ (sha256
+ (base32 "0bfpah0zgmyhbi6payymr3p98nfnwqr2xqxgkyzvccz72z246316"))
+ (file-name (git-file-name name version))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:modules ((guix build cmake-build-system)
+ (guix build qt-utils)
+ (guix build utils))
+ #:imported-modules (,@%cmake-build-system-modules
+ (guix build qt-utils))
+ #:tests? #f
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'patch-lib-udev
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (substitute*
+ "src/daemon/cmake_install.cmake"
+ (("/lib/udev")
+ (string-append (assoc-ref outputs "out")
+ "/lib/udev")))))
+ (add-after 'install 'wrap-qt
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (wrap-qt-program "ckb-next" #:output out #:inputs inputs)))))))
+ (native-inputs
+ (list qttools pkg-config))
+ (inputs
+ (list qtbase-5
+ zlib
+ libdbusmenu-qt
+ quazip
+ pulseaudio
+ libxcb
+ xcb-util-wm
+ qtx11extras
+ eudev
+ bash-minimal))
+ (home-page "https://github.com/ckb-next/ckb-next")
+ (synopsis "Open-source driver for Corsair keyboards and mice")
+ (description "ckb-next is an open-source driver for Corsair keyboards and
+mice. It aims to bring the features of Corsair's proprietary CUE software to
+Linux operating systems. This project is currently a work in progress, but it
+already supports much of the same functionality, including full RGB animations.
+More features are coming soon.")
+ (license license:gpl2))))
+
(define-public ddcutil
(package
(name "ddcutil")
--
2.35.1
Reply sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
You have taken responsibility.
(Fri, 18 Mar 2022 14:40:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Formbi <formbi <at> protonmail.com>
:
bug acknowledged by developer.
(Fri, 18 Mar 2022 14:40:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 54355-done <at> debbugs.gnu.org (full text, mbox):
Hi,
Formbi <formbi <at> protonmail.com> skribis:
>>From 1e9e6403f28ebaccac9bd6f0f7d3bd744516aed1 Mon Sep 17 00:00:00 2001
> From: Formbi <formbi <at> protonmail.com>
> Date: Sat, 12 Mar 2022 20:09:26 +0100
> Subject: [PATCH] gnu: add ckb-next
>
> * gnu/packages/hardware.scm (ckb-next): add ckb-next
[...]
> +(define-public ckb-next
> + (let ((commit "967f44018a9d46efa7203fad38518e9381eba0f3")
> + (revision "0"))
> + (package
> + (name "ckb-next")
> + (version (git-version "0.4.4" revision commit))
> + (source
> + (origin
> + (method git-fetch)
I passed it through ‘guix style’ to get conventional formatting:
https://guix.gnu.org/manual/devel/en/html_node/Submitting-Patches.html
[...]
> + (home-page "https://github.com/ckb-next/ckb-next")
> + (synopsis "Open-source driver for Corsair keyboards and mice")
> + (description "ckb-next is an open-source driver for Corsair keyboards and
> +mice. It aims to bring the features of Corsair's proprietary CUE software to
> +Linux operating systems. This project is currently a work in progress, but it
> +already supports much of the same functionality, including full RGB animations.
> +More features are coming soon.")
I tweaked that a bit, removing “open source” (everything is free
software in Guix, no need to mention it) and the reference to “CUE”, as
per the Free System Distribution Guideline (FSDG).
Thanks!
Ludo’.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 16 Apr 2022 11:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 63 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.