Bug#629659: [src:kde4libs] Please provide a plugin mecanism for file filter, particularly bz/xz

2011-06-09 Thread roucaries bastien
On Wed, Jun 8, 2011 at 9:54 PM, Pino Toscano p...@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 (0x7f04df63e000)

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




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#629659: [src:kde4libs] Please provide a plugin mecanism for file filter, particularly bz/xz

2011-06-08 Thread Bastien ROUCARIES
Package: src:kde4libs
Severity: wishlist

Filed under the src package section because it is also a packaging problem.

Now kdelibs support of compression filter is done at compile time. You enable 
bz support but disable xz support.

If I want to support xz, I need to:
1. recompile the whole package (not nice for end user)
2. add xz dependencies to all user (not nice for a lot of user).

It is better to enable compression filter support throught a plugin mecanism 
with on demand loading of library. 

I have forwarded this bug upstream at 
https://bugs.kde.org/show_bug.cgi?id=275215

Bastien



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#629659: [src:kde4libs] Please provide a plugin mecanism for file filter, particularly bz/xz

2011-06-08 Thread Lisandro Damián Nicanor Pérez Meyer
tags 629659 upstream
forwarded 629659 https://bugs.kde.org/show_bug.cgi?id=275215
thanks

Hello Bastien!

You described two bugs. I'll take this one for the upstream part, please do 
fill a new bug for the packaging bug.

Kinds regards, Lisandro.

-- 
Passwords are like underwear. You shouldn’t leave them out where people can 
see them. You should change them regularly. And you shouldn’t loan them out 
to strangers.
  Anonymous

Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/


signature.asc
Description: This is a digitally signed message part.


Bug#629659: [src:kde4libs] Please provide a plugin mecanism for file filter, particularly bz/xz

2011-06-08 Thread roucaries bastien
2011/6/8 Lisandro Damián Nicanor Pérez Meyer perezme...@gmail.com:
 tags 629659 upstream
 forwarded 629659 https://bugs.kde.org/show_bug.cgi?id=275215
 thanks

 Hello Bastien!

 You described two bugs. I'll take this one for the upstream part, please do
 fill a new bug for the packaging bug.


Indeed they are two bug but both are linked:
- first bug is support xz compression on debian kde
- second one is please support a plugin mecanism for compression filter.

First depend on second. First one is specific to debian I suppose, but
I do not know what is the package responsible for the second one

Bastien
 Kinds regards, Lisandro.

 --
 Passwords are like underwear. You shouldn’t leave them out where people can
 see them. You should change them regularly. And you shouldn’t loan them out
 to strangers.
  Anonymous

 Lisandro Damián Nicanor Pérez Meyer
 http://perezmeyer.com.ar/
 http://perezmeyer.blogspot.com/




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#629659: [src:kde4libs] Please provide a plugin mecanism for file filter, particularly bz/xz

2011-06-08 Thread Pino Toscano
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 (0x7f04df63e000)

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)

-- 
Pino Toscano


signature.asc
Description: This is a digitally signed message part.