[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/11: services: console-font, kmscon: Refer to native 'font-gnu-unifont
From: |
guix-commits |
Subject: |
09/11: services: console-font, kmscon: Refer to native 'font-gnu-unifont' builds. |
Date: |
Fri, 24 Feb 2023 18:07:36 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit d00c2e9c2b75bc2c259947a56d1245d50d000e68
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Fri Feb 24 23:41:05 2023 +0100
services: console-font, kmscon: Refer to native 'font-gnu-unifont' builds.
Fixes a regression introduce in 01334a61c7541d8ae29c5252e2e5b3ed7a59c552
that would prevent system cross-compilation (with "guix system image
--target=...") due to 'font-gnu-unifont' depending on 'perl-gd', which
currently cannot be cross-compiled.
* gnu/services/base.scm (%default-console-font, kmscon-service-type):
Refer to 'font-gnu-unifont' with 'ungexp-native'.
---
gnu/services/base.scm | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index 35b03a877b..7ad1e765bd 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -824,7 +824,10 @@ host names."
of console keymaps with @command{loadkeys}.")))
(define %default-console-font
- #~(string-append #$font-gnu-unifont:psf
+ ;; Note: the 'font-gnu-unifont' package cannot be cross-compiled (yet), but
+ ;; its "psf" output is the same whether it's built natively or not, hence
+ ;; 'ungexp-native'.
+ #~(string-append #+font-gnu-unifont:psf
"/share/consolefonts/Unifont-APL8x16.psf.gz"))
(define (console-font-shepherd-services tty+font)
@@ -2575,7 +2578,7 @@ notably to select, copy, and paste text. The default
options use the
;; TODO: Make this configurable.
#:environment-variables
(list (string-append "XDG_DATA_DIRS="
- #$font-gnu-unifont "/share"))))
+ #+font-gnu-unifont "/share"))))
(stop #~(make-kill-destructor)))))
(description "Start the @command{kmscon} virtual terminal emulator for the
Linux @dfn{kernel mode setting} (KMS).")))
- branch master updated (df8b8f0c76 -> b12ee1ee5b), guix-commits, 2023/02/24
- 02/11: gnu: binutils-gold: Remove input label., guix-commits, 2023/02/24
- 07/11: gnu: python-paste: Update to 3.5.2., guix-commits, 2023/02/24
- 03/11: gnu: perl-gd: Remove input labels., guix-commits, 2023/02/24
- 04/11: gnu: perl-gd: Use gexps., guix-commits, 2023/02/24
- 05/11: gnu: goffice@0.8: Remove input labels., guix-commits, 2023/02/24
- 08/11: gnu: guix-icons: Never cross-compile., guix-commits, 2023/02/24
- 06/11: gnu: libgc: Define properties for the 'generic-html' updater., guix-commits, 2023/02/24
- 09/11: services: console-font, kmscon: Refer to native 'font-gnu-unifont' builds.,
guix-commits <=
- 10/11: gnu: Add postmarketos-theme., guix-commits, 2023/02/24
- 11/11: gnu: Add python-spherical-geometry., guix-commits, 2023/02/24
- 01/11: gnu: python: Remove input labels., guix-commits, 2023/02/24