|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
From da0e63ccd86ead63e6b29828286897fb1236eb81 Mon Sep 17 00:00:00 2001
|
|
|
|
|
From dc15dd50b198b0b2a135abd16151206dd9acca75 Mon Sep 17 00:00:00 2001
|
|
|
|
|
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
|
|
|
|
@ -9,90 +9,90 @@ https://bugs.freedesktop.org/show_bug.cgi?id=40354
|
|
|
|
|
1 file changed, 31 deletions(-)
|
|
|
|
|
|
|
|
|
|
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in
|
|
|
|
|
index 8020b13..00e8d90 100644
|
|
|
|
|
index 1c17b8d..ad464e1 100644
|
|
|
|
|
--- a/data/freedesktop.org.xml.in
|
|
|
|
|
+++ b/data/freedesktop.org.xml.in
|
|
|
|
|
@@ -941,7 +941,6 @@ command to generate the output files.
|
|
|
|
|
@@ -877,7 +877,6 @@ command to generate the output files.
|
|
|
|
|
</mime-type>
|
|
|
|
|
<mime-type type="application/vnd.sun.xml.calc">
|
|
|
|
|
<comment>LibreOffice Calc spreadsheet</comment>
|
|
|
|
|
<comment>OpenOffice Calc spreadsheet</comment>
|
|
|
|
|
- <sub-class-of type="application/zip"/>
|
|
|
|
|
<generic-icon name="x-office-spreadsheet"/>
|
|
|
|
|
<magic priority="70">
|
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
|
|
|
|
@@ -954,7 +953,6 @@ command to generate the output files.
|
|
|
|
|
@@ -890,7 +889,6 @@ command to generate the output files.
|
|
|
|
|
</mime-type>
|
|
|
|
|
<mime-type type="application/vnd.sun.xml.calc.template">
|
|
|
|
|
<comment>LibreOffice Calc template</comment>
|
|
|
|
|
<comment>OpenOffice Calc template</comment>
|
|
|
|
|
- <sub-class-of type="application/zip"/>
|
|
|
|
|
<generic-icon name="x-office-spreadsheet"/>
|
|
|
|
|
<magic priority="70">
|
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
|
|
|
|
@@ -967,7 +965,6 @@ command to generate the output files.
|
|
|
|
|
@@ -903,7 +901,6 @@ command to generate the output files.
|
|
|
|
|
</mime-type>
|
|
|
|
|
<mime-type type="application/vnd.sun.xml.draw">
|
|
|
|
|
<comment>LibreOffice Draw drawing</comment>
|
|
|
|
|
<comment>OpenOffice Draw drawing</comment>
|
|
|
|
|
- <sub-class-of type="application/zip"/>
|
|
|
|
|
<generic-icon name="image-x-generic"/>
|
|
|
|
|
<magic priority="70">
|
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
|
|
|
|
@@ -980,7 +977,6 @@ command to generate the output files.
|
|
|
|
|
@@ -916,7 +913,6 @@ command to generate the output files.
|
|
|
|
|
</mime-type>
|
|
|
|
|
<mime-type type="application/vnd.sun.xml.draw.template">
|
|
|
|
|
<comment>LibreOffice Draw template</comment>
|
|
|
|
|
<comment>OpenOffice Draw template</comment>
|
|
|
|
|
- <sub-class-of type="application/zip"/>
|
|
|
|
|
<generic-icon name="image-x-generic"/>
|
|
|
|
|
<magic priority="70">
|
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
|
|
|
|
@@ -993,7 +989,6 @@ command to generate the output files.
|
|
|
|
|
@@ -929,7 +925,6 @@ command to generate the output files.
|
|
|
|
|
</mime-type>
|
|
|
|
|
<mime-type type="application/vnd.sun.xml.impress">
|
|
|
|
|
<comment>LibreOffice Impress presentation</comment>
|
|
|
|
|
<comment>OpenOffice Impress presentation</comment>
|
|
|
|
|
- <sub-class-of type="application/zip"/>
|
|
|
|
|
<generic-icon name="x-office-presentation"/>
|
|
|
|
|
<magic priority="70">
|
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
|
|
|
|
@@ -1006,7 +1001,6 @@ command to generate the output files.
|
|
|
|
|
@@ -942,7 +937,6 @@ command to generate the output files.
|
|
|
|
|
</mime-type>
|
|
|
|
|
<mime-type type="application/vnd.sun.xml.impress.template">
|
|
|
|
|
<comment>LibreOffice Impress template</comment>
|
|
|
|
|
<comment>OpenOffice Impress template</comment>
|
|
|
|
|
- <sub-class-of type="application/zip"/>
|
|
|
|
|
<generic-icon name="x-office-presentation"/>
|
|
|
|
|
<magic priority="70">
|
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
|
|
|
|
@@ -1019,7 +1013,6 @@ command to generate the output files.
|
|
|
|
|
@@ -955,7 +949,6 @@ command to generate the output files.
|
|
|
|
|
</mime-type>
|
|
|
|
|
<mime-type type="application/vnd.sun.xml.math">
|
|
|
|
|
<comment>LibreOffice Math formula</comment>
|
|
|
|
|
<comment>OpenOffice Math formula</comment>
|
|
|
|
|
- <sub-class-of type="application/zip"/>
|
|
|
|
|
<generic-icon name="x-office-document"/>
|
|
|
|
|
<magic priority="70">
|
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
|
|
|
|
@@ -1032,7 +1025,6 @@ command to generate the output files.
|
|
|
|
|
@@ -968,7 +961,6 @@ command to generate the output files.
|
|
|
|
|
</mime-type>
|
|
|
|
|
<mime-type type="application/vnd.sun.xml.writer">
|
|
|
|
|
<comment>LibreOffice Writer document</comment>
|
|
|
|
|
<comment>OpenOffice Writer document</comment>
|
|
|
|
|
- <sub-class-of type="application/zip"/>
|
|
|
|
|
<generic-icon name="x-office-document"/>
|
|
|
|
|
<magic priority="70">
|
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
|
|
|
|
@@ -1045,7 +1037,6 @@ command to generate the output files.
|
|
|
|
|
@@ -981,7 +973,6 @@ command to generate the output files.
|
|
|
|
|
</mime-type>
|
|
|
|
|
<mime-type type="application/vnd.sun.xml.writer.global">
|
|
|
|
|
<comment>LibreOffice Writer global document</comment>
|
|
|
|
|
<comment>OpenOffice Writer global document</comment>
|
|
|
|
|
- <sub-class-of type="application/zip"/>
|
|
|
|
|
<generic-icon name="x-office-document"/>
|
|
|
|
|
<magic priority="70">
|
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
|
|
|
|
@@ -1058,7 +1049,6 @@ command to generate the output files.
|
|
|
|
|
@@ -994,7 +985,6 @@ command to generate the output files.
|
|
|
|
|
</mime-type>
|
|
|
|
|
<mime-type type="application/vnd.sun.xml.writer.template">
|
|
|
|
|
<comment>LibreOffice Writer template</comment>
|
|
|
|
|
<comment>OpenOffice Writer template</comment>
|
|
|
|
|
- <sub-class-of type="application/zip"/>
|
|
|
|
|
<generic-icon name="x-office-document"/>
|
|
|
|
|
<magic priority="70">
|
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
|
|
|
|
@@ -1073,7 +1063,6 @@ command to generate the output files.
|
|
|
|
|
@@ -1009,7 +999,6 @@ command to generate the output files.
|
|
|
|
|
<comment>ODT document</comment>
|
|
|
|
|
<acronym>ODT</acronym>
|
|
|
|
|
<expanded-acronym>OpenDocument Text</expanded-acronym>
|
|
|
|
@ -100,7 +100,7 @@ index 8020b13..00e8d90 100644
|
|
|
|
|
<generic-icon name="x-office-document"/>
|
|
|
|
|
<magic priority="70">
|
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
|
|
|
|
@@ -1088,7 +1077,6 @@ command to generate the output files.
|
|
|
|
|
@@ -1024,7 +1013,6 @@ command to generate the output files.
|
|
|
|
|
<comment>ODT document (Flat XML)</comment>
|
|
|
|
|
<acronym>FODT</acronym>
|
|
|
|
|
<expanded-acronym>OpenDocument Text (Flat XML)</expanded-acronym>
|
|
|
|
@ -108,7 +108,7 @@ index 8020b13..00e8d90 100644
|
|
|
|
|
<generic-icon name="x-office-document"/>
|
|
|
|
|
<glob pattern="*.fodt"/>
|
|
|
|
|
</mime-type>
|
|
|
|
|
@@ -1096,7 +1084,6 @@ command to generate the output files.
|
|
|
|
|
@@ -1032,7 +1020,6 @@ command to generate the output files.
|
|
|
|
|
<comment>ODT template</comment>
|
|
|
|
|
<acronym>ODT</acronym>
|
|
|
|
|
<expanded-acronym>OpenDocument Text</expanded-acronym>
|
|
|
|
@ -116,7 +116,7 @@ index 8020b13..00e8d90 100644
|
|
|
|
|
<generic-icon name="x-office-document"/>
|
|
|
|
|
<magic priority="70">
|
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
|
|
|
|
@@ -1111,7 +1098,6 @@ command to generate the output files.
|
|
|
|
|
@@ -1047,7 +1034,6 @@ command to generate the output files.
|
|
|
|
|
<comment>OTH template</comment>
|
|
|
|
|
<acronym>OTH</acronym>
|
|
|
|
|
<expanded-acronym>OpenDocument HTML</expanded-acronym>
|
|
|
|
@ -124,7 +124,7 @@ index 8020b13..00e8d90 100644
|
|
|
|
|
<generic-icon name="text-html"/>
|
|
|
|
|
<magic priority="70">
|
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
|
|
|
|
@@ -1126,7 +1112,6 @@ command to generate the output files.
|
|
|
|
|
@@ -1062,7 +1048,6 @@ command to generate the output files.
|
|
|
|
|
<comment>ODM document</comment>
|
|
|
|
|
<acronym>ODM</acronym>
|
|
|
|
|
<expanded-acronym>OpenDocument Master</expanded-acronym>
|
|
|
|
@ -132,7 +132,7 @@ index 8020b13..00e8d90 100644
|
|
|
|
|
<generic-icon name="x-office-document"/>
|
|
|
|
|
<magic priority="70">
|
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
|
|
|
|
@@ -1141,7 +1126,6 @@ command to generate the output files.
|
|
|
|
|
@@ -1077,7 +1062,6 @@ command to generate the output files.
|
|
|
|
|
<comment>ODG drawing</comment>
|
|
|
|
|
<acronym>ODG</acronym>
|
|
|
|
|
<expanded-acronym>OpenDocument Drawing</expanded-acronym>
|
|
|
|
@ -140,7 +140,7 @@ index 8020b13..00e8d90 100644
|
|
|
|
|
<generic-icon name="image-x-generic"/>
|
|
|
|
|
<magic priority="70">
|
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
|
|
|
|
@@ -1156,7 +1140,6 @@ command to generate the output files.
|
|
|
|
|
@@ -1092,7 +1076,6 @@ command to generate the output files.
|
|
|
|
|
<comment>ODG drawing (Flat XML)</comment>
|
|
|
|
|
<acronym>FODG</acronym>
|
|
|
|
|
<expanded-acronym>OpenDocument Drawing (Flat XML)</expanded-acronym>
|
|
|
|
@ -148,7 +148,7 @@ index 8020b13..00e8d90 100644
|
|
|
|
|
<generic-icon name="image-x-generic"/>
|
|
|
|
|
<glob pattern="*.fodg"/>
|
|
|
|
|
</mime-type>
|
|
|
|
|
@@ -1164,7 +1147,6 @@ command to generate the output files.
|
|
|
|
|
@@ -1100,7 +1083,6 @@ command to generate the output files.
|
|
|
|
|
<comment>ODG template</comment>
|
|
|
|
|
<acronym>ODG</acronym>
|
|
|
|
|
<expanded-acronym>OpenDocument Drawing</expanded-acronym>
|
|
|
|
@ -156,7 +156,7 @@ index 8020b13..00e8d90 100644
|
|
|
|
|
<generic-icon name="image-x-generic"/>
|
|
|
|
|
<magic priority="70">
|
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
|
|
|
|
@@ -1179,7 +1161,6 @@ command to generate the output files.
|
|
|
|
|
@@ -1115,7 +1097,6 @@ command to generate the output files.
|
|
|
|
|
<comment>ODP presentation</comment>
|
|
|
|
|
<acronym>ODP</acronym>
|
|
|
|
|
<expanded-acronym>OpenDocument Presentation</expanded-acronym>
|
|
|
|
@ -164,7 +164,7 @@ index 8020b13..00e8d90 100644
|
|
|
|
|
<generic-icon name="x-office-presentation"/>
|
|
|
|
|
<magic priority="70">
|
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
|
|
|
|
@@ -1194,7 +1175,6 @@ command to generate the output files.
|
|
|
|
|
@@ -1130,7 +1111,6 @@ command to generate the output files.
|
|
|
|
|
<comment>ODP presentation (Flat XML)</comment>
|
|
|
|
|
<acronym>FODP</acronym>
|
|
|
|
|
<expanded-acronym>OpenDocument Presentation (Flat XML)</expanded-acronym>
|
|
|
|
@ -172,7 +172,7 @@ index 8020b13..00e8d90 100644
|
|
|
|
|
<generic-icon name="x-office-presentation"/>
|
|
|
|
|
<glob pattern="*.fodp"/>
|
|
|
|
|
</mime-type>
|
|
|
|
|
@@ -1202,7 +1182,6 @@ command to generate the output files.
|
|
|
|
|
@@ -1138,7 +1118,6 @@ command to generate the output files.
|
|
|
|
|
<comment>ODP template</comment>
|
|
|
|
|
<acronym>ODP</acronym>
|
|
|
|
|
<expanded-acronym>OpenDocument Presentation</expanded-acronym>
|
|
|
|
@ -180,7 +180,7 @@ index 8020b13..00e8d90 100644
|
|
|
|
|
<generic-icon name="x-office-presentation"/>
|
|
|
|
|
<magic priority="70">
|
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
|
|
|
|
@@ -1217,7 +1196,6 @@ command to generate the output files.
|
|
|
|
|
@@ -1153,7 +1132,6 @@ command to generate the output files.
|
|
|
|
|
<comment>ODS spreadsheet</comment>
|
|
|
|
|
<acronym>ODS</acronym>
|
|
|
|
|
<expanded-acronym>OpenDocument Spreadsheet</expanded-acronym>
|
|
|
|
@ -188,7 +188,7 @@ index 8020b13..00e8d90 100644
|
|
|
|
|
<generic-icon name="x-office-spreadsheet"/>
|
|
|
|
|
<magic priority="70">
|
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
|
|
|
|
@@ -1232,7 +1210,6 @@ command to generate the output files.
|
|
|
|
|
@@ -1168,7 +1146,6 @@ command to generate the output files.
|
|
|
|
|
<comment>ODS spreadsheet (Flat XML)</comment>
|
|
|
|
|
<acronym>FODS</acronym>
|
|
|
|
|
<expanded-acronym>OpenDocument Spreadsheet (Flat XML)</expanded-acronym>
|
|
|
|
@ -196,7 +196,7 @@ index 8020b13..00e8d90 100644
|
|
|
|
|
<generic-icon name="x-office-spreadsheet"/>
|
|
|
|
|
<glob pattern="*.fods"/>
|
|
|
|
|
</mime-type>
|
|
|
|
|
@@ -1240,7 +1217,6 @@ command to generate the output files.
|
|
|
|
|
@@ -1176,7 +1153,6 @@ command to generate the output files.
|
|
|
|
|
<comment>ODS template</comment>
|
|
|
|
|
<acronym>ODS</acronym>
|
|
|
|
|
<expanded-acronym>OpenDocument Spreadsheet</expanded-acronym>
|
|
|
|
@ -204,7 +204,7 @@ index 8020b13..00e8d90 100644
|
|
|
|
|
<generic-icon name="x-office-spreadsheet"/>
|
|
|
|
|
<magic priority="70">
|
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
|
|
|
|
@@ -1255,7 +1231,6 @@ command to generate the output files.
|
|
|
|
|
@@ -1191,7 +1167,6 @@ command to generate the output files.
|
|
|
|
|
<comment>ODC chart</comment>
|
|
|
|
|
<acronym>ODC</acronym>
|
|
|
|
|
<expanded-acronym>OpenDocument Chart</expanded-acronym>
|
|
|
|
@ -212,7 +212,7 @@ index 8020b13..00e8d90 100644
|
|
|
|
|
<generic-icon name="x-office-spreadsheet"/>
|
|
|
|
|
<magic priority="70">
|
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
|
|
|
|
@@ -1270,7 +1245,6 @@ command to generate the output files.
|
|
|
|
|
@@ -1206,7 +1181,6 @@ command to generate the output files.
|
|
|
|
|
<comment>ODC template</comment>
|
|
|
|
|
<acronym>ODC</acronym>
|
|
|
|
|
<expanded-acronym>OpenDocument Chart</expanded-acronym>
|
|
|
|
@ -220,7 +220,7 @@ index 8020b13..00e8d90 100644
|
|
|
|
|
<generic-icon name="x-office-spreadsheet"/>
|
|
|
|
|
<magic priority="70">
|
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
|
|
|
|
@@ -1285,7 +1259,6 @@ command to generate the output files.
|
|
|
|
|
@@ -1221,7 +1195,6 @@ command to generate the output files.
|
|
|
|
|
<comment>ODF formula</comment>
|
|
|
|
|
<acronym>ODF</acronym>
|
|
|
|
|
<expanded-acronym>OpenDocument Formula</expanded-acronym>
|
|
|
|
@ -228,7 +228,7 @@ index 8020b13..00e8d90 100644
|
|
|
|
|
<generic-icon name="x-office-document"/>
|
|
|
|
|
<magic priority="70">
|
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
|
|
|
|
@@ -1300,7 +1273,6 @@ command to generate the output files.
|
|
|
|
|
@@ -1236,7 +1209,6 @@ command to generate the output files.
|
|
|
|
|
<comment>ODF template</comment>
|
|
|
|
|
<acronym>ODF</acronym>
|
|
|
|
|
<expanded-acronym>OpenDocument Formula</expanded-acronym>
|
|
|
|
@ -236,7 +236,7 @@ index 8020b13..00e8d90 100644
|
|
|
|
|
<generic-icon name="x-office-document"/>
|
|
|
|
|
<magic priority="70">
|
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
|
|
|
|
@@ -1315,7 +1287,6 @@ command to generate the output files.
|
|
|
|
|
@@ -1251,7 +1223,6 @@ command to generate the output files.
|
|
|
|
|
<comment>ODB database</comment>
|
|
|
|
|
<acronym>ODB</acronym>
|
|
|
|
|
<expanded-acronym>OpenDocument Database</expanded-acronym>
|
|
|
|
@ -244,7 +244,7 @@ index 8020b13..00e8d90 100644
|
|
|
|
|
<generic-icon name="x-office-document"/>
|
|
|
|
|
<magic priority="70">
|
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
|
|
|
|
@@ -1331,7 +1302,6 @@ command to generate the output files.
|
|
|
|
|
@@ -1267,7 +1238,6 @@ command to generate the output files.
|
|
|
|
|
<comment>ODI image</comment>
|
|
|
|
|
<acronym>ODI</acronym>
|
|
|
|
|
<expanded-acronym>OpenDocument Image</expanded-acronym>
|
|
|
|
@ -252,7 +252,7 @@ index 8020b13..00e8d90 100644
|
|
|
|
|
<generic-icon name="image-x-generic"/>
|
|
|
|
|
<magic priority="70">
|
|
|
|
|
<match type="string" value="PK\003\004" offset="0">
|
|
|
|
|
@@ -1344,7 +1314,6 @@ command to generate the output files.
|
|
|
|
|
@@ -1280,7 +1250,6 @@ command to generate the output files.
|
|
|
|
|
</mime-type>
|
|
|
|
|
<mime-type type="application/vnd.openofficeorg.extension">
|
|
|
|
|
<comment>OpenOffice.org extension</comment>
|
|
|
|
@ -261,5 +261,5 @@ index 8020b13..00e8d90 100644
|
|
|
|
|
<glob pattern="*.oxt" />
|
|
|
|
|
</mime-type>
|
|
|
|
|
--
|
|
|
|
|
2.41.0
|
|
|
|
|
2.26.2
|
|
|
|
|
|
|
|
|
|