* Stop generating ‘fonts-dir’ directories
@ 2020-01-02 10:28 kanichos
0 siblings, 0 replies; only message in thread
From: kanichos @ 2020-01-02 10:28 UTC (permalink / raw)
To: guix-devel
Hello.
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 X.org 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 directories.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-01-02 10:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-02 10:28 Stop generating ‘fonts-dir’ directories kanichos
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).