diff options
author | Bastien Nocera <hadess@hadess.net> | 2014-06-27 15:44:17 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2014-06-27 15:44:17 +0200 |
commit | f8ed2998bffe481ab267d20dc2b641acbffbf021 (patch) | |
tree | be84f8b3d5c0e33d3fe0decd224a4dcd98c79eaa | |
parent | fc6c6ef3bb08a466bc22c298e4b43cd6dfce40e8 (diff) | |
download | shared-mime-info-f8ed2998bffe481ab267d20dc2b641acbffbf021.tar.gz |
Remove the Apple iOS PNG variant
This added a stat and magic check for each and every PNG file around.
This is particularly a problem for the icon cache, as each PNG file
in a theme would end up being checked for which one of the variants
it was.
-rw-r--r-- | freedesktop.org.xml.in | 9 | ||||
-rw-r--r-- | tests/list | 1 | ||||
-rw-r--r-- | tests/test-apple.png | bin | 10872 -> 0 bytes |
3 files changed, 0 insertions, 10 deletions
diff --git a/freedesktop.org.xml.in b/freedesktop.org.xml.in index 55d550f8..cb5fd0c7 100644 --- a/freedesktop.org.xml.in +++ b/freedesktop.org.xml.in @@ -4303,15 +4303,6 @@ command to generate the output files. </magic> <glob pattern="*.png"/> </mime-type> - <mime-type type="image/x-apple-ios-png"> - <_comment>Apple optimised PNG image</_comment> - <magic priority="80"> - <match type="string" value="\x89PNG" offset="0"> - <match value="CgBI" type="string" offset="12"/> - </match> - </magic> - <glob weight="10" pattern="*.png"/> - </mime-type> <mime-type type="image/rle"> <_comment>Run Length Encoded bitmap image</_comment> <glob pattern="*.rle"/> @@ -35,7 +35,6 @@ test.pcx image/x-pcx test.pgm image/x-portable-graymap test.pix image/x-pix xxx test.png image/png -test-apple.png image/x-apple-ios-png x test.ppm image/x-portable-pixmap # Copied from http://bugs.freedesktop.org/show_bug.cgi?id=19811 test2.ppm image/x-portable-pixmap diff --git a/tests/test-apple.png b/tests/test-apple.png Binary files differdeleted file mode 100644 index bd253247..00000000 --- a/tests/test-apple.png +++ /dev/null |