all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* 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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.