Bug 9750 - Remove *.ram glob from freedesktop.org.xml.in and possibly add application/ram
Summary: Remove *.ram glob from freedesktop.org.xml.in and possibly add application/ram
Status: RESOLVED FIXED
Alias: None
Product: shared-mime-info
Classification: Unclassified
Component: freedesktop.org.xml (show other bugs)
Version: unspecified
Hardware: x86 (IA32) All
: high normal
Assignee: Jonathan Blandford
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-23 17:53 UTC by Daniel Yek
Modified: 2007-02-02 04:22 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Daniel Yek 2007-01-23 17:53:16 UTC
We found the *.ram line in freedesktop.org.xml to be wrong. The correct MIME
Type for .ram file is application/ram. We used audio/x-pn-realaudio before and
unfortunately most of the old documentation is still very confusingly pointing
to the old MIME Type.

Without fixing .ram MIME Type, Nautilus would prevent the user from
double-clicking .ram file to launch Helix or RealPlayer.

This is the patch to fix the issue and enable us to make sure that double-click
(default application) is working for .ram files.

We need to get the .ram glob line removed. Adding the application/ram mime-type
to freedesktop.org.xml.in is optional.

Thanks.

-- 
Daniel Yek.


--- freedesktop.org.xml.in.org	2007-01-22 23:26:46.000000000 -0800
+++ freedesktop.org.xml.in	2007-01-23 17:42:26.000000000 -0800
@@ -2043,9 +2043,13 @@
     <_comment>RealAudio document</_comment>
     <glob pattern="*.ra"/>
     <glob pattern="*.rax"/>
-    <glob pattern="*.ram"/>
     <alias type="audio/x-pn-realaudio"/>
   </mime-type>
+  <mime-type type="application/ram">
+    <comment>RealMedia Metafile</comment>
+    <glob pattern="*.ram" />
+    <sub-class-of type="text/plain"/>
+  </mime-type>
   <mime-type type="audio/vnd.rn-realvideo">
     <_comment>RealVideo document</_comment>
     <glob pattern="*.rv"/>
Comment 1 Bastien Nocera 2007-02-02 04:22:53 UTC
Corrected, thanks!

2007-02-02  Bastien Nocera  <hadess@hadess.net>

        * freedesktop.org.xml.in: Move *.ram to application/ram, patch
        from Daniel Yek <dyek@real.com> (Closes: #9750)


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.