Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 430760 - x11-drivers/nvidia-drivers-295.59[tools] should depend on x11-libs/pango[X]
Summary: x11-drivers/nvidia-drivers-295.59[tools] should depend on x11-libs/pango[X]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-10 13:21 UTC by Nicolas Bigaouette
Modified: 2012-08-10 14:46 UTC (History)
3 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 Nicolas Bigaouette 2012-08-10 13:21:58 UTC
x11-drivers/nvidia-drivers includes the (pre-built) nvidia-settings binary.
This binary requires libpangox-1.0.so.0 which is only built if x11-libs/pango is built with X use flag.

Without the X use flag, x11-libs/pango does not provide libpangox-1.0.so.0.

ldd /opt/bin/nvidia-settings | grep libpangox
        libpangox-1.0.so.0 => /usr/lib64/libpangox-1.0.so.0 (0x00007fd821599000)

If /opt/bin/nvidia-settings is to be run, X is probably installed and this problem does not show up. But without that, revdep-rebuild detects the missing library and ask to rebuild x11-drivers/nvidia-drivers everytime...
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-08-10 14:41:05 UTC
Fixed in all ebuilds.
Comment 2 Nicolas Bigaouette 2012-08-10 14:46:48 UTC
That was fast ;) What was the fix?

Looking at the ebuild for 295.59, I think this should fix it:
--- nvidia-drivers-295.59-r1.ebuild.orig        2012-08-10 10:46:00.000000000 -0400
+++ nvidia-drivers-295.59-r1.ebuild     2012-08-10 10:46:08.000000000 -0400
@@ -42,7 +42,7 @@
                x11-libs/gtk+:2
                x11-libs/libX11
                x11-libs/libXext
-               x11-libs/pango
+               x11-libs/pango[X]
        )"
 PDEPEND=">=x11-libs/libvdpau-0.3-r1"

Thanks