[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#504228: marked as done (ark: does not open lha files from the command line)



Your message dated Mon, 19 Apr 2010 01:45:34 +0200
with message-id <201004190145.35611.ewoerner@kde.org>
and subject line 
has caused the Debian Bug report #504228,
regarding ark: does not open lha files from the command line
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
504228: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=504228
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: ark
Version: 4:3.5.10-2.1
Severity: normal
Tags: patch

When you try to open a lha file from the command line ("ark file.lha"),
you get this error:

  The utility is not in your PATH.
  Please install it or contact your system administrator.

That's because the lha module doesn't set the unarchiver. The attached
patch fixes it. I copied the logic from other single-program formats,
such as ar and zoo.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (100, 'testing'), (10, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24.7-athlon
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 ark depends on:
ii  kdelibs4c2a             4:3.5.9.dfsg.1-6 core libraries and binaries for al
ii  libc6                   2.7-14           GNU C Library: Shared libraries
ii  libgcc1                 1:4.3.1-2        GCC support library
ii  libqt3-mt               3:3.3.8b-5       Qt GUI Library (Threaded runtime v
ii  libstdc++6              4.3.1-2          The GNU Standard C++ Library v3

Versions of packages ark recommends:
ii  bzip2                      1.0.4-2       high-quality block-sorting file co
hi  ncompress                  4.2.4.0-3     Original Lempel-Ziv compress/uncom
hi  p7zip-full                 4.55~dfsg.1-2 7z and 7za file archivers with hig
ii  unzip                      5.52-10       De-archiver for .zip files
ii  zip                        2.32-1        Archiver for .zip files
ii  zoo                        2.10-20       manipulate zoo archives

-- no debconf information
diff --git a/ark/lha.cpp b/ark/lha.cpp
index f890139..adc138c 100644
--- a/ark/lha.cpp
+++ b/ark/lha.cpp
@@ -55,8 +55,9 @@
 LhaArch::LhaArch( ArkWidget *_gui, const QString & _fileName )
   : Arch( _gui, _fileName )
 {
-  m_archiver_program = "lha";
+  m_archiver_program = m_unarchiver_program = "lha";
   verifyCompressUtilityIsAvailable( m_archiver_program );
+  verifyUncompressUtilityIsAvailable( m_unarchiver_program );
 
   m_headerString = "----";
 }

--- End Message ---
--- Begin Message ---
Version: 4:4.4.2-1

No response from the submitter for 4 weeks, closing.


--- End Message ---

Reply to: