Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Feb 2012 15:15:23 +0100
From:      Alberto Villa <avilla@freebsd.org>
To:        Mel Flynn <rflynn@acsalaska.net>
Cc:        freebsd-desktop@freebsd.org
Subject:   Re: What about improving the desktop ports consistency: task 1, the fonts
Message-ID:  <201202281515.26594.avilla@freebsd.org>
In-Reply-To: <4F4CDD40.1030906@acsalaska.net>
References:  <20120120065141.GM4729@azathoth.lan> <201202281314.13503.avilla@freebsd.org> <4F4CDD40.1030906@acsalaska.net>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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@FreeBSD.org>
http://people.FreeBSD.org/~avilla

The great nations have always acted like gangsters and the small nations
like prostitutes.
		-- Stanley Kubrick

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)

iJwEAAECAAYFAk9M4X4ACgkQ3xiC6kQ1CovUAwQAifyKs97C6DlS8jLcLhCImi2A
viOodESpoO4D9Fpxyk/K9nn50hu/kEItazcyhiLS3vjBTW8YRooaxi0brX+i0ydM
3GgTTzRVdMOc/7i5C0qngN5xpbo7urkzM5vPtMZEW1lHHkSGFzXGZkjJ9kT5scju
GaF9FgQHO3znW0QUnuw=
=L7vj
-----END PGP SIGNATURE-----

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