Bug 178322 - kdelibs: follow fdo icon spec
Summary: kdelibs: follow fdo icon spec
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: kdelibs
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Than Ngo
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-01-19 14:10 UTC by Rex Dieter
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-01-25 16:02:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Rex Dieter 2006-01-19 14:10:10 UTC
Per fdo icon spec and http://fedoraproject.org/wiki/ScriptletSnippets (Gtk+ 
Icon cache), something like the following should be added: 
 
%post 
for icon_theme in crystalsvg hicolor ; do 
  touch --no-create %{_datadir}/icons/${icon_theme} ||: 
  gtk-update-icon-cache -q %{_datadir}/icons/${icon_theme} 2> /dev/null ||: 
done 
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : 
 
%postun 
for icon_theme in crystalsvg hicolor ; do 
  touch --no-create %{_datadir}/icons/${icon_theme} ||: 
  gtk-update-icon-cache -q %{_datadir}/icons/${icon_theme} 2> /dev/null ||: 
done 
 
And while we're on the topic, wouldn't hurt to add 
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : 
to both %post/%postun to register kdelibs' apps that contain 
MimeType= 
in their .desktop files.

Comment 1 Rex Dieter 2006-01-19 15:33:18 UTC
Upon closer inspection, kdelibs doesn't put anything in hicolor/ so references  
to it should be omitted, ie, use  
<code>  
for icon_theme in crystalsvg ; do 
</code> 
instead. 

Comment 2 Than Ngo 2006-01-25 16:02:01 UTC
it's now fixed in CVS, it will be included in next rebuild. Thanks for your report.


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