[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/13: gnu: Add libdisplay-info.
From: |
guix-commits |
Subject: |
09/13: gnu: Add libdisplay-info. |
Date: |
Sun, 18 Feb 2024 10:19:17 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit b23fd4fb3e345d7c17b0e668bf790d310426f02b
Author: Jaeme Sifat <jaeme@runbox.com>
AuthorDate: Mon Dec 18 23:25:52 2023 -0500
gnu: Add libdisplay-info.
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
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/wm.scm | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index 4efd98f11c..9abf505caf 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -2976,6 +2976,49 @@ for wayland conceptually based on the X11 window manager
@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))
+ (home-page "https://gitlab.freedesktop.org/emersion/libdisplay-info")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference (url home-page) (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))
+ (synopsis "EDID and DisplayID library")
+ (description
+ "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.
+@end enumerate")
+ (license license:expat))))
+
(define-public libucl
(package
(name "libucl")
- 01/13: services: block-facebook-hosts: Use proper unroutable addresses., (continued)
- 01/13: services: block-facebook-hosts: Use proper unroutable addresses., guix-commits, 2024/02/18
- 04/13: services: virtual-build-machine: Add periodic GC job., guix-commits, 2024/02/18
- 03/13: services: virtual-build-machine: Use a non-volatile root file system., guix-commits, 2024/02/18
- 05/13: services: virtual-build-machine: Add ‘configuration’ action., guix-commits, 2024/02/18
- 08/13: gnu: Add emacs-fdroid., guix-commits, 2024/02/18
- 13/13: gnu: bemenu: Install man pages, guix-commits, 2024/02/18
- 10/13: gnu: Add go-github-com-cli-safeexec., guix-commits, 2024/02/18
- 12/13: gnu: Add git-sizer., guix-commits, 2024/02/18
- 06/13: gnu: Add snapper., guix-commits, 2024/02/18
- 07/13: gnu: Add restartd., guix-commits, 2024/02/18
- 09/13: gnu: Add libdisplay-info.,
guix-commits <=
- 11/13: gnu: Add go-go-uber-org-goleak., guix-commits, 2024/02/18