[Pkg-mc-commits] r45 - trunk/debian/patches
winnie at alioth.debian.org
winnie at alioth.debian.org
Sat Feb 16 18:24:47 UTC 2008
Author: winnie
Date: 2008-02-16 18:24:47 +0000 (Sat, 16 Feb 2008)
New Revision: 45
Modified:
trunk/debian/patches/01_mc.ext.in.mime.patch
Log:
Run some things better in the background
Modified: trunk/debian/patches/01_mc.ext.in.mime.patch
===================================================================
--- trunk/debian/patches/01_mc.ext.in.mime.patch 2008-02-16 17:19:55 UTC (rev 44)
+++ trunk/debian/patches/01_mc.ext.in.mime.patch 2008-02-16 18:24:47 UTC (rev 45)
@@ -136,7 +136,7 @@
include/image
- Open=if [ "$DISPLAY" = "" ]; then zgv %f; else (gqview %f &); fi
-+ Open=see %f
++ Open=see %f &
+ #Open=if [ "$DISPLAY" = "" ]; then zgv %f; else (gqview %f &); fi
View=%view{ascii} identify %f
#View=%view{ascii} asciiview %f
@@ -146,12 +146,12 @@
regex/\.([wW][aA][vV]|[sS][nN][dD]|[vV][oO][cC]|[aA][uU]|[sS][mM][pP]|[aA][iI][fF][fF]|[sS][nN][dD])$
- Open=if [ "$DISPLAY" = "" ]; then play %f; else (xmms %f >/dev/null 2>&1 &); fi
-+ Open=run-mailcap audio/x-wav %f 2>&1
++ Open=run-mailcap audio/x-wav %f 2>&1 &
+ #Open=if [ "$DISPLAY" = "" ]; then play %f; else (xmms -e %f 1>/dev/null 2>&1 &); fi
regex/\.([mM][oO][dD]|[sS]3[mM]|[xX][mM]|[iI][tT]|[mM][tT][mM]|669|[sS][tT][mM]|[uU][lL][tT]|[fF][aA][rR])$
- Open=mikmod %f
-+ Open=run-mailcap application/x-mod %f 2>&1
++ Open=run-mailcap application/x-mod %f 2>&1 &
+ #Open=mikmod %f
#Open=tracker %f
@@ -161,7 +161,7 @@
regex/\.([mM][pP]3)$
- Open=if [ "$DISPLAY" = "" ]; then mpg123 %f; else (xmms %f >/dev/null 2>&1 &); fi
- View=%view{ascii} mpg123 -vtn1 %f 2>&1 | sed -n '/^Title/,/^Comment/p;/^MPEG/,/^Audio/p'
-+ Open=run-mailcap audio/mpeg %f 2>&1
++ Open=run-mailcap audio/mpeg %f 2>&1 &
+ #Open=if [ "$DISPLAY" = "" ]; then mpg123 %f; else (xmms %f &); fi
+ View=%view{ascii} mpg123 -vtn1 %f 2>&1 | sed -n '/Title:/,/Comment:/p;/^MPEG/,/^Audio/p'
@@ -173,7 +173,7 @@
regex/\.([mM][iI][dD][iI]?|[rR][mM][iI][dD]?)$
- Open=timidity %f
-+ Open=run-mailcap audio/midi %f 2>&1
++ Open=run-mailcap audio/midi %f 2>&1 &
+ #Open=timidity %f
regex/\.([wW][mM][aA])$
@@ -188,7 +188,7 @@
include/video
- Open=(mplayer %f >/dev/null 2>&1 &)
-+ Open=see %f
++ Open=see %f &
+ #Open=(mplayer %f >/dev/null 2>&1 &)
#Open=(gtv %f >/dev/null 2>&1 &)
#Open=(xanim %f >/dev/null 2>&1 &)
@@ -198,7 +198,7 @@
# Postscript
type/^PostScript
- Open=(gv %f &)
-+ Open=run-mailcap application/postscript %f 2>&1
++ Open=run-mailcap application/postscript %f 2>&1 &
+ #Open=(gv %f &)
View=%view{ascii} ps2ascii %f
@@ -216,7 +216,7 @@
regex/\.([hH][tT][mM][lL]?)$
- Open=(if test -n "@X11_WWW@" && test -n "$DISPLAY"; then (@X11_WWW@ file://%d/%p &) 1>&2; else links %f || lynx -force_html %f || ${PAGER:-more} %f; fi) 2>/dev/null
- View=%view{ascii} lynx -dump -force_html %f
-+ Open=run-mailcap text/html %f 2>&1
++ Open=run-mailcap text/html %f 2>&1 &
+ #Open=(if test -n "@X11_WWW@" && test -n "$DISPLAY"; then (@X11_WWW@ file://%d/%p &) 1>&2; else links %f || lynx -force_html %f || ${PAGER:-more} %f; fi) 2>/dev/null
+ View=%view{ascii} links -dump %f 2>/dev/null || w3m -dump %f 2>/dev/null || lynx -dump -force_html %f
@@ -228,7 +228,7 @@
regex/\.([Dd][oO][cCtT]|[Ww][rR][iI])$
- Open=(abiword %f >/dev/null 2>&1 &)
- View=%view{ascii} catdoc -w %f || word2x -f text %f - || strings %f
-+ Open=run-mailcap application/msword %f 2>&1
++ Open=run-mailcap application/msword %f 2>&1 &
+ #Open=(abiword %f >/dev/null 2>&1 &)
+ View=%view{ascii} antiword -t %f || catdoc -w %f || word2x -f text %f - || strings %f
type/^Microsoft\ Word
@@ -239,18 +239,18 @@
# RTF document
regex/\.([rR][tT][fF])$
- Open=(abiword %f >/dev/null 2>&1 &)
-+ Open=run-mailcap text/rtf %f 2>&1
++ Open=run-mailcap text/rtf %f 2>&1 &
+ #Open=(abiword %f >/dev/null 2>&1 &)
# Microsoft Excel Worksheet
regex/\.([xX][lL][sSwW])$
- Open=(gnumeric %f >/dev/null 2>&1 &)
-+ Open=run-mailcap application/vnd.ms-excel %f 2>&1
++ Open=run-mailcap application/vnd.ms-excel %f 2>&1 &
+ #Open=(gnumeric %f >/dev/null 2>&1 &)
View=%view{ascii} xls2csv %f || strings %f
type/^Microsoft\ Excel
- Open=(gnumeric %f >/dev/null 2>&1 &)
-+ Open=run-mailcap application/vnd.ms-excel %f 2>&1
++ Open=run-mailcap application/vnd.ms-excel %f 2>&1 &
+ #Open=(gnumeric %f >/dev/null 2>&1 &)
View=%view{ascii} xls2csv %f || strings %f
@@ -260,7 +260,7 @@
# DVI
regex/\.([dD][vV][iI])$
- Open=if [ x$DISPLAY = x ]; then dvisvga %f; else (xdvi %f &); fi
-+ Open=run-mailcap application/x-dvi %f 2>&1
++ Open=run-mailcap application/x-dvi %f 2>&1 &
+ #Open=if [ x$DISPLAY = x ]; then dvisvga %f; else (xdvi %f &); fi
View=%view{ascii} dvi2tty %f
@@ -280,12 +280,12 @@
+
+# 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 2>&1||zcat %f|%view{ascii} links -dump 2>&1||zcat %f|lynx -dump -force_html 2>&1
++ Open=zcat %f|run-mailcap text/html - &
++ View=zcat %f|%view{ascii} w3m -dump -T text/html 2>&1 ||zcat %f|%view{ascii} links -dump 2>&1 ||zcat %f|lynx -dump -force_html 2>&1
+
+# view bzipped HTML
+regex/\.([hH][tT][mM][lL]?)\.([bB][zZ])2$
-+ Open=bzcat %f|run-mailcap text/html -
++ Open=bzcat %f|run-mailcap text/html - &
+ View=bzcat %f|%view{ascii} w3m -dump -T text/html 2>&1||zcat %f|%view{ascii} links -dump 2>&1||zcat %f|lynx -dump -force_html 2>&1
+
+# view gzipped (E)PS
More information about the Pkg-mc-commits
mailing list