Bug 7836

Summary: Please add OCaml MIME type
Product: shared-mime-info Reporter: Loïc Minier <lool>
Component: freedesktop.org.xmlAssignee: Jonathan Blandford <jrb>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high CC: bugzilla
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Loïc Minier 2006-08-10 09:40:08 UTC
Hi,

To support syntax highlighting in gtksourceview, I need the MIME type of OCaml
sources to be registered in the shared-mime-info database.

The most correct MIME type seems to be text/x-ocaml and it should apply to .ml
and .mli files (program modules implementations and interfaces).

See:
http://lists.debian.org/debian-ocaml-maint/2006/07/threads.html#00201
http://bugzilla.gnome.org/show_bug.cgi?id=338344

Bye,
Comment 1 Bastien Nocera 2006-08-25 08:23:08 UTC
Do you have magic to detect those files as well?

2006-08-25  Bastien Nocera  <hadess@hadess.net>

        * freedesktop.org.xml.in: Add text/x-ocaml as a mime-type for OCaml
        files (Closes: #7836)
Comment 2 Loïc Minier 2006-08-25 09:29:52 UTC
Unfortunately, I don't myself, and "file" on my machine doesn't recognize these
either.
Comment 3 Bastien Nocera 2006-08-25 09:30:30 UTC
Never mind then.

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.