Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 410213 - x11-libs/cairo-1.10.2-r1 automagically RDEPENDs on EGL
Summary: x11-libs/cairo-1.10.2-r1 automagically RDEPENDs on EGL
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ben de Groot (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 410149 416723
  Show dependency tree
 
Reported: 2012-03-30 08:07 UTC by Pacho Ramos
Modified: 2013-08-24 14:27 UTC (History)
2 users (show)

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 Pacho Ramos gentoo-dev 2012-03-30 08:07:59 UTC
This causes issues like bug 410149, but also affects to native systems:

$ equery b /usr/lib64/libcairo-gobject.so.2.11000.2
 * Searching for /usr/lib64/libcairo-gobject.so.2.11000.2 ... 
x11-libs/cairo-1.10.2-r1 (/usr/lib64/libcairo-gobject.so.2.11000.2)


Reproducible: Always
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-03-30 11:24:49 UTC
Adding mesa to DEPEND would cause circular dependencies.
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2012-03-30 11:28:25 UTC
No wait, disregard the above.

media-libs/mesa[egl] could be added for backends that trigger need_egl_functions.
Comment 3 Ben de Groot (RETIRED) gentoo-dev 2012-07-24 14:26:20 UTC
(In reply to comment #2)
> media-libs/mesa[egl] could be added for backends that trigger
> need_egl_functions.

So we need to figure out which ones those are. Then I will apply it to cairo-1.12.2-r2
Comment 4 Ben de Groot (RETIRED) gentoo-dev 2012-07-25 08:44:42 UTC
Hopefully fixed in cairo-1.10.2-r3 and cairo-1.12.2-r2. Please reopen if this reappears.
Comment 5 Maxim Kammerer 2012-11-21 11:49:18 UTC
Hi, if cairo depends on EGL automagically, shouldn't a proper fix be to cairo build-time configuration code, and not hardcoding the dependency?
Comment 6 Matt Turner gentoo-dev 2012-11-21 22:57:10 UTC
(In reply to comment #5)
> Hi, if cairo depends on EGL automagically, shouldn't a proper fix be to
> cairo build-time configuration code, and not hardcoding the dependency?

Yes.
Comment 7 Maxim Kammerer 2013-08-24 14:27:45 UTC
Why not use

  --enable-egl=[no/auto/yes]
                          Enable cairo's EGL functions feature [default=auto]
  --enable-glx=[no/auto/yes]
                          Enable cairo's GLX functions feature [default=auto]
  --enable-wgl=[no/auto/yes]
                          Enable cairo's WGL functions feature [default=auto]