Blame SOURCES/0001-Remove-sub-classing-from-OO.o-mime-types.patch

5a8e56
From dc15dd50b198b0b2a135abd16151206dd9acca75 Mon Sep 17 00:00:00 2001
5a8e56
From: Bastien Nocera <hadess@hadess.net>
5a8e56
Date: Thu, 25 Aug 2011 10:54:47 +0100
5a8e56
Subject: [PATCH] Remove sub-classing from OO.o mime-types
5a8e56
5a8e56
https://bugs.freedesktop.org/show_bug.cgi?id=40354
5a8e56
---
5a8e56
 data/freedesktop.org.xml.in | 31 -------------------------------
5a8e56
 1 file changed, 31 deletions(-)
5a8e56
5a8e56
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in
5a8e56
index 1c17b8d..ad464e1 100644
5a8e56
--- a/data/freedesktop.org.xml.in
5a8e56
+++ b/data/freedesktop.org.xml.in
5a8e56
@@ -877,7 +877,6 @@ command to generate the output files.
5a8e56
   </mime-type>
5a8e56
   <mime-type type="application/vnd.sun.xml.calc">
5a8e56
     <comment>OpenOffice Calc spreadsheet</comment>
5a8e56
-    <sub-class-of type="application/zip"/>
5a8e56
     <generic-icon name="x-office-spreadsheet"/>
5a8e56
     <magic priority="70">
5a8e56
       <match type="string" value="PK\003\004" offset="0">
5a8e56
@@ -890,7 +889,6 @@ command to generate the output files.
5a8e56
   </mime-type>
5a8e56
   <mime-type type="application/vnd.sun.xml.calc.template">
5a8e56
     <comment>OpenOffice Calc template</comment>
5a8e56
-    <sub-class-of type="application/zip"/>
5a8e56
     <generic-icon name="x-office-spreadsheet"/>
5a8e56
     <magic priority="70">
5a8e56
       <match type="string" value="PK\003\004" offset="0">
5a8e56
@@ -903,7 +901,6 @@ command to generate the output files.
5a8e56
   </mime-type>
5a8e56
   <mime-type type="application/vnd.sun.xml.draw">
5a8e56
     <comment>OpenOffice Draw drawing</comment>
5a8e56
-    <sub-class-of type="application/zip"/>
5a8e56
     <generic-icon name="image-x-generic"/>
5a8e56
     <magic priority="70">
5a8e56
       <match type="string" value="PK\003\004" offset="0">
5a8e56
@@ -916,7 +913,6 @@ command to generate the output files.
5a8e56
   </mime-type>
5a8e56
   <mime-type type="application/vnd.sun.xml.draw.template">
5a8e56
     <comment>OpenOffice Draw template</comment>
5a8e56
-    <sub-class-of type="application/zip"/>
5a8e56
     <generic-icon name="image-x-generic"/>
5a8e56
     <magic priority="70">
5a8e56
       <match type="string" value="PK\003\004" offset="0">
5a8e56
@@ -929,7 +925,6 @@ command to generate the output files.
5a8e56
   </mime-type>
5a8e56
   <mime-type type="application/vnd.sun.xml.impress">
5a8e56
     <comment>OpenOffice Impress presentation</comment>
5a8e56
-    <sub-class-of type="application/zip"/>
5a8e56
     <generic-icon name="x-office-presentation"/>
5a8e56
     <magic priority="70">
5a8e56
       <match type="string" value="PK\003\004" offset="0">
5a8e56
@@ -942,7 +937,6 @@ command to generate the output files.
5a8e56
   </mime-type>
5a8e56
   <mime-type type="application/vnd.sun.xml.impress.template">
5a8e56
     <comment>OpenOffice Impress template</comment>
5a8e56
-    <sub-class-of type="application/zip"/>
5a8e56
     <generic-icon name="x-office-presentation"/>
5a8e56
     <magic priority="70">
5a8e56
       <match type="string" value="PK\003\004" offset="0">
5a8e56
@@ -955,7 +949,6 @@ command to generate the output files.
5a8e56
   </mime-type>
