Bug 178331

Summary: kdebase: follow fdo icon spec
Product: [Fedora] Fedora Reporter: Rex Dieter <rdieter>
Component: kdebaseAssignee: Than Ngo <than>
Status: CLOSED CURRENTRELEASE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 3.5.0-2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-04-28 18:36:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Rex Dieter 2006-01-19 15:10:52 UTC
Similar to kdelibs' bug #178322 ... 
 
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  
  
Also wouldn't hurt to add  
update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :  
to both %post/%postun to register  apps that contain  
MimeType=  
in their .desktop files.

Comment 1 Rex Dieter 2006-04-28 18:36:15 UTC
It's there now, from the changelog: kdebase-3.5.0-2