From patchwork Fri Oct 25 09:32:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Brice Waegeneire X-Patchwork-Id: 15820 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id EA840175CB; Fri, 25 Oct 2019 10:42:49 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_MSPIKE_H2, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id A848817582 for ; Fri, 25 Oct 2019 10:42:49 +0100 (BST) Received: from localhost ([::1]:58094 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iNw7N-00056P-7a for patchwork@mira.cbaines.net; Fri, 25 Oct 2019 05:42:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57926) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iNvy7-0007fX-VF for guix-patches@gnu.org; Fri, 25 Oct 2019 05:33:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iNvxw-0005uy-CN for guix-patches@gnu.org; Fri, 25 Oct 2019 05:33:11 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56707) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iNvxu-0005uO-Ob for guix-patches@gnu.org; Fri, 25 Oct 2019 05:33:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iNvxu-0001E8-KY for guix-patches@gnu.org; Fri, 25 Oct 2019 05:33:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#37853] [PATCH v2] gnu: Add ddcci-driver-linux. Resent-From: Brice Waegeneire Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 25 Oct 2019 09:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37853 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 37853@debbugs.gnu.org Received: via spool by 37853-submit@debbugs.gnu.org id=B37853.15719959694686 (code B ref 37853); Fri, 25 Oct 2019 09:33:02 +0000 Received: (at 37853) by debbugs.gnu.org; 25 Oct 2019 09:32:49 +0000 Received: from localhost ([127.0.0.1]:37294 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iNvxh-0001DW-AE for submit@debbugs.gnu.org; Fri, 25 Oct 2019 05:32:49 -0400 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:41765) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iNvxZ-0001DG-HS for 37853@debbugs.gnu.org; Fri, 25 Oct 2019 05:32:42 -0400 X-Originating-IP: 78.237.113.178 Received: from localhost (luy13-1-78-237-113-178.fbx.proxad.net [78.237.113.178]) (Authenticated sender: brice@waegenei.re) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 1D6CFFF80D for <37853@debbugs.gnu.org>; Fri, 25 Oct 2019 09:32:39 +0000 (UTC) From: Brice Waegeneire Date: Fri, 25 Oct 2019 11:32:23 +0200 Message-Id: <20191025093223.31672-2-brice@waegenei.re> X-Mailer: git-send-email 2.19.2 In-Reply-To: <20191025093223.31672-1-brice@waegenei.re> References: <20191025093223.31672-1-brice@waegenei.re> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/linux.scm (ddcci-driver-linux): Add variable. --- gnu/packages/linux.scm | 46 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 989d55f8aa..ce448d9940 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -968,6 +968,52 @@ and should be used with caution, especially on untested models.") between the CDemu userspace daemon and linux kernel.") (license license:gpl2+))) +(define-public ddcci-driver-linux + (package + (name "ddcci-driver-linux") + (version "0.3.3") + (source + (origin + (method git-fetch) + (uri + (git-reference + (url "https://gitlab.com/ddcci-driver-linux/ddcci-driver-linux.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0vkkja3ykjil783zjpwp0vz7jy2fp9ccazzi3afd4fjk8gldin7f")))) + (build-system linux-module-build-system) + (arguments + `(#:tests? #f ; no tests + #:phases + (modify-phases %standard-phases + (replace 'build + (lambda args + (for-each + (lambda (module) + (with-directory-excursion module + (apply (assoc-ref %standard-phases 'build) args))) + '("ddcci" "ddcci-backlight")) + #t)) + (replace 'install + (lambda args + (for-each + (lambda (module) + (with-directory-excursion module + (apply (assoc-ref %standard-phases 'install) args))) + '("ddcci" "ddcci-backlight")) + #t))))) + (home-page "https://gitlab.com/ddcci-driver-linux/ddcci-driver-linux") + (synopsis "A pair of Linux kernel drivers for DDC/CI monitors") + (description "This package provide two Linux kernel drivers, ddcci and +ddcci-backlight, that allow the control of DDC/CI monitors through the sysfs +interface. The ddcci module create a character device for each DDC/CI monitors +in @file{/dev/bus/ddcci/[I²C busnumber]}. While the ddcci-backlight module +allow the control of the backlight level or luminance property when supported +under @file{/sys/class/backlight/}.") + (license license:gpl2+))) + ;;; ;;; Pluggable authentication modules (PAM).