5a8e56
   <mime-type type="application/vnd.sun.xml.math">
5a8e56
     <comment>OpenOffice Math formula</comment>
5a8e56
-    <sub-class-of type="application/zip"/>
5a8e56
     <generic-icon name="x-office-document"/>
5a8e56
     <magic priority="70">
5a8e56
       <match type="string" value="PK\003\004" offset="0">
5a8e56
@@ -968,7 +961,6 @@ command to generate the output files.
5a8e56
   </mime-type>
5a8e56
   <mime-type type="application/vnd.sun.xml.writer">
5a8e56
     <comment>OpenOffice Writer document</comment>
5a8e56
-    <sub-class-of type="application/zip"/>
5a8e56
     <generic-icon name="x-office-document"/>
5a8e56
     <magic priority="70">
5a8e56
       <match type="string" value="PK\003\004" offset="0">
5a8e56
@@ -981,7 +973,6 @@ command to generate the output files.
5a8e56
   </mime-type>
5a8e56
   <mime-type type="application/vnd.sun.xml.writer.global">
5a8e56
     <comment>OpenOffice Writer global document</comment>
5a8e56
-    <sub-class-of type="application/zip"/>
5a8e56
     <generic-icon name="x-office-document"/>
5a8e56
     <magic priority="70">
5a8e56
       <match type="string" value="PK\003\004" offset="0">
5a8e56
@@ -994,7 +985,6 @@ command to generate the output files.
5a8e56
   </mime-type>
5a8e56
   <mime-type type="application/vnd.sun.xml.writer.template">
5a8e56
     <comment>OpenOffice Writer template</comment>
5a8e56
-    <sub-class-of type="application/zip"/>
5a8e56
     <generic-icon name="x-office-document"/>
5a8e56
     <magic priority="70">
5a8e56
       <match type="string" value="PK\003\004" offset="0">
5a8e56
@@ -1009,7 +999,6 @@ command to generate the output files.
5a8e56
     <comment>ODT document</comment>
5a8e56
     ODT
5a8e56
     <expanded-acronym>OpenDocument Text</expanded-acronym>
5a8e56
-    <sub-class-of type="application/zip"/>
5a8e56
     <generic-icon name="x-office-document"/>
5a8e56
     <magic priority="70">
5a8e56
       <match type="string" value="PK\003\004" offset="0">
5a8e56
@@ -1024,7 +1013,6 @@ command to generate the output files.
5a8e56
     <comment>ODT document (Flat XML)</comment>
5a8e56
     FODT
5a8e56
     <expanded-acronym>OpenDocument Text (Flat XML)</expanded-acronym>
5a8e56
-    <sub-class-of type="application/xml"/>
5a8e56
     <generic-icon name="x-office-document"/>
5a8e56
     <glob pattern="*.fodt"/>
5a8e56
   </mime-type>
5a8e56
@@ -1032,7 +1020,6 @@ command to generate the output files.
5a8e56
     <comment>ODT template</comment>
5a8e56
     ODT
5a8e56
     <expanded-acronym>OpenDocument Text</expanded-acronym>
5a8e56
-    <sub-class-of type="application/zip"/>
5a8e56
     <generic-icon name="x-office-document"/>
5a8e56
     <magic priority="70">
5a8e56
       <match type="string" value="PK\003\004" offset="0">
5a8e56
@@ -1047,7 +1034,6 @@ command to generate the output files.
5a8e56
     <comment>OTH template</comment>
5a8e56
     OTH
5a8e56
     <expanded-acronym>OpenDocument HTML</expanded-acronym>
5a8e56
-    <sub-class-of type="application/zip"/>
5a8e56
     <generic-icon name="text-html"/>
5a8e56
     <magic priority="70">
5a8e56
       <match type="string" value="PK\003\004" offset="0">
5a8e56
@@ -1062,7 +1048,6 @@ command to generate the output files.
5a8e56
     <comment>ODM document</comment>
5a8e56
     ODM
5a8e56
     <expanded-acronym>OpenDocument Master</expanded-acronym>
5a8e56
-    <sub-class-of type="application/zip"/>
5a8e56
     <generic-icon name="x-office-document"/>
