Bug#629659: [src:kde4libs] Please provide a plugin mecanism for file filter, particularly bz/xz
On Wed, Jun 8, 2011 at 9:54 PM, Pino Toscano <pino@kde.org> wrote:
> Alle mercoledì 8 giugno 2011, Bastien ROUCARIES ha scritto:
>> You enable bz support but disable xz support.
>
> No, this is wrong, kde4libs is compiled with XZ support since version
> 4:4.3.4-1.
>
> $ apt-cache show libkdecore5
> Depends: [...] liblzma2 (>= 4.999.9beta), [...]
> $ ldd /usr/lib/libkdecore.so.5.6.0 | grep lzma
> liblzma.so.2 => /usr/lib/liblzma.so.2 (0x00007f04df63e000)
True but a plugin will be nice instead to drag dependencies.
> Okular can load XZ-compressed documents too, for example, using the
> KFilterDev (part of kdecore):
> $ file attachfile.pdf
> attachfile.pdf: PDF document, version 1.4
> $ xz attachfile.pdf
> $ file attachfile.pdf.xz
> attachfile.pdf.xz: XZ compressed data
> $ okular attachfile.pdf.xz
> [...]
> okular(25535)/kio_xz KXzFilter::uncompress: lzma_code returned 1
> okular(25535)/kio_xz KXzFilter::uncompress: KXzFilter::uncompress 1
> okular(25535)/kdecore (trader) KMimeTypeTrader::query: query for
> mimeType "application/pdf" , "okular/Generator" : returning 1
> offers
> (as you can see, the document is correctly open as PDF)
Does not work with me: no plugin for mimetype "application/x-xz"
Bastien
>
> --
> Pino Toscano
>
Reply to: