Bug 283134

Summary: Support for The Unarchiver
Product: [Applications] ark Reporter: Daimonion <pejakm>
Component: generalAssignee: Elvis Angelaccio <elvis.angelaccio>
Status: RESOLVED FIXED    
Severity: wishlist CC: coadde, jos, mail, martin.sandsmark, rdieter
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 16.04.0
Sentry Crash Report:

Description Daimonion 2011-10-01 13:21:35 UTC
Version:           unspecified (using KDE 4.7.1) 
OS:                Linux

Ability for Ark to use "The Unarchiver".

Reproducible: Always



Expected Results:  
Ark should be able to use The Unarchiver (if av.) to pack and unpack archives.

"The Unarchiver is an Objective-C application for uncompressing archive files." More information: http://code.google.com/p/theunarchiver/

Why?
1. Unarchiver supports many formats (http://code.google.com/p/theunarchiver/wiki/SupportedFormats)...
2. ...so Ark wont depend upon non free software (such as unrar or unace). BTW rar v3 is supported.
3. Unarchive has very simple commands, so it wont be much a of a problem to support it; commands are same for any archive file type, which means: one app - all archives
4. Unarchive is free! (LGPL)
Comment 1 Daimonion 2011-10-01 13:37:16 UTC
Edit: error correction

Expected Results should be:
"Ark should be able to use The Unarchiver (if av.) to _unpack_ (uncompress) archives."
Comment 2 Raphael Kubo da Costa 2011-10-01 18:17:46 UTC
Thanks for the report, confirming it.

FWIW, there's been a review request (https://svn.reviewboard.kde.org/r/6730) to add support for unarchiver for a while, but I haven't been able to review it (or actually setup Unarchiver on my system for tests) yet.
Comment 3 Daimonion 2011-10-07 13:03:45 UTC
Raphael, please have in mind that unarchiver is in active development. Next version might not be compatible with the patch from the review board link you posted, as it introduces new switches, etc. Could you add support in ark for both current and in-development version? (Similar thing is done for the unrar plugin, I think, where one plugin uses both free and non-free unrar.)
Comment 4 Raphael Kubo da Costa 2011-10-07 13:17:13 UTC
As long as they don't break the current switches there should be no need to have separate code for separate versions -- in fact, if it is still at this stage of development, it might even be safer to wait for them to settle down a bit. Anyway, I'll keep that in mind when reviewing the patch, thanks.
Comment 5 Daimonion 2012-04-14 22:03:05 UTC
Any updates on this? The Unarchiver has reached v3.1, it seems it has a stable switches now.
Comment 6 Raphael Kubo da Costa 2012-04-15 19:05:28 UTC
Thanks for the information; unfortunately not much has happened on Ark's side, as I haven't worked a lot on it lately and there doesn't seem to be an Unarchiver port for FreeBSD yet (which means I get to work on this when I switch to a Linux distro with an Unarchiver package every once in a while).
Comment 7 Daimonion 2012-04-15 19:17:07 UTC
Perhaps these man files could be of help:
http://code.google.com/p/theunarchiver/source/browse/#hg%2FExtra%253Fstate%253Dclosed
? :)
Comment 8 naraesk 2013-07-23 09:13:48 UTC
A lot of distributions now ship unar so it would be really great if ark would support it too, especially to replace the nonfree unrar.
Comment 10 Elvis Angelaccio 2015-10-26 21:31:08 UTC
*** Bug 334528 has been marked as a duplicate of this bug. ***
Comment 11 Elvis Angelaccio 2016-03-09 22:48:37 UTC
Git commit 6e463fa3029b8f4ef9e97923426b048e3d1c4594 by Elvis Angelaccio.
Committed on 09/03/2016 at 22:46.
Pushed by elvisangelaccio into branch 'master'.

Enable The Unarchiver plugin

With this new plugin Ark gets complete support for RAR archives, thanks to the
open source The Unarchiver tool.

This enables distributions to offer RAR support out of the box,
without requiring their users to install the non-free unrar from third-party repositories.

The plugin is heavily unit tested and is designed to be used in a
non-interactive way. This means that the Ark process never has to interact with
the CLI prompts for passwords or overwrite queries issued by the plugin.
To do so, a temporary extraction directory is always used.
FIXED-IN: 16.04.0

M  +1    -0    ark.categories
M  +1    -1    autotests/plugins/CMakeLists.txt
M  +1    -1    plugins/CMakeLists.txt

http://commits.kde.org/ark/6e463fa3029b8f4ef9e97923426b048e3d1c4594
Comment 12 Elvis Angelaccio 2016-07-13 09:25:15 UTC
*** Bug 365594 has been marked as a duplicate of this bug. ***