Bug 105785 - "font/*" is an invalid MIME type
Summary: "font/*" is an invalid MIME type
Status: RESOLVED FIXED
Alias: None
Product: desktop-file-utils
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Hans Petter Jansson
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-28 13:46 UTC by Juan Simón
Modified: 2018-04-10 13:08 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
patch (902 bytes, patch)
2018-04-09 21:07 UTC, Matthias Clasen
Details | Splinter Review

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.