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

59d41f
From 7bd867808aad05d691456a8301c8737ded9fd64b Mon Sep 17 00:00:00 2001
59d41f
From: Bastien Nocera <hadess@hadess.net>
59d41f
Date: Thu, 25 Aug 2011 10:54:47 +0100
59d41f
Subject: [PATCH] Remove sub-classing from OO.o mime-types
59d41f
59d41f
https://bugs.freedesktop.org/show_bug.cgi?id=40354
59d41f
---
59d41f
 freedesktop.org.xml.in | 31 -------------------------------
59d41f
 1 file changed, 31 deletions(-)
59d41f
59d41f
diff --git a/freedesktop.org.xml.in b/freedesktop.org.xml.in
59d41f
index 29ed9ef..542f1f7 100644
59d41f
--- a/freedesktop.org.xml.in
59d41f
+++ b/freedesktop.org.xml.in
59d41f
@@ -845,7 +845,6 @@ command to generate the output files.
59d41f
   </mime-type>
59d41f
   <mime-type type="application/vnd.sun.xml.calc">
59d41f
     <_comment>OpenOffice Calc spreadsheet</_comment>
59d41f
-    <sub-class-of type="application/zip"/>
59d41f
     <generic-icon name="x-office-spreadsheet"/>
59d41f
     <magic priority="70">
59d41f
       <match type="string" value="PK\003\004" offset="0">
59d41f
@@ -858,7 +857,6 @@ command to generate the output files.
59d41f
   </mime-type>
59d41f
   <mime-type type="application/vnd.sun.xml.calc.template">
59d41f
     <_comment>OpenOffice Calc template</_comment>
59d41f
-    <sub-class-of type="application/zip"/>
59d41f
     <generic-icon name="x-office-spreadsheet"/>
59d41f
     <magic priority="70">
59d41f
       <match type="string" value="PK\003\004" offset="0">
59d41f
@@ -871,7 +869,6 @@ command to generate the output files.
59d41f
   </mime-type>
59d41f
   <mime-type type="application/vnd.sun.xml.draw">
59d41f
     <_comment>OpenOffice Draw drawing</_comment>
59d41f
-    <sub-class-of type="application/zip"/>
59d41f
     <generic-icon name="image-x-generic"/>
59d41f
     <magic priority="70">
59d41f
       <match type="string" value="PK\003\004" offset="0">
59d41f
@@ -884,7 +881,6 @@ command to generate the output files.
59d41f
   </mime-type>
59d41f
   <mime-type type="application/vnd.sun.xml.draw.template">
59d41f
     <_comment>OpenOffice Draw template</_comment>
59d41f
-    <sub-class-of type="application/zip"/>
59d41f
     <generic-icon name="image-x-generic"/>
59d41f
     <magic priority="70">
59d41f
       <match type="string" value="PK\003\004" offset="0">
59d41f
@@ -897,7 +893,6 @@ command to generate the output files.
59d41f
   </mime-type>
59d41f
   <mime-type type="application/vnd.sun.xml.impress">
59d41f
     <_comment>OpenOffice Impress presentation</_comment>
59d41f
-    <sub-class-of type="application/zip"/>
59d41f
     <generic-icon name="x-office-presentation"/>
59d41f
     <magic priority="70">
59d41f
       <match type="string" value="PK\003\004" offset="0">
59d41f
@@ -910,7 +905,6 @@ command to generate the output files.
59d41f
   </mime-type>
59d41f
   <mime-type type="application/vnd.sun.xml.impress.template">
59d41f
     <_comment>OpenOffice Impress template</_comment>
59d41f
-    <sub-class-of type="application/zip"/>
59d41f
     <generic-icon name="x-office-presentation"/>
59d41f
     <magic priority="70">
59d41f
       <match type="string" value="PK\003\004" offset="0">
59d41f
@@ -923,7 +917,6 @@ command to generate the output files.
59d41f
   </mime-type>
59d41f
   <mime-type type="application/vnd.sun.xml.math">
