Up to libsharedmime...
- Fixed some paths in the source and makefiles.
- Added the correct permissions to the output libraries and headers when you "make install".
- Changed the identify by contents to prefer the globbed mime type when the content's type is "text/xml". The glob type is usually more accurate in this case.