Bug 9472

Summary: image/vnd.dxf should be a sub-class of text/plain?
Product: shared-mime-info Reporter: riku
Component: freedesktop.org.xmlAssignee: Jonathan Blandford <jrb>
Status: RESOLVED FIXED QA Contact:
Severity: trivial    
Priority: high CC: bugzilla
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description riku 2006-12-29 00:28:30 UTC
dxf images are detected by nautilus as text/plain, unless I change it a
sub-class of text/plain in /usr/share/mime/packages/freedesktop.org.xml.

Tested with shared-mime-info-0.19.

There are both binary and ascii versions of dxf-files, but I don't have any
binary files to test with. Maybe two mime types are needed, one for acsii and
one for binary Drawing Interchange File?

See http://en.wikipedia.org/wiki/AutoCAD_DXF
Comment 1 Bastien Nocera 2007-02-05 06:36:34 UTC
I've added mime-magic to detect ASCII and binary versions of the files (the only difference between the 2 formats are that some sections might contain binary data for preview).

2007-02-05  Bastien Nocera  <hadess@hadess.net>

        * freedesktop.org.xml.in: Add magic to detect AutoCAD DXF files
        (Closes: #9472)

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.