GNU bug report logs - #67893
[PATCH] gnu: Add libdisplay-info.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: Jaeme Sifat <jaeme@HIDDEN>; Keywords: patch; dated Tue, 19 Dec 2023 04:32:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 19 Dec 2023 04:31:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 18 23:31:42 2023
Received: from localhost ([127.0.0.1]:33924 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rFRle-0001E8-2R
	for submit <at> debbugs.gnu.org; Mon, 18 Dec 2023 23:31:42 -0500
Received: from lists.gnu.org ([2001:470:142::17]:38738)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jaeme@HIDDEN>) id 1rFRlb-0001Du-MW
 for submit <at> debbugs.gnu.org; Mon, 18 Dec 2023 23:31:40 -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 <jaeme@HIDDEN>) id 1rFRlS-0000N4-OR
 for guix-patches@HIDDEN; Mon, 18 Dec 2023 23:31:31 -0500
Received: from mailtransmit05.runbox.com ([2a0c:5a00:149::26])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <jaeme@HIDDEN>) id 1rFRlP-0000Py-Bv
 for guix-patches@HIDDEN; Mon, 18 Dec 2023 23:31:30 -0500
Received: from mailtransmit02.runbox ([10.9.9.162] helo=aibo.runbox.com)
 by mailtransmit05.runbox.com with esmtps (TLS1.2) tls
 TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93)
 (envelope-from <jaeme@HIDDEN>) id 1rFRlI-00CgOc-QQ
 for guix-patches@HIDDEN; Tue, 19 Dec 2023 05:31:20 +0100
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; 
 s=selector2;
 h=Content-Transfer-Encoding:MIME-Version:Message-ID:Date:
 Subject:Cc:To:From; bh=dTf7C9QVGAqXok4cFikmiPOg4jYIRnXnQKxxdg61Rx8=; b=mRYhrF
 q6rFs+nynbLdR5DpgHNVkBJbHpoAJAYe8mHQMseXW7SEhFEUyLBfFwxCOVov9IJXOlCx/1VypYGYI
 43SyljZVkRyEhpdGabbvmi5aeZFrBSFTcSI6wQX8KSW8oAxFMxHJb5+RulEECTAnU1jQggSqb37QQ
 oRU2rgDH5S4I5D0UiK08xeTg2xIHiXHDVlBjok6h2+EIaFh+o7R5kDcFU28leJ1WDMzOBrZrmyuaZ
 9wBFENxnaqQXWIiRzDVa1Kte7MwQMgwgeZXin9jiENtWvjxiPYFZYUIrpZFUvRXqjzdM2WA2R+3Lm
 uzu48gY/cLdH3orxjWGvln6J9s6w==;
Received: from [10.9.9.72] (helo=submission01.runbox)
 by mailtransmit02.runbox with esmtp (Exim 4.86_2)
 (envelope-from <jaeme@HIDDEN>) id 1rFRlI-000636-Ds
 for guix-patches@HIDDEN; Tue, 19 Dec 2023 05:31:20 +0100
Received: by submission01.runbox with esmtpsa [Authenticated ID (1176697)]
 (TLS1.2:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.93) id 1rFRl8-002Hrg-91; Tue, 19 Dec 2023 05:31:10 +0100
From: Jaeme Sifat <jaeme@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: Add libdisplay-info.
Date: Mon, 18 Dec 2023 23:25:52 -0500
Message-ID: <5362cfe60c0941b05c88a684fab98935a690603c.1702959951.git.jaeme@HIDDEN>
X-Mailer: git-send-email 2.41.0
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=2a0c:5a00:149::26; envelope-from=jaeme@HIDDEN;
 helo=mailtransmit05.runbox.com
X-Spam_score_int: -27
X-Spam_score: -2.8
X-Spam_bar: --
X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.9 (/)
X-Debbugs-Envelope-To: submit
Cc: Jaeme Sifat <jaeme@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.1 (/)

libdisplay-info is a new dependency for the wlroots@HIDDEN update. As
seen here:

- https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/0.17.0

The 'fix-meson-file phase was ripped right out of the wlroots@HIDDEN
package. There was a surprise build dependency for Python in
generating the database.

* gnu/packages/wm.scm (libdisplay-info): New variable.

Change-Id: If6a466b902f4babdfb5bc9b3935c2d14f42ae662
---
 gnu/packages/wm.scm | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 82ef67a2e4..c9a9b728b7 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -2968,6 +2968,45 @@ (define-public cagebreak
 @command{ratpoison}.")
     (license license:expat)))

+(define-public libdisplay-info
+  (let ((commit "ebee35935dad01478ae1ae5ead298c4cd8018ac2")
+        (revision "0"))
+    (package
+      (name "libdisplay-info")
+      (version (git-version "0.2.0-dev" 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 `(,hwdata "pnp") python))
+      (home-page "https://gitlab.freedesktop.org/emersion/libdisplay-info")
+      (synopsis "EDID and DisplayID library")
+      (description
+       "A EDID and DisplayID library with the following goals:
+@enumerate
+@item    Provide a set of high-level, easy-to-use, opinionated functions
+         as well as low-level functions to access detailed information.
+@item    Simplicity and correctness over performance and resource usage.
+@item    Well-tested and fuzzed.
+@end enumerate")
+      (license license:expat))))
+
 (define-public libucl
   (package
     (name "libucl")

base-commit: 6454788a5cf79a217bda86d49a6e403cc803747f
--
2.41.0




Acknowledgement sent to Jaeme Sifat <jaeme@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#67893; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 20 Jan 2024 12:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.