Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 416545

Summary: dev-tex/luatex-0.70.1 fails to build with >=poppler-0.20.0
Product: Gentoo Linux Reporter: Rafał Mużyło <galtgendo>
Component: Current packagesAssignee: TeX project <tex>
Status: RESOLVED FIXED    
Severity: normal CC: I.zaufi, yngwin
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch to build against >=poppler-0.20.0

Description Rafał Mużyło 2012-05-18 18:17:29 UTC
Created attachment 312217 [details, diff]
patch to build against >=poppler-0.20.0

There's an entry in package.mask, but no bug, so I'm opening one.

Following patch makes luatex build against poppler 0.20.0, though I'm not sure it's fully correct.

'new Annot' and 'new Annots' most likely are correct, though it seems that due to this change, those code blocks can be significantly simplified.

XRef::getNumObjects() returns the same value XRef::getSize() did (perhaps instead of removing creating an alias could be possible).
Page::getLinks() doesn't take Catalog* argument anymore.
getAppearance -> getAppearanceResDict is just a guess, probably not quite correct one: see http://cgit.freedesktop.org/poppler/poppler/commit/?h=poppler-0.20&id=503620ae74d719da52e3374725e490c62f7be7a3.
Comment 1 Ben de Groot (RETIRED) gentoo-dev 2012-07-09 11:16:08 UTC
ping
Comment 2 Alexis Ballier gentoo-dev 2012-07-09 13:15:09 UTC
applied, thanks (sorry for the delay, i had forgotten about this...)
Comment 3 Rafał Mużyło 2012-07-09 14:38:38 UTC
...I'd say I did stress this patch is likely not quite correct, just mostly...

but if it works for you...
Comment 4 Manuel Rüger (RETIRED) gentoo-dev 2012-07-09 15:31:54 UTC
I think this has been fixed in luatex' svn, too.
Maybe this patch is more complete.

http://foundry.supelec.fr/gf/project/luatex/scmsvn/?action=browse&path=%2Ftrunk%2Fsource%2Ftexk%2Fweb2c%2Fluatexdir%2Flua%2Flepdflib.cc&r1=4401&r2=4414