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

Bug 538282

Summary: app-text/poppler-0.30.0 / -9999 sets wrong option for -DENABLE_LIBOPENJPEG
Product: Gentoo Linux Reporter: michael
Component: [OLD] PrintingAssignee: Maciej Mrozowski <reavertm>
Status: RESOLVED FIXED    
Severity: normal CC: kde, printing
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description michael 2015-01-30 20:58:14 UTC
Since version 0.30.0 (thus applies also to app-text/poppler-9999) possible values for -DENABLE_LIBOPENJPEG differ:
now it is auto, openjpeg1, openjpeg2 or none
see http://cgit.freedesktop.org/poppler/poppler/commit/?id=117af9c6bbd923954ef7de63adec8c22d51da1e4
i suggest the following:
        if use jpeg2k; then
                mycmakeargs+=(-DENABLE_LIBOPENJPEG=auto)
        fi


Reproducible: Always
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2015-03-20 15:18:36 UTC
Fixed, for now building against libopenjpeg-1. 2 needs a bit more work, later.