Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 May 2009 11:22:32 +0400
From:      Boris Samorodov <bsam@ipt.ru>
To:        Alexander Leidinger <Alexander@Leidinger.net>
Cc:        freebsd-emulation@FreeBSD.org
Subject:   Re: [linux] fontconfig and it's cache files
Message-ID:  <37172311@bb.ipt.ru>
In-Reply-To: <20090513084832.14297i6jsuyofcg8@webmail.leidinger.net> (Alexander Leidinger's message of "Wed\, 13 May 2009 08\:48\:32 %2B0200")
References:  <69348750@bb.ipt.ru> <20090513084832.14297i6jsuyofcg8@webmail.leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 13 May 2009 08:48:32 +0200 Alexander Leidinger wrote:
> Quoting Boris Samorodov <bsam@ipt.ru> (from Tue, 12 May 2009 16:22:25 +0400):

> > It seems to me that the best way to go is to populate
> > $LINUXBASE/var/cache when installing linux fontconfig
> > and remove it when deinstalling. As for -f10- linux
> > ports we may use a native fontconfig cache files until
> > new version starts to be incompatible.
> >
> > What do you think?

> Running the linux fc-config is not a clean solution, because it will
> not be re-run when a new font is installed.

Yea, hence the question.

> Unfortunately I have no better idea...

Would it be good to create a default fc-cache files and install
them with a port/package? We may add more fc-cache files upon
users requests.

> at least for F10 we would have the good behavior. In
> the light of the upcomming 8.0 release, I would say go ahead with this
> idea.

This will work until the fonts cache database structure changes...
And what about users of 7.x which use F8 linux ports and won't be
able to use F10 ports?

> I don't know if we should extend the fc-cache running in the font
> ports to also run the linux one if present or not. This is maybe
> something to discuss after 8.0-RELEASE is out the door.

Well, me too don't have an elegant solution. :-(


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37172311>