Bug#660937: pdfshuffler: will not run with poppler 0.18

2012-04-28 Thread Konstantinos Poulios

Hi Andrea,

Great! Your last package works with no memory leaks as expected. Here 
there is a new pdfshuffler version that can finally close the present 
bug report:


https://sourceforge.net/projects/pdfshuffler/files/pdfshuffler/0.6.0/

Regards

Kostas



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



Bug#660937: pdfshuffler: will not run with poppler 0.18

2012-04-24 Thread Gasparini Andrea
Hi Kostas,
We just uploaded a python-poppler package in experimental,
( I will move it to unstable once we have been poppler 0.18 in unstable )
It should fix the memory leak, I already tried with the code you sent
in the last email.
Could you give it a try?

Is there other blockers for a new upstream version of pdfshuffler?

Thanks, regards!
-- 
- Andrea Gasparini -



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



Bug#660937: pdfshuffler: will not run with poppler 0.18

2012-04-03 Thread Konstantinos Poulios

On 03/20/2012 11:47 PM, Serafeim Zanikolas wrote:

Hi guys,

On Tue, Mar 20, 2012 at 10:57:44PM +0100, Pino Toscano wrote:

Alle venerdì 24 febbraio 2012, Pino Toscano ha scritto:

Alle venerdì 24 febbraio 2012, Serafeim Zanikolas ha scritto:

On Fri, Feb 24, 2012 at 08:11:17AM +0100, Konstantinos Poulios
wrote

[edited]:

On 02/24/2012 01:20 AM, Pino Toscano wrote:

[..]


