From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cLL0FSgGL2PUJQAAbAwnHQ (envelope-from ) for ; Sat, 24 Sep 2022 15:29:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id UADbFSgGL2Pz+AAAauVa8A (envelope-from ) for ; Sat, 24 Sep 2022 15:29:12 +0200 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 E290661AD for ; Sat, 24 Sep 2022 15:29:11 +0200 (CEST) Received: from localhost ([::1]:53658 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oc5DT-0006iH-3p for larch@yhetil.org; Sat, 24 Sep 2022 09:29:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35824) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oc5DK-0006h3-KW for guix-patches@gnu.org; Sat, 24 Sep 2022 09:29:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43655) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oc5DK-0001Vx-DL for guix-patches@gnu.org; Sat, 24 Sep 2022 09:29:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oc5DK-0004Bh-8S for guix-patches@gnu.org; Sat, 24 Sep 2022 09:29:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57537] [PATCH v2] gnu: Add ec. References: <20220902020049.15420-1-GNUtoo@cyberdimension.org> In-Reply-To: <20220902020049.15420-1-GNUtoo@cyberdimension.org> Resent-From: Denis 'GNUtoo' Carikli Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 24 Sep 2022 13:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57537 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57537@debbugs.gnu.org Cc: Denis 'GNUtoo' Carikli Received: via spool by 57537-submit@debbugs.gnu.org id=B57537.166402612816065 (code B ref 57537); Sat, 24 Sep 2022 13:29:02 +0000 Received: (at 57537) by debbugs.gnu.org; 24 Sep 2022 13:28:48 +0000 Received: from localhost ([127.0.0.1]:42730 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oc5D6-0004B2-CB for submit@debbugs.gnu.org; Sat, 24 Sep 2022 09:28:48 -0400 Received: from cyberdimension.org ([80.67.179.20]:33338 helo=gnutoo.cyberdimension.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oc5D1-0004AX-7n for 57537@debbugs.gnu.org; Sat, 24 Sep 2022 09:28:44 -0400 Received: from gnutoo.cyberdimension.org (localhost [127.0.0.1]) by cyberdimension.org (OpenSMTPD) with ESMTP id a4e1114d; Sat, 24 Sep 2022 13:27:19 +0000 (UTC) Received: from localhost.localdomain (localhost [::1]) by gnutoo.cyberdimension.org (OpenSMTPD) with ESMTP id ba422571; Sat, 24 Sep 2022 13:27:18 +0000 (UTC) From: Denis 'GNUtoo' Carikli Date: Sat, 24 Sep 2022 15:28:15 +0200 Message-Id: <20220924132815.1603-1-GNUtoo@cyberdimension.org> X-Mailer: git-send-email 2.37.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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-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=1664026152; 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: content-transfer-encoding:content-transfer-encoding:resent-cc: 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=nsZeUTvr0jRWQKuVkIn/HISW6l5FLx0Shyy8eRdlIhg=; b=HAqbLCOgqIk1tk6xnNPDcwzZejGzaCA+3VXeJepDB38AGZqEJ8v9KAVrUkpkFqtr4PIuc4 6P1LyTJLOdOc0+p5nbwo0OOzVGOdbqqCGoJDFcz1wioDW8VxquZMllhTjeK/VAsA+kgh4W Epwh5gQeStiGhHXtRSk1OvAjXD/fwuXmYxPRe15qjZTJSbNk9WmVIavDD9YLdxoBRSJKoj cxiGaDGjDCC5rMFNY5PrKPiPp9DlrNG4x8N8y6X3w4m0IhiVcsfxec592cdoNe9XzjV4bX dJp0CG2aVJIy3hci0xhghcFCz39GVx292JX5SFPXyjGrW6tVXuYjgVaydJDyxQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664026152; a=rsa-sha256; cv=none; b=hCpQZcpoVI7WwX86Qh4OtBuvT2KpGvwIiuwIJCJeHaUY1Hity0qXgYQuQqiUKYBmsE9WRa SPu3az8JPSg5TDz5mlisKvjiiILOum0gYnjQsiKe4KXGgigCau4EJNaRijlixgysrakxWE wwp7Xkvqcx4f5svTIJxSQhj4FFBkwT1uXVKP5oRO/41bD6otanzZc7VZYRsepKIp2Lpt7+ HlEQxKCADsM1r1wPoFBl77xTzAb1u8YwWmS56GQUxHa2NlJ/fLxhEfS2SWl+djXYSRiSuk AYK/Qjjz1xf6lV5GjHowi9SQt2EW5oLQtHLkb/s6NoCwUuC9OvfdHSshMTvceQ== 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: -0.35 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: E290661AD X-Spam-Score: -0.35 X-Migadu-Scanner: scn1.migadu.com X-TUID: 7xXkQPlClriV * gnu/packages/linux.scm (ec): New variable. --- gnu/packages/linux.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 306c18e398..0b38bc03f8 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -64,6 +64,7 @@ ;;; Copyright © 2022 Artyom V. Poptsov ;;; Copyright © 2022 Rene Saavedra ;;; Copyright © 2022 muradm +;;; Copyright © 2022 Denis 'GNUtoo' Carikli ;;; ;;; This file is part of GNU Guix. @@ -1342,6 +1343,31 @@ (define-public librem-ec-acpi-linux-module and the notification, WiFi, and Bluetooth LED.") (license license:gpl2))) +(define-public ec + (package + (name "ec") + (version (package-version linux-libre)) + (source (package-source linux-libre)) + (build-system gnu-build-system) + (arguments + (list #:make-flags #~(list (string-append "sbindir=" + #$output "/sbin") + "INSTALL=install" "STRIPCMD=true") + #:phases #~(modify-phases %standard-phases + (add-after 'unpack 'enter-subdirectory + (lambda _ + (chdir "tools/power/acpi/tools/ec"))) + (delete 'configure)) ;no configure script + #:tests? #f)) ;no tests + (home-page (package-home-page linux-libre)) + (synopsis + "Low level utility for reading or writing @acronym{EC, Embedded Controller} registers") + (description + "This utility can read or write specific registers or all the available +registers of the @acronym{EC, Embedded Controller} supported by the +@code{ec_sys} Linux driver") + (license license:gpl2))) + (define-public lkrg (package (name "lkrg") base-commit: dc7191302e6d099a26673e08b78eb5f4b2a2b17b -- 2.37.3