wok annotate shared-mime-info/stuff/quarry.xml @ rev 21800

guvcview: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 10 14:24:44 2019 +0200 (2019-08-10)
parents
children
rev   line source
al@17261 1 <?xml version="1.0"?>
al@17261 2 <mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
al@17261 3 <mime-type type="application/x-go-sgf">
al@17261 4 <comment>Board game record</comment>
al@17261 5 <comment xml:lang="ru">запись настольной игры</comment>
al@17261 6
al@17261 7 <!-- Usually SGF files start with one of these two properties at offset 0. -->
al@17261 8 <magic priority="50">
al@17261 9 <match type="string" value="(;FF[" offset="0"/>
al@17261 10 <match type="string" value="(;GM[" offset="0"/>
al@17261 11 </magic>
al@17261 12
al@17261 13 <!-- These properties are usually not used as the opening ones, but are good candidates to be used this way. -->
al@17261 14 <magic priority="45">
al@17261 15 <match type="string" value="(;CA[" offset="0"/>
al@17261 16 <match type="string" value="(;AP[" offset="0"/>
al@17261 17 </magic>
al@17261 18
al@17261 19 <!-- We also repeat matching on the first kilobyte of a file, but give matches much lower priroty. -->
al@17261 20 <magic priority="25">
al@17261 21 <match type="string" value="(;FF[" offset="0:1019"/>
al@17261 22 <match type="string" value="(;GM[" offset="0:1019"/>
al@17261 23 </magic>
al@17261 24 <magic priority="20">
al@17261 25 <match type="string" value="(;CA[" offset="0:1019"/>
al@17261 26 <match type="string" value="(;AP[" offset="0:1019"/>
al@17261 27 </magic>
al@17261 28
al@17261 29 <!-- Last resort matching with very low priority. -->
al@17261 30 <magic priority="5">
al@17261 31 <match type="string" value="(;\n" offset="0"/>
al@17261 32 <match type="string" value="(;\r\n" offset="0"/>
al@17261 33 </magic>
al@17261 34 <magic priority="0">
al@17261 35 <match type="string" value="(;" offset="0"/>
al@17261 36 </magic>
al@17261 37
al@17261 38 <alias type="text/sgf"/>
al@17261 39 <alias type="text/x-sgf"/>
al@17261 40 <glob pattern="*.sgf"/>
al@17261 41 </mime-type>
al@17261 42 </mime-info>