Created attachment 30608 [details] Draft MIME info for shared-mime-info files It might be nice to define a MIME type to describe shared-mime-info files themselves (i.e., /usr/share/mime/packages* ). It's not important, but I drafted some MIME info for my own use and thought I would share it.
Created attachment 30861 [details] MIME info v2: add lower glob weight and comments I realized that the *.xml glob for application/x-shared-mime-info needs to have lower weight than the one for application/xml to make sure that application/xml is reliably favored unless the application/x-shared-mime-info magic matches. Glib had some trouble with this setup. The attachment adds the lower weight, a comments about glib, and a comment about the failure to match freedesktop.org.xml itself due to the long DTD.
I don't think this is interesting as a feature. Those files are simple XML files, with no interest whatsoever to any application in their raw forms. If we had an editor to create those, I might change my mind...
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.