shared-mime-database version determination [patch]

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


Hello,

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 kde.org, http://www.davidfaure.fr
Sponsored by Nokia to work on KDE, incl. Konqueror (http://www.konqueror.org).
-------------- 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: <http://lists.freedesktop.org/archives/xdg/attachments/20110204/b2b979e0/attachment.bin>


More information about the xdg mailing list