Bug 415387 - Application icon is not installed
Summary: Application icon is not installed
Status: RESOLVED FIXED
Alias: None
Product: ktimetracker
Classification: Applications
Component: general (show other bugs)
Version: 5.0.0
Platform: openSUSE Linux
: NOR minor
Target Milestone: ---
Assignee: Alexander Potashev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-20 11:17 UTC by Wolfgang Bauer
Modified: 2019-12-20 23:24 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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