Bug 319557 - add mimetype text-cython and provide icon
Summary: add mimetype text-cython and provide icon
Status: RESOLVED UPSTREAM
Alias: None
Product: dolphin
Classification: Applications
Component: general (other bugs)
Version First Reported In: 16.12.2
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-09 03:17 UTC by Shriramana Sharma
Modified: 2013-05-10 08:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shriramana Sharma 2013-05-09 03:17:11 UTC
Cython (http://cython.org/) is a language (and compiler for the same) that bridges C/C++ and Python. It uses the file extensions pyx, pxd, and pxi for its source files. Many projects like NumPy, Sage etc use it.

Currently (KDE 4.10.2 on my Kubuntu Raring system) Cython source files are not recognized and no special icon is displayed for them. It is requested to recognize these extensions under the mimetype text/x-cython and provide an icon for them.

Since I didn't know under which product to file the bug, I did it under dolphin. Please fix if inappropriate.

Mailing list post of project author confirming appropriate file mimetype and extensions: 

https://groups.google.com/d/msg/cython-users/cl3vap6wQY0/0EuYwkijO44J

The official logo is found at: http://en.wikipedia.org/wiki/File:Cython-logo.svg but it would seem that this is not "free", but I've asked the devels about it. (Same thread as above.)
Comment 1 Stefan Behnel 2013-05-09 06:09:06 UTC
Please do not use the file referenced above. The correct logo file is available from the official project home page:

http://cython.org/logo/cython-logo.svg

A version that is more suitable for quadratic icons is here:

http://cython.org/logo/cython-logo-C.svg

It is subject to the legal terms of the official Python Logo, as stated by the Python Software Foundation (PSF).

http://www.python.org/psf/trademarks

Since the official Python logo is used for .py files by KDE, I assume that this logo can be used for Cython files without the risk of legal issues.
Comment 2 Frank Reininghaus 2013-05-10 08:13:00 UTC
(In reply to comment #0)
> Since I didn't know under which product to file the bug, I did it under
> dolphin. Please fix if inappropriate.

Mime type information for KDE and other projects is provided by http://freedesktop.org/wiki/Software/shared-mime-info . Please send any reports about issues with the mime type database there.

When the mime type is updated there, providing the icon is Oxygen's job, I think.