From 0d9b645937abfdddaf3d8088f81c58220c8d0026 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 10 Mar 2019 12:12:08 +0100 Subject: [PATCH] XXX gnu: font-terminus: Install X11 8-bit code pages. * gnu/packages/fonts.scm (font-terminus)[arguments]: Add a new phase to build & install 8-bit fonts that were installed by default pre-4.46. --- gnu/packages/fonts.scm | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm index 296e46ec6f..0d327a51b7 100644 --- a/gnu/packages/fonts.scm +++ b/gnu/packages/fonts.scm @@ -360,7 +360,16 @@ Biolinum is available in both Regular and Bold weights.") ("pkg-config" ,pkg-config) ("python" ,python))) (arguments - `(#:tests? #f)) ; no test target in tarball + `(#:tests? #f ; no test target in tarball + #:phases + (modify-phases %standard-phases + (add-after 'install 'install-more-bits + ;; X11 8-bit code pages are not installed by default (they were + ;; until version 4.46). Install them manually. + ;; XXX This builds at least as many fonts as the ‘build’ phase + ;; does. Split up into build- and install- when merging? + (lambda* (#:key make-flags outputs #:allow-other-keys) + (apply invoke "make" "install-pcf-8bit" make-flags)))))) (home-page "http://terminus-font.sourceforge.net/") (synopsis "Simple bitmap programming font") (description "Terminus Font is a clean, fixed-width bitmap font, designed -- 2.20.1