Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 416507 - x11-libs/cairo-1.10.2-r2 has obsolete RDEPENDs
Summary: x11-libs/cairo-1.10.2-r2 has obsolete RDEPENDs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ben de Groot (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-18 15:35 UTC by nzqr
Modified: 2012-07-25 08:45 UTC (History)
1 user (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 nzqr 2012-05-18 15:35:00 UTC
We have:

$ equery u x11-libs/cairo
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for x11-libs/cairo-1.10.2-r2:
 U I
 + + X           : Adds support for X11
 - - debug       : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml
 - - directfb    : Adds support for DirectFB layer (library for FB devices)
 - - doc         : Adds extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
 - - glib        : Compile with GLib Object System support
 - - opengl      : (Restricted to >=x11-libs/cairo-1.10.0)
                    Use Mesa backend for acceleration 
 - - static-libs : Build static libraries
 + + svg         : Adds support for SVG (Scalable Vector Graphics)
 - - xcb         : Support the X C-language Binding, a replacement for Xlib

$ qdepends -r x11-libs/cairo
x11-libs/cairo-1.10.2-r2: media-libs/fontconfig media-libs/freetype:2 media-libs/libpng:0 sys-libs/zlib >=x11-libs/pixman-0.18.4 dev-libs/libxml2 >=x11-libs/libXrender-0.6 x11-libs/libXext x11-libs/libX11 x11-libs/libXft

But:

readelf -d /usr/lib64/cairo/libcairo-trace.so.0.0.0 /usr/lib64/libcairo-script-interpreter.so.2.11000.2 /usr/lib64/libcairo.so.2.11000.2 |grep NEEDED |sort -u
 0x0000000000000001 (NEEDED)             Shared library: [libbfd-2.22.so]
 0x0000000000000001 (NEEDED)             Shared library: [libcairo.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libdl.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libfontconfig.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libfreetype.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libgcc_s.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libm.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libpixman-1.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libpng15.so.15]
 0x0000000000000001 (NEEDED)             Shared library: [libpthread.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [libX11.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libXrender.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libz.so.1]

seems that dev-libs/libxml2, x11-libs/libXft and x11-libs/libXext is in rdepend by mistake; btw, comment from cairo's NEWS file:

Snapshot 1.1.10 (2006-06-16 Carl Worth <cworth@cworth.org>)
...
This snapshot also includes a rewrite of cairo's SVG backend to
eliminate the dependency on libxml2.


Reproducible: Always
Comment 1 Ben de Groot (RETIRED) gentoo-dev 2012-07-25 08:45:24 UTC
Fixed in cairo-1.10.2-r3 and cairo-1.12.2-r2. Thanks!