[ark] [Bug 357057] Ark requires rar and unrar for opening/extracting RAR archives (same for e.g. zip)

2015-12-23 Thread Eric Hameleers via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=357057

Eric Hameleers  changed:

   What|Removed |Added

 CC||al...@slackware.com

--- Comment #2 from Eric Hameleers  ---
Please note: Slackware does not ship rar *nor* unrar and will not likely ever
change that.

Is it possible to add a compile option so that "unrar" is not required and the
RAR support of libarchive >= 3.02
(https://github.com/libarchive/libarchive/wiki/ReleaseNotes#libarchive-302) can
be used instead?

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


[ark] [Bug 357057] Ark requires rar and unrar for opening/extracting RAR archives (same for e.g. zip)

2015-12-23 Thread Elvis Angelaccio via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=357057

--- Comment #3 from Elvis Angelaccio  ---
(In reply to Eric Hameleers from comment #2)
> Please note: Slackware does not ship rar *nor* unrar and will not likely
> ever change that.
> 
> Is it possible to add a compile option so that "unrar" is not required and
> the RAR support of libarchive >= 3.02
> (https://github.com/libarchive/libarchive/wiki/ReleaseNotes#libarchive-302)
> can be used instead?
We could add such an option, but unfortunately RAR support in libarchive is not
yet good enough (e.g. encrypted rar archives are not supported).

I'm actually working on a plugin for The Unarchiver [1]. They support a lot of
archive formats and, more importantly, they claim to have full RAR support.
Their cli frontends ( lsar and unar) are already shipped by the main Linux
distributions, and Slackware could do the same (license is LGPL 2.1).

[1]: http://unarchiver.c3.cx/commandline

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


[ark] [Bug 357057] Ark requires rar and unrar for opening/extracting RAR archives (same for e.g. zip)

2015-12-23 Thread Elvis Angelaccio via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=357057

Elvis Angelaccio  changed:

   What|Removed |Added

  Latest Commit||http://commits.kde.org/ark/
   ||087e5aab49c60ac5930742fe892
   ||fa930048e2f43
   Version Fixed In||15.12.1
 Resolution|--- |FIXED
 Status|CONFIRMED   |RESOLVED

--- Comment #4 from Elvis Angelaccio  ---
Git commit 087e5aab49c60ac5930742fe892fa930048e2f43 by Elvis Angelaccio.
Committed on 23/12/2015 at 16:35.
Pushed by elvisangelaccio into branch 'Applications/15.12'.

Fallback to read-only mode if there are no read-write executables

Commit 2d000a0 introduced executables check when loading a plugin. However the
current behavior is too restrictive: if one wants only to open a rar or a
zip archive, there is no need to require also the rar or zip program to be
installed. Plus, some distributions (e.g. Archlinux) ship only unrar in their
official repositories.

With this commit, Ark is able to understand that e.g. unrar is installed but
rar is not. In this case, Ark can and should fallback to read-only mode,
to disable the Add/Delete actions in the toolbar.
FIXED-IN: 15.12.1

CC: rthoms...@gmail.com

M  +3-0kerfuffle/archive_kerfuffle.cpp

http://commits.kde.org/ark/087e5aab49c60ac5930742fe892fa930048e2f43

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


[ark] [Bug 357057] Ark requires rar and unrar for opening/extracting RAR archives (same for e.g. zip)

2015-12-23 Thread Elvis Angelaccio via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=357057

Elvis Angelaccio  changed:

   What|Removed |Added

 CC||tag...@gmail.com

--- Comment #5 from Elvis Angelaccio  ---
*** Bug 357104 has been marked as a duplicate of this bug. ***

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


[ark] [Bug 357057] Ark requires rar and unrar for opening/extracting RAR archives (same for e.g. zip)

2015-12-23 Thread Wolfgang Bauer via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=357057

--- Comment #6 from Wolfgang Bauer  ---
I can confirm that the fix works.

Thanks a lot!

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


[ark] [Bug 357057] Ark requires rar and unrar for opening/extracting RAR archives (same for e.g. zip)

2015-12-22 Thread Elvis Angelaccio via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=357057

Elvis Angelaccio  changed:

   What|Removed |Added

Summary|Ark requires rar and unrar  |Ark requires rar and unrar
   |for opening/extracting RAR  |for opening/extracting RAR
   |archives|archives (same for e.g.
   ||zip)

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