slimming icon theme caches
dsd at laptop.org
Mon Nov 23 10:25:11 EST 2009
On Mon, 2009-11-23 at 15:19 +0000, Daniel Drake wrote:
> Previous OLPC OS builds (e.g. 8.2) included this in the build script:
> echo " - Slimming unnecessary icon theme caches."
> # these are useful only if disk seeks take a long time.
> # rather than remove them completely, we rebuild them as index-only
> # (ie, don't duplicate all the icon image data in the cache)
> for f in $INSTALL_ROOT/usr/share/icons/*/icon-theme.cache ; do
> gtk-update-icon-cache -fi --quiet $(dirname $f)
> This saved some disk space and presumably made olpc-update run a bit
> quicker (this file tends to change on a rebuild even if nothing else has
> Does anyone have an opinion whether it's still relevant for XO-1.5?
Looks like it originated from here:
Scott, do you have a minute to provide some input?
I guess your opinion will be that we should continue to use index-only
caches, given that we're still on flash memory?
More information about the Devel