wok-6.x diff shared-mime-info/stuff/quarry.xml @ rev 21282
updated libraw1394 and libraw1394-dev (2.0.7 -> 2.1.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Apr 14 17:12:58 2019 +0100 (2019-04-14) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/shared-mime-info/stuff/quarry.xml Sun Apr 14 17:12:58 2019 +0100 1.3 @@ -0,0 +1,42 @@ 1.4 +<?xml version="1.0"?> 1.5 +<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> 1.6 + <mime-type type="application/x-go-sgf"> 1.7 + <comment>Board game record</comment> 1.8 + <comment xml:lang="ru">запись настольной игры</comment> 1.9 + 1.10 + <!-- Usually SGF files start with one of these two properties at offset 0. --> 1.11 + <magic priority="50"> 1.12 + <match type="string" value="(;FF[" offset="0"/> 1.13 + <match type="string" value="(;GM[" offset="0"/> 1.14 + </magic> 1.15 + 1.16 + <!-- These properties are usually not used as the opening ones, but are good candidates to be used this way. --> 1.17 + <magic priority="45"> 1.18 + <match type="string" value="(;CA[" offset="0"/> 1.19 + <match type="string" value="(;AP[" offset="0"/> 1.20 + </magic> 1.21 + 1.22 + <!-- We also repeat matching on the first kilobyte of a file, but give matches much lower priroty. --> 1.23 + <magic priority="25"> 1.24 + <match type="string" value="(;FF[" offset="0:1019"/> 1.25 + <match type="string" value="(;GM[" offset="0:1019"/> 1.26 + </magic> 1.27 + <magic priority="20"> 1.28 + <match type="string" value="(;CA[" offset="0:1019"/> 1.29 + <match type="string" value="(;AP[" offset="0:1019"/> 1.30 + </magic> 1.31 + 1.32 + <!-- Last resort matching with very low priority. --> 1.33 + <magic priority="5"> 1.34 + <match type="string" value="(;\n" offset="0"/> 1.35 + <match type="string" value="(;\r\n" offset="0"/> 1.36 + </magic> 1.37 + <magic priority="0"> 1.38 + <match type="string" value="(;" offset="0"/> 1.39 + </magic> 1.40 + 1.41 + <alias type="text/sgf"/> 1.42 + <alias type="text/x-sgf"/> 1.43 + <glob pattern="*.sgf"/> 1.44 + </mime-type> 1.45 +</mime-info>