Bug#924049: fix for the bug

Andreas Henriksson andreas at fatal.se
Sun Jul 14 16:05:39 BST 2019


On Sun, Jul 14, 2019 at 11:22:12AM +0200, Mateusz Mikołajczyk wrote:
[...]
> gio mime text/calendar org.gnome.Calendar.desktop
> 
> voila! you can now see gnome-calendar in the control center and it is the
> default one
[...]

FYI as described in debian-policy[1] the way to register the mime
type is to use the MimeType= keyword in the .desktop file.

As you can see from the upstream git history this was done in the
past[2][3] but was removed because it's not correct[4]. More details in
the commit messages.

[1] https://www.debian.org/doc/debian-policy/ch-opersys.html#registration-of-media-type-handlers-with-desktop-entries
[2] https://gitlab.gnome.org/GNOME/gnome-calendar/commit/71e8927380fcc8c2abd20ed25993123f6a9c5c33
[3] https://gitlab.gnome.org/GNOME/gnome-calendar/commit/8109fa7b2ebeec045b8a6296319d91e62f38df15
[4] https://gitlab.gnome.org/GNOME/gnome-calendar/commit/b378c672df33979cf901dd202331fb0dd1c86fd4

Regards,
Andreas Henriksson



More information about the pkg-gnome-maintainers mailing list