Version: (using KDE 4.2.0) OS: Linux Installed from: Gentoo Packages Some time back there used to be two two kioslaves for rar and p7zip. They were pretty handy, but it seems they've fallen into bitrot. While Ark has grown much more stable and robust since then, it might make sense to port kio_rar and kio_p7zip to KDE4. Could someone capable look into this, please? Thanks in advance.
You can also ask their author: http://www.kde-apps.org/content/show.php/kio_rar?content=17527 http://www.kde-apps.org/content/show.php/kio_p7zip?content=17829
Mailed him about this a week ago. Still no response.
*** Bug 192724 has been marked as a duplicate of this bug. ***
So, I tried my hand at porting both kio-slaves and they kind of worked. I've encountered some charset issues in kio_rar caused by archive headers being parsed directly, and kio_p7zip dying when adding larger files. Most importantly though, neither seems to work for the two people I sent a copy for testing. I'm starting to think this is an exercise in futility, since both kio-slaves weren't feature-complete to begin with and Ark is light-years ahead.
*** Bug 261912 has been marked as a duplicate of this bug. ***
*** This bug has been confirmed by popular vote. ***
@Michal Ziabkowski : where is the source code of kio_rar? Did you upload the result of your work anywhere? @all: gwenview could also use kio_rar: with KDE3, gwenview used to handle rar archives. It no longer does in KDE4. :( Can gwenview use whatever Ark uses to browse rar archives? If so, how? If not, then there is still a case for porting kio_rar to KD4..
I wasn't pleased with the results, so I haven't uploaded it anywhere. If someone is interested in picking up where I left off, I might clean it up a bit and push it to a Gitorious repo or something. Like I said earlier, it kind of works. There are problems with non-ASCII filenames and larger archives cause the ioslave to die. It would probably be best to rewrite it from scratch, though.
@Michal, thank you for your reply. In short, I think it would be useful if you could publish what you have. I am interested in using it with gwenview. Can you confirm that with your kio_rar we can browse rar archives within gwenview the same way we can browse zip archives? Rewriting from scratch might be the most ideal solution. The problem is that there doesn't seem any body here who is both willing and capable of doing it. Personally, I wouldn't know where to start. I am a very poor/very beginner C++ developer and I could at most fix easy bugs. And I would prefer having something that partially works, with the limitations you noted, to having nothing at all! About non-ascii characters: I understand this would be a problem in Polish, and to a lesser extent in my native French. The temporary solution is to rename the rar archive to use only ascii characters. About larger archives: how large (how many MB) are you speaking about? But again, everybody: Can gwenview use whatever Ark uses to browse rar archives? What other use cases are there for kio_rar, beside gwenview? Thanks.
I'll try to clean up the commits a bit and create a Gitorious repo in my spare time, then. Unless a tarball is enough for you, in which case I could upload it right away. Yes, it indeed works with Gwenview. RAR archives are browsable just as zip. Some of this ioslave stuff is too arcane to me, to be honest, so I wasn't too keen on rewriting it from scratch. What I've done was porting away from the old classes and massaging the code till it worked, then fixing the build system. As for the size which caused kio_rar to die, I don't quite remember. But I think it happened with archives of 500MB and more.
Hello Michal, Sorry for the long, long delay in replying. I have been caught up by the political news in my country! I think the most appropriate place to upload this would be git.kde.org. But maybe you don't have write access there and I don't want to burden you more than necessary. Gitorious may be a good alternative, although I'd be satisfied with a tarball with compile instructions. Do as you feel is best, according to the time you have available. Djienkuje for your contributions.
I would love to see some progress on this.
Sorry for taking so long to do this. I cleaned up my local repos a bit and pushed the code for both kio_rar and kio_p7zip to Gitorious. Beware, here be dragons. It's basically some 3-year-old code I'm publishing so that someone can pick up where I left off. I hope this is of some use to anyone.
(In reply to comment #13) > Sorry for taking so long to do this. I cleaned up my local repos a bit and > pushed the code for both kio_rar and kio_p7zip to Gitorious. Beware, here be > dragons. It's basically some 3-year-old code I'm publishing so that someone > can pick up where I left off. I hope this is of some use to anyone. Are those the right links ? http://gitorious.org/kio_rar_kde4 http://gitorious.org/kio_p7zip_kde4
Yes. I was just about to post them :)
Out of curiosity, has anyone checked out the code? If anyone is interested in taking over, I'd be more than happy to give you commit rights to those repos. Alternatively, you could create your private clones at Gitorious.
Those repos seem dead. :( Doesn't appear that there's really much interest in this. If anyone's gonna do this, it won't require a Bugzilla ticket.
Actually, I've moved them to gitlab. Haven't done anything with the code, though. Anyway, here are the links: https://gitlab.com/kio_rar_kde4 https://gitlab.com/kio_p7zip_kde4