This is an automated email from the git hooks/post-receive script.
guix_mirror_bot pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new d0d38c012d7 gnu: font-terminus: Also install fontconfig configuration
file.
d0d38c012d7 is described below
commit d0d38c012d70b6489d9205e4845abdd1257a7775
Author: Sören Tempel <[email protected]>
AuthorDate: Sat Sep 19 17:54:43 2026 +0200
gnu: font-terminus: Also install fontconfig configuration file.
Without this fontconfig file, font-terminus cannot be used because
starting with fontconfig 2.17, upstream disables bitmap fonts by default
(see #10910). Unfortunately, enabling this fontconfig file requires
tweaking the `home-fontconfig-service-type`, thus the package does not
work out-of-the-box. However, providing the 75-yes-terminus.conf file
together with the package makes it easier to configure the service.
Also note that, for other font packages, we already provide such files
via conf.avail. For example, font-dejavu or font-comic-neue.
An exemplary Guix home configuration may look as follows:
(modify-services (essential-services home-environment)
(home-fontconfig-service-type
config =>
(append
config
(let ((fc-dir "~/.guix-home/profile/share/fontconfig"))
(list `(include ,(string-append
fc-dir
"/conf.avail/75-yes-terminus.conf")))))))
* gnu/packages/fonts.scm (font-terminus)
[arguments] <#:phases>: Add 'install-fontconfig phase.
---
gnu/packages/fonts.scm | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/fonts.scm b/gnu/packages/fonts.scm
index 3c90568f469..57d667cb985 100644
--- a/gnu/packages/fonts.scm
+++ b/gnu/packages/fonts.scm
@@ -1105,7 +1105,12 @@ letters to account for regional differences.")
(install-file "README"
(string-append directory "/share/doc/"
,name "-" ,version))))
- outputs))))))
+ outputs)))
+ (add-after 'install 'install-fontconfig
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (install-file "75-yes-terminus.conf"
+ (string-append out
"/share/fontconfig/conf.avail"))))))))
(native-inputs
(list bdftopcf font-util mkfontdir pkg-config python))
(home-page "https://terminus-font.sourceforge.net/")