From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:203:b4db::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kKHeA42MyWEDGAAAgWs5BA (envelope-from ) for ; Mon, 27 Dec 2021 10:51:09 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id EH0/AY2MyWFMEQAA9RJhRA (envelope-from ) for ; Mon, 27 Dec 2021 10:51:09 +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 9B4A82B3FA for ; Mon, 27 Dec 2021 10:51:08 +0100 (CET) Received: from localhost ([::1]:33900 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n1mep-00077k-OW for larch@yhetil.org; Mon, 27 Dec 2021 04:51:07 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41882) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n1mek-00077Q-Px for guix-patches@gnu.org; Mon, 27 Dec 2021 04:51:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:58881) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n1mek-00087z-GS for guix-patches@gnu.org; Mon, 27 Dec 2021 04:51:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n1mek-0006GU-Gc for guix-patches@gnu.org; Mon, 27 Dec 2021 04:51:02 -0500 Subject: bug#52803: [PATCH v2] gnu: Add headsetcontrol. Resent-From: Nicolas Goaziou Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Mon, 27 Dec 2021 09:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 52803 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: John Kehayias via Guix-patches via Cc: John Kehayias , "52803@debbugs.gnu.org" <52803-done@debbugs.gnu.org> Mail-Followup-To: 52803@debbugs.gnu.org, mail@nicolasgoaziou.fr, john.kehayias@protonmail.com Received: via spool by 52803-done@debbugs.gnu.org id=D52803.164059861623999 (code D ref 52803); Mon, 27 Dec 2021 09:51:02 +0000 Received: (at 52803-done) by debbugs.gnu.org; 27 Dec 2021 09:50:16 +0000 Received: from localhost ([127.0.0.1]:42193 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1me0-0006Et-5H for submit@debbugs.gnu.org; Mon, 27 Dec 2021 04:50:16 -0500 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:45281) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1mdo-0006Dj-RN for 52803-done@debbugs.gnu.org; Mon, 27 Dec 2021 04:50:07 -0500 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 52904240002; Mon, 27 Dec 2021 09:49:57 +0000 (UTC) From: Nicolas Goaziou References: <2_c_qvqxrYLkzqE6Wi-swccI8XaI8F5g_J3nkn7XQ0WzTLUezJLbflel0dROLPJGoOHkShwG63WMQBGTiloR9XVKFSALj8cB9LNxtKZzt2M=@pm.me> Date: Mon, 27 Dec 2021 10:49:57 +0100 In-Reply-To: <2_c_qvqxrYLkzqE6Wi-swccI8XaI8F5g_J3nkn7XQ0WzTLUezJLbflel0dROLPJGoOHkShwG63WMQBGTiloR9XVKFSALj8cB9LNxtKZzt2M=@pm.me> (John Kehayias via Guix-patches via's message of "Sun, 26 Dec 2021 16:41:16 +0000") Message-ID: <87h7au9y2i.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640598668; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-to:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=2GrHDKesZ2x4g5pzeNUpa0oAqprRcQkr8xWqB94unDI=; b=XDEdr4LtyTAuvcilNLS1i1IL9vjNbKvB+IfKyJjziodgEVzogZN0c1wbCqO81pdzbMQepj WEPHNiL4dKPZbTdnbw+oLXmBpylo8H4o9Hc7q/cUQW0PGxFasQAGx774K3WDo1/aeJc8qc 9+rZd4T/iMOHboOaZ+gGoz00PGPsZcMdjSNkuHiSQnotOAztJVqUTqS8/thlf/t1BDMgMC wtzEf1qP83bNSeDP76KAFcX424iJ3rfZRylS+e/R6+SBv9a+KSadZxFfZXMLPfGzhF057j 6QlwXCjrFIik5O0v6IVpjTPrK3mIXIFh6HlhgpwJhFP9cftbb0eoHbx9f4kNmA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640598668; a=rsa-sha256; cv=none; b=e/AyrgVxJhO479PRafiu1DHxxDH+2AHycK3rHPVxh390EjCENbo9zdYnwIFDI3bk0J0iId RWiSKtM3LqAQUzEQ7sFR3I3aLLPaLfiKyIpC6jre1tzGaeCVdeuvUKzKTPnwYaYDE3ACdV H0V+XUY7rUBqzJ5GHJX5uS353FMdsNtVmAZErvWNJeyajVx/T+TDnpATQX4cyJL5zXZMQr 7ZJ93o2pSOy9F1v1Y6jvMWYHs59KeHlUp84+5o1P1G/Kczp2PjRC3uNspU93CCQ+9bSsEG YIOhuOVB+J7j+UKtuGqOve8Bd+Fsi6dLZ4og44UbIzM1jbInyMSgHn8SmdL9rw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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: -3.17 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: 9B4A82B3FA X-Spam-Score: -3.17 X-Migadu-Scanner: scn1.migadu.com X-TUID: TVE9HDxulZj/ Hello, John Kehayias via Guix-patches via writes: > Subject: [PATCH] gnu: Add headsetcontrol. > > * gnu/packages/hardware.scm (headsetcontrol): New variable. Thank you. I pushed it with the changes detailed below. > +(define-public headsetcontrol > + (package > + (name "headsetcontrol") > + (version "2.6") > + (source (origin > + (method git-fetch) I moved `origin' below `source' and adjusted indentation. > + (uri (git-reference > + (url "https://github.com/Sapd/HeadsetControl") > + (commit version))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 > + "0a7zimzi71416pmn6z0l1dn1c2x8p702hkd0k6da9rsznff85a88")))) I moved hash on the same line as `base32' > + (build-system cmake-build-system) > + (inputs > + (list hidapi)) > + (synopsis "Sidetone and Battery status for USB headsets") > + (description > + "A tool to control certain aspects of USB-connected headsets on Linux. I started the description with the name of the package (guix lint should warn you about this), and removed reference to Linux, since it is not useful in Guix. > +Currently, support is provided for adjusting sidetone, getting battery state, > +controlling LEDs, and setting the inactive time.") > + (home-page "https://github.com/Sapd/HeadsetControl") > + (license license:gpl3))) I used gpl3+ as "main.c" includes "or (at your option) any later version" in its header. Regards, -- Nicolas Goaziou