shared-mime-database version determination [patch]

David Faure faure at
Fri Feb 4 03:01:21 PST 2011


One thing that is missing in shared-mime-database is a way to determine
the version of it, at runtime, to handle backwards compatibility.
I currently use `update-mime-database -v` but that's a bit inconvenient
and slow.

It should be easier to find the version of the database; how about generating a 
version file along with the other generated files?

Patch attached, works nicely.
Can I push it?

David Faure, faure at,
Sponsored by Nokia to work on KDE, incl. Konqueror (
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Generate-version-file.patch
Type: text/x-patch
Size: 927 bytes
Desc: not available
URL: <>

More information about the xdg mailing list