Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 197033 - CairoOutputDev.h doesn't get installed with poppler or poppler-bindings
Summary: CairoOutputDev.h doesn't get installed with poppler or poppler-bindings
Status: VERIFIED DUPLICATE of bug 197001
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-25 13:49 UTC by faceman
Modified: 2007-10-25 15:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description faceman 2007-10-25 13:49:35 UTC
poppler-0.6.1 and poppler-bindings-0.6.1 fail to install CairoOutputDev.h.

When compiling Inkscape svn, which uses poppler for pdf output, if poppler-bindings is installed, compile fails with

In file included from extension/internal/pdfinput/pdf-input.cpp:26:
extension/internal/pdfinput/pdf-input.h:40:28: error: CairoOutputDev.h: No such file or directory
In file included from extension/internal/pdfinput/pdf-input.cpp:26:
extension/internal/pdfinput/pdf-input.h:107: error: ISO C++ forbids declaration of 'CairoOutputDev' with no type
extension/internal/pdfinput/pdf-input.h:107: error: expected ';' before '*' token
extension/internal/pdfinput/pdf-input.cpp: In constructor 'Inkscape::Extension::Internal::PdfImportDialog::PdfImportDialog(PDFDoc*)':
extension/internal/pdfinput/pdf-input.cpp:279: error: '_preview_output_dev' was not declared in this scope
extension/internal/pdfinput/pdf-input.cpp:279: error: expected type-specifier before 'CairoOutputDev'
extension/internal/pdfinput/pdf-input.cpp:279: error: expected `;' before 'CairoOutputDev'
extension/internal/pdfinput/pdf-input.cpp: In destructor 'virtual Inkscape::Extension::Internal::PdfImportDialog::~PdfImportDialog()':
extension/internal/pdfinput/pdf-input.cpp:301: error: '_preview_output_dev' was not declared in this scope
extension/internal/pdfinput/pdf-input.cpp:302: error: type '<type error>' argument given to 'delete', expected pointer
extension/internal/pdfinput/pdf-input.cpp: In member function 'void Inkscape::Extension::Internal::PdfImportDialog::_setPreviewPage(int)':
extension/internal/pdfinput/pdf-input.cpp:544: error: '_preview_output_dev' was not declared in this scope
make[2]: *** [extension/internal/pdfinput/pdf-input.o] Error 1
make[2]: *** Waiting for unfinished jobs....
extension/internal/bitmap/imagemagick.cpp: In member function 'virtual void Inkscape::Extension::Internal::Bitmap::ImageMagick::effect(Inkscape::Extension::Effect*, Inkscape::UI::View::View*)':
extension/internal/bitmap/imagemagick.cpp:107: warning: deprecated conversion from string constant to 'char*'
./util/glib-list-iterators.h: In member function 'T* const& Inkscape::Util::GSListConstIterator<T*>::operator*() const [with T = SPItem]':
extension/internal/bitmap/imagemagick.cpp:188:   instantiated from here
./util/glib-list-iterators.h:47: warning: dereferencing type-punned pointer will break strict-aliasing rules

But once you copy the header file into /usr/include/poppler, it compiles without trouble.

Reproducible: Always

Steps to Reproduce:
1.emerge poppler and poppler-bindings
2.update to latest inkscape svn
3.compile inkscape svn

Actual Results:  
inkscape svn failed to compile

Expected Results:  
inkscape compiles
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-10-25 15:17:06 UTC

*** This bug has been marked as a duplicate of bug 197001 ***