Bug 211669

Summary: Add LZO support to Ark
Product: [Applications] ark Reporter: Unknown <null>
Component: pluginsAssignee: Ragnar Thomsen <rthomsen6>
Status: RESOLVED FIXED    
Severity: wishlist CC: chealer, dappiu, david, elvis.angelaccio, othmane.moustaouda, rakuco
Priority: NOR Keywords: junior-jobs
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 16.04.0
Sentry Crash Report:

Description Unknown 2009-10-24 18:01:50 UTC
Version:            (using KDE 4.3.2)
OS:                Linux
Installed from:    Ubuntu Packages

lzo - http://www.oberhumer.com/opensource/lzo/
lzop - LZO utility: http://www.lzop.org/

This file format hasn't been updated in a while but seems to be very popular with game developers. Adding support to ark if the lzop utility is present would be nice.
Comment 1 Unknown 2009-10-24 18:09:47 UTC
After some further testing it seems LZO support is present but quite broken.
Any extracted file will result in: "An error occurred while extracting files."
LZO compression doesn't work either.

Only file listing actually works. <shrugs>
Comment 2 Unknown 2009-10-24 18:13:36 UTC
Disregard my last comment, mimes were acting up.
Comment 3 Othmane Moustaouda 2010-01-07 16:49:02 UTC
I'm adding LZO support with lzop :)
Comment 4 Raphael Kubo da Costa 2010-12-08 02:19:12 UTC
Changing the default assignee in the currently open Ark bug reports to me.
Comment 5 Philippe Cloutier 2011-07-28 17:47:18 UTC
I'm not clear on whether Ark is supposed to support LZO or not already, but if it does, the error Jerome had was already reported on #126654.
Comment 6 Davide Rossi 2016-01-05 16:30:49 UTC
I just started using lzo archives because of super fast compression speed I needed, and I just noticed that on KDE 5 Ark cannot create or open .lzo files (lzop is installed on my system). If I understand correctly from this bug report, Ark previously gained the ability to manage lzo archives, but now seems lost. 
For me it would be a nice feature to have, am I the only one? 

Ark Version 15.12.0 (Using: KDE Frameworks 5.17.0 -- Qt 5.5.1 (built against 5.5.1))
Comment 7 Elvis Angelaccio 2016-01-05 17:53:26 UTC
(In reply to Davide Rossi from comment #6)
> I just started using lzo archives because of super fast compression speed I
> needed, and I just noticed that on KDE 5 Ark cannot create or open .lzo
> files (lzop is installed on my system). If I understand correctly from this
> bug report, Ark previously gained the ability to manage lzo archives, but
> now seems lost. 
> For me it would be a nice feature to have, am I the only one? 
> 
> Ark Version 15.12.0 (Using: KDE Frameworks 5.17.0 -- Qt 5.5.1 (built against
> 5.5.1))
Support for LZO was lost many years ago, actually. A new read-write plugin must be written from scratch.
Comment 8 David Hallas 2016-01-18 02:10:43 UTC
I am currently working on adding support for this using lzop - I will post patches to reviewboard when ready. Currently I only have listing done.
Comment 9 Ragnar Thomsen 2016-03-11 18:35:05 UTC
Git commit 17df27dab76bad4ce5bf78e1a1240408d972ef88 by Ragnar Thomsen.
Committed on 11/03/2016 at 18:30.
Pushed by rthomsen into branch 'master'.

Add support for lzop-compressed tar archives

Enable readwrite support for lzop-compressed tar archives in libarchive
plugin.

This bumps the required version of libarchive to 3.1.0.
FIXED-IN: 16.04.0
FEATURE:

Differential Revision: D1123

M  +1    -1    CMakeLists.txt
M  +17   -0    autotests/kerfuffle/archivetest.cpp
A  +-    --    autotests/kerfuffle/data/simplearchive.tar.lzo
M  +3    -1    kerfuffle/archive_kerfuffle.cpp
M  +1    -1    plugins/libarchive/CMakeLists.txt
M  +6    -0    plugins/libarchive/readwritelibarchiveplugin.cpp

http://commits.kde.org/ark/17df27dab76bad4ce5bf78e1a1240408d972ef88