[Pkg-mc-devel] Bug#665763: [mc] replace hardcoded applications in mc.ext with run-mailcap

Mate Miklos mtmkls at freemail.hu
Sun Mar 25 18:43:04 UTC 2012


Package: mc
Version: 3:4.8.1-3
Severity: normal

--- Please enter the report below this line. ---
Several applications are hardcoded into the default mc.ext, which could be 
better handled by run-mailcap. Most of the hardcoded ones are not installed by 
default, and/or have superior alternatives. Examples: the entire sound section 
(eg. mpg123, ogg123), mplayer for all videos (not even available in debian), 
gv for postscript (evince and okular could handle it via see %f), abiword and 
gnumeric (most people use libreoffice instead).

In fact, the entire mc.ext for finding suitable applications for opening files 
is wrong, it should be "see %f" blindly for *everything* that has X bit unset 
and try running the executable ones (too bad matching permissions is 
impossible, so this cannot be implemened right now).

Also worth noting is that determining file types based on filenames is totally 
wrong, but this mistake is so prevalent, that fighting against is is futile.

MM

--- System information. ---
Architecture: amd64
Kernel:       Linux 3.3.0fxa

Debian Release: wheezy/sid
  500 unstable        ftp.uni-kl.de 
  500 unstable        ftp.de.debian.org 
    1 experimental    ftp.hu.debian.org 

--- Package information. ---
Depends              (Version) | Installed
==============================-+-==============
e2fslibs             (>= 1.42) | 1.42.1-2
libc6                (>= 2.11) | 2.13-27
libcomerr2           (>= 1.01) | 1.42.1-2
libglib2.0-0       (>= 2.24.0) | 2.30.2-6
libgpm2            (>= 1.20.4) | 1.20.4-4
libslang2         (>= 2.0.7-1) | 2.2.4-7
mc-data          (= 3:4.8.1-3) | 3:4.8.1-3


Recommends        (Version) | Installed
===========================-+-===========
mime-support                | 3.52-1
unzip                       | 6.0-5
perl                        | 5.14.2-9


Suggests           (Version) | Installed
============================-+-===========
zip                          | 3.0-4
bzip2                        | 1.0.6-1
links                        | 2.5-1
 OR w3m                      | 0.5.3-5
 OR lynx                     | 
arj                          | 
file                         | 5.11-1
xpdf                         | 
 OR pdf-viewer               | 
dbview                       | 
odt2txt                      | 
gv                           | 
catdvi                       | 
djvulibre-bin                | 
imagemagick                  | 8:6.6.9.7-6
python                       | 2.7.2-10
python-boto                  | 
python-tz                    | 





More information about the Pkg-mc-devel mailing list