evolution-calendar.desktop is installed with gnome-shell regardless of the presence of evolution
Affected version
42.4-1 on Arch, although other reports of this issue exist on different versions/distros: https://forums.linuxmint.com/viewtopic.php?t=352330, https://bugs.launchpad.net/ubuntu/+source/menulibre/+bug/1800740
Bug summary
When installing gnome-shell, the '/usr/share/applications/evolution-calendar.desktop' file is created regardless of whether evolution is installed. If evolution is not installed, this file is of course broken and unnecessary, and causes some applications which scan /usr/share/applications (e.g. menulibre) to report an error.
Steps to reproduce
- Install gnome-shell without having installed evolution
- Browse files in /usr/share/applications
What happened
Unexpectedly, the file evolution-calendar.desktop exists there, pointing to a non-existent executable from GNOME's previous default calendar application, even if it has never been installed. It's harmless, but a bit messy, and confuses apps which scan /usr/share/applications, e.g. menulibre.
What did you expect to happen
To find /usr/share/applications populated by valid, usable .desktop files relating to the applications installed on my system.