59d41f
     <_comment>OpenOffice Math formula</_comment>
59d41f
-    <sub-class-of type="application/zip"/>
59d41f
     <generic-icon name="x-office-document"/>
59d41f
     <magic priority="70">
59d41f
       <match type="string" value="PK\003\004" offset="0">
59d41f
@@ -936,7 +929,6 @@ command to generate the output files.
59d41f
   </mime-type>
59d41f
   <mime-type type="application/vnd.sun.xml.writer">
59d41f
     <_comment>OpenOffice Writer document</_comment>
59d41f
-    <sub-class-of type="application/zip"/>
59d41f
     <generic-icon name="x-office-document"/>
59d41f
     <magic priority="70">
59d41f
       <match type="string" value="PK\003\004" offset="0">
59d41f
@@ -949,7 +941,6 @@ command to generate the output files.
59d41f
   </mime-type>
59d41f
   <mime-type type="application/vnd.sun.xml.writer.global">
59d41f
     <_comment>OpenOffice Writer global document</_comment>
59d41f
-    <sub-class-of type="application/zip"/>
59d41f
     <generic-icon name="x-office-document"/>
59d41f
     <magic priority="70">
59d41f
       <match type="string" value="PK\003\004" offset="0">
59d41f
@@ -962,7 +953,6 @@ command to generate the output files.
59d41f
   </mime-type>
59d41f
   <mime-type type="application/vnd.sun.xml.writer.template">
59d41f
     <_comment>OpenOffice Writer template</_comment>
59d41f
-    <sub-class-of type="application/zip"/>
59d41f
     <generic-icon name="x-office-document"/>
59d41f
     <magic priority="70">
59d41f
       <match type="string" value="PK\003\004" offset="0">
59d41f
@@ -977,7 +967,6 @@ command to generate the output files.
59d41f
     <_comment>ODT document</_comment>
59d41f
     ODT
59d41f
     <expanded-acronym>OpenDocument Text</expanded-acronym>
59d41f
-    <sub-class-of type="application/zip"/>
59d41f
     <generic-icon name="x-office-document"/>
59d41f
     <magic priority="70">
59d41f
       <match type="string" value="PK\003\004" offset="0">
59d41f
@@ -992,7 +981,6 @@ command to generate the output files.
59d41f
     <_comment>ODT document (Flat XML)</_comment>
59d41f
     FODT
59d41f
     <expanded-acronym>OpenDocument Text (Flat XML)</expanded-acronym>
59d41f
-    <sub-class-of type="application/xml"/>
59d41f
     <generic-icon name="x-office-document"/>
59d41f
     <glob pattern="*.fodt"/>
59d41f
   </mime-type>
59d41f
@@ -1000,7 +988,6 @@ command to generate the output files.
59d41f
     <_comment>ODT template</_comment>
59d41f
     ODT
59d41f
     <expanded-acronym>OpenDocument Text</expanded-acronym>
59d41f
-    <sub-class-of type="application/zip"/>
59d41f
     <generic-icon name="x-office-document"/>
59d41f
     <magic priority="70">
59d41f
       <match type="string" value="PK\003\004" offset="0">
59d41f
@@ -1015,7 +1002,6 @@ command to generate the output files.
59d41f
     <_comment>OTH template</_comment>
59d41f
     OTH
59d41f
     <expanded-acronym>OpenDocument HTML</expanded-acronym>
59d41f
-    <sub-class-of type="application/zip"/>
59d41f
     <generic-icon name="text-html"/>
59d41f
     <magic priority="70">
59d41f
       <match type="string" value="PK\003\004" offset="0">
59d41f
@@ -1030,7 +1016,6 @@ command to generate the output files.
59d41f
     <_comment>ODM document</_comment>
59d41f
     ODM
59d41f
     <expanded-acronym>OpenDocument Master</expanded-acronym>
59d41f
-    <sub-class-of type="application/zip"/>
59d41f
     <generic-icon name="x-office-document"/>
59d41f
     <magic priority="70">
59d41f
       <match type="string" value="PK\003\004" offset="0">
59d41f
@@ -1045,7 +1030,6 @@ command to generate the output files.
59d41f
     <_comment>ODG drawing</_comment>
59d41f
     ODG
59d41f
     <expanded-acronym>OpenDocument Drawing</expanded-acronym>
59d41f
-    <sub-class-of type="application/zip"/>
59d41f
     <generic-icon name="image-x-generic"/>
59d41f
     <magic priority="70">
59d41f
       <match type="string" value="PK\003\004" offset="0">
59d41f
@@ -1060,7 +1044,6 @@ command to generate the output files.
59d41f
     <_comment>ODG drawing (Flat XML)</_comment>
59d41f
     FODG
59d41f
     <expanded-acronym>OpenDocument Drawing (Flat XML)</expanded-acronym>
59d41f
-    <sub-class-of type="application/xml"/>
59d41f
     <generic-icon name="image-x-generic"/>
59d41f
     <glob pattern="*.fodg"/>
59d41f
   </mime-type>
59d41f
@@ -1068,7 +1051,6 @@ command to generate the output files.
59d41f
     <_comment>ODG template</_comment>
59d41f
     ODG
59d41f
     <expanded-acronym>OpenDocument Drawing</expanded-acronym>
59d41f
-    <sub-class-of type="application/zip"/>
59d41f
     <generic-icon name="image-x-generic"/>
59d41f
     <magic priority="70">
59d41f
       <match type="string" value="PK\003\004" offset="0">
59d41f
@@ -1083,7 +1065,6 @@ command to generate the output files.
59d41f
     <_comment>ODP presentation</_comment>
59d41f
     ODP
59d41f
     <expanded-acronym>OpenDocument Presentation</expanded-acronym>
59d41f
-    <sub-class-of type="application/zip"/>
59d41f
     <generic-icon name="x-office-presentation"/>
59d41f
     <magic priority="70">
59d41f
       <match type="string" value="PK\003\004" offset="0">
59d41f
@@ -1098,7 +1079,6 @@ command to generate the output files.
59d41f
     <_comment>ODP presentation (Flat XML)</_comment>
59d41f
     FODP
59d41f
     <expanded-acronym>OpenDocument Presentation (Flat XML)</expanded-acronym>
59d41f
-    <sub-class-of type="application/xml"/>
59d41f
     <generic-icon name="x-office-presentation"/>
59d41f
     <glob pattern="*.fodp"/>
59d41f
   </mime-type>
59d41f
@@ -1106,7 +1086,6 @@ command to generate the output files.
59d41f
     <_comment>ODP template</_comment>
59d41f
     ODP
59d41f
     <expanded-acronym>OpenDocument Presentation</expanded-acronym>
59d41f
-    <sub-class-of type="application/zip"/>
59d41f
     <generic-icon name="x-office-presentation"/>
59d41f
     <magic priority="70">
59d41f
       <match type="string" value="PK\003\004" offset="0">
59d41f
@@ -1121,7 +1100,6 @@ command to generate the output files.
59d41f
     <_comment>ODS spreadsheet</_comment>
59d41f
     ODS
59d41f
     <expanded-acronym>OpenDocument Spreadsheet</expanded-acronym>
59d41f
-    <sub-class-of type="application/zip"/>
59d41f
     <generic-icon name="x-office-spreadsheet"/>
59d41f
     <magic priority="70">
59d41f
       <match type="string" value="PK\003\004" offset="0">
59d41f
@@ -1136,7 +1114,6 @@ command to generate the output files.
59d41f
     <_comment>ODS spreadsheet (Flat XML)</_comment>
59d41f
     FODS
59d41f
     <expanded-acronym>OpenDocument Spreadsheet (Flat XML)</expanded-acronym>
59d41f
-    <sub-class-of type="application/xml"/>
59d41f
     <generic-icon name="x-office-spreadsheet"/>
59d41f
     <glob pattern="*.fods"/>
59d41f
   </mime-type>
59d41f
@@ -1144,7 +1121,6 @@ command to generate the output files.
59d41f
     <_comment>ODS template</_comment>
59d41f
     ODS
59d41f
     <expanded-acronym>OpenDocument Spreadsheet</expanded-acronym>
59d41f
-    <sub-class-of type="application/zip"/>
59d41f
     <generic-icon name="x-office-spreadsheet"/>
59d41f
     <magic priority="70">
59d41f
       <match type="string" value="PK\003\004" offset="0">
59d41f
@@ -1159,7 +1135,6 @@ command to generate the output files.
59d41f
     <_comment>ODC chart</_comment>
59d41f
     ODC
59d41f
     <expanded-acronym>OpenDocument Chart</expanded-acronym>
59d41f
-    <sub-class-of type="application/zip"/>
59d41f
     <generic-icon name="x-office-spreadsheet"/>
59d41f
     <magic priority="70">
59d41f
       <match type="string" value="PK\003\004" offset="0">
59d41f
@@ -1174,7 +1149,6 @@ command to generate the output files.
59d41f
     <_comment>ODC template</_comment>
59d41f
     ODC
59d41f
     <expanded-acronym>OpenDocument Chart</expanded-acronym>
59d41f
-    <sub-class-of type="application/zip"/>
59d41f
     <generic-icon name="x-office-spreadsheet"/>
59d41f
     <magic priority="70">
59d41f
       <match type="string" value="PK\003\004" offset="0">
59d41f
@@ -1189,7 +1163,6 @@ command to generate the output files.
59d41f
     <_comment>ODF formula</_comment>
59d41f
     ODF
59d41f
     <expanded-acronym>OpenDocument Formula</expanded-acronym>
59d41f
-    <sub-class-of type="application/zip"/>
59d41f
     <generic-icon name="x-office-document"/>
59d41f
     <magic priority="70">
59d41f
       <match type="string" value="PK\003\004" offset="0">
59d41f
@@ -1204,7 +1177,6 @@ command to generate the output files.
59d41f
     <_comment>ODF template</_comment>
59d41f
     ODF
59d41f
     <expanded-acronym>OpenDocument Formula</expanded-acronym>
59d41f
-    <sub-class-of type="application/zip"/>
59d41f
     <generic-icon name="x-office-document"/>
59d41f
     <magic priority="70">
59d41f
       <match type="string" value="PK\003\004" offset="0">
59d41f
@@ -1219,7 +1191,6 @@ command to generate the output files.
59d41f
     <_comment>ODB database</_comment>
59d41f
     ODB
59d41f
     <expanded-acronym>OpenDocument Database</expanded-acronym>
59d41f
-    <sub-class-of type="application/zip"/>
59d41f
     <generic-icon name="x-office-document"/>
59d41f
     <magic priority="70">
59d41f
       <match type="string" value="PK\003\004" offset="0">
59d41f
@@ -1235,7 +1206,6 @@ command to generate the output files.
59d41f
     <_comment>ODI image</_comment>
59d41f
     ODI
59d41f
     <expanded-acronym>OpenDocument Image</expanded-acronym>
59d41f
-    <sub-class-of type="application/zip"/>
59d41f
     <generic-icon name="image-x-generic"/>
59d41f
     <magic priority="70">
59d41f
       <match type="string" value="PK\003\004" offset="0">
59d41f
@@ -1248,7 +1218,6 @@ command to generate the output files.
59d41f
   </mime-type>
59d41f
   <mime-type type="application/vnd.openofficeorg.extension">
59d41f
     <_comment>OpenOffice.org extension</_comment>
59d41f
-    <sub-class-of type="application/zip"/>
59d41f
     <generic-icon name="x-office-document"/>
59d41f
     <glob pattern="*.oxt" />
59d41f
   </mime-type>
59d41f
-- 
59d41f
2.7.4
59d41f