Bug 415387

Summary: Application icon is not installed
Product: [Applications] ktimetracker Reporter: Wolfgang Bauer <wbauer1>
Component: generalAssignee: Alexander Potashev <aspotashev>
Status: RESOLVED FIXED    
Severity: minor    
Priority: NOR    
Version: 5.0.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Wolfgang Bauer 2019-12-20 11:17:16 UTC
ktimetracker 5.0.0 doesn't install the application icon anymore, all icons have been moved to an embedded Qt resource.
That's fine for icons used by the application itself, but the appicon needs to be found by the desktop environment so that it can be displayed in the application menu, so it should still be installed to the "hicolor" theme.

This also leads to a build error in openSUSE:
ERROR: Icon file not installed: /home/abuild/rpmbuild/BUILDROOT/ktimetracker-5.0.0-11.1.x86_64//usr/share/applications/org.kde.ktimetracker.desktop (ktimetracker)
Errors in installed desktop file detected. Please refer to http://en.opensuse.org/SUSE_Package_Conventions/RPM_Macros
Comment 1 Alexander Potashev 2019-12-20 21:24:28 UTC
Thanks! Will skip 5.0.0 and publish 5.0.1.
Comment 2 Alexander Potashev 2019-12-20 23:24:56 UTC
Git commit 4c4027d6bcc6050f19e96d6322bf5fed357ca3a6 by Alexander Potashev.
Committed on 20/12/2019 at 23:22.
Pushed by aspotashev into branch 'master'.

Install application icon

M  +14   -0    icons/CMakeLists.txt

https://commits.kde.org/ktimetracker/4c4027d6bcc6050f19e96d6322bf5fed357ca3a6