Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 416545 - dev-tex/luatex-0.70.1 fails to build with >=poppler-0.20.0
Summary: dev-tex/luatex-0.70.1 fails to build with >=poppler-0.20.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: TeX project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-05-18 18:17 UTC by Rafał Mużyło
Modified: 2012-08-09 13:17 UTC (History)
2 users (show)

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


Attachments
patch to build against >=poppler-0.20.0 (poppler020.patch,2.75 KB, patch)
2012-05-18 18:17 UTC, Rafał Mużyło
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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