[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[3626] trunk
- Subject: SF.net SVN: ledger-smb:[3626] trunk
- From: ..hidden..
- Date: Thu, 04 Aug 2011 04:24:38 +0000
Revision: 3626
http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=3626&view=rev
Author: einhverfr
Date: 2011-08-04 04:24:38 +0000 (Thu, 04 Aug 2011)
Log Message:
-----------
Adding vnd mime types
Modified Paths:
--------------
trunk/sql/Pg-database.sql
trunk/tools/extract_mimes.sh
Added Paths:
-----------
trunk/sql/upgrade/3626-more-mime-types.sql
Modified: trunk/sql/Pg-database.sql
===================================================================
--- trunk/sql/Pg-database.sql 2011-08-04 02:26:28 UTC (rev 3625)
+++ trunk/sql/Pg-database.sql 2011-08-04 04:24:38 UTC (rev 3626)
@@ -4306,6 +4306,91 @@
INSERT INTO mime_type (mime_type) VALUES('multipart/mixed');
INSERT INTO mime_type (mime_type) VALUES('multipart/alternative');
INSERT INTO mime_type (mime_type) VALUES('multipart/digest');
+INSERT INTO mime_type (mime_type) VALUES('audio/vnd.rn-realaudio');
+INSERT INTO mime_type (mime_type) VALUES('image/vnd.dwg');
+INSERT INTO mime_type (mime_type) VALUES('image/vnd.djvu');
+INSERT INTO mime_type (mime_type) VALUES('image/vnd.rn-realpix');
+INSERT INTO mime_type (mime_type) VALUES('image/vnd.dxf');
+INSERT INTO mime_type (mime_type) VALUES('image/vnd.wap.wbmp');
+INSERT INTO mime_type (mime_type) VALUES('image/vnd.ms-modi');
+INSERT INTO mime_type (mime_type) VALUES('image/vnd.microsoft.icon');
+INSERT INTO mime_type (mime_type) VALUES('image/vnd.adobe.photoshop');
+INSERT INTO mime_type (mime_type) VALUES('text/vnd.wap.wml');
+INSERT INTO mime_type (mime_type) VALUES('text/vnd.wap.wmlscript');
+INSERT INTO mime_type (mime_type) VALUES('text/vnd.sun.j2me.app-descriptor');
+INSERT INTO mime_type (mime_type) VALUES('text/vnd.abc');
+INSERT INTO mime_type (mime_type) VALUES('text/vnd.rn-realtext');
+INSERT INTO mime_type (mime_type) VALUES('text/vnd.graphviz');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.mozilla.xul+xml');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.oasis.opendocument.text-web');
+INSERT INTO mime_type (mime_type) VALUES('application/x-vnd.kde.kexi');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.openxmlformats-officedocument.spreadsheetml.sheet');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.ms-word.document.macroenabled.12');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.scribus');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.sun.xml.writer.global');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.emusic-emusic_package');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.hp-pcl');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.stardivision.mail');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.google-earth.kml+xml');
+INSERT INTO mime_type (mime_type) VALUES('application/x-vnd.kde.plan');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.kde.okular-archive');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.openxmlformats-officedocument.presentationml.presentation');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.ms-wpl');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.oasis.opendocument.formula');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.openxmlformats-officedocument.wordprocessingml.document');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.oasis.opendocument.text-flat-xml');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.oasis.opendocument.chart');
+INSERT INTO mime_type (mime_type) VALUES('application/x-vnd.kde.plan.work');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.ms-excel.sheet.macroenabled.12');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.lotus-1-2-3');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.hp-hpgl');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.sun.xml.writer');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.oasis.opendocument.text-master');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.corel-draw');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.stardivision.draw');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.oasis.opendocument.spreadsheet');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.stardivision.calc');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.ms-powerpoint.presentation.macroenabled.12');
+INSERT INTO mime_type (mime_type) VALUES('application/x-vnd.kde.kplato');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.oasis.opendocument.text');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.stardivision.math');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.stardivision.writer');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.oasis.opendocument.graphics-flat-xml');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.sun.xml.impress');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.oasis.opendocument.spreadsheet-flat-xml');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.htmldoc-book');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.symbian.install');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.ms-excel.sheet.binary.macroenabled.12');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.google-earth.kmz');
+INSERT INTO mime_type (mime_type) VALUES('application/x-vnd.kde.kplato.work');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.ms-excel');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.kde.kphotoalbum-import');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.sun.xml.draw');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.openxmlformats-officedocument.presentationml.slideshow');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.sun.xml.calc');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.ms-cab-compressed');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.sun.xml.base');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.sun.xml.math');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.ms-powerpoint');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.apple.mpegurl');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.ms-works');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.oasis.opendocument.image');
+INSERT INTO mime_type (mime_type) VALUES('application/x-vnd.kde.contactgroup');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.oasis.opendocument.presentation');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.rn-realmedia');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.oasis.opendocument.database');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.stardivision.impress');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.ms-access');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.openofficeorg.extension');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.ms-xpsdocument');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.oasis.opendocument.presentation-flat-xml');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.stardivision.chart');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.wordperfect');
+INSERT INTO mime_type (mime_type) VALUES('application/x-vnd.kde.kugar.mixed');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.iccprofile');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.oasis.opendocument.graphics');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.ms-tnef');
+INSERT INTO mime_type (mime_type) VALUES('video/vnd.rn-realvideo');
CREATE TABLE file_class (
id serial not null unique,
Added: trunk/sql/upgrade/3626-more-mime-types.sql
===================================================================
--- trunk/sql/upgrade/3626-more-mime-types.sql (rev 0)
+++ trunk/sql/upgrade/3626-more-mime-types.sql 2011-08-04 04:24:38 UTC (rev 3626)
@@ -0,0 +1,85 @@
+INSERT INTO mime_type (mime_type) VALUES('audio/vnd.rn-realaudio');
+INSERT INTO mime_type (mime_type) VALUES('image/vnd.dwg');
+INSERT INTO mime_type (mime_type) VALUES('image/vnd.djvu');
+INSERT INTO mime_type (mime_type) VALUES('image/vnd.rn-realpix');
+INSERT INTO mime_type (mime_type) VALUES('image/vnd.dxf');
+INSERT INTO mime_type (mime_type) VALUES('image/vnd.wap.wbmp');
+INSERT INTO mime_type (mime_type) VALUES('image/vnd.ms-modi');
+INSERT INTO mime_type (mime_type) VALUES('image/vnd.microsoft.icon');
+INSERT INTO mime_type (mime_type) VALUES('image/vnd.adobe.photoshop');
+INSERT INTO mime_type (mime_type) VALUES('text/vnd.wap.wml');
+INSERT INTO mime_type (mime_type) VALUES('text/vnd.wap.wmlscript');
+INSERT INTO mime_type (mime_type) VALUES('text/vnd.sun.j2me.app-descriptor');
+INSERT INTO mime_type (mime_type) VALUES('text/vnd.abc');
+INSERT INTO mime_type (mime_type) VALUES('text/vnd.rn-realtext');
+INSERT INTO mime_type (mime_type) VALUES('text/vnd.graphviz');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.mozilla.xul+xml');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.oasis.opendocument.text-web');
+INSERT INTO mime_type (mime_type) VALUES('application/x-vnd.kde.kexi');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.openxmlformats-officedocument.spreadsheetml.sheet');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.ms-word.document.macroenabled.12');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.scribus');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.sun.xml.writer.global');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.emusic-emusic_package');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.hp-pcl');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.stardivision.mail');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.google-earth.kml+xml');
+INSERT INTO mime_type (mime_type) VALUES('application/x-vnd.kde.plan');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.kde.okular-archive');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.openxmlformats-officedocument.presentationml.presentation');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.ms-wpl');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.oasis.opendocument.formula');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.openxmlformats-officedocument.wordprocessingml.document');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.oasis.opendocument.text-flat-xml');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.oasis.opendocument.chart');
+INSERT INTO mime_type (mime_type) VALUES('application/x-vnd.kde.plan.work');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.ms-excel.sheet.macroenabled.12');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.lotus-1-2-3');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.hp-hpgl');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.sun.xml.writer');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.oasis.opendocument.text-master');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.corel-draw');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.stardivision.draw');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.oasis.opendocument.spreadsheet');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.stardivision.calc');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.ms-powerpoint.presentation.macroenabled.12');
+INSERT INTO mime_type (mime_type) VALUES('application/x-vnd.kde.kplato');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.oasis.opendocument.text');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.stardivision.math');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.stardivision.writer');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.oasis.opendocument.graphics-flat-xml');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.sun.xml.impress');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.oasis.opendocument.spreadsheet-flat-xml');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.htmldoc-book');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.symbian.install');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.ms-excel.sheet.binary.macroenabled.12');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.google-earth.kmz');
+INSERT INTO mime_type (mime_type) VALUES('application/x-vnd.kde.kplato.work');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.ms-excel');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.kde.kphotoalbum-import');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.sun.xml.draw');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.openxmlformats-officedocument.presentationml.slideshow');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.sun.xml.calc');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.ms-cab-compressed');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.sun.xml.base');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.sun.xml.math');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.ms-powerpoint');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.apple.mpegurl');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.ms-works');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.oasis.opendocument.image');
+INSERT INTO mime_type (mime_type) VALUES('application/x-vnd.kde.contactgroup');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.oasis.opendocument.presentation');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.rn-realmedia');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.oasis.opendocument.database');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.stardivision.impress');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.ms-access');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.openofficeorg.extension');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.ms-xpsdocument');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.oasis.opendocument.presentation-flat-xml');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.stardivision.chart');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.wordperfect');
+INSERT INTO mime_type (mime_type) VALUES('application/x-vnd.kde.kugar.mixed');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.iccprofile');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.oasis.opendocument.graphics');
+INSERT INTO mime_type (mime_type) VALUES('application/vnd.ms-tnef');
+INSERT INTO mime_type (mime_type) VALUES('video/vnd.rn-realvideo');
Modified: trunk/tools/extract_mimes.sh
===================================================================
--- trunk/tools/extract_mimes.sh 2011-08-04 02:26:28 UTC (rev 3625)
+++ trunk/tools/extract_mimes.sh 2011-08-04 04:24:38 UTC (rev 3626)
@@ -11,6 +11,5 @@
find /usr/share/mime -name '*.xml' \
| grep -v packages \
| grep -v template \
- | grep -v 'vnd.' \
| grep -v 'inode' \
| sed -e "s#/usr/share/mime/\(.*\).xml#INSERT INTO mime_type (mime_type) VALUES(\'\1\')\;#"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.