2014-05-05 10:27:05 +00:00
|
|
|
From 4b67339a19d907dbd44dd7fef1ea50761a5ce943 Mon Sep 17 00:00:00 2001
|
2011-08-25 14:10:32 +00:00
|
|
|
From: Bastien Nocera <hadess@hadess.net>
|
|
|
|
Date: Thu, 25 Aug 2011 10:54:47 +0100
|
|
|
|
Subject: [PATCH] Remove sub-classing from OO.o mime-types
|
|
|
|
|
|
|
|
https://bugs.freedesktop.org/show_bug.cgi?id=40354
|
|
|
|
---
|
2014-05-05 10:27:05 +00:00
|
|
|
freedesktop.org.xml.in | 31 -------------------------------
|
|
|
|
1 file changed, 31 deletions(-)
|
2011-08-25 14:10:32 +00:00
|
|
|
|
|
|
|
diff --git a/freedesktop.org.xml.in b/freedesktop.org.xml.in
|
2014-05-05 10:27:05 +00:00
|
|
|
index 46dbfbd..bd3945d 100644
|
2011-08-25 14:10:32 +00:00
|
|
|
--- a/freedesktop.org.xml.in
|
|
|
|
+++ b/freedesktop.org.xml.in
|
2014-05-05 10:27:05 +00:00
|
|
|
@@ -774,7 +774,6 @@ command to generate the output files.
|
2011-08-25 14:10:32 +00:00
|
|
|
</mime-type>
|
|
|
|
<mime-type type="application/vnd.sun.xml.calc">
|
|
|
|
<_comment>OpenOffice Calc spreadsheet</_comment>
|
|
|
|
- <sub-class-of type="application/zip"/>
|
|
|
|
<generic-icon name="x-office-spreadsheet"/>
|
|
|
|
<magic>
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
2014-05-05 10:27:05 +00:00
|
|
|
@@ -787,7 +786,6 @@ command to generate the output files.
|
2011-08-25 14:10:32 +00:00
|
|
|
</mime-type>
|
|
|
|
<mime-type type="application/vnd.sun.xml.calc.template">
|
|
|
|
<_comment>OpenOffice Calc template</_comment>
|
|
|
|
- <sub-class-of type="application/zip"/>
|
|
|
|
<generic-icon name="x-office-spreadsheet"/>
|
|
|
|
<magic>
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
2014-05-05 10:27:05 +00:00
|
|
|
@@ -800,7 +798,6 @@ command to generate the output files.
|
2011-08-25 14:10:32 +00:00
|
|
|
</mime-type>
|
|
|
|
<mime-type type="application/vnd.sun.xml.draw">
|
|
|
|
<_comment>OpenOffice Draw drawing</_comment>
|
|
|
|
- <sub-class-of type="application/zip"/>
|
|
|
|
<generic-icon name="image-x-generic"/>
|
|
|
|
<magic>
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
2014-05-05 10:27:05 +00:00
|
|
|
@@ -813,7 +810,6 @@ command to generate the output files.
|
2011-08-25 14:10:32 +00:00
|
|
|
</mime-type>
|
|
|
|
<mime-type type="application/vnd.sun.xml.draw.template">
|
|
|
|
<_comment>OpenOffice Draw template</_comment>
|
|
|
|
- <sub-class-of type="application/zip"/>
|
|
|
|
<generic-icon name="image-x-generic"/>
|
|
|
|
<magic>
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
2014-05-05 10:27:05 +00:00
|
|
|
@@ -826,7 +822,6 @@ command to generate the output files.
|
2011-08-25 14:10:32 +00:00
|
|
|
</mime-type>
|
|
|
|
<mime-type type="application/vnd.sun.xml.impress">
|
|
|
|
<_comment>OpenOffice Impress presentation</_comment>
|
|
|
|
- <sub-class-of type="application/zip"/>
|
|
|
|
<generic-icon name="x-office-presentation"/>
|
|
|
|
<magic>
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
2014-05-05 10:27:05 +00:00
|
|
|
@@ -839,7 +834,6 @@ command to generate the output files.
|
2011-08-25 14:10:32 +00:00
|
|
|
</mime-type>
|
|
|
|
<mime-type type="application/vnd.sun.xml.impress.template">
|
|
|
|
<_comment>OpenOffice Impress template</_comment>
|
|
|
|
- <sub-class-of type="application/zip"/>
|
|
|
|
<generic-icon name="x-office-presentation"/>
|
|
|
|
<magic>
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
2014-05-05 10:27:05 +00:00
|
|
|
@@ -852,7 +846,6 @@ command to generate the output files.
|
2011-08-25 14:10:32 +00:00
|
|
|
</mime-type>
|
|
|
|
<mime-type type="application/vnd.sun.xml.math">
|
|
|
|
<_comment>OpenOffice Math formula</_comment>
|
|
|
|
- <sub-class-of type="application/zip"/>
|
|
|
|
<generic-icon name="x-office-document"/>
|
|
|
|
<magic>
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
2014-05-05 10:27:05 +00:00
|
|
|
@@ -865,7 +858,6 @@ command to generate the output files.
|
2011-08-25 14:10:32 +00:00
|
|
|
</mime-type>
|
|
|
|
<mime-type type="application/vnd.sun.xml.writer">
|
|
|
|
<_comment>OpenOffice Writer document</_comment>
|
|
|
|
- <sub-class-of type="application/zip"/>
|
|
|
|
<generic-icon name="x-office-document"/>
|
|
|
|
<magic>
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
2014-05-05 10:27:05 +00:00
|
|
|
@@ -878,7 +870,6 @@ command to generate the output files.
|
2011-08-25 14:10:32 +00:00
|
|
|
</mime-type>
|
|
|
|
<mime-type type="application/vnd.sun.xml.writer.global">
|
|
|
|
<_comment>OpenOffice Writer global document</_comment>
|
|
|
|
- <sub-class-of type="application/zip"/>
|
|
|
|
<generic-icon name="x-office-document"/>
|
|
|
|
<magic>
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
2014-05-05 10:27:05 +00:00
|
|
|
@@ -891,7 +882,6 @@ command to generate the output files.
|
2011-08-25 14:10:32 +00:00
|
|
|
</mime-type>
|
|
|
|
<mime-type type="application/vnd.sun.xml.writer.template">
|
|
|
|
<_comment>OpenOffice Writer template</_comment>
|
|
|
|
- <sub-class-of type="application/zip"/>
|
|
|
|
<generic-icon name="x-office-document"/>
|
|
|
|
<magic>
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
2014-05-05 10:27:05 +00:00
|
|
|
@@ -906,7 +896,6 @@ command to generate the output files.
|
2011-08-25 14:10:32 +00:00
|
|
|
<_comment>ODT document</_comment>
|
|
|
|
<acronym>ODT</acronym>
|
|
|
|
<expanded-acronym>OpenDocument Text</expanded-acronym>
|
|
|
|
- <sub-class-of type="application/zip"/>
|
|
|
|
<generic-icon name="x-office-document"/>
|
|
|
|
<magic priority="50">
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
2014-05-05 10:27:05 +00:00
|
|
|
@@ -921,7 +910,6 @@ command to generate the output files.
|
2011-08-25 14:10:32 +00:00
|
|
|
<_comment>ODT document (Flat XML)</_comment>
|
|
|
|
<acronym>FODT</acronym>
|
|
|
|
<expanded-acronym>OpenDocument Text (Flat XML)</expanded-acronym>
|
|
|
|
- <sub-class-of type="application/xml"/>
|
|
|
|
<generic-icon name="x-office-document"/>
|
|
|
|
<glob pattern="*.fodt"/>
|
|
|
|
</mime-type>
|
2014-05-05 10:27:05 +00:00
|
|
|
@@ -929,7 +917,6 @@ command to generate the output files.
|
2011-08-25 14:10:32 +00:00
|
|
|
<_comment>ODT template</_comment>
|
|
|
|
<acronym>ODT</acronym>
|
|
|
|
<expanded-acronym>OpenDocument Text</expanded-acronym>
|
|
|
|
- <sub-class-of type="application/zip"/>
|
|
|
|
<generic-icon name="x-office-document"/>
|
|
|
|
<magic priority="50">
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
2014-05-05 10:27:05 +00:00
|
|
|
@@ -944,7 +931,6 @@ command to generate the output files.
|
2011-08-25 14:10:32 +00:00
|
|
|
<_comment>OTH template</_comment>
|
|
|
|
<acronym>OTH</acronym>
|
|
|
|
<expanded-acronym>OpenDocument HTML</expanded-acronym>
|
|
|
|
- <sub-class-of type="application/zip"/>
|
|
|
|
<generic-icon name="text-html"/>
|
|
|
|
<magic priority="50">
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
2014-05-05 10:27:05 +00:00
|
|
|
@@ -959,7 +945,6 @@ command to generate the output files.
|
2011-08-25 14:10:32 +00:00
|
|
|
<_comment>ODM document</_comment>
|
|
|
|
<acronym>ODM</acronym>
|
|
|
|
<expanded-acronym>OpenDocument Master</expanded-acronym>
|
|
|
|
- <sub-class-of type="application/zip"/>
|
|
|
|
<generic-icon name="x-office-document"/>
|
|
|
|
<magic priority="50">
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
2014-05-05 10:27:05 +00:00
|
|
|
@@ -974,7 +959,6 @@ command to generate the output files.
|
2011-08-25 14:10:32 +00:00
|
|
|
<_comment>ODG drawing</_comment>
|
|
|
|
<acronym>ODG</acronym>
|
|
|
|
<expanded-acronym>OpenDocument Drawing</expanded-acronym>
|
|
|
|
- <sub-class-of type="application/zip"/>
|
|
|
|
<generic-icon name="image-x-generic"/>
|
|
|
|
<magic priority="50">
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
2014-05-05 10:27:05 +00:00
|
|
|
@@ -989,7 +973,6 @@ command to generate the output files.
|
2011-08-25 14:10:32 +00:00
|
|
|
<_comment>ODG drawing (Flat XML)</_comment>
|
|
|
|
<acronym>FODG</acronym>
|
|
|
|
<expanded-acronym>OpenDocument Drawing (Flat XML)</expanded-acronym>
|
|
|
|
- <sub-class-of type="application/xml"/>
|
|
|
|
<generic-icon name="image-x-generic"/>
|
|
|
|
<glob pattern="*.fodg"/>
|
|
|
|
</mime-type>
|
2014-05-05 10:27:05 +00:00
|
|
|
@@ -997,7 +980,6 @@ command to generate the output files.
|
2011-08-25 14:10:32 +00:00
|
|
|
<_comment>ODG template</_comment>
|
|
|
|
<acronym>ODG</acronym>
|
|
|
|
<expanded-acronym>OpenDocument Drawing</expanded-acronym>
|
|
|
|
- <sub-class-of type="application/zip"/>
|
|
|
|
<generic-icon name="image-x-generic"/>
|
|
|
|
<magic priority="50">
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
2014-05-05 10:27:05 +00:00
|
|
|
@@ -1012,7 +994,6 @@ command to generate the output files.
|
2011-08-25 14:10:32 +00:00
|
|
|
<_comment>ODP presentation</_comment>
|
|
|
|
<acronym>ODP</acronym>
|
|
|
|
<expanded-acronym>OpenDocument Presentation</expanded-acronym>
|
|
|
|
- <sub-class-of type="application/zip"/>
|
|
|
|
<generic-icon name="x-office-presentation"/>
|
|
|
|
<magic priority="50">
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
2014-05-05 10:27:05 +00:00
|
|
|
@@ -1027,7 +1008,6 @@ command to generate the output files.
|
2011-08-25 14:10:32 +00:00
|
|
|
<_comment>ODP presentation (Flat XML)</_comment>
|
|
|
|
<acronym>FODP</acronym>
|
|
|
|
<expanded-acronym>OpenDocument Presentation (Flat XML)</expanded-acronym>
|
|
|
|
- <sub-class-of type="application/xml"/>
|
|
|
|
<generic-icon name="x-office-presentation"/>
|
|
|
|
<glob pattern="*.fodp"/>
|
|
|
|
</mime-type>
|
2014-05-05 10:27:05 +00:00
|
|
|
@@ -1035,7 +1015,6 @@ command to generate the output files.
|
2011-08-25 14:10:32 +00:00
|
|
|
<_comment>ODP template</_comment>
|
|
|
|
<acronym>ODP</acronym>
|
|
|
|
<expanded-acronym>OpenDocument Presentation</expanded-acronym>
|
|
|
|
- <sub-class-of type="application/zip"/>
|
|
|
|
<generic-icon name="x-office-presentation"/>
|
|
|
|
<magic priority="50">
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
2014-05-05 10:27:05 +00:00
|
|
|
@@ -1050,7 +1029,6 @@ command to generate the output files.
|
2011-08-25 14:10:32 +00:00
|
|
|
<_comment>ODS spreadsheet</_comment>
|
|
|
|
<acronym>ODS</acronym>
|
|
|
|
<expanded-acronym>OpenDocument Spreadsheet</expanded-acronym>
|
|
|
|
- <sub-class-of type="application/zip"/>
|
|
|
|
<generic-icon name="x-office-spreadsheet"/>
|
|
|
|
<magic priority="50">
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
2014-05-05 10:27:05 +00:00
|
|
|
@@ -1065,7 +1043,6 @@ command to generate the output files.
|
2011-08-25 14:10:32 +00:00
|
|
|
<_comment>ODS spreadsheet (Flat XML)</_comment>
|
|
|
|
<acronym>FODS</acronym>
|
|
|
|
<expanded-acronym>OpenDocument Spreadsheet (Flat XML)</expanded-acronym>
|
|
|
|
- <sub-class-of type="application/xml"/>
|
|
|
|
<generic-icon name="x-office-spreadsheet"/>
|
|
|
|
<glob pattern="*.fods"/>
|
|
|
|
</mime-type>
|
2014-05-05 10:27:05 +00:00
|
|
|
@@ -1073,7 +1050,6 @@ command to generate the output files.
|
2011-08-25 14:10:32 +00:00
|
|
|
<_comment>ODS template</_comment>
|
|
|
|
<acronym>ODS</acronym>
|
|
|
|
<expanded-acronym>OpenDocument Spreadsheet</expanded-acronym>
|
|
|
|
- <sub-class-of type="application/zip"/>
|
|
|
|
<generic-icon name="x-office-spreadsheet"/>
|
|
|
|
<magic priority="50">
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
2014-05-05 10:27:05 +00:00
|
|
|
@@ -1088,7 +1064,6 @@ command to generate the output files.
|
2011-08-25 14:10:32 +00:00
|
|
|
<_comment>ODC chart</_comment>
|
|
|
|
<acronym>ODC</acronym>
|
|
|
|
<expanded-acronym>OpenDocument Chart</expanded-acronym>
|
|
|
|
- <sub-class-of type="application/zip"/>
|
|
|
|
<generic-icon name="x-office-spreadsheet"/>
|
|
|
|
<magic priority="50">
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
2014-05-05 10:27:05 +00:00
|
|
|
@@ -1103,7 +1078,6 @@ command to generate the output files.
|
2011-08-25 14:10:32 +00:00
|
|
|
<_comment>ODC template</_comment>
|
|
|
|
<acronym>ODC</acronym>
|
|
|
|
<expanded-acronym>OpenDocument Chart</expanded-acronym>
|
|
|
|
- <sub-class-of type="application/zip"/>
|
|
|
|
<generic-icon name="x-office-spreadsheet"/>
|
|
|
|
<magic priority="50">
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
2014-05-05 10:27:05 +00:00
|
|
|
@@ -1118,7 +1092,6 @@ command to generate the output files.
|
2011-08-25 14:10:32 +00:00
|
|
|
<_comment>ODF formula</_comment>
|
|
|
|
<acronym>ODF</acronym>
|
|
|
|
<expanded-acronym>OpenDocument Formula</expanded-acronym>
|
|
|
|
- <sub-class-of type="application/zip"/>
|
|
|
|
<generic-icon name="x-office-document"/>
|
|
|
|
<magic priority="50">
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
2014-05-05 10:27:05 +00:00
|
|
|
@@ -1133,7 +1106,6 @@ command to generate the output files.
|
2011-08-25 14:10:32 +00:00
|
|
|
<_comment>ODF template</_comment>
|
|
|
|
<acronym>ODF</acronym>
|
|
|
|
<expanded-acronym>OpenDocument Formula</expanded-acronym>
|
|
|
|
- <sub-class-of type="application/zip"/>
|
|
|
|
<generic-icon name="x-office-document"/>
|
|
|
|
<magic priority="50">
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
2014-05-05 10:27:05 +00:00
|
|
|
@@ -1148,7 +1120,6 @@ command to generate the output files.
|
2011-08-25 14:10:32 +00:00
|
|
|
<_comment>ODB database</_comment>
|
|
|
|
<acronym>ODB</acronym>
|
|
|
|
<expanded-acronym>OpenDocument Database</expanded-acronym>
|
|
|
|
- <sub-class-of type="application/zip"/>
|
|
|
|
<generic-icon name="x-office-document"/>
|
|
|
|
<glob pattern="*.odb"/>
|
2014-05-05 10:27:05 +00:00
|
|
|
<alias type="application/vnd.sun.xml.base"/>
|
|
|
|
@@ -1157,7 +1128,6 @@ command to generate the output files.
|
2011-08-25 14:10:32 +00:00
|
|
|
<_comment>ODI image</_comment>
|
|
|
|
<acronym>ODI</acronym>
|
|
|
|
<expanded-acronym>OpenDocument Image</expanded-acronym>
|
|
|
|
- <sub-class-of type="application/zip"/>
|
|
|
|
<generic-icon name="image-x-generic"/>
|
|
|
|
<magic priority="50">
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
2014-05-05 10:27:05 +00:00
|
|
|
@@ -1170,7 +1140,6 @@ command to generate the output files.
|
2011-08-25 14:10:32 +00:00
|
|
|
</mime-type>
|
|
|
|
<mime-type type="application/vnd.openofficeorg.extension">
|
|
|
|
<_comment>OpenOffice.org extension</_comment>
|
|
|
|
- <sub-class-of type="application/zip"/>
|
|
|
|
<generic-icon name="x-office-document"/>
|
|
|
|
<glob pattern="*.oxt" />
|
|
|
|
</mime-type>
|
|
|
|
--
|
2014-05-05 10:27:05 +00:00
|
|
|
1.9.0
|
2011-08-25 14:10:32 +00:00
|
|
|
|