Commit 05141e31 authored by Brian White's avatar Brian White

git-debimport mime-support_3.52-1.tar.gz

parent ec470c88
mime-support (3.52-1) unstable; urgency=low
* removed application/x-httpd-* types (closes: 589384)
* added numerous new mime.types (closes: 652560, 624697, 627997, 619475, 639822)
* fixed some bad mime.types (closes: 605250, 620372, 613810)
* added dpkg trigger support (closes: 594915)
* obsolete bugs (closes: 560118, 605254, 639580, 646462, 658073)
-- Brian White <bcwhite@pobox.com> Sun, 12 Feb 2012 21:06:40 +0100
mime-support (3.51-1) unstable; urgency=medium
* added numerous new mime.types (closes: 585040, 563067, 578392, 599216)
......
......@@ -8,3 +8,5 @@ dh_md5sums
dh_md5sums
dh_md5sums
dh_md5sums
dh_md5sums
dh_md5sums
#! /bin/sh -e
#if [ "$1" = "configure" ]; then
#fi
# dpkg triggers support for update-mime
if [ "$1" = "triggered" ]; then
test -x /usr/sbin/update-mime && /usr/sbin/update-mime --triggered
exit 0
fi
# Remove the old status directory (and any orphaned install-mime program)
......@@ -18,5 +21,5 @@ update-alternatives \
# Run the update program
if [ -x /usr/sbin/update-mime ]; then
update-mime
/usr/sbin/update-mime --triggered
fi
......@@ -47,6 +47,7 @@ binary-indep:
install -m 755 debian/postinst debian/tmp/DEBIAN/postinst
install -m 755 debian/prerm debian/tmp/DEBIAN/prerm
install -m 644 debian/conffiles debian/tmp/DEBIAN/conffiles
install -m 644 debian/triggers debian/tmp/DEBIAN/triggers
cd debian/tmp/usr/share/man; gzip -9fv */*
cd debian/tmp/usr/share/doc/$(package); gzip -9v *
cd debian/tmp/usr/share/doc/$(package); gunzip copyright.gz
......
interest /usr/lib/mime/packages
......@@ -41,13 +41,13 @@ application/batch-SMTP
application/bbolin lin
application/beep+xml
application/cals-1840
application/cap cap pcap
application/commonground
application/cu-seeme cu
application/cybercash
application/davmount+xml davmount
application/dca-rft
application/dec-dx
application/dicom dcm
application/docbook+xml
application/dsptype tsp
application/dvcs
......@@ -82,6 +82,7 @@ application/mac-compactpro cpt
application/macwriteii
application/marc
application/mathematica nb nbp
application/mbox mbox
application/ms-tnef
application/msaccess mdb
application/msword doc dot
......@@ -96,9 +97,9 @@ application/ogg ogx
application/onenote one onetoc2 onetmp onepkg
application/parityfec
application/pdf pdf
application/pgp-encrypted
application/pgp-encrypted pgp
application/pgp-keys key
application/pgp-signature pgp
application/pgp-signature sig
application/pics-rules prf
application/pkcs10
application/pkcs7-mime
......@@ -115,7 +116,6 @@ application/rar rar
application/rdf+xml rdf
application/remote-printing
application/riscos
application/rss+xml rss
application/rtf rtf
application/sdp
application/set-payment
......@@ -268,6 +268,7 @@ application/vnd.ms-excel.addin.macroEnabled.12 xlam
application/vnd.ms-excel.sheet.binary.macroEnabled.12 xlsb
application/vnd.ms-excel.sheet.macroEnabled.12 xlsm
application/vnd.ms-excel.template.macroEnabled.12 xltm
application/vnd.ms-fontobject eot
application/vnd.ms-lrm
application/vnd.ms-officetheme thmx
application/vnd.ms-pki.seccat cat
......@@ -365,6 +366,7 @@ application/vnd.sun.xml.writer.template stw
application/vnd.svd
application/vnd.swiftview-ics
application/vnd.symbian.install sis
application/vnd.tcpdump.pcap cap pcap
application/vnd.triscape.mxs
application/vnd.trueapp
application/vnd.truedoc
......@@ -424,6 +426,7 @@ application/x-doom wad
application/x-dvi dvi
application/x-executable
application/x-font pfa pfb gsf pcf pcf.Z
application/x-font-woff woff
application/x-freemind mm
application/x-futuresplash spl
application/x-ganttproject gan
......@@ -433,13 +436,14 @@ application/x-graphing-calculator gcf
application/x-gtar gtar
application/x-gtar-compressed tgz taz
application/x-hdf hdf
application/x-httpd-eruby rhtml
application/x-httpd-php phtml pht php
application/x-httpd-php-source phps
application/x-httpd-php3 php3
application/x-httpd-php3-preprocessed php3p
application/x-httpd-php4 php4
application/x-httpd-php5 php5
#application/x-httpd-eruby rhtml
#application/x-httpd-php phtml pht php
#application/x-httpd-php-source phps
#application/x-httpd-php3 php3
#application/x-httpd-php3-preprocessed php3p
#application/x-httpd-php4 php4
#application/x-httpd-php5 php5
application/x-hwp hwp
application/x-ica ica
application/x-info info
application/x-internet-signup ins isp
......@@ -463,6 +467,7 @@ application/x-lyx lyx
application/x-lzh lzh
application/x-lzx lzx
application/x-maker frm maker frame fm fb book fbdoc
application/x-md5 md5
application/x-mif mif
application/x-mpegURL m3u8
application/x-ms-wmd wmd
......@@ -481,10 +486,13 @@ application/x-qgis qgs shp shx
application/x-quicktimeplayer qtl
application/x-rdp rdp
application/x-redhat-package-manager rpm
application/x-rss+xml rss
application/x-ruby rb
application/x-rx
application/x-scilab sci sce
application/x-scilab-xcos xcos
application/x-sh sh
application/x-sha1 sha1
application/x-shar shar
application/x-shellscript
application/x-shockwave-flash swf swfl
......@@ -638,6 +646,7 @@ image/vnd.fpx
image/vnd.fst
image/vnd.fujixerox.edmics-mmr
image/vnd.fujixerox.edmics-rlc
image/vnd.microsoft.icon ico
image/vnd.mix
image/vnd.net-fpx
image/vnd.svf
......@@ -651,7 +660,7 @@ image/x-coreldrawpattern pat
image/x-coreldrawtemplate cdt
image/x-corelphotopaint cpt
image/x-epson-erf erf
image/x-icon ico
image/x-icon
image/x-jg art
image/x-jng jng
image/x-ms-bmp bmp
......@@ -711,7 +720,7 @@ multipart/report
multipart/signed
multipart/voice-message
text/cache-manifest manifest
text/cache-manifest appcache
text/calendar ics icz
text/css css
text/csv csv
......@@ -723,7 +732,7 @@ text/html html htm shtml
text/iuls uls
text/mathml mml
text/parityfec
text/plain asc txt text pot brf
text/plain asc txt text pot brf srt
text/prs.lines.tag
text/rfc822-headers
text/richtext rtx
......@@ -764,6 +773,7 @@ text/x-dsrc d
text/x-diff diff patch
text/x-haskell hs
text/x-java java
text/x-lilypond ly
text/x-literate-haskell lhs
text/x-makefile
text/x-moc moc
......
......@@ -361,15 +361,15 @@ foreach (@ARGV) {
$ENV{RUN_MAILCAP_DEBUG} = 1 if $debug;
unless ($action) {
if ($0 =~ m!(^|/)view$!) { $action="view"; }
elsif ($0 =~ m!(^|/)see$!) { $action="view"; }
elsif ($0 =~ m!(^|/)cat$!) { $action="cat"; }
elsif ($0 =~ m!(^|/)edit$!) { $action="edit"; }
elsif ($0 =~ m!(^|/)change$!) { $action="edit"; }
elsif ($0 =~ m!(^|/)compose$!) { $action="compose";}
elsif ($0 =~ m!(^|/)print$!) { $action="print"; }
elsif ($0 =~ m!(^|/)create$!) { $action="compose";}
else { $action="view"; }
if ($0 =~ m!(^|/)(mime-)?view$!) { $action="view"; }
elsif ($0 =~ m!(^|/)(mime-)?see$!) { $action="view"; }
elsif ($0 =~ m!(^|/)(mime-)?cat$!) { $action="cat"; }
elsif ($0 =~ m!(^|/)(mime-)?edit$!) { $action="edit"; }
elsif ($0 =~ m!(^|/)(mime-)?change$!) { $action="edit"; }
elsif ($0 =~ m!(^|/)(mime-)?compose$!) { $action="compose";}
elsif ($0 =~ m!(^|/)(mime-)?print$!) { $action="print"; }
elsif ($0 =~ m!(^|/)(mime-)?create$!) { $action="compose";}
else { $action="view"; }
}
......
......@@ -2,7 +2,7 @@
###############################################################################
#
# Update-MIME: Install programs into "/etc/mailcap", resolve conflicts,
# auto-uninstall, make dinner, and wash dishes.
# auto-uninstall, make dinner, and wash dishes.
#
# Written by Brian White <bcwhite@pobox.com>.
#
......@@ -29,6 +29,18 @@ $defpriority = 5;
$localgen = 0;
# If the call comes from dpkg, only accept it if --triggered is passed
# This is so that we don't get useless calls from packages' postinsts
# that call update-mime due to dh_installmime adding that call for
# when there was no triggers support.
#
# When this 'hack' is removed, mime-support's postinst should be updated
# to not pass --triggered anymore in 'triggered'.
if ($ENV{"DPKG_RUNNING_VERSION"} ne "" && $ARGV[0] ne "--triggered") {
exit (0);
}
# Allow local run
if ($ARGV[0] eq "--local") {
$conffile = "$ENV{HOME}/.update-mime.conf";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment