From unknown Mon Jun 23 02:25:23 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#67893] [PATCH] gnu: Add libdisplay-info. Resent-From: Jaeme Sifat Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 19 Dec 2023 04:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 67893 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67893@debbugs.gnu.org Cc: Jaeme Sifat X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17029603024725 (code B ref -1); Tue, 19 Dec 2023 04:32:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Dec 2023 04:31:42 +0000 Received: from localhost ([127.0.0.1]:33924 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rFRle-0001E8-2R for submit@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 ) id 1rFRlb-0001Du-MW for submit@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 ) id 1rFRlS-0000N4-OR for guix-patches@gnu.org; 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 ) id 1rFRlP-0000Py-Bv for guix-patches@gnu.org; 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 ) id 1rFRlI-00CgOc-QQ for guix-patches@gnu.org; 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 ) id 1rFRlI-000636-Ds for guix-patches@gnu.org; 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 Date: Mon, 18 Dec 2023 23:25:52 -0500 Message-ID: <5362cfe60c0941b05c88a684fab98935a690603c.1702959951.git.jaeme@runbox.com> 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@runbox.com; 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) libdisplay-info is a new dependency for the wlroots@0.17.0 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@0.16.2 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 From unknown Mon Jun 23 02:25:23 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Jaeme Sifat Subject: bug#67893: closed (Re: [bug#67893] [PATCH] gnu: Add libdisplay-info.) Message-ID: References: <878r3hn7bm.fsf@gnu.org> <5362cfe60c0941b05c88a684fab98935a690603c.1702959951.git.jaeme@runbox.com> X-Gnu-PR-Message: they-closed 67893 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 67893@debbugs.gnu.org Date: Sun, 18 Feb 2024 15:04:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1708268642-6765-1" This is a multi-part message in MIME format... ------------=_1708268642-6765-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #67893: [PATCH] gnu: Add libdisplay-info. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 67893@debbugs.gnu.org. --=20 67893: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D67893 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1708268642-6765-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 67893-done) by debbugs.gnu.org; 18 Feb 2024 15:03:46 +0000 Received: from localhost ([127.0.0.1]:36333 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbihl-0001kT-Oo for submit@debbugs.gnu.org; Sun, 18 Feb 2024 10:03:46 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48458) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rbihg-0001k6-8Q for 67893-done@debbugs.gnu.org; Sun, 18 Feb 2024 10:03:44 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rbihF-0003Cs-LF; Sun, 18 Feb 2024 10:03:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=SiydNhaxxf9Lzud5z3y3MT8zkbDpyarsOLxUjYDk7X8=; b=BznFjPeDx5pnwjwVg0EF lubl+EfGjJL00oKAONpxgBcTjUXJX6qs1P5LZSBp61oOoHBRIWVaKA4RD/XwVKQzPGeDKnZDI2CK2 VzzsrigBKRgxIRsdhLXoS0I4k9YLyKCEuMgTZno06ON8J1c4uhNEP+I4kT5qCVznj047nTXp1RCvZ a38sRelyKRjThyUVWUbUXtJDa29AcHqGf6ofvszVcOJdK0dPXKDeVYuA7C5pSZWwKM9NnASPUmpIM IHWqfvJ0BlK7ce4SXKL0gl5xRZ7hBb5Nn3DWGbR4wd8oqMqu7FAd2fwWJWsbTRtmNO2PhrIs88yZn HkPslPV/9hLfhw==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Jaeme Sifat Subject: Re: [bug#67893] [PATCH] gnu: Add libdisplay-info. In-Reply-To: <5362cfe60c0941b05c88a684fab98935a690603c.1702959951.git.jaeme@runbox.com> (Jaeme Sifat's message of "Mon, 18 Dec 2023 23:25:52 -0500") References: <5362cfe60c0941b05c88a684fab98935a690603c.1702959951.git.jaeme@runbox.com> Date: Sun, 18 Feb 2024 16:03:09 +0100 Message-ID: <878r3hn7bm.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: 67893-done Cc: 67893-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.2 (-----) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, Jaeme Sifat skribis: > libdisplay-info is a new dependency for the wlroots@0.17.0 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@0.16.2 > package. There was a surprise build dependency for Python in > generating the database. > > * gnu/packages/wm.scm (libdisplay-info): New variable. > > Change-Id: If6a466b902f4babdfb5bc9b3935c2d14f42ae662 Applied with the cosmetic changes below, thanks! Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 4c7f19d3ef..9abf505caf 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -2982,12 +2982,11 @@ (define-public libdisplay-info (package (name "libdisplay-info") (version (git-version "0.2.0-dev" revision commit)) + (home-page "https://gitlab.freedesktop.org/emersion/libdisplay-info") (source (origin (method git-fetch) - (uri (git-reference - (url "https://gitlab.freedesktop.org/emersion/libdisplay-info") - (commit commit))) + (uri (git-reference (url home-page) (commit commit))) (file-name (git-file-name name version)) (sha256 (base32 "1ly8acdjxn8l55y0wc07n7pb6rzh9dpr1vbsakdib2zrl0i5yh3a")))) @@ -3003,15 +3002,20 @@ (define-public libdisplay-info "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: + "This package provides a library to read @acronym{EDID, Extended +Display Identification Data} and DisplayID metadata from display devices. It +has 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. +@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)))) --=-=-=-- ------------=_1708268642-6765-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 19 Dec 2023 04:31:42 +0000 Received: from localhost ([127.0.0.1]:33924 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rFRle-0001E8-2R for submit@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 ) id 1rFRlb-0001Du-MW for submit@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 ) id 1rFRlS-0000N4-OR for guix-patches@gnu.org; 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 ) id 1rFRlP-0000Py-Bv for guix-patches@gnu.org; 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 ) id 1rFRlI-00CgOc-QQ for guix-patches@gnu.org; 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 ) id 1rFRlI-000636-Ds for guix-patches@gnu.org; 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 To: guix-patches@gnu.org Subject: [PATCH] gnu: Add libdisplay-info. Date: Mon, 18 Dec 2023 23:25:52 -0500 Message-ID: <5362cfe60c0941b05c88a684fab98935a690603c.1702959951.git.jaeme@runbox.com> 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@runbox.com; 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 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) libdisplay-info is a new dependency for the wlroots@0.17.0 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@0.16.2 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 ------------=_1708268642-6765-1--