Re: Font packages changes required for dropping chkfontpath/xfs

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

 



On Tue, 2007-07-31 at 04:26 +0900, Mamoru Tasaka wrote:
> >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?

Which will do you exactly no good, because the only path component they
have in common, is / .

Seriously.  What does a relative symlink win you here?

- ajax

--
Fedora-maintainers mailing list
Fedora-maintainers@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-maintainers

--
Fedora-maintainers-readonly mailing list
Fedora-maintainers-readonly@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-maintainers-readonly

[Index of Archives]     [Fedora Users]     [Fedora Development]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux