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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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.
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.
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.
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!
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-cexample 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.