Bug 16409

Summary: windows animated cursors (.ani)
Product: shared-mime-info Reporter: Matthias Clasen <mclasen>
Component: freedesktop.org.xmlAssignee: Jonathan Blandford <jrb>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Matthias Clasen 2008-06-18 08:00:03 UTC
gdk-pixbuf supports the format for windows animated cursors, shared-mime-info doesn't know it. It would be good to add it, since I plan to make gdk-pixbuf use gio (and thus shared-mime-info, indirectly) for sniffing.

Here is the relevant excerpt from the pixbuf loader:

        static GdkPixbufModulePattern signature[] = {
                { "RIFF    ACON", "    xxxx    ", 100 },
                { NULL, NULL, 0 }
        };
        static gchar * mime_types[] = {
                "application/x-navi-animation",
                NULL
        };
        static gchar * extensions[] = {
                "ani",
                NULL
        };

        info->name = "ani";
Comment 1 Bastien Nocera 2008-06-19 02:02:12 UTC
* freedesktop.org.xml.in: Add Windows animated cursor
from the gdk-pixbuf loader magic (Closes: #16409)
* tests/jc-win.ani:
* tests/list: Add test case

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.