Bug 676 - MIME database enhancement request for D sourcecode files (x-dsrc)
Summary: MIME database enhancement request for D sourcecode files (x-dsrc)
Status: RESOLVED FIXED
Alias: None
Product: shared-mime-info
Classification: Unclassified
Component: freedesktop.org.xml (show other bugs)
Version: unspecified
Hardware: All All
: low enhancement
Assignee: Jonathan Blandford
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-25 23:12 UTC by Simon Mackenzie
Modified: 2004-12-09 16:49 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Simon Mackenzie 2004-05-25 23:12:08 UTC
This is a request to add a mimetype to support the D programming language source
code files which use the *.d extension under Linux, Windows, Mac etc.
x-dsrc.desktop would be consistent with x-csrc.desktop and x-c++src.desktop
source code file extension mimetypes.
=====
For further information about D please goto http://www.digitalmars.com/
=====
x-dsrc.desktop would contain the following entries.
=====
[Desktop Entry]
Encoding=UTF-8
Comment=D Source File
Icon=source_d
Type=MimeType
MimeType=text/x-dsrc
Patterns=*.d;*.D;
X-KDE-IsAlso=text/plain

[Property::X-KDE-text]
Type=bool
Value=true
=====
Thank you for your time and help.

Simon J Mackenzie
Comment 1 Simon Mackenzie 2004-05-25 23:18:16 UTC
I was referred to you by David Faure <faure@kde.org>.  He suggested that I
submit this mimetype to freedesktop.org to gain full future support for KDE
version 4 and above.

>>You should also submit the mimetype at
>>http://www.freedesktop.org/Standards/AddingMIMETutor.
>>This is the mimetype-standard that KDE will use in KDE 4, so adding the
>>mimetype there is the best way to ensure that it will still be there , and
>>that all environments will use the same name for it.

Comment 2 Christophe Fergeau 2004-12-10 11:49:57 UTC
I added an entry about D source files to CVS:

  <mime-type type="text/x-dsrc">
    <_comment>D source code</_comment>
    <glob pattern="*.d"/>
  </mime-type>


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.