Bug 4234 - xcursor-transparent-theme should provide index.theme itself
Summary: xcursor-transparent-theme should provide index.theme itself
Status: VERIFIED INVALID
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: graphics (show other bugs)
Version: 1.4
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 1.5
Assignee: Wenzong.Fan
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-04-10 02:27 UTC by Wenzong.Fan
Modified: 2013-10-03 15:02 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.