[Pkg-mc-commits] r273 - in trunk/debian: . patches patches/bugs

Denis Briand narcan-guest at alioth.debian.org
Sun Sep 20 17:17:58 UTC 2009


Author: narcan-guest
Date: 2009-09-20 17:17:58 +0000 (Sun, 20 Sep 2009)
New Revision: 273

Added:
   trunk/debian/patches/bugs/84_use_dvicat_instead_of_dvi2tty.patch
Modified:
   trunk/debian/changelog
   trunk/debian/control
   trunk/debian/patches/series
Log:
use dvicat instead of dvi2tty to preview dvi files in text mode. Closes #543202


Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2009-09-20 13:14:38 UTC (rev 272)
+++ trunk/debian/changelog	2009-09-20 17:17:58 UTC (rev 273)
@@ -25,6 +25,8 @@
   * Escape few minus sign again into manpages.
   * Add ico files support (Closes: #546737).
   * Suggest gv package to read ps files into X.
+  * Use catdvi instead of dvi2tty (Closes: #543202).
+  * Suggest catdvi to preview dvi files on text-only devices.
 
  -- Patrick Winnertz <winnie at debian.org>  Wed, 19 Aug 2009 21:52:58 +0200
 

Modified: trunk/debian/control
===================================================================
--- trunk/debian/control	2009-09-20 13:14:38 UTC (rev 272)
+++ trunk/debian/control	2009-09-20 17:17:58 UTC (rev 273)
@@ -13,7 +13,7 @@
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Recommends: imagemagick, mime-support
-Suggests: perl, zip, unzip, bzip2, links | w3m | lynx, arj, file, xpdf-reader | pdf-viewer, dbview, odt2txt, gv
+Suggests: perl, zip, unzip, bzip2, links | w3m | lynx, arj, file, xpdf-reader | pdf-viewer, dbview, odt2txt, gv, catdvi
 Description: midnight commander - a powerful file manager
  GNU Midnight Commander is a text-mode full-screen file manager. It
  uses a two panel interface and a subshell for command execution. It

Added: trunk/debian/patches/bugs/84_use_dvicat_instead_of_dvi2tty.patch
===================================================================
--- trunk/debian/patches/bugs/84_use_dvicat_instead_of_dvi2tty.patch	                        (rev 0)
+++ trunk/debian/patches/bugs/84_use_dvicat_instead_of_dvi2tty.patch	2009-09-20 17:17:58 UTC (rev 273)
@@ -0,0 +1,17 @@
+Description: use catdvi instead of dvi2tty and improve code.
+Bug-debian: http://bugs.debian.org/543202
+Author: Denis Briand <denis at narcan.fr>
+Index: mc-4.7.0-pre2~git20090919/misc/mc.ext.in
+===================================================================
+--- mc-4.7.0-pre2~git20090919.orig/misc/mc.ext.in	2009-09-20 18:45:25.000000000 +0200
++++ mc-4.7.0-pre2~git20090919/misc/mc.ext.in	2009-09-20 19:11:22.000000000 +0200
+@@ -527,8 +527,7 @@
+ 
+ # DVI
+ regex/\.([dD][vV][iI])$
+-	Open=if [ x$DISPLAY = x ]; then dvisvga %f; else (xdvi %f &); fi
+-	View=%view{ascii} dvi2tty %f
++	Open=if [ "$DISPLAY" = "" ]; then (catdvi %f); else run-mailcap %f; fi
+ 
+ # TeX
+ regex/\.([Tt][Ee][Xx])$

Modified: trunk/debian/patches/series
===================================================================
--- trunk/debian/patches/series	2009-09-20 13:14:38 UTC (rev 272)
+++ trunk/debian/patches/series	2009-09-20 17:17:58 UTC (rev 273)
@@ -17,3 +17,4 @@
 man/01_man_es_escape_minus_sign.patch
 man/02_man_escape_minus_sign.patch
 bugs/83_add_ico_files_support.patch
+bugs/84_use_dvicat_instead_of_dvi2tty.patch




More information about the Pkg-mc-commits mailing list