[SailfishDevel] How to update Poppler ?

2015-09-09 Thread Damien Caliste
Hello,

   I've asked earlier this year this same question :
https://lists.sailfishos.org/pipermail/devel/2015-March/005906.html
that is related to this crash reported in TJC :
https://together.jolla.com/question/22721/some-pdfs-crash-documents/

and following the advice from Tortoisedoc who kindly answered at that
time, I've finally gave a look to mer repository :
https://git.merproject.org/mer-core/poppler/tree/master

Sadly, it seems that Poppler used in SFOS is not the one in MER (phone
says having 0.24.0-1.2.7). So I may ask my question again : how to
contribute to Poppler for SFOS ?

Side question (to MER mailing list) : would it be wise to push a more
recent version to MER, currently Debian is using 0.26.5 for instance,
or do you prefer to receive a patch to the current version ?

Thanks in advance,

Damien.
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] How to update Poppler ?

2015-09-09 Thread Mohammed Hassan
On Wed, 9 Sep 2015 15:05:21 +0200
Damien Caliste  wrote:

> Hello,
> 
>I've asked earlier this year this same question :
> https://lists.sailfishos.org/pipermail/devel/2015-March/005906.html
> that is related to this crash reported in TJC :
> https://together.jolla.com/question/22721/some-pdfs-crash-documents/
> 
> and following the advice from Tortoisedoc who kindly answered at that
> time, I've finally gave a look to mer repository :
> https://git.merproject.org/mer-core/poppler/tree/master
> 
> Sadly, it seems that Poppler used in SFOS is not the one in MER (phone
> says having 0.24.0-1.2.7). So I may ask my question again : how to
> contribute to Poppler for SFOS ?

It's the one from nemo:
https://github.com/nemomobile-packages/poppler.git

> Side question (to MER mailing list) : would it be wise to push a more
> recent version to MER, currently Debian is using 0.26.5 for instance,
> or do you prefer to receive a patch to the current version ?

I have no idea why we have 2 packages in nemo and mer. I'd personally
use the one in nemo since it's the one used by SFOS.

Cheers,
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org


Re: [SailfishDevel] How to update Poppler ?

2015-09-09 Thread dcaliste
Great thank you, I'll post my patch there.

Damien. 

À mer. sept. 9 15:11:24 2015 GMT+0200, Mohammed Hassan a écrit :
> On Wed, 9 Sep 2015 15:05:21 +0200
> Damien Caliste  wrote:
> 
> > Hello,
> > 
> >I've asked earlier this year this same question :
> > https://lists.sailfishos.org/pipermail/devel/2015-March/005906.html
> > that is related to this crash reported in TJC :
> > https://together.jolla.com/question/22721/some-pdfs-crash-documents/
> > 
> > and following the advice from Tortoisedoc who kindly answered at that
> > time, I've finally gave a look to mer repository :
> > https://git.merproject.org/mer-core/poppler/tree/master
> > 
> > Sadly, it seems that Poppler used in SFOS is not the one in MER (phone
> > says having 0.24.0-1.2.7). So I may ask my question again : how to
> > contribute to Poppler for SFOS ?
> 
> It's the one from nemo:
> https://github.com/nemomobile-packages/poppler.git
> 
> > Side question (to MER mailing list) : would it be wise to push a more
> > recent version to MER, currently Debian is using 0.26.5 for instance,
> > or do you prefer to receive a patch to the current version ?
> 
> I have no idea why we have 2 packages in nemo and mer. I'd personally
> use the one in nemo since it's the one used by SFOS.
> 
> Cheers,
> ___
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
> 
>
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Re: [SailfishDevel] How to update poppler ?

2015-03-31 Thread Tone Kastlunger
I believe you have to cherry-pick the fix and merge it into mer's poppler.

Best,
tortoisedoc

On Mon, Mar 30, 2015 at 1:52 PM, dcali...@free.fr wrote:

 Hello,

On some PDF documents
 (http://www.sciencemadness.org/library/books/gergel_isopropyl_bromide.pdf)
 the
 document viewer crashes with the following backtrace :
 #0  0x414fa0f4 in strlen () from /lib/libc.so.6
 #1  0x46893dac in GooString::appendfv(char const*, std::__va_list) () from
 /usr/lib/libpoppler.so.43
 #2  0x46894040 in GooString::formatv(char const*, std::__va_list) () from
 /usr/lib/libpoppler.so.43
 #3  0x4680697c in error(ErrorCategory, long long, char const*, ...) () from
 /usr/lib/libpoppler.so.43
 #4  0x4684e1d8 in JBIG2Stream::readSegments() () from
 /usr/lib/libpoppler.so.43
 #5  0x4684e550 in JBIG2Stream::reset() () from /usr/lib/libpoppler.so.43
 #6  0x468653a8 in ImageStream::reset() () from /usr/lib/libpoppler.so.43
 #8230;

It seems to me that it's related to this bug in Poppler :

 http://cgit.freedesktop.org/poppler/poppler/commit/?h=poppler-0.24id=58e04a08afee39370283c494ee2e4e392fd3b684

What is the best way to help to have Poppler upgraded (in Mer I guess) ?

 Have a nice day,

 Damien.
 ___
 SailfishOS.org Devel mailing list
 To unsubscribe, please send a mail to
 devel-unsubscr...@lists.sailfishos.org

___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

[SailfishDevel] How to update poppler ?

2015-03-30 Thread dcaliste
Hello,

   On some PDF documents
(http://www.sciencemadness.org/library/books/gergel_isopropyl_bromide.pdf) the
document viewer crashes with the following backtrace :
#0  0x414fa0f4 in strlen () from /lib/libc.so.6
#1  0x46893dac in GooString::appendfv(char const*, std::__va_list) () from
/usr/lib/libpoppler.so.43
#2  0x46894040 in GooString::formatv(char const*, std::__va_list) () from
/usr/lib/libpoppler.so.43
#3  0x4680697c in error(ErrorCategory, long long, char const*, ...) () from
/usr/lib/libpoppler.so.43
#4  0x4684e1d8 in JBIG2Stream::readSegments() () from /usr/lib/libpoppler.so.43
#5  0x4684e550 in JBIG2Stream::reset() () from /usr/lib/libpoppler.so.43
#6  0x468653a8 in ImageStream::reset() () from /usr/lib/libpoppler.so.43
#8230;

   It seems to me that it's related to this bug in Poppler :
http://cgit.freedesktop.org/poppler/poppler/commit/?h=poppler-0.24id=58e04a08afee39370283c494ee2e4e392fd3b684

   What is the best way to help to have Poppler upgraded (in Mer I guess) ?

Have a nice day,

Damien.
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org