[OE-core] [oe-commits] Jackie Huang : gdk-pixbuf: fix the postinstall script failure when no icon is installed

Burton, Ross ross.burton at intel.com
Fri Aug 17 07:21:48 UTC 2012


On 17 August 2012 02:48, jhuang0 <jackie.huang at windriver.com> wrote:
> Yeah, it would be better for the postinstall script, but for
> xcursor-transparent-theme without index.theme file, is it still a problem?

Running gtk-update-icon-cache doesn't make sense on themes without an
index.theme, because without an index.theme there are not any icons to
cache (xcursor themes are different).  From the man page:

"It expects to be given the path to a icon theme directory containing
an index.theme, e.g.  /usr/share/icons/hicolor, and writes a
icon-theme.cache containing cached information about the icons in the
directory tree below the given directory."

Use -t to gtk-update-icon-cache, or filter the list of directories to
only include ones with index.theme files.  Either is appropriate.

Ross




More information about the Openembedded-core mailing list