From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 0PkeF6cbkGUYxwAAkFu2QA (envelope-from ) for ; Sat, 30 Dec 2023 14:31:19 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id uJoUEacbkGX9kgAA62LTzQ (envelope-from ) for ; Sat, 30 Dec 2023 14:31:19 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=redscript.org header.s=mail1-rsa header.b=GjPbObM+; dkim=fail ("headers eddsa verify failed") header.d=redscript.org header.s=mail1-ed25519 header.b=Q59mcD+T; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1703943079; h=from:from:sender:sender:reply-to: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:dkim-signature; bh=FHZ6GEXqzwRo64zT6z1QBqWfuwFUblT32jvQk4c47aQ=; b=MafPrhR4urKzJw+uErHZmqsFckW1giMHTj0ObTeuj7LsIFYt+IPvdrTh5eUjBeik/uc0u1 3G241FCCGYgVIxoA72DyzjDGRS/NQCofjJHT/h7Jdif9WKEler8MfX6IJMQdEyxhxEAqSp G3Cfxly9HgRNLvnHdJJtraH1gHWde+k5jJGjDPpMdLScwyHCvh5rmcI+OJI+qDLRSNrhmF ZmWwKY19iwA6n+beGSxZUgxFMe0afBgU7imDe72M1Anj2EVmQRDLUq6kMhYD2GGY0LUIoW qAf5zZypnIRJGWxMYF0TdH6Vvh1m3UHx/4dHmleIDfvXx+d+OCF15S8RDfgv9A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1703943079; a=rsa-sha256; cv=none; b=efq5TIJu3FoYFzw7f1tSEEovJwz5X2tyY1EdrLVwYMGxcjOioBlogr/vxweG9CeNEk9i0A HeDo/AKfVuZFH5OBJpDMrid7OIkXbdTQ2nkdIBoYAotnuwO0Bce6K8vrjNHG18ENVUOMfl g6Ptasn1sJCftKTFvq59R+ENe9e09UsrIVJPES0vuJ2dwzx9CCNjwXPruy13aR75nG0lgY xsXCMOT406CgLRMYyJ/SVxt45XQvPxu8OTV6Q3OskVKsfqaFgcQ0Vns/NpPVkmA9heDFPP ly4wqfQWQAHB8IrrbCHWlPX81HS2anEvVNTSr9wH/i/2wAcBj4kBZ873NJ+dIw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=redscript.org header.s=mail1-rsa header.b=GjPbObM+; dkim=fail ("headers eddsa verify failed") header.d=redscript.org header.s=mail1-ed25519 header.b=Q59mcD+T; 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"; dmarc=pass (policy=none) header.from=gnu.org 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 9D9A638F04 for ; Sat, 30 Dec 2023 14:31:18 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rJZQe-0003gn-Vx; Sat, 30 Dec 2023 08:31:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rJZQc-0003eu-6F for guix-patches@gnu.org; Sat, 30 Dec 2023 08:31:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rJZQb-0006hA-TS for guix-patches@gnu.org; Sat, 30 Dec 2023 08:31:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rJZQc-0007NH-DS for guix-patches@gnu.org; Sat, 30 Dec 2023 08:31:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68146] [PATCH 1/3] gnu: Add libdisplay-info. Resent-From: Ahmad Draidi Original-Sender: "Debbugs-submit" Resent-CC: , guix-patches@gnu.org Resent-Date: Sat, 30 Dec 2023 13:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68146 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68146@debbugs.gnu.org Cc: Ahmad Draidi , ( , Christopher Baines , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Raghav Gururajan , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice , jgart X-Debbugs-Original-Xcc: ( , Christopher Baines , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Raghav Gururajan , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice , jgart Received: via spool by 68146-submit@debbugs.gnu.org id=B68146.170394304726712 (code B ref 68146); Sat, 30 Dec 2023 13:31:02 +0000 Received: (at 68146) by debbugs.gnu.org; 30 Dec 2023 13:30:47 +0000 Received: from localhost ([127.0.0.1]:43299 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rJZQM-0006w5-C8 for submit@debbugs.gnu.org; Sat, 30 Dec 2023 08:30:46 -0500 Received: from rainycloud.ext.redscript.org ([2402:28c0:4:1081::1]:33324) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rJZQJ-0006fH-IA for 68146@debbugs.gnu.org; Sat, 30 Dec 2023 08:30:44 -0500 Received: from localhost.localdomain (bba-2-51-3-250.alshamil.net.ae [2.51.3.250]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by rainycloud.ext.redscript.org (Postfix) with ESMTPSA id 990F07BB; Sat, 30 Dec 2023 13:30:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redscript.org; s=mail1-rsa; t=1703943035; h=from:from: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: in-reply-to:in-reply-to:references:references; bh=FHZ6GEXqzwRo64zT6z1QBqWfuwFUblT32jvQk4c47aQ=; b=GjPbObM+ToS2yuO+eYZYDub1GCengi+1mSmcs3sQBljsD4CuPQ0K9N8HURnfWj/fjkubbj v+07L3vjktGDQv+qId/8EfWc0Qx7yt3/520Q7iZzOKeEtY2deKw7olUVbkBKds7DvvNQnG K5MHJahEvQJldksxpIOxXHZgwWhKetsXTjEqUTcsfdHh3P62nQUxnhZ4OmT9JRb6Cy573s l5JbDdHYrJfbGvS+kWztbk1TVVELj2ilg6MJDsB74LJIufJVTrQSprJwE59ebVfBg+6dax 2qgHHoDN95pPAV6YuCG3HmUHMNY94BuePI1+uhS1Golkg3BLvfO3Ljuo9lgZFAC2k+W5kD 8foq7Pixd1YHr7qLUw6mPXTYCxDBwKC55ksSszGKhRzDH+UegKLwVBfrGMKFaMaGZBd1NT wrJTbzFFnrFjqm8R6I8HQUIawnZ0cN7Li2Avh0hsF6YmFfW8+UOLtkXLM32jQGF9SEROJv PHHz3dxt46KbJ2/RwDDDnjQRs9ed5vm4RCJ+Llq7RKoEViSa8sUjOFprnkTXuPYIYgfqLl 7rpKulyrLMdHFvXgA0IM/3dJODbp/E8M3Ct4mhHiigCDrATYFnMDEO0Zc0us9YV6wRAiLr LUdnfw0f9/XS5sfVDpPfCqevOFO4REda5V0jj8s3R2+CsDKxwm5Nw= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=redscript.org; s=mail1-ed25519; t=1703943035; h=from:from: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: in-reply-to:in-reply-to:references:references; bh=FHZ6GEXqzwRo64zT6z1QBqWfuwFUblT32jvQk4c47aQ=; b=Q59mcD+TM7wmvvehz7V/MAyQEYnJ2syHEMbfyHjJD7OKShfFjH3RxJPbiVpRGoObn9kppM sv+sd+IPPK0KF0BQ== Date: Sat, 30 Dec 2023 17:28:46 +0400 Message-ID: <955298d0cd8d6fb1ade9984cfe2dde234d64f6c9.1703942286.git.a.r.draidi@redscript.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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: , Reply-to: Ahmad Draidi X-ACL-Warn: , Ahmad Draidi via Guix-patches From: Ahmad Draidi via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -6.74 X-Spam-Score: -6.74 X-Migadu-Queue-Id: 9D9A638F04 X-Migadu-Scanner: mx11.migadu.com X-TUID: RtFDyHIhWp8R * gnu/packages/freedesktop.scm (libdisplay-info): New variable. Change-Id: Id9d8a7c92f58a89310d52e62c335f932acb0adb3 --- gnu/packages/freedesktop.scm | 40 ++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index 648ebad408..9cf7804f10 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -33,6 +33,7 @@ ;;; Copyright © 2022 Petr Hodina ;;; Copyright © 2022 muradm ;;; Copyright © 2023 Alex Devaure +;;; Copyright © 2023 Ahmad Draidi ;;; ;;; This file is part of GNU Guix. ;;; @@ -97,6 +98,7 @@ (define-module (gnu packages freedesktop) #:use-module (gnu packages graphviz) #:use-module (gnu packages gstreamer) #:use-module (gnu packages gtk) + #:use-module (gnu packages hardware) #:use-module (gnu packages hunspell) #:use-module (gnu packages ibus) #:use-module (gnu packages image) @@ -114,6 +116,7 @@ (define-module (gnu packages freedesktop) #:use-module (gnu packages package-management) #:use-module (gnu packages perl) #:use-module (gnu packages perl-check) + #:use-module (gnu packages pciutils) #:use-module (gnu packages pkg-config) #:use-module (gnu packages polkit) #:use-module (gnu packages python) @@ -2102,6 +2105,43 @@ (define-public colord-gtk that wish to perform colour calibration.") (license license:lgpl2.1+))) +(define-public libdisplay-info + ;; Latest commit passes tests while 0.1.1 doesn't + (let ((commit "ebee35935dad01478ae1ae5ead298c4cd8018ac2") + (revision "1")) + (package + (name "libdisplay-info") + (version (git-version "0.1.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.freedesktop.org/emersion/libdisplay-info") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1ly8acdjxn8l55y0wc07n7pb6rzh9dpr1vbsakdib2zrl0i5yh3a")))) + (build-system meson-build-system) + (arguments + (list + #:phases #~(modify-phases %standard-phases + (add-before 'configure 'fix-meson-file + (lambda* (#:key native-inputs inputs #:allow-other-keys) + (substitute* "meson.build" + (("/usr/share/hwdata/pnp.ids") + (string-append (assoc-ref (or native-inputs inputs) + "hwdata") + "/share/hwdata/pnp.ids")))))))) + (native-inputs (list edid-decode + `(,hwdata "pnp") pkg-config python-wrapper)) + (home-page "https://gitlab.freedesktop.org/emersion/libdisplay-info") + (synopsis "EDID and DisplayID library") + (description + "libdisplay-info is an EDID and DisplayID library that provides a set of + high-level, easy-to-use, opinionated functions as well as low-level functions +to access detailed information.") + (license license:expat)))) + (define-public libfprint (package (name "libfprint") -- 2.41.0