Commit 3b1a9313 authored by StefanBruens's avatar StefanBruens Committed by Bastien Nocera

Add Apple System Profiler XML mime-type

Apples "system_profiler" can save information about the machine in
XML format and uses the *.spx extension.

Fixes #105.
parent 46de194a
Pipeline #142854 passed with stage
in 1 minute and 27 seconds
......@@ -457,6 +457,15 @@ command to generate the output files.
</magic>
<alias type="application/x-sqlite3"/>
</mime-type>
<mime-type type="application/x-apple-systemprofiler+xml">
<comment>Apple System Profiler</comment>
<sub-class-of type="application/xml"/>
<magic priority="50">
<match type="string" value="&lt;plist version=&quot;1.0&quot;" offset="0:256"/>
</magic>
<glob pattern="*.spx" weight="40"/>
<root-XML namespaceURI="http://www.apple.com/DTDs/PropertyList-1.0.dtd" localName="plist"/>
</mime-type>
<mime-type type="application/x-gedcom">
<comment>GEDCOM family history</comment>
<acronym>GEDCOM</acronym>
......
......@@ -402,6 +402,8 @@ sample1.nzb application/x-nzb
test.owx application/owl+xml
# Copied from https://en.wikipedia.org/wiki/Portable_Game_Notation#Example
test.pgn application/vnd.chess-pgn
# From KDE kfilemetadata test suite
test_apple_systemprofiler.spx application/x-apple-systemprofiler+xml x
# Archives
# Copied from http://bugs.freedesktop.org/show_bug.cgi?id=14909
......
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
<!-- Incomplete file, used to test for extension mismatch vs Speex *.spx -->
</array>
</plist>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment