https://bugs.kde.org/show_bug.cgi?id=440135

Max <m...@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |m...@freebsd.org

--- Comment #1 from Max <m...@freebsd.org> ---
Created attachment 145032
  --> https://bugs.kde.org/attachment.cgi?id=145032&action=edit
support for 7-zip

There's no need for another plugin, existing plugin with this patch applied can
work with Linux version of 7-zip, assuming 7-zip package provides 7z
executable.
The patch relaxes regexp to match version string any of p7zip and 7-zip:

p7zip output:

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=ru_RU.UTF-8,Utf16=on,HugeFiles=on,64 bits,8 CPUs
x64)


7-zip output:

7-Zip (z) 21.07 (x64) : Copyright (c) 1999-2021 Igor Pavlov : 2021-12-26
 64-bit locale=ru_RU.UTF-8 Threads:8

With this patch Ark can use any of them:

ark.cli7z: Loaded cli_7z plugin
ark.cli7z: Setting up parameters...
ark.cli7z: p7zip version "16.02" detected

ark.cli7z: Loaded cli_7z plugin
ark.cli7z: Setting up parameters...
ark.cli7z: p7zip version "21.07" detected

Perhaps, "p7zip" string should be replace with "7-Zip" to avoid confusion.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to