mclasen at redhat.com
Mon Jun 2 06:11:36 PDT 2008
I have spent some time last weekend on updating update-desktop-database
and xdgmime to the cvs version of the shared-mime spec. If you are
interested, the patches are here: http://people.redhat.com/mclasen/mime/
Bastien said he'll take care of getting them committed.
I'm writing to the list, because I found that I'd like to do one further
change, which will require a slight change to the mime.cache format on
top of what alex committed earlier. The purpose is to store the suffix
tree in a more compact way. You can see the patches for that here:
I don't think we need to bump the cache version again for this, since
Alex bumped it to 1.1 only in cvs and his changes have not been
implemented anywhere yet, afaik.
If there is no objection to that cache format change, I'll get it
committed next week.
One further issue I noticed: GIO has api to return a list of all
registered mime types. There is currently no easy way to obtain this
list from the shared-mime data, short of grubbing through all the
subdirectories of /usr/share/mime. I think it would be a good idea to
make this list more readily available.
More information about the xdg