Bug 339370 - Add support for using The Unarchiver for CBR files
Summary: Add support for using The Unarchiver for CBR files
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: Comicbook backend (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords: junior-jobs
Depends on:
Blocks:
 
Reported: 2014-09-24 22:22 UTC by Rajiv Gupta
Modified: 2018-11-07 22:30 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rajiv Gupta 2014-09-24 22:22:13 UTC
The Unarchiver (https://code.google.com/p/theunarchiver/) is a free software unarchiving program which supports RARv3. The command line tool is called unar. It would be nice if Okular adds support for CBR files using it instead of unrar.
Comment 1 Albert Astals Cid 2014-09-24 22:35:07 UTC
Marking as junior job, the rar handling is pretty much isolated that it should not be that hard to do for a new developer in okular.
Comment 2 João Netto 2018-11-06 23:28:16 UTC
I would like to start working on this feature.

Can I pick it up?
Comment 3 Albert Astals Cid 2018-11-06 23:55:06 UTC
There's already a patch in the works https://phabricator.kde.org/D15691
Comment 4 Albert Astals Cid 2018-11-07 22:30:34 UTC
Git commit 4e353aabee36f9113ab69457f444ccfc099638a4 by Albert Astals Cid, on behalf of Fabio Bolz.
Committed on 07/11/2018 at 22:30.
Pushed by aacid into branch 'master'.

Add unarchiver support for cbr files

Summary:
When no unrar installed, Okular now utilizes the program unar for extracting the archive and lsar for listing the content in the archive.
lsar is related and comes with a unar installation.

Subscribers: aacid, okular-devel

Tags: #okular

Differential Revision: https://phabricator.kde.org/D15691

M  +1    -1    generators/comicbook/document.cpp
M  +52   -12   generators/comicbook/unrar.cpp
M  +3    -1    generators/comicbook/unrar.h
M  +59   -1    generators/comicbook/unrarflavours.cpp
M  +31   -0    generators/comicbook/unrarflavours.h

https://commits.kde.org/okular/4e353aabee36f9113ab69457f444ccfc099638a4