Bug 23700

Summary: What is the ideal mime type for CUDA files ?
Product: shared-mime-info Reporter: Huseyin Temucin <htemucin>
Component: freedesktop.org.xmlAssignee: Jonathan Blandford <jrb>
Status: RESOLVED NOTOURBUG QA Contact:
Severity: enhancement    
Priority: medium CC: daniel.leidert.spam
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: example cuda source file
proposed patch for freedesktop.org.xml.in

Description Huseyin Temucin 2009-09-04 03:01:11 UTC
Created attachment 29206 [details]
example cuda source file

Hi everyone. i have written a lang file for gtksourceview-2.0 that highlighting NVIDIA CUDA files. but we do not find suitable mime type for these files. which mimetype should i use ? i have attached an example source file here
Comment 1 Daniel Leidert 2010-01-29 11:02:22 UTC
This is a simple C file. Following the RFCs 2045-2049 something like text/vnd.nvidia.cuda.csrc or similar might be suitable as MIME subtype. Define it as sub-type of text/x-csrc with a global pattern of "*.cu" and add an entry to the shared-mime-info database (see the attached patch).

I would close this as NOTOURBUG. Or did you propose to add this file-type to the shared-mime-info database? Then please reopen.
Comment 2 Daniel Leidert 2010-01-29 11:03:11 UTC
Created attachment 32903 [details] [review]
proposed patch for freedesktop.org.xml.in

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.