Bug 178331 - kdebase: follow fdo icon spec
kdebase: follow fdo icon spec
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: kdebase (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Ngo Than
Ben Levenson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2006-01-19 10:10 EST by Rex Dieter
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version: 3.5.0-2
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-04-28 14:36:15 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Rex Dieter 2006-01-19 10:10:52 EST
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 14:36:15 EDT
It's there now, from the changelog: kdebase-3.5.0-2

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