Opened 10 years ago

Closed 10 years ago

#46788 closed defect (fixed)

pdf2djvu @0.7.18: build fails after upgrade to poppler 0.31.0.

Reported by: dbevans (David B. Evans) Owned by: NicosPavlov
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: pdf2djvu

Description

Build fails as follows

:info:build /usr/bin/clang++ -pipe -Os -DHAVE_SYS_TYPES_H=1 -arch x86_64 -stdlib=libc++ -Wall -Werror=overloaded-virtual -I/opt/local/include  -I/opt/local/include/poppler  -I/opt/local/include/GraphicsMagick  -I/opt/local/include -I/opt/local/include/libxml2    -c -o pdf-dpi.o pdf-dpi.cc
:info:build pdf-backend.cc:129:22: error: no member named 'setAntialias' in 'GlobalParams'
:info:build   if (!globalParams->setAntialias(const_cast<char*>(value ? "yes" : "no")))
:info:build        ~~~~~~~~~~~~  ^
:info:build pdf-backend.cc:131:22: error: no member named 'setVectorAntialias' in 'GlobalParams'
:info:build   if (!globalParams->setVectorAntialias(const_cast<char*>(value ? "yes" : "no")))
:info:build        ~~~~~~~~~~~~  ^
:info:build 2 errors generated.
:info:build make: *** [pdf-backend.o] Error 1

This is due to the removal of setVectorAntialias (among others) from GlobalParams in poppler 0.31.0.

See upstream issue 99 for more details.

Reported fixed in new release 0.7.19.

Change History (2)

comment:1 Changed 10 years ago by dbevans (David B. Evans)

Summary: pdf2djvu: build fails after upgrade to poppler 0.31.0.pdf2djvu @0.7.18: build fails after upgrade to poppler 0.31.0.

comment:2 Changed 10 years ago by NicosPavlov

Resolution: fixed
Status: newclosed

Update done in r132673.

Note: See TracTickets for help on using tickets.