What about improving the desktop ports consistency: task 1, the fonts

Alberto Villa avilla at freebsd.org
Tue Feb 28 14:15:30 UTC 2012


On Tuesday 28 February 2012 14:57:20 Mel Flynn wrote:
> So the unexec is executed before the font is removed? The unexec 
makes
> sense if executed after the .ttf is removed.

I think it's executed *after* fonts removal.

> The cache should be updated
> then and if a directory tree is used by multiple ports this should
> effectively remove only the uninstalled font from the cache, while
> preserving the other fonts. So the unexec should be there for this case:
> 
> ./TTF/myport.ttf
> ./TTF/otherport/otherport.ttf

I've tried running `fc-cache -sv` on an empty font directory, but the cache 
wasn't updated (grepping /var/db/fontconfig for the file name returned a 
result, and running `fc-cache -v` with no directories removed that matching 
cache file), so I fail to see any effect of this invocation.

About all other things, I'm writing a patch for bsd.xorg.mk which I'll show 
you later.
-- 
Alberto Villa, FreeBSD committer <avilla at FreeBSD.org>
http://people.FreeBSD.org/~avilla

The great nations have always acted like gangsters and the small nations
like prostitutes.
		-- Stanley Kubrick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 314 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freebsd.org/pipermail/freebsd-desktop/attachments/20120228/8501807c/attachment.pgp


More information about the freebsd-desktop mailing list