[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Stop generating ‘fonts-dir’ directories

From: kanichos
Subject: Stop generating ‘fonts-dir’ directories
Date: Thu, 02 Jan 2020 13:28:17 +0300


Currently Guix attempts to ‘merge’ font packages which install themselves into 
the same file path by generating ‘…-fonts-dir’ directories with symbolic links 
and combined fonts.dir files.

Needless to say, it is completely broken. The server has not been 
following symbolic links to font files for some time now for security reasons.

This is the kind of hack required currently to make X server fonts work:
XFONTDIRS="$(realpath -z ~/.guix-profile/share/fonts/X11/*/!(fonts.dir) | sed 
's:[^/]*\x00:\x00:g' | sort -zu | tr '\0' ,)"

There appears to be simply no way to fix the current approach. The X server 
will not follow symbolic links. So there is not point in generating these font 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]