If you are into OpenCL and interested, we need your help for some improvement to that:
What is the mimetype name to use for OpenCL C files?
Due to KDevelop needs some weeks ago a mimetype for OpenCL has already been added to the shared-mime-info database, with text/x-opencl-src as mimetype name.
Though if we reflect, that entry was quickly requested and made without consulting a lot of OpenCL users. It currently reads:
<mime-type type="text/x-opencl-src"> <_comment>OpenCL source code</_comment> <acronym>OpenCL</acronym> <expanded-acronym>Open Computing Language</expanded-acronym> <sub-class-of type="text/x-csrc"/> <glob pattern="*.cl"/> </mime-type>
For one, “OpenCL source code” should be rather “OpenCL C source code”. Because there are now both C and C++ variants (see below) which would need to be reflected in the name.
Next, text/x-opencl-src was made up and seems to be not used by anyone before. Asking your search engine, you will see that people in their desperation had already started to use all kind of other mimetype names before, e.g.:
So text/x-opencl-src might not have been the best choice. Even more as again the C and C++ variants need to be reflected in the name.
Is there no-one at the Khronos Group who had time to look at deciding on a mimetype name and registering that with IANA as MIME type (or now Media type)?
Can you poke them, or hint us whom to talk to?