Menu

#40 Replace Igor's propiatery unrar code with unarr

open
nobody
None
5
2015-06-29
2015-06-16
i_a
No

Replace Igor's propiatery unrar code with unarr (a LGPL alternative) for full OSS compliance.
Theunarchiver https://code.google.com/p/theunarchiver/ people seam to have working unrar code released under LGPL, Sumatrapdf has forked it for their own use.
Gnome's FileRoller has added support for it
https://bugzilla.gnome.org/show_bug.cgi?id=646606#c11 (gnome bugzilla announcing unarr support)
https://code.google.com/p/theunarchiver/ (The project that originated the code)
https://github.com/sumatrapdfreader/sumatrapdf/tree/master/ext/unarr (Sumatrapdf's minimalistic unrar support forked from theunarchiver)

if the Gnome has no issues using unarr p7zip should be able to use it.
The sumatra code does seam to be the simplest to integrate.

why replace Igor's unrar, because of the RAR restrictions most Linux distributions do not natively carry p7zip, it's aether crippled (with the unrar objects removed) or unofficially supported by 3rd party repositories. By using unarr p7zip will become fully OSS compatible.

a wiki about the different unrar implementations
https://en.wikipedia.org/wiki/Unrar#The_Unarchiver_unar

Discussion

  • i_a

    i_a - 2015-06-16

    sorry didn't see that this was asked before I don't know if I can delete this thread?

     
  • i_a

    i_a - 2015-06-29

    it just occurred to me that 7zip probably uses reverse engineered code for arj from https://sourceforge.net/projects/arj/ Robert Jung never released any code for his arj archiver, why not use reverse engineered code for rar?

     

Log in to post a comment.