From patchwork Sun Feb 18 15:03:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ludovic_Court=C3=A8s?= X-Patchwork-Id: 60475 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 4606927BBE2; Sun, 18 Feb 2024 15:04:05 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7235427BBE9 for ; Sun, 18 Feb 2024 15:04:03 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rbihj-0007cq-7T; Sun, 18 Feb 2024 10:03:43 -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 1rbihi-0007cZ-BV for guix-patches@gnu.org; Sun, 18 Feb 2024 10:03:42 -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 1rbihi-0003HR-3Y for guix-patches@gnu.org; Sun, 18 Feb 2024 10:03:42 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rbii2-0001lE-EP for guix-patches@gnu.org; Sun, 18 Feb 2024 10:04:02 -0500 Subject: bug#67893: [PATCH] gnu: Add libdisplay-info. Resent-From: Ludovic =?utf-8?q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Sun, 18 Feb 2024 15:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 67893 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Jaeme Sifat Cc: 67893-done@debbugs.gnu.org Mail-Followup-To: 67893@debbugs.gnu.org, ludo@gnu.org, jaeme@runbox.com Received: via spool by 67893-done@debbugs.gnu.org id=D67893.17082686266730 (code D ref 67893); Sun, 18 Feb 2024 15:04:02 +0000 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: Ludovic =?utf-8?q?Court=C3=A8s?= 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 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches 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’. 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))))