summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2018-06-17 09:46:07 +0300
committerVille Skyttä <ville.skytta@iki.fi>2018-06-17 09:56:43 +0300
commit99ed700e1e2c9118e300c7e257618f4ecb8804ec (patch)
treef10fc4b176f0fddad008bcc854db0f75b19620ba
parente6e3913ca76f253acb7241f9481ce0c7d4ef9857 (diff)
downloadshared-mime-info-99ed700e1e2c9118e300c7e257618f4ecb8804ec.tar.gz
model/stl: Use new IANA type
https://www.iana.org/assignments/media-types/model/stl
-rw-r--r--freedesktop.org.xml.in15
-rw-r--r--tests/list6
2 files changed, 8 insertions, 13 deletions
diff --git a/freedesktop.org.xml.in b/freedesktop.org.xml.in
index 3a833e58..7f2866e4 100644
--- a/freedesktop.org.xml.in
+++ b/freedesktop.org.xml.in
@@ -7165,20 +7165,17 @@ command to generate the output files.
</mime-type>
<!-- 3D models and GCODEs -->
- <mime-type type="model/x.stl-binary">
- <_comment>STL 3D model (binary)</_comment>
- <glob pattern="*.stl"/>
- </mime-type>
-
- <mime-type type="model/x.stl-ascii">
- <_comment>STL 3D model (ASCII)</_comment>
- <sub-class-of type="text/plain"/>
- <generic-icon name="text-x-generic"/>
+ <mime-type type="model/stl">
+ <_comment>STL 3D model</_comment>
+ <acronym>STL</acronym>
+ <expanded-acronym>StereoLithography</expanded-acronym>
<magic priority="50">
<match type="string" value="solid" offset="0"/>
<match type="string" value="SOLID" offset="0"/>
</magic>
<glob pattern="*.stl"/>
+ <alias type="model/x.stl-ascii"/>
+ <alias type="model/x.stl-binary"/>
</mime-type>
<mime-type type="text/x.gcode">
diff --git a/tests/list b/tests/list
index eb756353..3dab2032 100644
--- a/tests/list
+++ b/tests/list
@@ -679,8 +679,6 @@ dbus.service text/x-dbus-service
dbus-comment.service text/x-dbus-service
# 3D models and GCODEs
-binary.stl model/x.stl-binary oxo
-ascii.stl model/x.stl-ascii x
-binary.stl model/x.stl-ascii xxx
-ascii.stl model/x.stl-binary oxx
+binary.stl model/stl oxo
+ascii.stl model/stl
test.gcode text/x.gcode ox