5a8e56
     <magic priority="70">
5a8e56
       <match type="string" value="PK\003\004" offset="0">
5a8e56
@@ -1077,7 +1062,6 @@ command to generate the output files.
5a8e56
     <comment>ODG drawing</comment>
5a8e56
     ODG
5a8e56
     <expanded-acronym>OpenDocument Drawing</expanded-acronym>
5a8e56
-    <sub-class-of type="application/zip"/>
5a8e56
     <generic-icon name="image-x-generic"/>
5a8e56
     <magic priority="70">
5a8e56
       <match type="string" value="PK\003\004" offset="0">
5a8e56
@@ -1092,7 +1076,6 @@ command to generate the output files.
5a8e56
     <comment>ODG drawing (Flat XML)</comment>
5a8e56
     FODG
5a8e56
     <expanded-acronym>OpenDocument Drawing (Flat XML)</expanded-acronym>
5a8e56
-    <sub-class-of type="application/xml"/>
5a8e56
     <generic-icon name="image-x-generic"/>
5a8e56
     <glob pattern="*.fodg"/>
5a8e56
   </mime-type>
5a8e56
@@ -1100,7 +1083,6 @@ command to generate the output files.
5a8e56
     <comment>ODG template</comment>
5a8e56
     ODG
5a8e56
     <expanded-acronym>OpenDocument Drawing</expanded-acronym>
5a8e56
-    <sub-class-of type="application/zip"/>
5a8e56
     <generic-icon name="image-x-generic"/>
5a8e56
     <magic priority="70">
5a8e56
       <match type="string" value="PK\003\004" offset="0">
5a8e56
@@ -1115,7 +1097,6 @@ command to generate the output files.
5a8e56
     <comment>ODP presentation</comment>
5a8e56
     ODP
5a8e56
     <expanded-acronym>OpenDocument Presentation</expanded-acronym>
5a8e56
-    <sub-class-of type="application/zip"/>
5a8e56
     <generic-icon name="x-office-presentation"/>
5a8e56
     <magic priority="70">
5a8e56
       <match type="string" value="PK\003\004" offset="0">
5a8e56
@@ -1130,7 +1111,6 @@ command to generate the output files.
5a8e56
     <comment>ODP presentation (Flat XML)</comment>
5a8e56
     FODP
5a8e56
     <expanded-acronym>OpenDocument Presentation (Flat XML)</expanded-acronym>
5a8e56
-    <sub-class-of type="application/xml"/>
5a8e56
     <generic-icon name="x-office-presentation"/>
5a8e56
     <glob pattern="*.fodp"/>
5a8e56
   </mime-type>
5a8e56
@@ -1138,7 +1118,6 @@ command to generate the output files.
5a8e56
     <comment>ODP template</comment>
5a8e56
     ODP
5a8e56
     <expanded-acronym>OpenDocument Presentation</expanded-acronym>
5a8e56
-    <sub-class-of type="application/zip"/>
5a8e56
     <generic-icon name="x-office-presentation"/>
5a8e56
     <magic priority="70">
5a8e56
       <match type="string" value="PK\003\004" offset="0">
5a8e56
@@ -1153,7 +1132,6 @@ command to generate the output files.
5a8e56
     <comment>ODS spreadsheet</comment>
5a8e56
     ODS
5a8e56
     <expanded-acronym>OpenDocument Spreadsheet</expanded-acronym>
5a8e56
-    <sub-class-of type="application/zip"/>
5a8e56
     <generic-icon name="x-office-spreadsheet"/>
5a8e56
     <magic priority="70">
5a8e56
       <match type="string" value="PK\003\004" offset="0">
5a8e56
@@ -1168,7 +1146,6 @@ command to generate the output files.
5a8e56
     <comment>ODS spreadsheet (Flat XML)</comment>
5a8e56
     FODS
5a8e56
     <expanded-acronym>OpenDocument Spreadsheet (Flat XML)</expanded-acronym>
5a8e56
-    <sub-class-of type="application/xml"/>
5a8e56
     <generic-icon name="x-office-spreadsheet"/>
