[Pkg-mc-commits] r40 - trunk/debian/patches
winnie at alioth.debian.org
winnie at alioth.debian.org
Sat Feb 16 15:24:54 UTC 2008
Author: winnie
Date: 2008-02-16 15:24:53 +0000 (Sat, 16 Feb 2008)
New Revision: 40
Modified:
trunk/debian/patches/01_mc.ext.in.mime.patch
Log:
The first rule mathces.. so this have to be fore the gzip ones
Modified: trunk/debian/patches/01_mc.ext.in.mime.patch
===================================================================
--- trunk/debian/patches/01_mc.ext.in.mime.patch 2008-02-16 13:24:41 UTC (rev 39)
+++ trunk/debian/patches/01_mc.ext.in.mime.patch 2008-02-16 15:24:53 UTC (rev 40)
@@ -1,6 +1,6 @@
diff -Nurwd mc-4.6.2~pre1.orig/lib/mc.ext.in mc-4.6.2~pre1/lib/mc.ext.in
---- mc-4.6.2~pre1.orig/lib/mc.ext.in 2008-02-16 14:05:32.000000000 +0100
-+++ mc-4.6.2~pre1/lib/mc.ext.in 2008-02-16 14:22:07.000000000 +0100
+--- mc-4.6.2~pre1.orig/lib/mc.ext.in 2008-02-16 16:08:28.000000000 +0100
++++ mc-4.6.2~pre1/lib/mc.ext.in 2008-02-16 16:09:41.000000000 +0100
@@ -132,7 +132,7 @@
# tar
regex/\.(tar|TAR)$
@@ -272,7 +272,41 @@
### Miscellaneous ###
-@@ -524,30 +552,61 @@
+@@ -509,6 +537,33 @@
+ regex/\.(rexx?|cmd)$
+ Open=rexx %f %{Enter parameters};echo "Press ENTER";read y
+
++### Debian additions ###
++
++# view gzipped HTML
++regex/\.([hH][tT][mM][lL]?)\.([gG][zZ])$
++ Open=zcat %f|run-mailcap text/html:-
++ View=zcat %f|%view{ascii} w3m -dump -T text/html;
++
++# view bzipped HTML
++regex/\.([hH][tT][mM][lL]?)\.([bB][zZ])2$
++ Open=bzcat %f|run-mailcap text/html:-
++ View=bzcat %f|%view{ascii} w3m -dump -T text/html;
++
++# view gzipped (E)PS
++regex/\.(e|)ps\.gz$
++ Open=gv %f 2>&1 &
++ Icon=postscript.xpm
++ View with GhostView=gv %f 2>&1 &
++
++# compressed PDF
++shell/.pdf.gz
++ Open=zxpdf %f 2>&1 &
++ View=zxpdf %f 2>&1 &
++
++# compressed postscript
++shell/.ps.gz
++ Open=gv %f 2>&1 &
++ View=gv %f 2>&1 &
+
+ ### Plain compressed files ###
+
+@@ -524,30 +579,36 @@
# gzip
type/^gzip
@@ -300,32 +334,7 @@
+### Debian additions ###
+
-+# view gzipped HTML
-+regex/\.([hH][tT][mM][lL]?)\.([gG][zZ])$
-+ Open=zcat %f|run-mailcap text/html:-
-+ View=zcat %f|%view{ascii} w3m -dump -T text/html;
+
-+# view bzipped HTML
-+regex/\.([hH][tT][mM][lL]?)\.([bB][zZ])2$
-+ Open=bzcat %f|run-mailcap text/html:-
-+ View=bzcat %f|%view{ascii} w3m -dump -T text/html;
-+
-+# view gzipped (E)PS
-+regex/\.(e|)ps\.gz$
-+ Open=gv %f &
-+ Icon=postscript.xpm
-+ View with GhostView=gv %f &
-+
-+# compressed PDF
-+shell/.pdf.gz
-+ Open=zxpdf %f &
-+ View=zxpdf %f &
-+
-+# compressed postscript
-+shell/.ps.gz
-+ Open=gv %f &
-+ View=gv %f &
-+
+# Gettext Catalogs
+shell/.mo
+ View=%view{ascii} msgunfmt %f || cat %f
More information about the Pkg-mc-commits
mailing list