Bug 768620

Summary: Icon cache not updated
Product: [Fedora] Fedora Reporter: Andrea Musuruane <musuruan>
Component: merkaartorAssignee: Sven Lankes <sven>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: opensource, sven
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-06 05:51:22 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Andrea Musuruane 2011-12-17 11:42:49 UTC
Description of problem:
If an application installs icons into one of the subdirectories in %{_datadir}/icons/ (such as hicolor), icon caches must be updated so that the installed icons show up in menus right after package installation:
https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Icon_Cache

Version-Release number of selected component (if applicable):
All

How reproducible:
Always

Steps to Reproduce:
1. Install merkaartor
  
Actual results:
Icon is not shown after install

Expected results:
Icon must be shown after install

Additional info:
Scriptlet to update the icon cache can be found here:
https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Icon_Cache

Comment 1 Sven Lankes 2012-06-04 20:44:56 UTC
Thanks for the report. This is fixed in the following rawhide-build:

http://koji.fedoraproject.org/koji/buildinfo?buildID=321998

The fix will enter the stable repos with the next minor version update.

Comment 2 Andrea Musuruane 2012-06-05 09:29:07 UTC
Any application installing icons to hicolor MUST Require hicolor-icon-theme.  The purpose of hicolor-icon-theme is to be required by any package which installs any icons. It contains no actual icons, but just an empty theme for applications to install their icons into.  Packages not doing that must be fixed.

Comment 3 Sven Lankes 2012-06-06 05:51:22 UTC
Fixed in http://koji.fedoraproject.org/koji/buildinfo?buildID=322212