Bug 23700 - What is the ideal mime type for CUDA files ?
Summary: What is the ideal mime type for CUDA files ?
Status: RESOLVED NOTOURBUG
Alias: None
Product: shared-mime-info
Classification: Unclassified
Component: freedesktop.org.xml (show other bugs)
Version: unspecified
Hardware: Other All
: medium enhancement
Assignee: Jonathan Blandford
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-04 03:01 UTC by Huseyin Temucin
Modified: 2010-01-29 11:30 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
example cuda source file (2.49 KB, text/plain)
2009-09-04 03:01 UTC, Huseyin Temucin
Details
proposed patch for freedesktop.org.xml.in (677 bytes, patch)
2010-01-29 11:03 UTC, Daniel Leidert
Details | Splinter Review

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.