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

Bug#197155: xbase-clients.postinst should generate Xft index in font directories



On 12.VI.2003 at 15:04 Branden Robinson wrote:
> 
> On Thu, Jun 12, 2003 at 06:33:47PM +0300, Anton Zinoviev wrote:
> > xbase-clients.postinst should invoke xftcache in font directories.
> 
> Why?  xbase-clients doesn't ship any fonts.
>
> > The Type1 packages doesn't depend on xbase-clients and xftcache should
> > be invoked in cases when xbase-clients is installed after all font
> > packages.
> 
> xbase-clients neither knows what place in the installation sequence it
> has relative to font packages, nor can it affect that place.

Exactly.  When it happens xbase-clients to be installed after all font
packages it is its job to invoke xftcache as in this case the font
packages does not have the chance to invoke xftcache.

Consider the relations between xfonts-scalable and xbase-clients.
When xfonts-scalable is installed after xbase-clients its postinst
invokes xftcache.  But when xbase-clients is installed after
xfonts-scalable, then 1) xfonts-scalable is not able to invoke
xftcache and 2) xbase-clients doesn't care to do so.  As a result no
font cache is generated.

During initial installation the user is not able to control the order
in which the packages are being installed but the final result of the
installation depends on this order.  This is not nice.

> > I am not sure but it seams that xutils is a better place for xftcache.
> > There are more library dependencies of xftcache though.
> 
> That's why xftcache is in xbase-clients.

OK.

Anton Zinoviev




Reply to: