Menu

#85 Add "libarchive/bsdtar" and "The Unarchiver/unar" support for (rar and others) files support

Git
open
nobody
None
5
2022-02-01
2014-05-08
coadde
No

Add "libarchive/bsdtar" and "The Unarchiver/unar" support for (rar and others) files support

bsdtar and unar support rar v3[0][1]

[0]http://libarchive.org
[1]http://unarchiver.c3.cx/formats

Discussion

  • Oddegamra

    Oddegamra - 2014-05-09

    I have looked into Unarchiver in the past, but from what I can see, it does not have an native C library, and calling executables isn't too desireable overall where it isn't absolutely necessary (charset conversion, low performance).

    The library component of libarchive looks pretty promising, though.

     
  • coadde

    coadde - 2014-05-09

    libarchive/bsdtar is a cool alternative to open cbr files, i use it everytime. It should be good to be implemented as a option for it too, thought.

     
  • nemui

    nemui - 2017-04-18

    Hello, I'm an avid MComix user and also currently packaging it for GuixSD, a distro with only free software.
    Right now rar archives have to be manually unpacked with something like file-roller (which uses libarchive), before MComix can show their contents.
    I would love to see MComix use libarchive or any other free library, so that it becomes more straight forward to use on free distributions.

    Thank you for your great work on MComix and happy hacking.

     
  • Ark

    Ark - 2017-04-20

    Hello nemui. I am not quite sure whether I understand the issue you are talking about. Which version of MComix do you use? Currently, we use external programs to temporarily extract archive-like files (which includes PDF) but that should already be transparent to the user. If MComix cannot find those external programs on startup, it disables support for the corresponding archive formats for this session.

     
    • nemui

      nemui - 2017-04-23

      Hello, the external program currently used for rar extraction is under an unfree license (http://www.rarlab.com/).
      The current free alternative executable program unrar is horribly outdated and broken (http://download.gna.org/unrar/).
      The integration of a recent free alternative, may it be through external executable or library would be greatly appreactiated.
      Happy hacking!

       
  • Ark

    Ark - 2017-04-25

    I see. So the problem is that MComix' only interface to RAR archives uses unfree software and you cannot or do not want to force users of MComix to install that kind of software if they want to open the respective archive files.

    I just had a quick look at some python-libarchive-c example and, indeed, while not having it tested myself, it looks quite promising. Unfortunately, I am short on time. I would be glad if you could help me out here by creating a patch and issueing a merge request.

     

Log in to post a comment.

MongoDB Logo MongoDB