From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id Uv/MD2QyxWC0CQEAgWs5BA (envelope-from ) for ; Sun, 13 Jun 2021 00:17:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id OI2eCmQyxWDWUAAAbx9fmQ (envelope-from ) for ; Sat, 12 Jun 2021 22:17:08 +0000 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 BB6232E7E8 for ; Sun, 13 Jun 2021 00:17:07 +0200 (CEST) Received: from localhost ([::1]:47584 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lsBwA-0003bl-Qe for larch@yhetil.org; Sat, 12 Jun 2021 18:17:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39398) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lsBw6-0003bK-P5 for guix-patches@gnu.org; Sat, 12 Jun 2021 18:17:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59003) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lsBw6-0002dQ-HN for guix-patches@gnu.org; Sat, 12 Jun 2021 18:17:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lsBw6-0001LA-Ex for guix-patches@gnu.org; Sat, 12 Jun 2021 18:17:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48989] [PATCH] gnu: Add ddcui. Resent-From: Brice Waegeneire Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 12 Jun 2021 22:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48989 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48989@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16235361815098 (code B ref -1); Sat, 12 Jun 2021 22:17:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Jun 2021 22:16:21 +0000 Received: from localhost ([127.0.0.1]:42316 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsBvQ-0001K9-WA for submit@debbugs.gnu.org; Sat, 12 Jun 2021 18:16:21 -0400 Received: from lists.gnu.org ([209.51.188.17]:35080) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsBvP-0001K2-V2 for submit@debbugs.gnu.org; Sat, 12 Jun 2021 18:16:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39372) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lsBvP-0003Zy-PP for guix-patches@gnu.org; Sat, 12 Jun 2021 18:16:19 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:49031) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lsBvN-00026g-LZ for guix-patches@gnu.org; Sat, 12 Jun 2021 18:16:19 -0400 Received: (Authenticated sender: brice@waegenei.re) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 84145C0005 for ; Sat, 12 Jun 2021 22:16:14 +0000 (UTC) From: Brice Waegeneire Date: Sun, 13 Jun 2021 00:16:06 +0200 Message-Id: <20210612221606.16297-1-brice@waegenei.re> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=217.70.183.198; envelope-from=brice@waegenei.re; helo=relay6-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1623536227; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: 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; bh=VlLp+NfUCVuaNgj5iBZS6MdMtfg7B2C7whzYX9UaVyU=; b=c6pD7W7Tm5lDq8tXf4KD7J52Kp9dPoKgCXzcqXeJsoVGyyFfns3e4l1jeUawn9SWM1qcaq LArCi3VKb14CccVZdgADi+bm8QK10B9RgOsE8jwuGCmyNgqAdFZd3LrUaA5q0rww9PKBd2 14pqZ4UlzohKX6TB5KRpk3MXL7QwK+vv/SBQXHQF8DXpR3fewExAogUnsLAoLfbaseje39 SVrJ61p4nO2Ds/GU7mrjiUjGpYhs5bim394m/jN7j/3PtiQk0guytEg0AKZYPejyZlSQXH sEnmcuUaxq6MhG5nD3UJ1o3xor/shmXot9QXW8+mnGcPz3GgAdAtYjb/hjMMrQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623536227; a=rsa-sha256; cv=none; b=H9zZCsPf7Ajwe6MjjN8JfnxIDnDxoDJxNyLoxGigayk0aNkesjAnQLFmD1DuOakjT+xwfH 2MFqEGe458rTWTSyNyM+9aYue2Mb1q8Y7UYEHKZWSnYLQ2pR6RWowkMO7nlUf0CVOMT6Zb ASI+VVrudrb4Mm3dUHw9YqCW2S7XFYTyT0oS9RT+XK1MBv1ral4HpgZFE+/TPbHTDLf+IU TQBWH5xK7VosNTSwVPrMswW/L0poVKyoR+X2EXLgvilnfEHlp96F66NpoH9+DZ8xnsIwmu nLP9M1IUB9MXGLkGyOPm7BheCiptFvKQIBhZyFgvGvIMIUkg3xo1e7auh1gEgQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 4.07 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: BB6232E7E8 X-Spam-Score: 4.07 X-Migadu-Scanner: scn0.migadu.com X-TUID: BFE7kWGjiUO6 * gnu/packages/hardware.scm (ddcui): New variable. --- gnu/packages/hardware.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm index ecbcca79b1..54370c928e 100644 --- a/gnu/packages/hardware.scm +++ b/gnu/packages/hardware.scm @@ -43,11 +43,13 @@ #:use-module (gnu packages polkit) #:use-module (gnu packages protobuf) #:use-module (gnu packages python) + #:use-module (gnu packages qt) #:use-module (gnu packages tls) #:use-module (gnu packages web) #:use-module (gnu packages xdisorg) #:use-module (gnu packages xml) #: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) @@ -100,6 +102,36 @@ calibrated, and restored when the calibration is applied.") (license (list license:bsd-3 ; FindDDCUtil.cmake license:gpl2+)))) ; everything else +(define-public ddcui + (package + (name "ddcui") + (version "0.1.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rockowitz/ddcui") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0myma1zw6dlygv3xbin662d91zcnwss10syf12q2fppkrd8qdgqf")))) + (build-system cmake-build-system) + (arguments + '(#:tests? #f)) ; No test suite + (native-inputs + `(("pkg-config" ,pkg-config) + ("qttools" ,qttools))) + (inputs + `(("ddcutil" ,ddcutil) + ("glib" ,glib) + ("qtbase" ,qtbase))) + (home-page "https://www.ddcutil.com/") + (synopsis "Graphical user interface for ddcutil") + (description "ddcui is a graphical user interface for ddcutil, implemented +using Qt. It provide a dynamic way to inspect and configure external monitors +through the Display Data Channel Command Interface (@dfn{DDC/CI}) protocol.") + (license (list license:gpl2+)))) + (define-public edid-decode (let ((commit "74b64180d67bb009d8d9ea1b6f18ad41aaa16396") ; 2020-04-22 (revision "1")) -- 2.31.1