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.
Created attachment 13985 [details] [review] shared-mime-info-mof.patch
Please provide a test file as well, to be added to the test suite.
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.
* 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.