update mc-extensions.patch

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
This commit is contained in:
Slava Zanko 2012-03-20 15:47:11 +03:00
parent 0ce18055b3
commit 11d6ae068c

View File

@ -1,15 +1,3 @@
diff -up mc-4.8.0/configure.ac.extensions mc-4.8.0/configure.ac
--- mc-4.8.0/configure.ac.extensions 2011-10-17 11:33:45.000000000 +0200
+++ mc-4.8.0/configure.ac 2011-11-09 07:03:04.416596731 +0100
@@ -78,7 +78,7 @@ AC_PROG_LN_S
AC_CHECK_TOOL(AR, ar, ar)
dnl Only list browsers here that can be run in background (i.e. with `&')
-AC_CHECK_PROGS(X11_WWW, [gnome-moz-remote mozilla konqueror opera netscape])
+AC_CHECK_PROGS(X11_WWW, [firefox gnome-moz-remote mozilla konqueror opera netscape])
dnl
dnl Ovverriding mmap support. This has to be before AC_FUNC_MMAP is used.
diff -up mc-4.8.0/misc/mc.ext.in.extensions mc-4.8.0/misc/mc.ext.in
--- mc-4.8.0/misc/mc.ext.in.extensions 2011-10-17 11:33:45.000000000 +0200
+++ mc-4.8.0/misc/mc.ext.in 2011-11-09 07:04:24.981728775 +0100
@ -133,12 +121,13 @@ diff -up mc-4.8.0/misc/mc.ext.in.extensions mc-4.8.0/misc/mc.ext.in
View=%view{ascii} xls2csv %f || strings %f
# Use OpenOffice.org to open any MS Office documents
@@ -564,7 +581,7 @@ regex/\.([Tt][Ee][Xx])$
@@ -584,7 +584,7 @@
# DjVu
regex/\.(djvu|DJVU)$
regex/\.(djvu?|DJVU?)$
- Open=djview %f &
+ Open=xdg-open %f &
+ Open=(xdg-open %f || djview %f) &
View=%view{ascii} djvused -e print-pure-txt %f
### Miscellaneous ###