Bug 201080 - app-text/poppler-bindings-0.6.1/2 should depend on >=x11-libs/cairo-1.4
Bug#: 201080 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: minor Priority: P2
Resolution: FIXED Assigned To: printing@gentoo.org Reported By: clemens@endorphin.org
Component: Ebuilds
URL: 
Summary: app-text/poppler-bindings-0.6.1/2 should depend on >=x11-libs/cairo-1.4
Keywords:  
Status Whiteboard: 
Opened: 2007-12-03 10:13 0000
Description:   Opened: 2007-12-03 10:13 0000
While emerging poppler-bindings-0.6.1 on a system with cairo-1.2.4 installed: 

checking for CAIRO... configure: error: Package requirements (cairo >= 1.4)
were not met:

Requested 'cairo >= 1.4' but version of cairo is 1.2.4

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
---
I think we should bump up poppler-bingings-0.6.1 (and likely 0.6.2)'s RDEPENDS
from
        cairo? ( >=x11-libs/cairo-0.5 )
to 
        cairo? ( >=x11-libs/cairo-1.4 )

Problem goes away with cairo-1.4.10 installed

------- Comment #1 From Jakub Moc (RETIRED) 2007-12-03 12:38:59 0000 -------
Upgrade your system properly, using --deep.

------- Comment #2 From Clemens Fruhwirth 2007-12-03 13:17:24 0000 -------
Your concept of "improper system upgrade" is unclear to me. Your comment also
suggests that "--deep" should be used most of the time (as we want proper
system updates, right?). That this is false is not only backed by my intuition
when reading the manpage of emerge, but also backed by the fact that --deep is
not on by default in emerge. Also GLSA 200709-12 (that caused that upgrade for
me) doesn't use --deep either, also concluding that --deep is non-standard for
system upgrades (GLSAs are always about upgrades)

From configure.ac poppler-0.6.1.tar.gz
CAIRO_VERSION="1.4"
Not depending on >=cairo-1.4 is in my opinion an ebuild bug, nothing else.

------- Comment #3 From Doug Goldstein 2007-12-05 18:50:41 0000 -------
Clemens, you are correct. It is a problem with the depends in the ebuilds. I've
committed the fix. Thanks.