Font packages changes required for dropping chkfontpath/xfs

Mamoru Tasaka mtasaka at ioa.s.u-tokyo.ac.jp
Mon Jul 30 19:26:55 UTC 2007


>From packaging issue:

Kristian Høgsberg wrote, at 07/31/2007 03:52 AM +9:00:
> Hi all,
> 
> As you may know, xfs and chkfontpath is going away for Fedora 8.
> 
> Third party font packages, if any, will need to drop their configuration
> symlink in /etc/X11/fontpath.d rather than run chkfontpath. 
> 
> What I've done for the packages I've updates (the xorg-x11 font
> packages) is to install the symlink in %install and just list it in the
> %files section. 
> 
>         %define fontdir %{_datadir}/fonts/default/ghostscript
>         %define catalogue /etc/X11/fontpath.d
>         ...
>         
>         %install
>         ...
>         # Install catalogue symlink                                                     
>         mkdir -p $RPM_BUILD_ROOT%{catalogue}
>         ln -sf %{fontdir} $RPM_BUILD_ROOT%{catalogue}/ghostscript

The symlink should be not absolute but relative, shouldn't be?

Mamoru




More information about the Fedora-maintainers mailing list