summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHalla Rempt <halla@valdyas.org>2021-05-27 20:17:27 +0000
committerDavid Faure <faure@kde.org>2021-05-27 20:17:27 +0000
commitd033c511c9851e63ed44c0c7bdba2b689396aded (patch)
tree1c153dd2e1c4d2f89c7ec02a577baa34e72a7916
parent7d5f0cf4b030dc7217565087f54b46a077cf1ac6 (diff)
downloadshared-mime-info-d033c511c9851e63ed44c0c7bdba2b689396aded.tar.gz
Add two new offsets for .kra and .krz
-rw-r--r--data/freedesktop.org.xml.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in
index 5bfa2cbb..87df3d36 100644
--- a/data/freedesktop.org.xml.in
+++ b/data/freedesktop.org.xml.in
@@ -2756,7 +2756,7 @@ command to generate the output files.
<glob pattern="*.kpt"/>
</mime-type>
<mime-type type="application/x-krita">
- <comment>Krita document</comment>
+ <comment>Krita document.</comment>
<generic-icon name="x-office-document"/>
<magic priority="60">
<match type="string" value="\037\213" offset="0">
@@ -2766,11 +2766,15 @@ command to generate the output files.
</match>
<match type="string" value="PK\003\004" offset="0">
<match type="string" value="mimetype" offset="30">
+ <!-- Depending on the zip library and whether a 32 or 64 bits zip file is used, the offset is different. -->
<match type="string" value="application/x-krita" offset="38"/>
+ <match type="string" value="application/x-krita" offset="42"/>
+ <match type="string" value="application/x-krita" offset="63"/>
</match>
</match>
</magic>
<glob pattern="*.kra"/>
+ <glob pattern="*.krz"/>
</mime-type>
<mime-type type="application/x-kspread">
<comment>KSpread spreadsheet</comment>