
kio_rar
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
A kioslave for RAR archives.
This is a very basic kioslave that supports RAR archives. Only listing, reading and deleting files and directories is currently support.
I use code from ark and krusader to make this (thanks!).
It depends on unrar or rar to handle the archives.
14 years ago
0.6
Add a class to handle RAR archives
Speedups
14 years ago
0.6
Add a class to handle RAR archives
Speedups
sadarax
12 years ago
I do not know what the problem is but would you please take a look?
If it helps, your 7z KIO_SLAVE plugin still works in 64bit.
Report
sadarax
13 years ago
Report
polz
14 years ago
1.) kio_rar crashes in rar archives that includes directories with a '#' in it's name. When entering such a directory I got the following message: "The process for the rar protocol died unexpectedly."
2.) With Konqueror and kio_rar I can't open rar archives with the ".cbr" extension ("comic book rar"). The error messages says:
"[Filename].cbr is a file, but a folder was expected."
After changing the extension to ".rar" it worked well.
The (un)rar command-line-tool doesn't have any problems with these rar archives.
I looked at bugs.kde.org to add a bug report, but there wasn't a kio_rar app listed.
BTW I'm using a i386/32Bit Gentoo.
Report
omrim
14 years ago
I'll send it to the man (rgfernandes), but you can try this:
--- old/src/kio_rar.cpp 2006-04-03 16:08:52.000000000 +0300
+++ new/src/kio_rar.cpp 2007-01-22 22:31:33.000000000 +0200
@@ -313,7 +313,7 @@
if( m_archiveFile && url.path().startsWith( m_archiveFile->fileName() ) )
{
- fileUrl = url.path().section( m_archiveFile->fileName(), 1 );
+ fileUrl.setPath(url.path().section( m_archiveFile->fileName(), 1 ));
// Has it changed ?
if ( ::stat( QFile::encodeName( m_archiveFile->fileName() ), &statbuf ) == 0 )
{
Report
gohanz
14 years ago
http://www.slacky.it/
http://www.slacky.it/index.php?option=com_remository&Itemid=1&func=fileinfo&filecatid=1013&parent=category
Report
mattepiu
14 years ago
DEPEND="kde-base/unsermake"
(since it was needed to compile here,
is this the correct behaviour?)
Report
rgfernandes
14 years ago
Maybe configure checks for its presence and use it, but it is not a dependency.
Report
mattepiu
14 years ago
RDEPEND="|| (
|| ( app-arch/rar app-arch/unrar )
app-arch/unrar-gpl )"
(two tabs before line 2 and line 3 for better readability....)
Report
rgfernandes
14 years ago
Report
watzke
14 years ago
Report
rgfernandes
14 years ago
Report
mattepiu
15 years ago
if yes, where ? (which part of kde..)
I need this but seems discontinued or at
least I can't find in beta...
Report
rgfernandes
15 years ago
This will not be included in KDE 3.5. Maybe in KDE 4.0, but I can't guarantee.
Report
KabelKasper
15 years ago
I wonder if it would be possible and if it would make sense to make a kio for unp (and maybe ad missing features to it).
http://www.lv.kernel.org/pub/linux/debian/pool/main/u/unp/
By this way, you don't have to do the same work for every new format again and i think developers of ark and karchiver could benefit from the interface too.
At the moment unp can handle: tar[.gz,.bz2], gz, bz2, Z, ar/deb, rpm, shar, rar, arj, zip, LHa, cab, ace,
tnef, uu (mail, news), mime, hqx, sea, zoo, pmd, cpio, afio, lzop
If it is not possible with the unp package, maybe it would be a good idea to create s.th. new wich can akt as a general archive-kio?
Report
rgfernandes
15 years ago
Thanks.
Report
Superstoned
16 years ago
I hope so... if it is, its your work, so thank you. if it isn't, well, keep up the good work, I guess you will be able to make it :D
Report
rgfernandes
16 years ago
The only issue is that the kio_rar depends on unrar and rar binaries. This is because the license of rar binaries. It is a commercial license, not free.
I couldn't put kio_rar in kde 3.4 because the feature freeze.
Report
djworld
16 years ago
On the other hand, if you remove the need to patch Konqueror and you make it a stand-alone add-on, I can make an RPM package for Suse.
Report
rgfernandes
16 years ago
If you use (or when use) 3.4, this patch is unnecessary.
The kio_mhtml (http://www.kde-apps.org/content/show.php?content=14315) needs this patch too. This patch is not only for kio_rar.
Report
rgfernandes
16 years ago
Report
soulrebel
16 years ago
is someone working on this, has a feature request been posted?
thanks and make more of the nice kioslaves... hopefully included in my next dist-upgrade :D
Report
rgfernandes
16 years ago
As I said, this code is already in KDE CVS HEAD. It will be released with next version, 3.4 or 4.0. It is a backport.
Several people tested this patch and found no problems. And this patch doesn't make a big change in code. I think it is safe to use.
The decision is yours.
Report
fake
16 years ago
>handle .iso files and cdroms without
>mounting them, but I've found that
>krusader team already made such
>kioslave.
Is this .iso kioslave in kde cvs or only in krusader?
Report
rgfernandes
16 years ago
Report
Superstoned
16 years ago
Report