[haiku-development] Re: Any interest in an advanced MIME db replacement?

  • From: François Revol <revol@xxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 7 Feb 2017 23:32:51 +0100

On 07/02/2017 17:49, Dario Casalinuovo wrote:

Hi,

On Tue, Feb 7, 2017 at 4:54 PM, François Revol <revol@xxxxxxx> wrote:

On 07/02/2017 16:53, François Revol wrote:

Hi,


Please, please, if you want to replace it, check what GNU/Linux does
first, as we can probably reuse part of it:
https://specifications.freedesktop.org/shared-mime-info-
spec/shared-mime-info-spec-latest.html


If we need to replace the syntax I don't see any point in reinventing
the wheel, reusing the XDG one is a much better option (and we can still
propose updates to it).


(I've thought for some time already that we should try to merge with their
db if possible)


This is exactly one of the aims, the general idea is to have both a
repository of sample files and a rules db which in platform independent.
The general idea is to release a library and with a few tools that can be
used to speed up the work. I'm in favor of reusing their work but I need to
still look a bit further : p

Ok.

For the record, the existing file repositories we mentionned on IRC:
https://github.com/alexschiller/file-format-commons
https://github.com/nbeaver/mimetype-menagerie

François.


Other related posts: