Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 304753 - sys-apps/file wrong mimetypes with openoffice documents
Summary: sys-apps/file wrong mimetypes with openoffice documents
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-12 18:01 UTC by Dmitry A. Bakshaev
Modified: 2010-10-23 10:52 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to =sys-apps/file-5.0.3 (file-5.0.3-opendocument.patch,5.77 KB, patch)
2010-02-12 18:05 UTC, Dmitry A. Bakshaev
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry A. Bakshaev 2010-02-12 18:01:19 UTC
sys-apps/file wrong mimetypes with openoffice documents

Reproducible: Always

Steps to Reproduce:
1. file -i *

Actual Results:  
draw.odg:        application/octet-stream; charset=binary
spreadsheet.ods: application/octet-stream; charset=binary
text.odt:        application/vnd.oasis.opendocument.text; charset=binary


Expected Results:  
draw.odg:        application/vnd.oasis.opendocument.graphics; charset=binary
spreadsheet.ods: application/vnd.oasis.opendocument.spreadsheet; charset=binary
text.odt:        application/vnd.oasis.opendocument.text; charset=binary
Comment 1 Dmitry A. Bakshaev 2010-02-12 18:05:27 UTC
Created attachment 219369 [details, diff]
patch to =sys-apps/file-5.0.3

this patch resolve problem with opendocument files.
taken from 
http://www.jejik.com/articles/2009/06/fixing_opendocument_mime_magic_on_linux/
Comment 2 Dmitry A. Bakshaev 2010-10-23 10:52:10 UTC
fixed in sys-apps/file-5.0.4