File: mimetypes_openxml.patch

package info (click to toggle)
mhonarc 2.6.24-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 9,020 kB
  • sloc: perl: 280,086; makefile: 11
file content (25 lines) | stat: -rw-r--r-- 1,537 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Author: Jeff Breidenbach <jab@debian.org>
Last-Update: 2012-02-24
Bug-Debian: https://bugs.debian.org/616407
Description: Add some Microsoft Office 2007 mime types

--- a/lib/mhmimetypes.pl
+++ b/lib/mhmimetypes.pl
@@ -48,6 +48,7 @@ $UnknownExt = 'bin';
     'application/ms-powerpoint',         'ppt:MS-Powerpoint presentation',
     'application/ms-project',            'mpp:MS-Project file',
     'application/msword',                'doc:MS-Word document',
+    'application/vnd.openxmlformats-officedocument.wordprocessingml.document',         'docx:MS-Word 2007 document',
     'application/octet-stream',          'bin:Binary data',
     'application/oda',                   'oda:ODA file',
     'application/pdf',                   'pdf:Adobe PDF document',
@@ -71,7 +72,9 @@ $UnknownExt = 'bin';
     'application/vnd.lotus-wordpro',     'lwp,sam:Lotus WordPro',
     'application/vnd.mif',               'mif:Frame MIF document',
     'application/vnd.ms-excel',          'xls:MS-Excel spreadsheet',
+    'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',               'xlsx:MS-Excel 2007 spreadsheet',
     'application/vnd.ms-powerpoint',     'ppt:MS-Powerpoint presentation',
+    'application/vnd.openxmlformats-officedocument.presentationml.presentation',    'pptx:MS-Powerpoint 2007 presentation',
     'application/vnd.ms-project',        'mpp:MS-Project file',
     'application/vnd.stardivision.calc', 'sdc:StarCalc spreadsheet',
     'application/vnd.stardivision.chart', 'sds:StarChart document',