[Ftp-release] [poppler] Poppler 0.22.2 released

Albert Astals Cid aacid at kde.org
Tue Mar 12 12:29:06 PDT 2013


El Dimarts, 12 de març de 2013, a les 11:06:39, Peter Breitenlohner va 
escriure:
> On Mon, 11 Mar 2013, Albert Astals Cid wrote:
> > Available from
> > http://poppler.freedesktop.org/poppler-0.22.2.tar.gz
> 
> Building without libjpeg fails: configuring with '--disable-libjpeg' and
> compiling with gcc-4.6.3 yields:

Yeah, silly me, I predicted the error but only fixed the Stream.cc part not 
the Stream.h part.

Should I do a 0.22.3 already?

Cheers,
  Albert

P.S: You should really compile depending on libjpeg

> 
>    CXX    Stream.lo
> ../../poppler-0.22.2/poppler/Stream.cc: In member function
>    `Stream* Stream::makeFilter(char*, Stream*, Object*, Object*)':
> ../../poppler-0.22.2/poppler/Stream.cc:287: error: no matching function
>    for call to `DCTStream::DCTStream(Stream*&, int&, Object*&)'
> ../../poppler-0.22.2/poppler/Stream.h:850: note:
>    candidates are: DCTStream::DCTStream(const DCTStream&)
> ../../poppler-0.22.2/poppler/Stream.h:853: note:
>                    DCTStream::DCTStream(Stream*, int)
> ../../poppler-0.22.2/poppler/Stream.cc: At global scope:
> ../../poppler-0.22.2/poppler/Stream.cc:2413: error: prototype for
>    `DCTStream::DCTStream(Stream*, int, Object*)' does not match any in class
> `DCTStream' ../../poppler-0.22.2/poppler/Stream.h:850: error:
>    candidates are: DCTStream::DCTStream(const DCTStream&)
> ../../poppler-0.22.2/poppler/Stream.h:853: error:
>                    DCTStream::DCTStream(Stream*, int)
> make[3]: *** [Stream.lo] Error 1
> 
> This patch seems to resolve the issue:
> 
> From e760b370d38acdf9fa0644e4db0f84536983f853 Mon Sep 17 00:00:00 2001
> From: Peter Breitenlohner <peb at mppmu.mpg.de>
> Date: Tue, 12 Mar 2013 11:00:20 +0100
> Subject: [PATCH] Allow to build without libjpeg
> 
> 
> Signed-off-by: Peter Breitenlohner <peb at mppmu.mpg.de>
> ---
>   poppler/Stream.h |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/poppler/Stream.h b/poppler/Stream.h
> index 7581d04..cdbee62 100644
> --- a/poppler/Stream.h
> +++ b/poppler/Stream.h
> @@ -868,7 +868,7 @@ struct DCTHuffTable {
>   class DCTStream: public FilterStream {
>   public:
> 
> -  DCTStream(Stream *strA, int colorXformA);
> +  DCTStream(Stream *strA, int colorXformA, Object *dict);
>     virtual ~DCTStream();
>     virtual StreamKind getKind() { return strDCT; }
>     virtual void reset();


More information about the Ftp-release mailing list