5a8e56
     <glob pattern="*.fods"/>
5a8e56
   </mime-type>
5a8e56
@@ -1176,7 +1153,6 @@ command to generate the output files.
5a8e56
     <comment>ODS template</comment>
5a8e56
     ODS
5a8e56
     <expanded-acronym>OpenDocument Spreadsheet</expanded-acronym>
5a8e56
-    <sub-class-of type="application/zip"/>
5a8e56
     <generic-icon name="x-office-spreadsheet"/>
5a8e56
     <magic priority="70">
5a8e56
       <match type="string" value="PK\003\004" offset="0">
5a8e56
@@ -1191,7 +1167,6 @@ command to generate the output files.
5a8e56
     <comment>ODC chart</comment>
5a8e56
     ODC
5a8e56
     <expanded-acronym>OpenDocument Chart</expanded-acronym>
5a8e56
-    <sub-class-of type="application/zip"/>
5a8e56
     <generic-icon name="x-office-spreadsheet"/>
5a8e56
     <magic priority="70">
5a8e56
       <match type="string" value="PK\003\004" offset="0">
5a8e56
@@ -1206,7 +1181,6 @@ command to generate the output files.
5a8e56
     <comment>ODC template</comment>
5a8e56
     ODC
5a8e56
     <expanded-acronym>OpenDocument Chart</expanded-acronym>
5a8e56
-    <sub-class-of type="application/zip"/>
5a8e56
     <generic-icon name="x-office-spreadsheet"/>
5a8e56
     <magic priority="70">
5a8e56
       <match type="string" value="PK\003\004" offset="0">
5a8e56
@@ -1221,7 +1195,6 @@ command to generate the output files.
5a8e56
     <comment>ODF formula</comment>
5a8e56
     ODF
5a8e56
     <expanded-acronym>OpenDocument Formula</expanded-acronym>
5a8e56
-    <sub-class-of type="application/zip"/>
5a8e56
     <generic-icon name="x-office-document"/>
5a8e56
     <magic priority="70">
5a8e56
       <match type="string" value="PK\003\004" offset="0">
5a8e56
@@ -1236,7 +1209,6 @@ command to generate the output files.
5a8e56
     <comment>ODF template</comment>
5a8e56
     ODF
5a8e56
     <expanded-acronym>OpenDocument Formula</expanded-acronym>
5a8e56
-    <sub-class-of type="application/zip"/>
5a8e56
     <generic-icon name="x-office-document"/>
5a8e56
     <magic priority="70">
5a8e56
       <match type="string" value="PK\003\004" offset="0">
5a8e56
@@ -1251,7 +1223,6 @@ command to generate the output files.
5a8e56
     <comment>ODB database</comment>
5a8e56
     ODB
5a8e56
     <expanded-acronym>OpenDocument Database</expanded-acronym>
5a8e56
-    <sub-class-of type="application/zip"/>
5a8e56
     <generic-icon name="x-office-document"/>
5a8e56
     <magic priority="70">
5a8e56
       <match type="string" value="PK\003\004" offset="0">
5a8e56
@@ -1267,7 +1238,6 @@ command to generate the output files.
5a8e56
     <comment>ODI image</comment>
5a8e56
     ODI
5a8e56
     <expanded-acronym>OpenDocument Image</expanded-acronym>
5a8e56
-    <sub-class-of type="application/zip"/>
5a8e56
     <generic-icon name="image-x-generic"/>
5a8e56
     <magic priority="70">
5a8e56
       <match type="string" value="PK\003\004" offset="0">
5a8e56
@@ -1280,7 +1250,6 @@ command to generate the output files.
5a8e56
   </mime-type>
5a8e56
   <mime-type type="application/vnd.openofficeorg.extension">
5a8e56
     <comment>OpenOffice.org extension</comment>
5a8e56
-    <sub-class-of type="application/zip"/>
5a8e56
     <generic-icon name="x-office-document"/>
5a8e56
     <glob pattern="*.oxt" />
5a8e56
   </mime-type>
5a8e56
-- 
5a8e56
2.26.2
5a8e56