<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>142342</bug_id>
          
          <creation_ts>2006-07-31 14:57 0000</creation_ts>
          <short_desc>shared-mime-info-0.17-r2: MP4 offset incorrect in freedesktop.org.xml</short_desc>
          <delta_ts>2006-08-03 11:22:40 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>gentoo@robince.ftml.net</reporter>
          <assigned_to>foser@gentoo.org</assigned_to>
          <cc>gnome@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>gentoo@robince.ftml.net</who>
            <bug_when>2006-07-31 14:57:54 0000</bug_when>
            <thetext>The /usr/share/mime/packages/freedesktop.org.xml file in shared-mime-info-0.17-r2 has an error in the MP4 section.

The offset attribute in the magic -&gt; match entry should be 4, not 0.

&lt;mime-type type=&quot;audio/mp4&quot;&gt;
    &lt;comment&gt;MPEG-4 audio&lt;/comment&gt;
    &lt;comment xml:lang=&quot;bg&quot;&gt;&amp;#1040;&amp;#1091;&amp;#1076;&amp;#1080;&amp;#1086; &amp;#1092;&amp;#1072;&amp;#1081;&amp;#1083;, &amp;#1092;&amp;#1086;&amp;#1088;&amp;#1084;&amp;#1072;&amp;#1090; MPEG-4&lt;/comment&gt;
    &lt;comment xml:lang=&quot;de&quot;&gt;MPEG-4-Audio&lt;/comment&gt;
    &lt;comment xml:lang=&quot;nb&quot;&gt;MPEG-4-lyd&lt;/comment&gt;
    &lt;comment xml:lang=&quot;no&quot;&gt;MPEG-4-lyd&lt;/comment&gt;
    &lt;alias type=&quot;audio/x-m4a&quot;/&gt;
    &lt;magic priority=&quot;50&quot;&gt;
&lt;!-- WRONG:
      &lt;match value=&quot;ftypM4A&quot; type=&quot;string&quot; offset=&quot;0&quot;/&gt;
