From 48fea09d68d575e82c986c93785786165bd95f82 Mon Sep 17 00:00:00 2001 From: Ashvith Shetty Date: Fri, 11 Jul 2025 13:48:50 +0530 Subject: [PATCH] gnu: Add xiccd. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/xdisorg.scm (xiccd): New variable. Closes: #1168 Change-Id: Ie33e8109dc37ce701ca41f81bfd8c4fee1b97827 Signed-off-by: 宋文武 --- gnu/packages/xdisorg.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index fcb4f4bfa31c4fff2178d0f0dcbe22e9453c6db7..ae8d5fb4cc3293831ec754adc5529bba96510c15 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -4334,6 +4334,45 @@ on the screen and which then writes out the necessary C code for it.") (synopsis "GUI toolkit for X based on the X11 Xlib library, with OpenGL support"))) +(define-public xiccd + (let* ((version "0.4.1") + (tag (string-append "v" version))) + (package + (name "xiccd") + (version version) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/agalakhov/xiccd") + (commit tag))) + (file-name (git-file-name name version)) + (sha256 + (base32 "01favi5v4qbpj6v6k6iab7wxhjy4vjnqwcykhhv2rgcqw5dx4w4a")) + (modules '((guix build utils))) + (snippet '(begin + (substitute* "configure.ac" + (("m4_esyscmd_s\\([^\n\\(\\)\\[\\]]*\\)") + #$tag) + (("tar-ustar") + "tar-ustar foreign")) #t)))) + (build-system gnu-build-system) + (inputs (list colord glib libx11 libxrandr)) + (native-inputs (list autoconf automake gettext-minimal libtool + pkg-config)) + (home-page "https://github.com/agalakhov/xiccd") + (synopsis "X color profile daemon") + (description + "@command{xiccd} provides color profile support for desktop environments +other than GNOME and KDE. It does the following tasks: +@itemize +@item Enumerates displays and register them in colord. +@item Creates default ICC profiles based on EDID data. +@item Applies ICC profiles provided by colord. +@item Maintains user's private ICC storage directory. +@end itemize") + (license license:gpl3)))) + (define-public xxkb (package (name "xxkb")