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

jhuang0 jackie.huang at windriver.com
Fri Aug 17 09:29:43 UTC 2012



On 8/17/2012 3:21 PM, Burton, Ross wrote:
> 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

I see, so themes without an index.theme is not an issue, postinstall 
script should handle this case, I will change to call 
gtk-update-icon-cache only for themes with index.theme just as Martin's 
suggestion.

Thanks,
Jackie

> 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
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
>

-- 
Jackie Huang
WIND RIVER | China Development Center
MSN:jackielily at hotmail.com
Tel: +86 8477 8594
Mobile: +86 138 1027 4745




More information about the Openembedded-core mailing list