--&gt;
      &lt;match value=&quot;ftypM4A&quot; type=&quot;string&quot; offset=&quot;4&quot;/&gt;
    &lt;/magic&gt;
    &lt;glob pattern=&quot;*.m4a&quot;/&gt;
  &lt;/mime-type&gt;
  &lt;mime-type type=&quot;video/mp4&quot;&gt;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2006-07-31 15:52:20 0000</bug_when>
            <thetext>This already got fixed in 0.18 afaics, can you confirm that ? Might be a good time to stabilize it.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo@robince.ftml.net</who>
            <bug_when>2006-08-01 00:02:27 0000</bug_when>
            <thetext>It doesn&apos;t seem to be fixed in 0.18 (although there are some more translations):

  &lt;mime-type type=&quot;audio/mp4&quot;&gt;
    &lt;comment&gt;MPEG-4 audio&lt;/comment&gt;
    &lt;comment xml:lang=&quot;bg&quot;&gt;&amp;#1040;&amp;#1091;&amp;#1076;&amp;#1080;&amp;#1086;, &amp;#1092;&amp;#1086;&amp;#1088;&amp;#1084;&amp;#1072;&amp;#1090; MPEG-4&lt;/comment&gt;
    &lt;comment xml:lang=&quot;cs&quot;&gt;Zvuk MPEG-4&lt;/comment&gt;
    &lt;comment xml:lang=&quot;de&quot;&gt;MPEG-4-Audio&lt;/comment&gt;
    &lt;comment xml:lang=&quot;es&quot;&gt;Audio MPEG-4&lt;/comment&gt;
    &lt;comment xml:lang=&quot;eu&quot;&gt;MPEG-4 audioa&lt;/comment&gt;
    &lt;comment xml:lang=&quot;hu&quot;&gt;MPEG-4-hang&lt;/comment&gt;
    &lt;comment xml:lang=&quot;it&quot;&gt;Audio MPEG-4&lt;/comment&gt;
    &lt;comment xml:lang=&quot;ko&quot;&gt;MPEG-4 &amp;#50724;&amp;#46356;&amp;#50724;&lt;/comment&gt;
    &lt;comment xml:lang=&quot;nb&quot;&gt;MPEG-4-lyd&lt;/comment&gt;
    &lt;comment xml:lang=&quot;nn&quot;&gt;MPEG-4-lyd&lt;/comment&gt;
    &lt;comment xml:lang=&quot;sv&quot;&gt;MPEG-4-ljud&lt;/comment&gt;
    &lt;comment xml:lang=&quot;uk&quot;&gt;&amp;#1047;&amp;#1074;&amp;#1091;&amp;#1082; MPEG-4&lt;/comment&gt;
    &lt;comment xml:lang=&quot;vi&quot;&gt;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo@robince.ftml.net</who>
            <bug_when>2006-08-01 00:02:27 0000</bug_when>
            <thetext>It doesn&apos;t seem to be fixed in 0.18 (although there are some more translations):

  &lt;mime-type type=&quot;audio/mp4&quot;&gt;
    &lt;comment&gt;MPEG-4 audio&lt;/comment&gt;
    &lt;comment xml:lang=&quot;bg&quot;&gt;&amp;#1040;&amp;#1091;&amp;#1076;&amp;#1080;&amp;#1086;, &amp;#1092;&amp;#1086;&amp;#1088;&amp;#1084;&amp;#1072;&amp;#1090; MPEG-4&lt;/comment&gt;
    &lt;comment xml:lang=&quot;cs&quot;&gt;Zvuk MPEG-4&lt;/comment&gt;
    &lt;comment xml:lang=&quot;de&quot;&gt;MPEG-4-Audio&lt;/comment&gt;
    &lt;comment xml:lang=&quot;es&quot;&gt;Audio MPEG-4&lt;/comment&gt;
    &lt;comment xml:lang=&quot;eu&quot;&gt;MPEG-4 audioa&lt;/comment&gt;
    &lt;comment xml:lang=&quot;hu&quot;&gt;MPEG-4-hang&lt;/comment&gt;
    &lt;comment xml:lang=&quot;it&quot;&gt;Audio MPEG-4&lt;/comment&gt;
    &lt;comment xml:lang=&quot;ko&quot;&gt;MPEG-4 &amp;#50724;&amp;#46356;&amp;#50724;&lt;/comment&gt;
    &lt;comment xml:lang=&quot;nb&quot;&gt;MPEG-4-lyd&lt;/comment&gt;
    &lt;comment xml:lang=&quot;nn&quot;&gt;MPEG-4-lyd&lt;/comment&gt;
    &lt;comment xml:lang=&quot;sv&quot;&gt;MPEG-4-ljud&lt;/comment&gt;
    &lt;comment xml:lang=&quot;uk&quot;&gt;&amp;#1047;&amp;#1074;&amp;#1091;&amp;#1082; MPEG-4&lt;/comment&gt;
    &lt;comment xml:lang=&quot;vi&quot;&gt;Âm thanh MPEG-4&lt;/comment&gt;
    &lt;alias type=&quot;audio/x-m4a&quot;/&gt;
    &lt;magic priority=&quot;50&quot;&gt;
      &lt;match value=&quot;ftypM4A&quot; type=&quot;string&quot; offset=&quot;0&quot;/&gt;  &lt;!---- Should be 4 --&gt;
    &lt;/magic&gt;
    &lt;glob pattern=&quot;*.m4a&quot;/&gt;
  &lt;/mime-type&gt;
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo@robince.ftml.net</who>
            <bug_when>2006-08-01 01:59:19 0000</bug_when>
            <thetext>I actually noticed this is wrong in the current freedesktop.org CVS:

http://webcvs.freedesktop.org/mime/shared-mime-info/freedesktop.org.xml.in?revision=1.155&amp;view=markup

So I filed an upstream bug:

https://bugs.freedesktop.org/show_bug.cgi?id=7718

Would be nice to get it fixed quickly here though since it&apos;s such a trivial change.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2006-08-03 10:24:51 0000</bug_when>
            <thetext>you are correct sir, I was mistakenly looking at the video/m4a bits.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2006-08-03 11:22:40 0000</bug_when>
            <thetext>fixen in 0.18-r1

thanks for the report &amp; fix</thetext>
          </long_desc>
      
    </bug>

</bugzilla>