Le vendredi 19 octobre 2007 à 15:07 +0200, Tilman Vogel a écrit :
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Frederic Crozat schrieb:
> > And to do that, we need "expected to work but doesn't work" ogg support
> > package. And unfortunately, neither mogg or ogg-support packages are in
> > this state for n800 (one lack schema and the other is not registering
> > the correct mimetype) :(
> 
> The mogg source is up in the download section and in svn and it's easy
> to repackage! I am more than happy about solutions/patches! I don't have
> an N800 to try it out!
> 
> Tilman
> 
> PS. Rant is a good start, but action and contributions cannot be
> substituted.

You're right :)

Could you try apply the attached patch (I've take the liberty to check
ogg-support package as well as latest version of shared-mime-info for
ogg support) ? It should make sure the correct mimetype are 


-- 
Frederic Crozat <[EMAIL PROTECTED]>
Index: usr/share/mime/packages/ogg-vorbis.xml
===================================================================
--- usr/share/mime/packages/ogg-vorbis.xml	(revision 9)
+++ usr/share/mime/packages/ogg-vorbis.xml	(working copy)
@@ -1,10 +1,28 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info";>
-  <mime-type type="audio/x-vorbis">
+  <mime-type type="application/ogg">
     <glob pattern="*.ogg"/>
+    <glob pattern="*.ogx"/>
+    <comment>OGG multimedia</comment>
+  </mime-type>
+   <mime-type type="audio/ogg">
+    <comment>Ogg Audio</comment>
+    <sub-class-of type="application/ogg"/>
     <magic priority="50">
-      <match type="string" value="OggS" offset="0"/>
+      <match value="OggS" type="string" offset="0"/>
     </magic>
-    <comment>OGG audio</comment>
+    <glob pattern="*.oga"/>
+    <alias type="audio/x-ogg"/>
   </mime-type>
+  <mime-type type="audio/x-vorbis+ogg">
+    <sub-class-of type="audio/ogg"/>
+    <comment>Ogg Vorbis audio</comment>
+    <magic priority="80">
+      <match value="OggS" type="string" offset="0">
+        <match value="\x01vorbis" type="string" offset="28"/>
+      </match>
+    </magic>
+    <glob pattern="*.ogg"/>
+    <alias type="audio/x-vorbis"/>
+  </mime-type>
 </mime-info>        
_______________________________________________
maemo-users mailing list
maemo-users@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users

Reply via email to