Summary: | What is the ideal mime type for CUDA files ? | ||
---|---|---|---|
Product: | shared-mime-info | Reporter: | Huseyin Temucin <htemucin> |
Component: | freedesktop.org.xml | Assignee: | 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 |
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. 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.
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