Bug 14278

Summary: [patch] support for MOF files
Product: shared-mime-info Reporter: Stanislav Brabec <sbrabec>
Component: freedesktop.org.xmlAssignee: Jonathan Blandford <jrb>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: shared-mime-info-mof.patch
CIM_UnitaryComputerSystem.mof

Description Stanislav Brabec 2008-01-28 05:24:06 UTC
Attached patch adds support for MOF files, a Managed Object Format files.

Files look like specially formatted C sources, so I added sub-class-of to prevent contents x suffix clash.
Comment 1 Stanislav Brabec 2008-01-28 05:25:26 UTC
Created attachment 13985 [details] [review]
shared-mime-info-mof.patch
Comment 2 Bastien Nocera 2008-04-09 07:40:02 UTC
Please provide a test file as well, to be added to the test suite.
Comment 3 Stanislav Brabec 2008-04-10 02:34:00 UTC
Created attachment 15800 [details]
CIM_UnitaryComputerSystem.mof

Example MOF file provided by Bart Whiteley.

The schema files are freely downloadable from the
dmtf web site http://www.dmtf.org/standards/cim/ . Other projects include the DMTF MOF files in their code repositories.

There is nothing mandatory in the file, what could be used as a magic
string, so the only way to recongnize such file is its filename suffix.
Comment 4 Bastien Nocera 2008-04-10 07:19:03 UTC
* freedesktop.org.xml.in:
* tests/list:
* tests/test.mof: Add mime-type for Managed Object Format files,
patch from Stanislav Brabec <sbrabec@suse.cz> (Closes: #14278)

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.