diff options
author | Bastien Nocera <hadess@hadess.net> | 2008-06-19 09:18:53 +0000 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2008-06-19 09:18:53 +0000 |
commit | a8a0db37f9eb33266b794b8c95c08ab79719a462 (patch) | |
tree | 72a5c0dbf484ed83fa3ebf51ea9dbb8424c771cc | |
parent | cb6af4b38985f4d30aeb610ac00fc14af70657e8 (diff) | |
download | shared-mime-info-a8a0db37f9eb33266b794b8c95c08ab79719a462.tar.gz |
* freedesktop.org.xml.in: Add magic from gdk-pixbuf for
ICO and CUR files, spotted by Matthias Clasen <mclasen@redhat.com>
(Closes: #16413)
* tests/aero_alt.cur:
* tests/list: Add a test windows cursor file
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | freedesktop.org.xml.in | 10 | ||||
-rw-r--r-- | tests/aero_alt.cur | bin | 0 -> 4286 bytes | |||
-rw-r--r-- | tests/list | 4 |
4 files changed, 21 insertions, 1 deletions
@@ -1,5 +1,13 @@ 2008-06-19 Bastien Nocera <hadess@hadess.net> + * freedesktop.org.xml.in: Add magic from gdk-pixbuf for + ICO and CUR files, spotted by Matthias Clasen <mclasen@redhat.com> + (Closes: #16413) + * tests/aero_alt.cur: + * tests/list: Add a test windows cursor file + +2008-06-19 Bastien Nocera <hadess@hadess.net> + * freedesktop.org.xml.in: Better magic for GIF files, from gdk-pixbuf, spotted by Matthias Clasen <mclasen@redhat.com> (Closes: #16411) diff --git a/freedesktop.org.xml.in b/freedesktop.org.xml.in index 67946a9b..b5381b88 100644 --- a/freedesktop.org.xml.in +++ b/freedesktop.org.xml.in @@ -3479,6 +3479,11 @@ command to generate the output files. <_comment>ICO icon</_comment> <acronym>ICO</acronym> <expanded-acronym>Windows Icon</expanded-acronym> + <magic priority="50"> + <match type="string" value="\0\0\1\0" offset="0"> + <match type="string" value="\0" offset="5"/> + </match> + </magic> <glob pattern="*.ico"/> </mime-type> <mime-type type="image/x-icns"> @@ -3645,6 +3650,11 @@ command to generate the output files. </mime-type> <mime-type type="image/x-win-bitmap"> <_comment>Windows cursor</_comment> + <magic priority="50"> + <match type="string" value="\0\0\2\0" offset="0"> + <match type="string" value="\0" offset="5"/> + </match> + </magic> <glob pattern="*.cur"/> </mime-type> <mime-type type="application/x-navi-animation"> diff --git a/tests/aero_alt.cur b/tests/aero_alt.cur Binary files differnew file mode 100644 index 00000000..5b1165c2 --- /dev/null +++ b/tests/aero_alt.cur @@ -7,7 +7,7 @@ GammaChart.exr image/x-exr test.fit image/x-fits x test.fli video/x-flic ox test.gif image/gif -test.ico image/x-ico ox +test.ico image/x-ico test.im1 image/x-sun-raster x test.jp2 image/jp2 test.jpg image/jpeg @@ -37,6 +37,8 @@ test.kdc image/x-kodak-kdc bathead.sk image/x-skencil # Copied from http://www.geocities.com/CapeCanaveral/1939/256cur95.zip jc-win.ani application/x-navi-animation +# Copied from http://blogs.vertigosoftware.com/alanl/archive/2006/06/28/Vista_Cursors_on_Windows_XP.aspx +aero_alt.cur image/x-win-bitmap # Documents ooo-6.0.doc application/msword |