Bug 4234

Summary: xcursor-transparent-theme should provide index.theme itself
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Wenzong.Fan <wenzong.fan>
Component: graphicsAssignee: Wenzong.Fan <wenzong.fan>
Status: VERIFIED INVALID QA Contact:
Severity: enhancement    
Priority: Medium CC: corneliux.stoicescu, liezhi.yang, meta.mr.watcher, meta.watcher, sgw, song.liu
Version: 1.4   
Target Milestone: 1.5   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Wenzong.Fan 2013-04-10 02:27:17 UTC
xcursor-transparent-theme doesn't provide index.theme by default, this might cause 'gtk-update-icon-cache -q /usr/share/icons/xcursor-transparent' failed on target:

Error: gtk-update-icon-cache: No theme index file
Comment 1 Wenzong.Fan 2013-04-17 02:45:14 UTC
The conclusion was that postinst should check if there is index.theme or ignore it missing, not adding index.theme.

The gtk-icon-cache class uses -t when updating the caches:

       --ignore-theme-index, -t
           Don't check for the existence of 'index.theme' in the icon theme
           directory. Without this option, gtk-update-icon-cache refuses to
           create an icon cache in a directory which does not appear to be the
           toplevel directory of an icon theme.

If someone is not using gtk-icon-cache.bbclass they either should, or
have a good reason and also use -t.
Comment 2 Stoicescu Cornel 2013-10-03 15:02:01 UTC
Setting to VERIFIED as per above comment. Please open a new bug if necessary.