diff options
Diffstat (limited to 'freedesktop.org.xml.in')
-rw-r--r-- | freedesktop.org.xml.in | 239 |
1 files changed, 213 insertions, 26 deletions
diff --git a/freedesktop.org.xml.in b/freedesktop.org.xml.in index 7321d40..38f0147 100644 --- a/freedesktop.org.xml.in +++ b/freedesktop.org.xml.in @@ -3,7 +3,7 @@ <!ELEMENT mime-info (mime-type)+> <!ATTLIST mime-info xmlns CDATA #FIXED "http://www.freedesktop.org/standards/shared-mime-info"> - <!ELEMENT mime-type (comment+, (acronym,expanded-acronym)? , (generic-icon? | glob | magic | treemagic | root-XML | alias | sub-class-of)*)> + <!ELEMENT mime-type (comment+, (acronym,expanded-acronym)? , (icon? | generic-icon? | glob | magic | treemagic | root-XML | alias | sub-class-of)*)> <!ATTLIST mime-type type CDATA #REQUIRED> <!-- a comment describing a document with the respective MIME type. Example: "WMV video" --> @@ -18,18 +18,21 @@ <!ELEMENT expanded-acronym (#PCDATA)> <!ATTLIST expanded-acronym xml:lang CDATA #IMPLIED> + <!ELEMENT icon EMPTY> + <!ATTLIST icon name CDATA #REQUIRED> + <!-- a generic icon name as per the Icon Naming Specification, only required if computing it from the mime-type would not work, See "generic-icon" in the Shared Mime Specification --> <!ELEMENT generic-icon EMPTY> - <!ATTLIST generic-icon name (application-x-executable|audio-x-generic|font-x-generic|image-x-generic|package-x-generic|text-html|text-x-generic|text-x-generic-template|text-x-script|video-x-generic|x-office-address-book|x-office-calendar|x-office-document|x-office-presentation|x-office-spreadsheet) #IMPLIED> + <!ATTLIST generic-icon name (application-x-executable|audio-x-generic|folder|font-x-generic|image-x-generic|package-x-generic|text-html|text-x-generic|text-x-generic-template|text-x-script|video-x-generic|x-office-address-book|x-office-calendar|x-office-document|x-office-presentation|x-office-spreadsheet) #REQUIRED> <!ELEMENT glob EMPTY> <!ATTLIST glob pattern CDATA #REQUIRED> - <!ATTLIST glob weight CDATA #IMPLIED> + <!ATTLIST glob weight CDATA "50"> <!ATTLIST glob case-sensitive CDATA #IMPLIED> <!ELEMENT magic (match)+> - <!ATTLIST magic priority CDATA #IMPLIED> + <!ATTLIST magic priority CDATA "50"> <!ELEMENT match (match)*> <!ATTLIST match offset CDATA #REQUIRED> @@ -38,7 +41,7 @@ <!ATTLIST match mask CDATA #IMPLIED> <!ELEMENT treemagic (treematch)+> - <!ATTLIST treemagic priority CDATA #IMPLIED> + <!ATTLIST treemagic priority CDATA "50"> <!ELEMENT treematch (treematch)*> <!ATTLIST treematch path CDATA #REQUIRED> @@ -70,7 +73,7 @@ COPYING. The latest version is available from: - http://www.freedesktop.org/wiki/Software_2fshared_2dmime_2dinfo + http://www.freedesktop.org/wiki/Software/shared-mime-info/ To extend this database, users and applications should create additional XML files in the 'packages' directory and run the update-mime-database @@ -594,13 +597,13 @@ command to generate the output files. <sub-class-of type="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"/> </mime-type> <mime-type type="application/vnd.ms-excel.sheet.macroEnabled.12"> - <_comment>Excel macro-enabled spreadsheet</_comment> + <_comment>Excel spreadsheet</_comment> <generic-icon name="x-office-spreadsheet"/> <glob pattern="*.xlsm"/> <sub-class-of type="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"/> </mime-type> <mime-type type="application/vnd.ms-excel.template.macroEnabled.12"> - <_comment>Excel macro-enabled spreadsheet template</_comment> + <_comment>Excel spreadsheet template</_comment> <generic-icon name="x-office-spreadsheet"/> <glob pattern="*.xltm"/> <sub-class-of type="application/vnd.openxmlformats-officedocument.spreadsheetml.template"/> @@ -622,37 +625,73 @@ command to generate the output files. <glob pattern="*.ppam"/> </mime-type> <mime-type type="application/vnd.ms-powerpoint.presentation.macroEnabled.12"> - <_comment>PowerPoint macro-enabled presentation</_comment> + <_comment>PowerPoint presentation</_comment> <generic-icon name="x-office-presentation"/> <glob pattern="*.pptm"/> <sub-class-of type="application/vnd.openxmlformats-officedocument.presentationml.presentation"/> </mime-type> <mime-type type="application/vnd.ms-powerpoint.slide.macroEnabled.12"> - <_comment>PowerPoint macro-enabled slide</_comment> + <_comment>PowerPoint slide</_comment> <generic-icon name="x-office-presentation"/> <glob pattern="*.sldm"/> <sub-class-of type="application/vnd.openxmlformats-officedocument.presentationml.slide"/> </mime-type> <mime-type type="application/vnd.ms-powerpoint.slideshow.macroEnabled.12"> - <_comment>PowerPoint macro-enabled presentation</_comment> + <_comment>PowerPoint presentation</_comment> <generic-icon name="x-office-presentation"/> <glob pattern="*.ppsm"/> <sub-class-of type="application/vnd.openxmlformats-officedocument.presentationml.slideshow"/> </mime-type> <mime-type type="application/vnd.ms-powerpoint.template.macroEnabled.12"> - <_comment>PowerPoint macro-enabled presentation template</_comment> + <_comment>PowerPoint presentation template</_comment> <generic-icon name="x-office-presentation"/> <glob pattern="*.potm"/> <sub-class-of type="application/vnd.openxmlformats-officedocument.presentationml.template"/> </mime-type> + <mime-type type="application/vnd.ms-visio.drawing.main+xml"> + <_comment>Office Open XML Visio Drawing</_comment> + <generic-icon name="image-x-generic"/> + <glob pattern="*.vsdx"/> + <sub-class-of type="application/zip"/> + </mime-type> + <mime-type type="application/vnd.ms-visio.template.main+xml"> + <_comment>Office Open XML Visio Template</_comment> + <generic-icon name="image-x-generic"/> + <glob pattern="*.vstx"/> + <sub-class-of type="application/zip"/> + </mime-type> + <mime-type type="application/vnd.ms-visio.stencil.main+xml"> + <_comment>Office Open XML Visio Stencil</_comment> + <generic-icon name="image-x-generic"/> + <glob pattern="*.vssx"/> + <sub-class-of type="application/zip"/> + </mime-type> + <mime-type type="application/vnd.ms-visio.drawing.macroEnabled.main+xml"> + <_comment>Office Open XML Visio Drawing</_comment> + <generic-icon name="image-x-generic"/> + <glob pattern="*.vsdm"/> + <sub-class-of type="application/zip"/> + </mime-type> + <mime-type type="application/vnd.ms-visio.template.macroEnabled.main+xml"> + <_comment>Office Open XML Visio Template</_comment> + <generic-icon name="image-x-generic"/> + <glob pattern="*.vstm"/> + <sub-class-of type="application/zip"/> + </mime-type> + <mime-type type="application/vnd.ms-visio.stencil.macroEnabled.main+xml"> + <_comment>Office Open XML Visio Stencil</_comment> + <generic-icon name="image-x-generic"/> + <glob pattern="*.vssm"/> + <sub-class-of type="application/zip"/> + </mime-type> <mime-type type="application/vnd.ms-word.document.macroEnabled.12"> - <_comment>Word macro-enabled document</_comment> + <_comment>Word document</_comment> <generic-icon name="x-office-document"/> <glob pattern="*.docm"/> <sub-class-of type="application/vnd.openxmlformats-officedocument.wordprocessingml.document"/> </mime-type> <mime-type type="application/vnd.ms-word.template.macroEnabled.12"> - <_comment>Word macro-enabled document template</_comment> + <_comment>Word document template</_comment> <generic-icon name="x-office-document"/> <glob pattern="*.dotm"/> <sub-class-of type="application/vnd.openxmlformats-officedocument.wordprocessingml.template"/> @@ -1514,7 +1553,8 @@ command to generate the output files. <_comment>raw CD image</_comment> <sub-class-of type="application/x-raw-disk-image"/> <alias type="application/x-iso9660-image"/> - <glob pattern="*.iso"/> + <!-- No magic, see https://bugs.freedesktop.org/show_bug.cgi?id=10049 --> + <glob pattern="*.iso" weight="80"/> <glob pattern="*.iso9660"/> </mime-type> <mime-type type="application/x-cdrdao-toc"> @@ -1631,8 +1671,18 @@ command to generate the output files. <generic-icon name="text-x-script"/> <glob pattern="*.es"/> </mime-type> + <mime-type type="application/x-saturn-rom"> + <_comment>Sega Saturn disc image</_comment> + <generic-icon name="application-x-executable"/> + <magic priority="50"> + <match type="string" value="SEGA SEGASATURN" offset="0"/> + <match type="string" value="SEGA SEGASATURN" offset="16"/> + </magic> + <glob pattern="*.bin"/> + <glob pattern="*.iso"/> + </mime-type> <mime-type type="application/x-dc-rom"> - <_comment>Dreamcast ROM</_comment> + <_comment>Dreamcast GD-ROM</_comment> <generic-icon name="application-x-executable"/> <glob pattern="*.dc"/> </mime-type> @@ -1659,6 +1709,16 @@ command to generate the output files. <match offset="0" type="string" value="WII\001DISC"/> </magic> </mime-type> + <mime-type type="application/x-wii-wad"> + <_comment>WiiWare bundle</_comment> + <generic-icon name="application-x-executable"/> + <magic priority="50"> + <match type="string" value="Is\0\0" offset="4"/> + <match type="string" value="ib\0\0" offset="4"/> + <match type="string" value="Bk\0\0" offset="4"/> + </magic> + <glob pattern="*.wad"/> + </mime-type> <mime-type type="application/x-gamecube-rom"> <_comment>GameCube disc image</_comment> <generic-icon name="application-x-executable"/> @@ -1979,12 +2039,19 @@ command to generate the output files. <mime-type type="application/x-gameboy-rom"> <_comment>Game Boy ROM</_comment> <generic-icon name="application-x-executable"/> + <magic priority="50"> + <match type="string" value="\xce\xed\x66\x66\xcc\x0d\x00\x0b\x03\x73\x00\x83\x00\x0c\x00\x0d\x00\x08\x11\x1f\x88\x89\x00\x0e" offset="260"/> + </magic> <glob pattern="*.gb"/> + <glob pattern="*.gbc"/> + <glob pattern="*.cgb"/> + <glob pattern="*.sgb"/> </mime-type> <mime-type type="application/x-gba-rom"> <_comment>Game Boy Advance ROM</_comment> <generic-icon name="application-x-executable"/> <glob pattern="*.gba"/> + <glob pattern="*.agb"/> </mime-type> <mime-type type="application/x-gdbm"> <_comment>GDBM database</_comment> @@ -1997,8 +2064,8 @@ command to generate the output files. </magic> </mime-type> <mime-type type="application/x-genesis-rom"> - <!-- Translate this to Megadrive if the console was known as such in your locale - Should be Megadrive in all but en_US: http://en.wikipedia.org/wiki/Megadrive#History --> + <!-- Translate this to Mega Drive if the console was known as such in your locale + Should be Mega Drive in all but en_US, Mexico and Canada: https://en.wikipedia.org/wiki/Sega_Genesis#History --> <_comment>Genesis ROM</_comment> <generic-icon name="application-x-executable"/> <magic priority="50"> @@ -2007,6 +2074,9 @@ command to generate the output files. <match type="string" value="EAMG" offset="640"/> </magic> <glob pattern="*.gen"/> + <glob pattern="*.smd"/> + <glob pattern="*.32x"/> + <glob pattern="*.mdx"/> </mime-type> <mime-type type="application/x-gettext-translation"> <_comment>translated messages (machine-readable)</_comment> @@ -2201,6 +2271,36 @@ command to generate the output files. <generic-icon name="text-x-script"/> <glob pattern="*.json"/> </mime-type> + <mime-type type="application/jrd+json"> + <_comment>JRD document</_comment> + <acronym>JRD</acronym> + <expanded-acronym>JSON Resource Descriptor</expanded-acronym> + <sub-class-of type="application/json"/> + <generic-icon name="text-x-script"/> + <glob pattern="*.jrd"/> + </mime-type> + <mime-type type="application/json-patch+json"> + <_comment>JSON patch</_comment> + <acronym>JSON</acronym> + <expanded-acronym>JavaScript Object Notation</expanded-acronym> + <sub-class-of type="application/json"/> + <generic-icon name="text-x-script"/> + <glob pattern="*.json-patch"/> + </mime-type> + <mime-type type="application/ld+json"> + <_comment>JSON-LD document</_comment> + <acronym>JSON-LD</acronym> + <expanded-acronym>JavaScript Object Notation for Linked Data</expanded-acronym> + <sub-class-of type="application/json"/> + <generic-icon name="text-x-script"/> + <glob pattern="*.jsonld"/> + </mime-type> + <mime-type type="application/vnd.coffeescript"> + <_comment>CoffeeScript document</_comment> + <sub-class-of type="text/plain"/> + <generic-icon name="text-x-script"/> + <glob pattern="*.coffee"/> + </mime-type> <mime-type type="application/x-jbuilder-project"> <_comment>JBuilder project</_comment> <generic-icon name="x-office-document"/> @@ -2708,6 +2808,9 @@ command to generate the output files. <_comment>NES ROM</_comment> <generic-icon name="application-x-executable"/> <glob pattern="*.nes"/> + <glob pattern="*.nez"/> + <glob pattern="*.unf"/> + <glob pattern="*.unif"/> </mime-type> <mime-type type="application/x-netcdf"> <_comment>Unidata NetCDF document</_comment> @@ -2999,12 +3102,13 @@ command to generate the output files. <glob pattern="*.p7b"/> <glob pattern="*.spc"/> </mime-type> - <mime-type type="application/x-pkcs12"> + <mime-type type="application/pkcs12"> <_comment>PKCS#12 certificate bundle</_comment> <acronym>PKCS</acronym> <expanded-acronym>Public-Key Cryptography Standards</expanded-acronym> <glob pattern="*.p12"/> <glob pattern="*.pfx"/> + <alias type="application/x-pkcs12"/> </mime-type> <mime-type type="application/x-planperfect"> <_comment>PlanPerfect spreadsheet</_comment> @@ -3142,6 +3246,11 @@ command to generate the output files. <generic-icon name="text-x-script"/> <glob pattern="*.mab"/> </mime-type> + <mime-type type="text/rust"> + <_comment>Rust source code</_comment> + <sub-class-of type="text/plain"/> + <glob pattern="*.rs"/> + </mime-type> <mime-type type="application/x-sc"> <_comment>SC/Xspread spreadsheet</_comment> <generic-icon name="x-office-spreadsheet"/> @@ -3242,8 +3351,13 @@ command to generate the output files. <mime-type type="application/x-sms-rom"> <_comment>Sega Master System/Game Gear ROM</_comment> <generic-icon name="application-x-executable"/> + <!-- Disabled, the magic would be too far into the file + <magic> + <match type="string" value="TMR SEGA" offset="32752"/> + </magic> --> <glob pattern="*.sms"/> <glob pattern="*.gg"/> + <glob pattern="*.sg"/> </mime-type> <mime-type type="application/vnd.nintendo.snes.rom"> <!-- Translate this as Super Famicom (in Far East Asia) or Super Nintendo (in Europe) if the console was known as such in your locale --> @@ -3464,7 +3578,7 @@ command to generate the output files. <glob weight="10" pattern="*.t"/> </mime-type> <mime-type type="application/x-troff-man"> - <_comment>Troff document (with manpage macros)</_comment> + <_comment>Manpage manual document</_comment> <sub-class-of type="text/plain"/> <generic-icon name="text-x-generic"/> <glob pattern="*.man"/> @@ -3556,7 +3670,9 @@ command to generate the output files. <glob pattern="*.zip"/> </mime-type> <mime-type type="application/x-ms-wim"> - <_comment>Windows Imaging Format Disk Image</_comment> + <_comment>WIM disk Image</_comment> + <acronym>WIM</acronym> + <expanded-acronym>Windows Imaging Format</expanded-acronym> <magic> <match type="string" value="MSWIM\000\000\000" offset="0"/> </magic> @@ -3808,6 +3924,14 @@ command to generate the output files. </mime-type> <mime-type type="audio/x-mod"> <_comment>Amiga SoundTracker audio</_comment> + <magic> + <match type="string" value="MTM" offset="0"/> + <match type="string" value="MMD0" offset="0"/> + <match type="string" value="MMD1" offset="0"/> + <match type="little16" value="0x6669" offset="0"/> + <match type="little16" value="0x4e4a" offset="0"/> + <match type="string" value="MAS_UTrack_V00" offset="0"/> + </magic> <glob pattern="*.mod"/> <glob pattern="*.ult"/> <glob pattern="*.uni"/> @@ -3850,6 +3974,7 @@ command to generate the output files. </mime-type> <mime-type type="application/vnd.apple.mpegurl"> <_comment>HTTP Live Streaming playlist</_comment> + <sub-class-of type="text/plain"/> <glob pattern="*.m3u"/> <glob pattern="*.m3u8"/> <magic priority="70"> @@ -4469,17 +4594,28 @@ command to generate the output files. <alias type="image/x.djvu"/> <magic priority="50"> <match type="string" offset="0" value="AT&TFORM"> - <match type="string" offset="12" value="DJVM"/> <match type="string" offset="12" value="DJVU"/> </match> <match type="string" offset="0" value="FORM"> - <match type="string" offset="8" value="DJVM"/> <match type="string" offset="8" value="DJVU"/> </match> </magic> <glob pattern="*.djvu"/> <glob pattern="*.djv"/> </mime-type> + <mime-type type="image/vnd.djvu+multipage"> + <_comment>DjVu document</_comment> + <generic-icon name="x-office-document"/> + <magic priority="50"> + <match type="string" offset="0" value="AT&TFORM"> + <match type="string" offset="12" value="DJVM"/> + </match> + <match type="string" offset="0" value="FORM"> + <match type="string" offset="8" value="DJVM"/> + </match> + </magic> + <sub-class-of type="image/vnd.djvu"/> + </mime-type> <mime-type type="image/dpx"> <_comment>DPX image</_comment> <acronym>DPX</acronym> @@ -4596,7 +4732,7 @@ command to generate the output files. <match type="string" value="IIN1" offset="0"/> </magic> </mime-type> - <mime-type type="image/x-pcx"> + <mime-type type="image/vnd.zbrush.pcx"> <_comment>PCX image</_comment> <acronym>PCX</acronym> <expanded-acronym>PiCture eXchange</expanded-acronym> @@ -4609,6 +4745,7 @@ command to generate the output files. </match> </magic> <glob pattern="*.pcx"/> + <alias type="image/x-pcx"/> </mime-type> <mime-type type="image/x-photo-cd"> <_comment>PCD image</_comment> @@ -4808,8 +4945,7 @@ command to generate the output files. <glob pattern="*.xcf"/> <magic priority="50"> <match type="string" value="gimp xcf file" offset="0"/> - <match type="string" value="gimp xcf v001" offset="0"/> - <match type="string" value="gimp xcf v002" offset="0"/> + <match type="string" value="gimp xcf v" offset="0"/> </magic> </mime-type> <mime-type type="image/x-xfig"> @@ -4841,6 +4977,7 @@ command to generate the output files. </mime-type> <mime-type type="inode/directory"> <_comment>folder</_comment> + <generic-icon name="folder"/> <alias type="x-directory/normal"/> </mime-type> <mime-type type="inode/fifo"> @@ -4980,6 +5117,11 @@ command to generate the output files. <glob pattern="*.vct"/> <glob pattern="*.gcrd"/> </mime-type> + <mime-type type="text/turtle"> + <_comment>Turtle document</_comment> + <glob pattern="*.ttl"/> + <sub-class-of type="text/plain"/> + </mime-type> <mime-type type="text/x-txt2tags"> <_comment>txt2tags document</_comment> <sub-class-of type="text/plain"/> @@ -5041,6 +5183,17 @@ command to generate the output files. <glob pattern="*.owl"/> <root-XML namespaceURI="http://www.w3.org/1999/02/22-rdf-syntax-ns#" localName="RDF"/> </mime-type> + <mime-type type="application/owl+xml"> + <_comment>OWL XML file</_comment> + <acronym>OWL</acronym> + <expanded-acronym>Web Ontology Language</expanded-acronym> + <sub-class-of type="application/xml"/> + <glob pattern="*.owx"/> + <magic> + <match type="string" value="<Ontology" offset="0:256"/> + </magic> + <root-XML namespaceURI="http://www.w3.org/2002/07/owl#" localName="Ontology"/> + </mime-type> <mime-type type="text/rfc822-headers"> <_comment>email headers</_comment> <sub-class-of type="text/plain"/> @@ -5209,6 +5362,13 @@ command to generate the output files. <sub-class-of type="text/plain"/> <glob pattern="*.csv"/> </mime-type> + <mime-type type="text/csv-schema"> + <_comment>CSV Schema document</_comment> + <acronym>CSV</acronym> + <expanded-acronym>Comma Separated Values</expanded-acronym> + <sub-class-of type="text/plain"/> + <glob pattern="*.csvs"/> + </mime-type> <mime-type type="text/x-copying"> <_comment>license terms</_comment> <sub-class-of type="text/plain"/> @@ -5506,6 +5666,12 @@ command to generate the output files. <glob pattern="*.m"/> <alias type="text/x-octave"/> </mime-type> + <mime-type type="text/x-meson"> + <_comment>Meson source code</_comment> + <glob pattern="meson.build"/> + <glob pattern="meson_options.txt"/> + <sub-class-of type="text/plain"/> + </mime-type> <mime-type type="text/x-modelica"> <_comment>Modelica model</_comment> <sub-class-of type="text/plain"/> @@ -5976,6 +6142,7 @@ command to generate the output files. <_comment>SDP multicast stream file</_comment> <acronym>SDP</acronym> <expanded-acronym>Session Description Protocol</expanded-acronym> + <sub-class-of type="text/plain"/> <alias type="application/x-sdp" /> <alias type="application/vnd.sdp" /> <generic-icon name="video-x-generic"/> @@ -6321,4 +6488,24 @@ command to generate the output files. <glob pattern="*.pmd"/> </mime-type> + <mime-type type="application/x-doom-wad"> + <_comment>Doom WAD</_comment> + <acronym>WAD</acronym> + <expanded-acronym>Where's All the Data</expanded-acronym> + <generic-icon name="package-x-generic"/> + <magic priority="50"> + <match type="string" value="IWAD" offset="0"/> + <match type="string" value="PWAD" offset="0"/> + </magic> + <glob pattern="*.wad" weight="80"/> + </mime-type> + + <mime-type type="application/x-amiga-disk-format"> + <_comment>Amiga disk image</_comment> + <magic priority="50"> + <match type="string" value="DOS\x00" offset="0"/> + </magic> + <glob pattern="*.adf"/> + </mime-type> + </mime-info> |