[Pkg-mc-devel] Bug#544054: mc: Mc should not exclusively suggest xpdf

Andreas Tille tillea at rki.de
Fri Aug 28 12:36:39 UTC 2009


Package: mc
Version: 2:4.7.0-pre1-3
Severity: normal
Tags: patch

Hi,

there is no reason to prefer xpdf over other packages that provide
pdf-viewer.  So the relevant piece of debian/control should rather read

- Suggests: mime-support, perl, zip, unzip, bzip2, links | w3m | lynx, arj, file, xpdf, dbview, odt2txt
+ Suggests: mime-support, perl, zip, unzip, bzip2, links | w3m | lynx, arj, file, xpdf-reader | pdf-viewer, dbview, odt2txt

Moreover the config file /etc/mc/mc.ext should not mention xpdf
explicitely but rather relay on the mailcap entry. This could be
accomplished by using the following patch:

--- mc.ext.orig 2009-08-09 15:07:00.000000000 +0200
+++ mc.ext      2009-08-28 14:20:54.000000000 +0200
@@ -468,7 +468,7 @@
 
 # PDF
 type/^PDF
-       Open=(xpdf %f &)
+       Open=(see %f &)
        #Open=(acroread %f &)
        #Open=(ghostview %f &)
        View=%view{ascii} pdftotext %f -

To make sure that this really works in any case I would suggest to
Recommend mime-support rather than suggesting it.  I'll leave the final
decision to you as the maintainer but if you ask me some other Suggested
packages might deserve a Recommends rather than only a Suggests.

Kind regards and thanks for maintaining mc

       Andreas.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (501, 'testing'), (50, 'unstable'), (5, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mc depends on:
ii  libc6                         2.9-23     GNU C Library: Shared libraries
ii  libglib2.0-0                  2.20.4-1   The GLib library of C routines
ii  libgpm2                       1.20.4-3.2 General Purpose Mouse - shared lib
ii  libslang2                     2.1.4-3    The S-Lang programming library - r

Versions of packages mc recommends:
ii  imagemagick                7:6.5.1.0-1.1 image manipulation programs

Versions of packages mc suggests:
pn  arj                         <none>       (no description available)
ii  bzip2                       1.0.5-3      high-quality block-sorting file co
ii  dbview                      1.0.4-1      View dBase III files
ii  file                        5.03-1       Determines file type using "magic"
ii  links                       2.2-1+b1     Web browser running in text mode
ii  lynx                        2.8.7rel.1-1 Text-mode WWW Browser (transitiona
ii  mime-support                3.46-1       MIME files 'mime.types' & 'mailcap
pn  odt2txt                     <none>       (no description available)
ii  perl                        5.10.0-25    Larry Wall's Practical Extraction 
ii  unzip                       6.0-1        De-archiver for .zip files
ii  w3m                         0.5.2-2.1    WWW browsable pager with excellent
pn  xpdf                        <none>       (no description available)
ii  zip                         3.0-1        Archiver for .zip files

-- no debconf information





More information about the Pkg-mc-devel mailing list