Bug 753096

Summary: icon in desktop file
Product: Red Hat Enterprise Linux 5 Reporter: Karel Volný <kvolny>
Component: system-config-dateAssignee: Nils Philippsen <nphilipp>
Status: CLOSED WONTFIX QA Contact: qe-baseos-daemons
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.8CC: nphilipp
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-15 13:01:35 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 Karel Volný 2011-11-11 10:52:21 UTC
Description of problem:
see https://errata.devel.redhat.com/rpmdiff/show/54950?result_id=913749

although the actual error message isn't perfect - the alternative location is okay - it still reveals an error

according to packaging guidelines(*):
https://fedoraproject.org/wiki/Packaging:Guidelines#Icon_tag_in_Desktop_Files

the Icon entry should either cointain full path or just base file name without the ".png" extension - I'd strongly suggest the latter, as there are several variants of the icon also within redhat-artwork package

(*) which should apply here as I do not know of any RHEL-specific exception covering this case?


while at it, note also that the files
/usr/share/icons/hicolor/48x48/apps/system-config-date.png
and
/usr/share/system-config-date/pixmaps/system-config-date.png
are duplicate, binary equal

if the latter cannot be removed completely, I'd suggest symlinking


Version-Release number of selected component (if applicable):
system-config-date-1.8.12-5.el5.noarch


How reproducible:
always


Steps to Reproduce:
1. grep Icon /usr/share/applications/system-config-date.desktop
2. diff /usr/share/icons/hicolor/48x48/apps/system-config-date.png /usr/share/system-config-date/pixmaps/system-config-date.png ; echo $?

Actual results:
Icon=system-config-date.png
0

Expected results:
Icon=system-config-date
diff: /usr/share/system-config-date/pixmaps/system-config-date.png: No such file or directory
2


Additional info:

Comment 8 Nils Philippsen 2013-04-15 13:01:35 UTC
Unfortunately it's too late in the life cycle of Red Hat Enterprise Linux 5 to fix this bug. The upcoming 5.10 update is going to be the first production phase 2 release of Red Hat Enterprise Linux 5. From phase 2 on we'll be addressing primarily security and critical issues, therefore I'll close this ticket.