r10854 - in /packages/unstable/shared-mime-info/debian: changelog patches/071_change_svg_tag_range.patch

slomo at users.alioth.debian.org slomo at users.alioth.debian.org
Mon May 7 21:28:13 UTC 2007


Author: slomo
Date: Mon May  7 21:28:12 2007
New Revision: 10854

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=10854
Log:
* New patch 071_change_svg_tag_range: Increase the range for the detection
  magic of SVG files to fix misdetection of some SVG files (like the Debian
  wallpaper) as general XML documents. Patch taken from the Ubuntu package.
  See https://bugs.freedesktop.org/show_bug.cgi?id=10880

Added:
    packages/unstable/shared-mime-info/debian/patches/071_change_svg_tag_range.patch
Modified:
    packages/unstable/shared-mime-info/debian/changelog

Modified: packages/unstable/shared-mime-info/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/shared-mime-info/debian/changelog?rev=10854&op=diff
==============================================================================
--- packages/unstable/shared-mime-info/debian/changelog (original)
+++ packages/unstable/shared-mime-info/debian/changelog Mon May  7 21:28:12 2007
@@ -1,3 +1,12 @@
+shared-mime-info (0.21-2) unstable; urgency=low
+
+  * New patch 071_change_svg_tag_range: Increase the range for the detection
+    magic of SVG files to fix misdetection of some SVG files (like the Debian
+    wallpaper) as general XML documents. Patch taken from the Ubuntu package.
+    See https://bugs.freedesktop.org/show_bug.cgi?id=10880
+
+ -- Sebastian Dröge <slomo at debian.org>  Mon,  7 May 2007 23:04:02 +0200
+
 shared-mime-info (0.21-1) unstable; urgency=low
 
   * New upstream release:

Added: packages/unstable/shared-mime-info/debian/patches/071_change_svg_tag_range.patch
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/shared-mime-info/debian/patches/071_change_svg_tag_range.patch?rev=10854&op=file
==============================================================================
--- packages/unstable/shared-mime-info/debian/patches/071_change_svg_tag_range.patch (added)
+++ packages/unstable/shared-mime-info/debian/patches/071_change_svg_tag_range.patch Mon May  7 21:28:12 2007
@@ -1,0 +1,12 @@
+diff -Nur shared-mime-info-0.20/freedesktop.org.xml.in shared-mime-info-0.20.new/freedesktop.org.xml.in
+--- shared-mime-info-0.20/freedesktop.org.xml.in	2007-03-11 14:23:52.000000000 +0100
++++ shared-mime-info-0.20.new/freedesktop.org.xml.in	2007-03-11 14:24:00.000000000 +0100
+@@ -2367,7 +2367,7 @@
+     <expanded-acronym>Scalable Vector Graphics</expanded-acronym>
+     <magic priority="80">
+       <match type="string" value="&lt;!DOCTYPE svg" offset="0:256"/>
+-      <match type="string" value="&lt;svg" offset="0:64"/>
++      <match type="string" value="&lt;svg" offset="0:256"/>
+     </magic>
+     <glob pattern="*.svg"/>
+   </mime-type>




More information about the pkg-gnome-commits mailing list