Debian Codegraph @

debian/castle-model-viewer.sharedmimeinfo

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
3
4 <!-- VRML, 3DS mime spec is copied from
5 /usr/share/mime/packages/freedesktop.org.xml in Debian.
6
7 I also added Gzip compressed extensions to this, which is
8 not 100% correct solution, but see below for comments about
9 this for X3D. -->
10
11 <mime-type type="model/vrml">
12 <sub-class-of type="text/plain"/>
13 <comment>VRML document</comment>
14 <comment xml:lang="az">VRML sənədi</comment>
15 <comment xml:lang="bg">Документ — VRML</comment>
16 <comment xml:lang="ca">document VRML</comment>
17 <comment xml:lang="cs">Dokument VRML</comment>
18 <comment xml:lang="cy">Dogfen VRML</comment>
19 <comment xml:lang="da">VRML-dokument</comment>
20 <comment xml:lang="de">VRML-Dokument</comment>
21 <comment xml:lang="el">έγγραφο VRML</comment>
22 <comment xml:lang="en_GB">VRML document</comment>
23 <comment xml:lang="eo">VRML-dokumento</comment>
24 <comment xml:lang="es">documento VRML</comment>
25 <comment xml:lang="eu">VRML dokumentua</comment>
26 <comment xml:lang="fi">VRML-asiakirja</comment>
27 <comment xml:lang="fr">document VRML</comment>
28 <comment xml:lang="hu">VRML-dokumentum</comment>
29 <comment xml:lang="it">Documento VRML</comment>
30 <comment xml:lang="ja">VRML ドキュメント</comment>
31 <comment xml:lang="ko">VRML 문서</comment>
32 <comment xml:lang="lt">VRML dokumentas</comment>
33 <comment xml:lang="ms">Dokumen VRML</comment>
34 <comment xml:lang="nb">VRML-dokument</comment>
35 <comment xml:lang="nl">VRML-document</comment>
36 <comment xml:lang="nn">VRML-dokument</comment>
37 <comment xml:lang="pl">Dokument VRML</comment>
38 <comment xml:lang="pt">documento VRML</comment>
39 <comment xml:lang="pt_BR">Documento VRML</comment>
40 <comment xml:lang="ru">документ VRML</comment>
41 <comment xml:lang="sq">Dokument VRML</comment>
42 <comment xml:lang="sr">VRML документ</comment>
43 <comment xml:lang="sv">VRML-dokument</comment>
44 <comment xml:lang="uk">Документ VRML</comment>
45 <comment xml:lang="vi">Tài liệu VRML</comment>
46 <comment xml:lang="zh_CN">VRML 文档</comment>
47 <comment xml:lang="zh_TW">VRML 文件</comment>
48 <glob pattern="*.wrl"/>
49
50 <!-- Gzip compressed -->
51 <glob pattern="*.wrz"/>
52 <glob pattern="*.wrl.gz"/>
53 </mime-type>
54
55 <mime-type type="image/x-3ds">
56 <comment>3DS model</comment>
57 <comment xml:lang="az">3D Studio rəsmi</comment>
58 <comment xml:lang="bg">Изображение — 3D Studio</comment>
59 <comment xml:lang="ca">imatge de 3D Studio</comment>
60 <comment xml:lang="cs">Obrázek 3D Studio</comment>
61 <comment xml:lang="cy">Delwedd "3D Studio"</comment>
62 <comment xml:lang="da">3D Studio-billede</comment>
63 <comment xml:lang="de">3D Studio-Bild</comment>
64 <comment xml:lang="el">εικόνα 3D Studio</comment>
65 <comment xml:lang="en_GB">3D Studio image</comment>
66 <comment xml:lang="eo">bildo de 3D Studio</comment>
67 <comment xml:lang="es">imagen de 3D Studio</comment>
68 <comment xml:lang="eu">3D Studio-ko irudia</comment>
69 <comment xml:lang="fi">3D Studio -kuva</comment>
70 <comment xml:lang="fr">image 3D Studio</comment>
71 <comment xml:lang="hu">3D Studio-kép</comment>
72 <comment xml:lang="it">Immagine 3D Studio</comment>
73 <comment xml:lang="ja">3D Studio 画像</comment>
74 <comment xml:lang="ko">3D Studio 그림</comment>
75 <comment xml:lang="lt">3D Studio paveikslėlis</comment>
76 <comment xml:lang="ms">Imej 3D Studio</comment>
77 <comment xml:lang="nb">3D Studio-bilde</comment>
78 <comment xml:lang="nl">3D-Studio-afbeelding</comment>
79 <comment xml:lang="nn">3D Studio-bilete</comment>
80 <comment xml:lang="pl">Obraz 3D Studio</comment>
81 <comment xml:lang="pt">imagem 3D Studio</comment>
82 <comment xml:lang="pt_BR">Imagem do 3D Studio</comment>
83 <comment xml:lang="ru">изображение 3D Studio</comment>
84 <comment xml:lang="sq">Figurë 3D Studio</comment>
85 <comment xml:lang="sr">3D Studio слика</comment>
86 <comment xml:lang="sv">3D Studio-bild</comment>
87 <comment xml:lang="uk">Зображення 3D Studio</comment>
88 <comment xml:lang="vi">Ảnh xuởng vẽ 3D</comment>
89 <comment xml:lang="zh_CN">3D Studio 图像</comment>
90 <comment xml:lang="zh_TW">3D Studio 圖片</comment>
91 <glob pattern="*.3ds"/>
92 </mime-type>
93
94 <!-- X3D mimes just written based on X3D encodings specs.
95
96 Note that I add Gzip compressed extensions here.
97 All X3D encoding specifications say that
98 Gzip compressed files indeed have the same MIME type as
99 the normal uncompressed files.
100
101 The one problem with this is that this makes "sub-class-of"
102 somewhat invalid: Gzip compressed X3D is not really a subclass
103 of text/xml, it's a binary data now (unless it's Ok?).
104 But, since the spec says the mime type should be same, there's
105 no correct solution here. Simply removing "sub-class-of" clauses
106 would suck (and cause warnings from nautilus when double-clicking
107 the file, since detected by "file" contents would conflict with
108 mime specified, so the "file type" description would switch
109 between "X3D model" and "XML document").
110 -->
111
112 <mime-type type="model/x3d+vrml">
113 <sub-class-of type="text/plain"/>
114 <comment>X3D model (classic VRML encoding)</comment>
115 <glob pattern="*.x3dv"/>
116 <!-- Gzip compressed -->
117 <glob pattern="*.x3dv.gz"/>
118 <glob pattern="*.x3dvz"/>
119 </mime-type>
120
121 <mime-type type="model/x3d+xml">
122 <sub-class-of type="text/xml"/>
123 <comment>X3D model (XML encoding)</comment>
124 <glob pattern="*.x3d"/>
125 <!-- Gzip compressed -->
126 <glob pattern="*.x3d.gz"/>
127 <glob pattern="*.x3dz"/>
128 </mime-type>
129
130 <mime-type type="model/x3d+binary">
131 <comment>X3D model (binary compressed)</comment>
132 <glob pattern="*.x3db"/>
133 <!-- Gzip compressed -->
134 <glob pattern="*.x3db.gz"/>
135 </mime-type>
136
137 <!-- MIME type from http://en.wikipedia.org/wiki/COLLADA -->
138 <mime-type type="model/vnd.collada+xml">
139 <sub-class-of type="text/xml"/>
140 <comment>COLLADA model</comment>
141 <glob pattern="*.dae"/>
142 </mime-type>
143
144 <mime-type type="application/x-inventor">
145 <sub-class-of type="text/plain"/>
146 <comment>Inventor model</comment>
147 <glob pattern="*.iv"/>
148 </mime-type>
149
150 <!-- MIME type invented by Kambi.
151 Neither http://en.wikipedia.org/wiki/MD3_%28file_format%29
152 nor http://filext.com/file-extension/md3 specifies any Mime type.
153 Please report if there is any standard about this. -->
154 <mime-type type="application/x-md3">
155 <comment>MD3 (Quake 3 engine) model</comment>
156 <glob pattern="*.md3"/>
157 </mime-type>
158
159 <!-- MIME type invented by Kambi.
160 http://en.wikipedia.org/wiki/Wavefront_.obj_file says to use
161 text/plain, but that's useless for us, we need a unique MIME type
162 to handle this.
163 Please report if there is any standard about this. -->
164 <mime-type type="application/x-wavefront-obj">
165 <sub-class-of type="text/plain"/>
166 <comment>Wavefront OBJ model</comment>
167 <glob pattern="*.obj"/>
168 </mime-type>
169
170 <!-- MIME type invented by Kambi.
171 Please report if there is any standard about this. -->
172 <mime-type type="application/x-geo">
173 <sub-class-of type="text/plain"/>
174 <comment>Videoscape GEO model</comment>
175 <glob pattern="*.geo"/>
176 </mime-type>
177
178 <!-- MIME type invented by Michalis Kamburelis.
179 castle-anim-frames is my format,
180 see [https://castle-engine.io/castle_animation_frames.php],
181 so we can invent any mime type we want here. -->
182 <mime-type type="application/x-castle-anim-frames">
183 <sub-class-of type="text/xml"/>
184 <comment>Castle Game Engine animation</comment>
185 <glob pattern="*.kanim"/>
186 <glob pattern="*.castle-anim-frames"/>
187 </mime-type>
188
189 <!-- castle-model-viewer also handles Spine animations in *.json,
190 although we cannot create MIME type that captures Spine animations
191 and not other json content... -->
192 <mime-type type="application/json">
193 <sub-class-of type="text/plain"/>
194 <comment>JSON document</comment>
195 <glob pattern="*.json"/>
196 </mime-type>
197
198 <mime-type type="model/gltf+json">
199 <comment>glTF</comment>
200 <glob pattern="*.gltf"/>
201 </mime-type>
202
203 <mime-type type="model/gltf-binary">
204 <comment>glTF Binary</comment>
205 <glob pattern="*.glb"/>
206 </mime-type>
207 </mime-info>