Skip to content
  • Gaetan Nadon's avatar
    Default font path: remove the check for ${sysconfdir}/X11/fontpath.d · 99bee6c0
    Gaetan Nadon authored and Keith Packard's avatar Keith Packard committed
    
    
    The location ${sysconfdir}/X11/fontpath.d is unknown at configuration time
    (only at make time) as evidenced by the configuration output:
    
        checking for ${prefix}/etc/X11/fontpath.d... no
    
    Unlike font-util for the X fonts, there is no mechanism to query where
    fontpath.d is. Fedora have chosen /etc/X11 and others have followed, but this
    is not a standard. It might also be installed at another location, it may or may
    not be under the xserver installation prefix. We just don't know. Debian does
    not use this at all.
    
    Distros are using --with-default-path when they support fontpath.d, so they
    never relied on the server default as it never worked.
    
    The patch essentially is a noop, which leaves the door open for anyone who
    could potentially provide a reliable implementation of choosing fontpath.d
    when applicable.
    
    Signed-off-by: default avatarGaetan Nadon <memsize@videotron.ca>
    Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
    99bee6c0