Bug 166989 - redhat-artwork iconcache fails for some situations
Summary: redhat-artwork iconcache fails for some situations
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: redhat-artwork
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: John (J5) Palmieri
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-08-29 14:37 UTC by Sammy
Modified: 2013-03-13 04:48 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-10-03 04:32:50 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Sammy 2005-08-29 14:37:43 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.4; Linux; X11; en_US) KHTML/3.4.2 (like Gecko)

Description of problem:
The update of the rpm fails with error messages under these conditions: 
 
1. There are other directories in /usr/share/icons e.g. for custom cursors, that do 
     not contain index.theme files. 
 
2. Custom icon directories that have index.desktop instead of index.theme 
 
3. Icon theme files (or desktop) that contain the header [KDE Icon Theme] instead of 
    just [Icon Theme] 
 
 
It should be easy to sweep through the directories and check/fix these in %post. I 
would suggest: 
 
 1. Ignore directories that do not contain either index.theme or index.desktop file 
 2. Rename index.desktop files to index.theme (or generalize iconcache to look for 
      either) 
 3. Either fix the KDE presence or modify iconcache to consider that too. 

Version-Release number of selected component (if applicable):
redhat-artwork-0.128-1

How reproducible:
Always

Steps to Reproduce:
1. Try to update redhat-artwork on a system containing custom icon/cursor directories 
2. 
3. 
   

Additional info:

Comment 1 Matthias Clasen 2005-10-03 04:32:50 UTC
no idea what index.desktop files could be, but the %post hook checks for
index.theme now.


Note You need to log in before you can comment on or make changes to this bug.