[Pkg-mc-devel] Bug#501385: mc: OpenOffice viewer uses obsolete o3totxt

Kevin McCarthy debian at 8t8.us
Tue Oct 7 04:08:53 UTC 2008


Package: mc
Version: 2:4.6.2~git20080311-3
Severity: normal
Tags: patch


The viewer for OpenOffice documents invokes o3totxt, which is no longer
a part of lenny.  The attached patch switches to using odt2txt.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

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

Versions of packages mc depends on:
ii  libc6                         2.7-13     GNU C Library: Shared libraries
ii  libglib2.0-0                  2.16.5-1   The GLib library of C routines
ii  libgpm2                       1.20.4-2   General Purpose Mouse - shared lib
ii  libslang2                     2.1.3-3    The S-Lang programming library - r

mc recommends no packages.

Versions of packages mc suggests:
ii  arj                           3.10.22-6  archiver for .arj files
ii  bzip2                         1.0.5-1    high-quality block-sorting file co
pn  dbview                        <none>     (no description available)
ii  file                          4.26-1     Determines file type using "magic"
ii  mime-support                  3.44-1     MIME files 'mime.types' & 'mailcap
ii  odt2txt                       0.4-1      simple converter from OpenDocument
ii  perl                          5.10.0-14  Larry Wall's Practical Extraction 
ii  unzip                         5.52-12    De-archiver for .zip files
ii  w3m                           0.5.2-2+b1 WWW browsable pager with excellent
ii  xpdf                          3.02-1.4   Portable Document Format (PDF) sui
ii  zip                           2.32-1     Archiver for .zip files

-- no debconf information
-------------- next part --------------
--- mc.ext.orig	2008-07-26 02:51:00.000000000 -0700
+++ mc.ext	2008-10-06 20:57:12.000000000 -0700
@@ -497,7 +497,7 @@
 # StarOffice 6 and OpenOffice.org formats
 regex/\.(odt|ott|sxw|stw|ods|ots|sxc|stc|odp|otp|sxi|sti|odg|otg|sxd|std|odb|odf|sxm|odm|sxg)$
 	Open=(ooffice %f &)
-	View=%view{ascii} unzip -p %f content.xml | o3totxt
+	View=%view{ascii} odt2txt %f
 
 # AbiWord
 shell/.abw


More information about the Pkg-mc-devel mailing list