Bug 105785

Summary: "font/*" is an invalid MIME type
Product: desktop-file-utils Reporter: Juan Simón <decedion>
Component: generalAssignee: Hans Petter Jansson <hpj>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: rstrode
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: patch

Description Juan Simón 2018-03-28 13:46:41 UTC
Arch Linux
desktop-file-utils 0.23-1
gnome-font-viewer 3.28.0-1

$ sudo update-desktop-database
Error in file "/usr/share/applications/org.gnome.font-viewer.desktop": "font/ttf" is an invalid MIME type ("font" is an unregistered media type)
Error in file "/usr/share/applications/org.gnome.font-viewer.desktop": "font/otf" is an invalid MIME type ("font" is an unregistered media type)

$ grep MimeType /usr/share/applications/org.gnome.font-viewer.desktop
MimeType=application/x-font-ttf;application/x-font-pcf;application/x-font-type1;application/x-font-otf;font/ttf;font/otf;
Comment 1 Matthias Clasen 2018-04-09 21:01:57 UTC
This was codified in rfc8081
Comment 2 Matthias Clasen 2018-04-09 21:07:32 UTC
Created attachment 138712 [details] [review]
patch
Comment 3 Ray Strode [halfline] 2018-04-10 13:08:58 UTC
╎❯ git bz push
To ssh://git.freedesktop.org/git/xdg/desktop-file-utils
   5b88c95..92af410  master -> master

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.