| Summary: | app-misc/mime-types-7: add image/jp2 for jpeg2000 and others | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Martin von Gagern <Martin.vGagern> |
| Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | VERIFIED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | 2007.0 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| URL: | http://www.iana.org/assignments/media-types/ | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | Tool examining IANA registry | ||
|
Description
Martin von Gagern
2008-03-25 15:21:45 UTC
*** This bug has been marked as a duplicate of bug 190802 *** Created attachment 147275 [details]
Tool examining IANA registry
While looking for missing type definitions in general, I wrote this small application that traverses the IANA registry (using dev-perl/WWW-Mechanize), remembers the types it finds there, and tries to find out the associated file extensions as well. I thought it might be useful to maintainers of the mime-types package, so I attach it here.
There is a line near the end marked with "EDIT HERE" where you can specify what kind of results you want to actually include in the program output. Right now it skips types with no hints as to the file extension, as well as vendor specific types (containing /vnd.). You might wish to modify this selection.
The most notable non-image types currently missing in mime-types-7 seems to be application/fastinfoset and application/relax-ng-compact-syntax. Several others have additional extensions, especially many */prs.* types.
BTW, is there any reason against including all IANA registered types? You don't have to associate any file extensions to rarely used types, but the types themselves should do little harm, except for making the mime.types file a bit larger.
Please stick this to bug 190802, thanks. |