Bug 20783

Summary: Add mimetype for genie source code
Product: shared-mime-info Reporter: Nicolas Joseph <gege2061>
Component: freedesktop.org.xmlAssignee: Shared Mime Info group <shared_mime_info>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: medium CC: astavale
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: genie.diff
test.gs
Git formatted patch for Genie source code

Description Nicolas Joseph 2009-03-20 18:46:58 UTC
Created attachment 24106 [details] [review]
genie.diff

Hello,

Please, could you add mime type for the Genie sources.

http://live.gnome.org/Genie
Comment 1 Nicolas Joseph 2009-03-20 18:47:39 UTC
Created attachment 24107 [details]
test.gs
Comment 2 Bastien Nocera 2009-04-21 02:24:58 UTC
Any reasons the compiler can't ship its own XML file?
Comment 3 Bastien Nocera 2011-05-25 06:59:46 UTC
No answer in 2 years, closing.
Comment 4 Al Thomas 2014-05-01 18:30:31 UTC
Created attachment 98314 [details] [review]
Git formatted patch for Genie source code

This is mainly for syntax highlighters and development environments where the Vala compiler has not been installed. Genie is an alternative syntax for Vala so I think it was assumed text/x-genie would be handled in the same way as text/x-vala ( see https://bugs.freedesktop.org/show_bug.cgi?id=12195 ). If it is better for the Vala compiler to carry its own XML of this mime-type then I will do that. Please confirm either way, thanks.
Comment 5 Al Thomas 2014-05-01 18:37:14 UTC
Also looks as though the original poster was trying to get this bug fixed ( https://bugzilla.gnome.org/show_bug.cgi?id=576141 ) at GtkSourceView
Comment 6 Milan Bouchet-Valat 2014-07-29 10:01:01 UTC
What's the policy with regard to source code formats? I'd like to make a similar proposal for Julia source files, so I wonder whether it would be accepted.
Comment 7 Bastien Nocera 2015-02-05 14:21:34 UTC
commit b74a0cd3ef6a8cacd83ef43ff4814fff763c52f5
Author: Al Thomas <astavale@yahoo.co.uk>
Date:   Thu May 1 17:51:42 2014 +0100

    Add text/x-genie mime type for Genie source code
    
    https://bugs.freedesktop.org/show_bug.cgi?id=20783
Comment 8 Bastien Nocera 2015-02-05 14:22:04 UTC
(In reply to Milan Bouchet-Valat from comment #6)
> What's the policy with regard to source code formats? I'd like to make a
> similar proposal for Julia source files, so I wonder whether it would be
> accepted.

As long as there's a generic enough user behind it (eg. GtkSourceView), it would be fine.

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.