Bug 164795 - Ark does not support .gz and .bz2 compressed files
Summary: Ark does not support .gz and .bz2 compressed files
Status: RESOLVED FIXED
Alias: None
Product: ark
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Harald Hvaal
URL:
Keywords:
: 165047 168424 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-06-23 23:41 UTC by giuseppe
Modified: 2009-04-21 22:34 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description giuseppe 2008-06-23 23:41:46 UTC
Version:           2.9.999 (using 4.00.83 (KDE 4.0.83 (KDE 4.1 Beta2), compiled sources)
Compiler:          gcc
OS:                Linux (i686) release 2.6.24.5-smp

I try to open a .gz file
file with ark,open it..but
display no file inside the
archive.
This is the file if someone
want to try..

http://rapidshare.com/files/124555990/prova.gz.html
Comment 1 FiNeX 2008-06-24 10:24:45 UTC
Indeed, actually ark doesn't support .gz files.
Comment 2 FiNeX 2008-06-26 22:45:37 UTC
*** Bug 165047 has been marked as a duplicate of this bug. ***
Comment 3 FiNeX 2008-06-26 22:46:07 UTC
It doesn't work with .bz2 too.
Comment 4 Raúl 2008-07-20 19:16:07 UTC
Hello, I've hit this bug as well on kde4.1 rc1 (4.0.98). Neither remote org local gzipped files can be seen from ark, which unfortunately makes it almost useless.

Please, let me know if I could be of any help with this. Regards,
Comment 5 giuseppe 2008-08-02 12:34:46 UTC
giuseppe@Slack:~$ ark merdaio.bz2
ark(12147)/kdecore (KLibLoader) findLibraryInternal: plugins should not have a 'lib' prefix: "libarkpart.so"
ark(12147)/kdecore (KLibLoader) findLibraryInternal: plugins should not have a 'lib' prefix: "libarkpart.so"
ark(12147)/kdecore (KLibLoader) kde4Factory: The library "/opt/kde4/lib/kde4/libarkpart.so" does not offer a qt_plugin_instance function.
ark(12147)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from  "/var/tmp/kdecache-giuseppe/ksycoca4"
ark(12147)/kparts KParts::MainWindow::createGUI: MainWindow::createGUI, part= Part(0x81d6308, name = "ArkPart")   Part   "ArkPart"
ark(12147) main: trying to open KUrl("file:///home/giuseppe/merdaio.bz2")
ark(12147)/ark (kdeutils) Kerfuffle::factory:
ark(12147)/kdecore (trader) KMimeTypeTrader::query: query for mimeType  "application/x-bzip" ,  "Kerfuffle/Plugin"  : returning  0  offers
ark(12147)/ark (kdeutils) Kerfuffle::factory: Couldn't find a library capable of handling  "/home/giuseppe/merdaio.bz2"
ark(12147)/kparts KParts::Part::~Part: deleting widget  KVBox(0x82c5678)   ""

I hope can help
Comment 6 Harald Hvaal 2008-08-06 09:33:40 UTC
*** Bug 168424 has been marked as a duplicate of this bug. ***
Comment 7 Harald Hvaal 2008-10-13 15:16:13 UTC
SVN commit 870938 by metellius:

CCBUG: 164795
Support for gzip compressed files (read only so far)


 M  +8 -1      CMakeLists.txt  
 A             libgzplugin (directory)  
 A             libgzplugin/CMakeLists.txt  
 A             libgzplugin/gzplugin.cpp   [License: BSD]
 A             libgzplugin/kerfuffle_libgz.desktop  


WebSVN link: http://websvn.kde.org/?view=rev&revision=870938
Comment 8 giuseppe 2008-12-10 19:32:34 UTC
Actualy
on kde 4.1.82 ark
support gz files
but no bzip2
Comment 9 Raphael Kubo da Costa 2009-04-01 06:28:23 UTC
Bzip2 support is bug 188213. There's a patch attached to it waiting for approval.
Comment 10 Raphael Kubo da Costa 2009-04-21 22:34:42 UTC
SVN commit 957330 by rkcosta:

Generalize LibGzipInterface to make it support bz2 and lzma files by
making it use KFilterDev.
liblzmaplugin has been removed due to this.
Moved checks for the necessary libraries for gz/bz2/lzma support to
libsinglefileplugin/CMakeLists.txt.

BUG: 188213
BUG: 164795

 M  +1 -15     CMakeLists.txt  
 D             libgzplugin/CMakeLists.txt  
 D             libgzplugin/gzplugin.cpp  
 D             libgzplugin/kerfuffle_libgz.desktop  
 D             liblzmaplugin/CMakeLists.txt  
 D             liblzmaplugin/kerfuffle_liblzma.desktop  
 D             liblzmaplugin/lzmaplugin.cpp  
 A             libsinglefileplugin (directory)  
 A             libsinglefileplugin/CMakeLists.txt  
 A             libsinglefileplugin/bz2plugin.cpp   [License: BSD]
 A             libsinglefileplugin/bz2plugin.h   [License: BSD]
 A             libsinglefileplugin/gzplugin.cpp   [License: BSD]
 A             libsinglefileplugin/gzplugin.h   [License: BSD]
 A             libsinglefileplugin/kerfuffle_libbz2.desktop  
 A             libsinglefileplugin/kerfuffle_libgz.desktop   libgzplugin/kerfuffle_libgz.desktop#957180
 A             libsinglefileplugin/kerfuffle_libxz.desktop  
 A             libsinglefileplugin/singlefileplugin.cpp   [License: BSD]
 A             libsinglefileplugin/singlefileplugin.h   [License: BSD]
 A             libsinglefileplugin/xzplugin.cpp   [License: BSD]
 A             libsinglefileplugin/xzplugin.h   [License: BSD]


WebSVN link: http://websvn.kde.org/?view=rev&revision=957330