The cairo rendering methods are in poppler-glib since many
release (at least 0.10, if not even earlier); since
python-poppler 0.12 maps the poppler-glib 0.12 API, I think any
python-poppler 0.12.x version (so what's in stable already)
should be fine.

Hi, I think the best would be to make a 0.6 release of
pdfshuffler soon. I wanted to review and add some more patches
that I have received from people but I don't have the time right
now, so I think I will just do some further testing and make a
0.6 release ASAP.

Looks great!

Any new about this issue?
I would like to do a poppler 0.18.x soon (my hope is not later than mid
April), so having this issue fixed would certainly help.

I'm waiting for the new upstream release.

sez
sorry guys for the slow progress but I am blocked by a huge memory leak 
caused by python-poppler. A way of reproducing it:


import  os.path
import  poppler
import  cairo

uri  =  'file://'  +  os.path.abspath('./gnuplot.pdf')
doc  =  poppler.document_new_from_file  (uri,  None)
for  i  in  range(5):
for  i  in  range(doc.get_n_pages()):
page  =  doc.get_page(i)
w,  h  =  page.get_size()
thumbnail  =  cairo.ImageSurface(cairo.FORMAT_ARGB32,  int(w),  int(h))
cr  =  cairo.Context(thumbnail)
page.render(cr)
print  i
raw_input(Press ENTER to continue)



a 3 years old bug reportupstream:

https://bugs.launchpad.net/poppler-python/+bug/509408

probably already fixed:

http://bazaar.launchpad.net/~poppler-python/poppler-python/trunk/revision/75

I will do some testing myself, but the ideal would be if:

1. the python-poppler upstream makes a new release including the already 
available fixes

2. the new python-poppler comes to debian
3. I release the new cairo based version of pdfshuffler

anyway I will come back to this.

Kostas



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



Bug#660937: pdfshuffler: will not run with poppler 0.18

2012-03-20 Thread Pino Toscano
Hi,

Alle venerdì 24 febbraio 2012, Pino Toscano ha scritto:
 Alle venerdì 24 febbraio 2012, Serafeim Zanikolas ha scritto:
  On Fri, Feb 24, 2012 at 08:11:17AM +0100, Konstantinos Poulios
  wrote
 
 [edited]:
   On 02/24/2012 01:20 AM, Pino Toscano wrote:
  [..]
  
   The cairo rendering methods are in poppler-glib since many
   release (at least 0.10, if not even earlier); since
   python-poppler 0.12 maps the poppler-glib 0.12 API, I think any
   python-poppler 0.12.x version (so what's in stable already)
   should be fine.
   
   Hi, I think the best would be to make a 0.6 release of
   pdfshuffler soon. I wanted to review and add some more patches
   that I have received from people but I don't have the time right
   now, so I think I will just do some further testing and make a
   0.6 release ASAP.
 
 Looks great!

Any new about this issue?
I would like to do a poppler 0.18.x soon (my hope is not later than mid 
April), so having this issue fixed would certainly help.

Thanks,
-- 
Pino Toscano


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


Bug#660937: pdfshuffler: will not run with poppler 0.18

2012-03-20 Thread Serafeim Zanikolas
Hi guys,

On Tue, Mar 20, 2012 at 10:57:44PM +0100, Pino Toscano wrote:
 Alle venerdì 24 febbraio 2012, Pino Toscano ha scritto:
  Alle venerdì 24 febbraio 2012, Serafeim Zanikolas ha scritto:
   On Fri, Feb 24, 2012 at 08:11:17AM +0100, Konstantinos Poulios
   wrote
  
  [edited]:
On 02/24/2012 01:20 AM, Pino Toscano wrote:
   [..]
   
The cairo rendering methods are in poppler-glib since many
release (at least 0.10, if not even earlier); since
python-poppler 0.12 maps the poppler-glib 0.12 API, I think any
python-poppler 0.12.x version (so what's in stable already)
should be fine.

Hi, I think the best would be to make a 0.6 release of
pdfshuffler soon. I wanted to review and add some more patches
that I have received from people but I don't have the time right
now, so I think I will just do some further testing and make a
0.6 release ASAP.
  
  Looks great!
 
 Any new about this issue?
 I would like to do a poppler 0.18.x soon (my hope is not later than mid 
 April), so having this issue fixed would certainly help.

I'm waiting for the new upstream release.

sez



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



Bug#660937: pdfshuffler: will not run with poppler 0.18

2012-02-24 Thread Serafeim Zanikolas
On Fri, Feb 24, 2012 at 08:11:17AM +0100, Konstantinos Poulios wrote [edited]:
 On 02/24/2012 01:20 AM, Pino Toscano wrote:
[..]
 The cairo rendering methods are in poppler-glib since many release (at
 least 0.10, if not even earlier); since python-poppler 0.12 maps the
 poppler-glib 0.12 API, I think any python-poppler 0.12.x version (so
 what's in stable already) should be fine.
 
 
 Hi, I think the best would be to make a 0.6 release of pdfshuffler
 soon. I wanted to review and add some more patches that I have
 received from people but I don't have the time right now, so I think
 I will just do some further testing and make a 0.6 release ASAP.

Kostas, thanks for the responsiveness!

Pino, if your new release in the meantime is ready, it might be a good idea to
upload it to experimental.

cheers,
sez



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



Bug#660937: pdfshuffler: will not run with poppler 0.18

2012-02-24 Thread Pino Toscano
Alle venerdì 24 febbraio 2012, Serafeim Zanikolas ha scritto:
 On Fri, Feb 24, 2012 at 08:11:17AM +0100, Konstantinos Poulios wrote 
[edited]:
  On 02/24/2012 01:20 AM, Pino Toscano wrote:
 [..]
 
  The cairo rendering methods are in poppler-glib since many release
  (at least 0.10, if not even earlier); since python-poppler 0.12
  maps the poppler-glib 0.12 API, I think any python-poppler 0.12.x
  version (so what's in stable already) should be fine.
  
  Hi, I think the best would be to make a 0.6 release of pdfshuffler
  soon. I wanted to review and add some more patches that I have
  received from people but I don't have the time right now, so I
  think I will just do some further testing and make a 0.6 release
  ASAP.

Looks great!

 Pino, if your new release in the meantime is ready, it might be a
 good idea to upload it to experimental.

poppler 0.18.x is already in experimental, but that does not matter much 
for pdfshuffler (which uses it through python-poppler).

-- 
Pino Toscano


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


Bug#660937: pdfshuffler: will not run with poppler 0.18

2012-02-23 Thread Serafeim Zanikolas
Hi Pino!

Thanks for your proactivity on this matter. I'm adding in CC the upstream
author of pdfshuffler.

On Thu, Feb 23, 2012 at 12:51:39AM +0100, Pino Toscano wrote:
 Package: pdfshuffler
 Version: 0.5.1-2
 Severity: normal
 
 Hi,
 
 I'm (slowly) preparing to update Poppler to 0.18.0 in Debian.
 pdfshuffler will not run with that new version, as it uses deprecated
 API in poppler-glib (exposed by python-poppler) which has been dropped,
 and thus it won't be provided by python-poppler anymore.
 Months ago, I reported this issue upstream [1], and it was fixed in
 r60 of upsstream' SVN repository a couple of months ago.
 
 Could it be possible to backport (testing it, of course) such revision,
 so pdfshuffler won't break when Poppler is updated to 0.18 in unstable?
 At least from a quick look, it seems to be compatible also with
 poppler 0.16.
 
 [1]
 http://sourceforge.net/tracker/?func=detailaid=3346212group_id=235357atid=1095819

I've grabbed the commit from upstream and will look into backporting it early
next week.

Please let me know what minimum revision of python-poppler pdfshuffler should
version depend on.

cheers,
sez



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



Bug#660937: pdfshuffler: will not run with poppler 0.18

2012-02-23 Thread Pino Toscano
Hi Serafeim,

Alle venerdì 24 febbraio 2012, Serafeim Zanikolas ha scritto:
 I've grabbed the commit from upstream and will look into backporting
 it early next week.

Thanks!

 Please let me know what minimum revision of python-poppler
 pdfshuffler should version depend on.

The cairo rendering methods are in poppler-glib since many release (at 
least 0.10, if not even earlier); since python-poppler 0.12 maps the 
poppler-glib 0.12 API, I think any python-poppler 0.12.x version (so 
what's in stable already) should be fine.

-- 
Pino Toscano


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


Bug#660937: pdfshuffler: will not run with poppler 0.18

2012-02-23 Thread Konstantinos Poulios

On 02/24/2012 01:20 AM, Pino Toscano wrote:

Hi Serafeim,

Alle venerdì 24 febbraio 2012, Serafeim Zanikolas ha scritto:

I've grabbed the commit from upstream and will look into backporting
it early next week.


Thanks!


Please let me know what minimum revision of python-poppler
pdfshuffler should version depend on.


The cairo rendering methods are in poppler-glib since many release (at
least 0.10, if not even earlier); since python-poppler 0.12 maps the
poppler-glib 0.12 API, I think any python-poppler 0.12.x version (so
what's in stable already) should be fine.



Hi, I think the best would be to make a 0.6 release of pdfshuffler soon. 
I wanted to review and add some more patches that I have received from 
people but I don't have the time right now, so I think I will just do 
some further testing and make a 0.6 release ASAP.


Best regards

Kostas



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



Bug#660937: pdfshuffler: will not run with poppler 0.18

2012-02-22 Thread Pino Toscano
Package: pdfshuffler
Version: 0.5.1-2
Severity: normal

Hi,

I'm (slowly) preparing to update Poppler to 0.18.0 in Debian.
pdfshuffler will not run with that new version, as it uses deprecated
API in poppler-glib (exposed by python-poppler) which has been dropped,
and thus it won't be provided by python-poppler anymore.
Months ago, I reported this issue upstream [1], and it was fixed in
r60 of upsstream' SVN repository a couple of months ago.

Could it be possible to backport (testing it, of course) such revision,
so pdfshuffler won't break when Poppler is updated to 0.18 in unstable?
At least from a quick look, it seems to be compatible also with
poppler 0.16.

[1] 
http://sourceforge.net/tracker/?func=detailaid=3346212group_id=235357atid=1095819

Thanks,
-- 
Pino



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