summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2014-01-05 15:18:34 +0200
committerVille Skyttä <ville.skytta@iki.fi>2014-01-05 15:20:02 +0200
commit62345c56c9e2e582dbe00cc1b19e86930fe00863 (patch)
tree6cab69fa239c08ab79e2a2e10f843e50cfc45ede
parente4d7715f3c3b77b4eec4e89299f0235202ecd0d4 (diff)
downloadshared-mime-info-62345c56c9e2e582dbe00cc1b19e86930fe00863.tar.gz
Add LZ4 archive type
http://fastcompression.blogspot.com/2013/04/lz4-streaming-format-final.html
-rw-r--r--freedesktop.org.xml.in9
-rw-r--r--tests/list2
-rw-r--r--tests/test.lz4bin0 -> 25 bytes
3 files changed, 11 insertions, 0 deletions
diff --git a/freedesktop.org.xml.in b/freedesktop.org.xml.in
index c9c67d27..9d068007 100644
--- a/freedesktop.org.xml.in
+++ b/freedesktop.org.xml.in
@@ -2421,6 +2421,15 @@ command to generate the output files.
<glob pattern="*.lyx"/>
<alias type="text/x-lyx"/>
</mime-type>
+ <mime-type type="application/x-lz4">
+ <_comment>LZ4 archive</_comment>
+ <generic-icon name="package-x-generic"/>
+ <magic priority="50">
+ <match type="little32" value="0x184d2204" offset="0"/>
+ <match type="little32" value="0x184c2102" offset="0"/>
+ </magic>
+ <glob pattern="*.lz4"/>
+ </mime-type>
<mime-type type="application/x-lzip">
<_comment>Lzip archive</_comment>
<generic-icon name="package-x-generic"/>
diff --git a/tests/list b/tests/list
index 9ac773fd..eb8dd955 100644
--- a/tests/list
+++ b/tests/list
@@ -329,6 +329,8 @@ test.lz application/x-lzip
test.lzo application/x-lzop
# Created using lrzip 0.45
archive.lrz application/x-lrzip
+# Created using lz4 r110
+test.lz4 application/x-lz4
# Copied from http://download.microsoft.com/download/7/e/5/7e58b1ce-d9e6-40e1-9d75-140fe5dd3de6/fuji.themepack
fuji.themepack application/x-windows-themepack ox
# Extracted from http://mozilla.doslash.org/stuff/helloworld.zip
diff --git a/tests/test.lz4 b/tests/test.lz4
new file mode 100644
index 00000000..bff863d3
--- /dev/null
+++ b/tests/test.lz4
Binary files differ