summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Brückl <ib@wupperonline.de>2023-03-09 18:27:07 +0100
committerDavid Faure <faure@kde.org>2023-08-15 13:26:01 +0200
commit2bf03eedbb33084c91d920c412b844f407bc1a10 (patch)
tree6e6f71cd0620b26c4c763ba8c9a7089424a49b84
parent4d7487bfd422f5d83ade6c36e7539cd2ba89506d (diff)
Add application/x-zpaq
ZPAQ is an incremental, journaling archiver. https://mattmahoney.net/dc/zpaq.html
-rw-r--r--data/freedesktop.org.xml.in8
-rw-r--r--tests/mime-detection/list2
-rw-r--r--tests/mime-detection/test.zpaqbin0 -> 1097 bytes
3 files changed, 10 insertions, 0 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in
index cfd1499..bacd921 100644
--- a/data/freedesktop.org.xml.in
+++ b/data/freedesktop.org.xml.in
@@ -4098,6 +4098,14 @@ command to generate the output files.
<glob pattern="*.tar.xz"/>
<glob pattern="*.txz"/>
</mime-type>
+ <mime-type type="application/x-zpaq">
+ <comment>Zpaq Archive</comment>
+ <generic-icon name="package-x-generic"/>
+ <magic>
+ <match type="string" value="7kSt" offset="0"/>
+ </magic>
+ <glob pattern="*.zpaq"/>
+ </mime-type>
<mime-type type="application/zstd">
<comment>Zstandard Archive</comment>
<generic-icon name="package-x-generic"/>
diff --git a/tests/mime-detection/list b/tests/mime-detection/list
index 6a7caa4..69fa3fa 100644
--- a/tests/mime-detection/list
+++ b/tests/mime-detection/list
@@ -506,6 +506,8 @@ archive.lrz application/x-lrzip
test.lz4 application/x-lz4
# Created using Ark 16.07.70 + libarchive 3.2.0
test.tar.lz4 application/x-lz4-compressed-tar ox
+# Created using zpaq v7.15
+test.zpaq application/x-zpaq
# Created by zstd v1.3.5
test.zst application/zstd
# Created using Ark 18.11.70 + libarchive 3.3.3
diff --git a/tests/mime-detection/test.zpaq b/tests/mime-detection/test.zpaq
new file mode 100644
index 0000000..e9c89fe
--- /dev/null
+++ b/tests/mime-detection/test.zpaq
Binary files differ