Bug#407129: text/x-ms-autorun

Robert Millan rmh at aybabtu.com
Tue Jan 16 13:02:14 CET 2007


Package: shared-mime-info
Version: 0.19-1
Severity: wishlist
Tags: patch

This patch adds autorun.inf files as text/x-ms-autorun.

Filed upstream as:

  http://bugs.freedesktop.org/show_bug.cgi?id=9674

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-amd64
Locale: LANG=ca_AD.UTF-8, LC_CTYPE=ca_AD.UTF-8 (charmap=UTF-8)

Versions of packages shared-mime-info depends on:
ii  libc6                      2.3.6.ds1-8   GNU C Library: Shared libraries
ii  libglib2.0-0               2.12.4-2      The GLib library of C routines
ii  libxml2                    2.6.27.dfsg-1 GNOME XML library

shared-mime-info recommends no packages.

-- no debconf information
-------------- next part --------------
diff -ur shared-mime-info-0.19.old/freedesktop.org.xml.in shared-mime-info-0.19/freedesktop.org.xml.in
--- shared-mime-info-0.19.old/freedesktop.org.xml.in	2006-08-25 18:02:58.000000000 +0200
+++ shared-mime-info-0.19/freedesktop.org.xml.in	2007-01-16 12:58:05.000000000 +0100
@@ -2967,6 +2967,15 @@
     <expanded-acronym>Qt Meta Object Compiler</expanded-acronym>
     <glob pattern="*.moc"/>
   </mime-type>
+  <mime-type type="text/x-ms-autorun">
+    <sub-class-of type="text/plain"/>
+    <_comment>Autorun</_comment>
+    <magic priority="50">
+      <match type="string" value="\[autorun\]" offset="0"/>
+      <match type="string" value="\[AUTORUN\]" offset="0"/>
+    </magic>
+    <glob pattern="autorun.inf"/>
+  </mime-type>
   <mime-type type="text/x-mup">
     <sub-class-of type="text/plain"/>
     <_comment>Mup publication</_comment>


More information about the Pkg-gnome-maintainers mailing list