diff options
author | Elvis Angelaccio <elvis.angelaccio@kde.org> | 2018-09-16 12:08:24 +0200 |
---|---|---|
committer | Elvis Angelaccio <elvis.angelaccio@kde.org> | 2018-10-27 12:33:52 +0200 |
commit | d520f0d63b93b2c22efdb7b1107928faddc7a8f6 (patch) | |
tree | 19f9d95ab2305e2cc713a68be28012518a84e2c5 | |
parent | ac14acb98b732b112280089d3a4b5085583db33f (diff) | |
download | shared-mime-info-d520f0d63b93b2c22efdb7b1107928faddc7a8f6.tar.gz |
Add mimetype for tar.zst archives
This patch adds a mimetype for TAR archives compressed with the Zstandard algorithm.
-rw-r--r-- | freedesktop.org.xml.in | 6 | ||||
-rw-r--r-- | tests/list | 2 | ||||
-rw-r--r-- | tests/test.tar.zst | bin | 0 -> 1501 bytes |
3 files changed, 8 insertions, 0 deletions
diff --git a/freedesktop.org.xml.in b/freedesktop.org.xml.in index cd9e2975..5135e01b 100644 --- a/freedesktop.org.xml.in +++ b/freedesktop.org.xml.in @@ -3916,6 +3916,12 @@ command to generate the output files. </magic> <glob pattern="*.zst"/> </mime-type> + <mime-type type="application/x-zstd-compressed-tar"> + <_comment>Tar archive (Zstandard-compressed)</_comment> + <generic-icon name="package-x-generic"/> + <sub-class-of type="application/zstd"/> + <glob pattern="*.tar.zst"/> + </mime-type> <mime-type type="application/x-xzpdf"> <_comment>PDF document (XZ-compressed)</_comment> <sub-class-of type="application/x-xz"/> @@ -416,6 +416,8 @@ test.lz4 application/x-lz4 test.tar.lz4 application/x-lz4-compressed-tar ox # Created by zstd v1.3.5 test.zst application/zstd +# Created using Ark 18.11.70 + libarchive 3.3.3 +test.tar.zst application/x-zstd-compressed-tar ox # 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.tar.zst b/tests/test.tar.zst Binary files differnew file mode 100644 index 00000000..9a85fff5 --- /dev/null +++ b/tests/test.tar.zst |