[poppler] Poppler 0.22.2 released

Peter Breitenlohner peb at mppmu.mpg.de
Tue Mar 12 03:06:39 PDT 2013


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:

   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();
-- 
1.7.3.1


Regards
Peter Breitenlohner <peb at mppmu.mpg.de>


More information about the poppler mailing list