dh_desktop should only call update-desktop-database if MimeType field exists

Bug #119241 reported by Emmet Hikory
2
Affects Status Importance Assigned to Milestone
debhelper (Debian)
Fix Released
Unknown
debhelper (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

Binary package hint: debhelper

When adding .desktop files to packages, packagers are encouraged to add the dh_desktop call in debian/rules. As this updates the MIME database with update-desktop-database for each package install, even when there is no MimeType entry in the .desktop file, this requires significant additional client resources at installation time, for no real benefit.

A patch has been submitted to the Debian bug for this issue, but it may also be of interest in Ubuntu.

Emmet Hikory (persia)
Changed in debhelper:
importance: Undecided → Wishlist
Changed in debhelper:
status: Unknown → Unconfirmed
Changed in debhelper:
status: New → Fix Committed
Changed in debhelper:
status: Fix Committed → Fix Released
Revision history for this message
Emmet Hikory (persia) wrote :

Fix included with merge of debhelper 5.0.58

Changed in debhelper:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.