From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id CPGlKUsBLWI6+QAAgWs5BA (envelope-from ) for ; Sat, 12 Mar 2022 21:23:39 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id mFE/IksBLWLuEQEAG6o9tA (envelope-from ) for ; Sat, 12 Mar 2022 21:23:39 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A06BA14EA8 for ; Sat, 12 Mar 2022 21:23:38 +0100 (CET) Received: from localhost ([::1]:51974 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nT8H3-0006bS-2s for larch@yhetil.org; Sat, 12 Mar 2022 15:23:37 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56124) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nT88l-0008OO-GR for guix-patches@gnu.org; Sat, 12 Mar 2022 15:15:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:47005) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nT88l-000064-4c for guix-patches@gnu.org; Sat, 12 Mar 2022 15:15:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nT88k-0001Xp-Mh for guix-patches@gnu.org; Sat, 12 Mar 2022 15:15:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54355] [PATCH] gnu: Add ckb-next. Resent-From: Formbi Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 12 Mar 2022 20:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 54355 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54355@debbugs.gnu.org X-Debbugs-Original-To: Formbi via Guix-patches Received: via spool by submit@debbugs.gnu.org id=B.16471160585863 (code B ref -1); Sat, 12 Mar 2022 20:15:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Mar 2022 20:14:18 +0000 Received: from localhost ([127.0.0.1]:40902 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nT882-0001WT-6P for submit@debbugs.gnu.org; Sat, 12 Mar 2022 15:14:18 -0500 Received: from lists.gnu.org ([209.51.188.17]:44510) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nT880-0001WL-F3 for submit@debbugs.gnu.org; Sat, 12 Mar 2022 15:14:17 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56052) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nT880-0005sW-8R for guix-patches@gnu.org; Sat, 12 Mar 2022 15:14:16 -0500 Received: from mail-4318.protonmail.ch ([185.70.43.18]:62469) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nT87x-0008SL-Gs for guix-patches@gnu.org; Sat, 12 Mar 2022 15:14:15 -0500 Date: Sat, 12 Mar 2022 20:14:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1647116042; bh=cDUnW08N/SDEw2tXERCVPeKfcAKd7B9GMHZ0i49oOLA=; h=Date:To:From:Reply-To:Subject:Message-ID:From:To:Cc:Date:Subject: Reply-To:Feedback-ID:Message-ID; b=TcxuVMG2mACIeOBqtbIrmv1DgmCQros/RydmfmbMThreB5IXi1OpFBOpwlE0FkvGz ino9c7HaJ5D81a3BpzxnMMVKJ0JU4MFejerCEseH3/LyEIkMEECVUzQiFxitZPRVJg SIvfNzbNXfmBamJYFUIdxDtCw/HGfBFIphr8MgNn0PFA0T7AAsXUmahkd+MtKMmAmE 0InHlLIWqKWjkIFSu/LRWehWe/vDw6eP+mHE2/kXgQ5JpmJptJ8PvKAB+8+GvM7HbI 0U+Lcpu5PP80bWi1y8m+eLJ3lNPwwA3GdYBXrAz/v7ST4Zj5aU5SxDMqoWkv8BuRlw l8ecCJxl5Ib/A== Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.18; envelope-from=formbi@protonmail.com; helo=mail-4318.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: Formbi X-ACL-Warn: , Formbi via Guix-patches From: Formbi via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1647116619; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=cDUnW08N/SDEw2tXERCVPeKfcAKd7B9GMHZ0i49oOLA=; b=MnFKWvd5hlb0awDWjhWqnduqEr6DKx24DOKyD4KIYhqVNvQDAYq5JqR3n7mg8UmwcyyqfU UjFqTWK2nWPxsuYbX6no1pBrKT1/6b2dm/qltsScxHTOCTKQPBT/Y98RBypGD5vEztjjFM TMJMKfIO8h8BPPXls5uIFBYc1GVi9GE+lXLSHSkNVHIRHyJRtYz3jW5kpHQNy3bWRDjIRq hoOMthBl40xHp6xzRaYnjI9vZgrwU1xnwo4dAxnE38aL+MF0aNVhbdpq0CDlL7iXJKlH26 pAt9b9yN8hlZ6lyEp/LtKbVKvVT0cFuPd5wottzuujRqtTr2wp3rF12IsvRpvQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1647116619; a=rsa-sha256; cv=none; b=SJwVSealWAiGxiBCIQ8k5MU9yLdZUrhy9msjwOdWDniJLY2loYtxllrFXtBiSwmNYZ8lg5 sEs+mkfuig7wvBwWJg7BGJhM8xUIJn5ux2Mg4e88+/oaq1irXW93q1YWS1fcit6V/boWDE kMlh4IGAi+V+Wc716W0nttF6qDe0F+PC7M7n3FL0TMtV3LFbhKoOJWefFXBH8WDlCRVasn N8SZ8VYaPRdK9p0GruWe3IEa3p8s3WVld+lPmM8Xlc4dH9mVYH32quo3JVby8EbFDAaONg TdQRWf+4g3ZoMr0gsAYVFS8wW5e3hVh/7slou89OxXi+Q3seulR6HETelzinhw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=TcxuVMG2; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.28 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=TcxuVMG2; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: A06BA14EA8 X-Spam-Score: -4.28 X-Migadu-Scanner: scn0.migadu.com X-TUID: mTND4DBA/iPt =3DThis patch adds ckb-next, a free app for controlling some Corsair device= s. >From 1e9e6403f28ebaccac9bd6f0f7d3bd744516aed1 Mon Sep 17 00:00:00 2001 From: Formbi 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 =C2=A9 2018 Tobias Geerinckx-Rice +;;; Copyright =C2=A9 2022 Marcel Kupiec ;;; ;;; This file is part of GNU Guix. ;;; @@ -17,15 +18,20 @@ ;;; along with GNU Guix. If not, see . (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 keyboard= s 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, bu= t it +already supports much of the same functionality, including full RGB animat= ions. +More features are coming soon.") + (license license:gpl2)))) + (define-public ddcutil (package (name "ddcutil") -- 2.35.1