After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 338344 - Support for ocaml
Support for ocaml
Status: RESOLVED FIXED
Product: gtksourceview
Classification: Platform
Component: Syntax files
1.6.x
Other Linux
: Normal enhancement
: ---
Assigned To: GTK Sourceview maintainers
GTK Sourceview maintainers
Depends on:
Blocks:
 
 
Reported: 2006-04-13 13:35 UTC by Loïc Minier
Modified: 2014-02-15 12:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
ocaml language support (3.61 KB, text/plain)
2006-04-13 13:36 UTC, Loïc Minier
Details
ocaml language file for gsv2.0 (6.81 KB, application/xml)
2007-05-31 18:17 UTC, thelema
Details

Description Loïc Minier 2006-04-13 13:35:32 UTC
Hi there,

Eric Cooper provided an ocaml.lang file to support the ocaml language in Debian bug http://bugs.debian.org/343664.  I'll attach his file in this report.

I've also noticed a boo.lang in the Ubuntu package, do you want me to upload it?

Cheers,
Comment 1 Loïc Minier 2006-04-13 13:36:42 UTC
Created attachment 63378 [details]
ocaml language support
Comment 2 Paolo Borelli 2006-07-24 14:42:35 UTC
I tried downloading a ocaml file and it's mime type is not detected.

We have a policy of adding .lang files only if the mime type is part of freedesktop's mime database. Please file a bug on freedesktop bugzilla and add a note here so that we can see when that is solved.

Apart from that the .lang file looks sane at a cursory view.


For boo.lang, see bug #338332
Comment 3 Loïc Minier 2006-08-10 16:40:38 UTC
https://bugs.freedesktop.org/show_bug.cgi?id=7836
Comment 4 Loïc Minier 2006-08-25 16:55:03 UTC
Included in freedesktop.org.xml.in.
Comment 5 Loïc Minier 2006-09-06 13:01:53 UTC
Part of shared-mime-info 0.19, from ChangeLog:

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 6 Paolo Borelli 2007-01-08 18:09:56 UTC
Since it's now in shared-mime-info and the lang file seems good (I also made sure it validates) I am committing this, just in time for 2.18 :-)

Leaving the bug open since it needs to be ported/added to 2.0
Comment 7 thelema 2007-05-31 18:17:05 UTC
Created attachment 89122 [details]
ocaml language file for gsv2.0
Comment 8 Paolo Borelli 2007-07-06 20:30:18 UTC
as far as I can see the ocaml.lang port was committed some time ago, probably I just forgot to close the bug.

thelema if insetead there is something missing, please reopen the bug.