Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 235903 - media-video/vlc-0.8.6i-r2 USE=-X will still link to x11 libs
Summary: media-video/vlc-0.8.6i-r2 USE=-X will still link to x11 libs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-27 11:16 UTC by Natanael Copa
Modified: 2008-08-28 15:52 UTC (History)
0 users

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 Natanael Copa 2008-08-27 11:16:59 UTC
the screen vlc plugin will link to the x11 libs if they are installed, even if USE=-X

grep libX NEEDED
/usr/lib/vlc/access/libscreen_plugin.so libpthread.so.0,libSM.so.6,libICE.so.6,libX11.so.6,libXext.so.6,libvlc.so.0,libuClibc++.so.0,libc.so.0

The --enable-screen configure is turned on by default causing this.
Suggested fix is to add $(use_enable X screen):

--- vlc-0.8.6i-r2.ebuild.orig	2008-08-27 11:15:01 +0000
+++ vlc-0.8.6i-r2.ebuild	2008-08-27 11:15:31 +0000
@@ -209,6 +209,7 @@
 		$(use_enable vorbis) \
 		$(use_enable theora) \
 		$(use_enable X x11) \
+		$(use_enable X screen) \
 		$(use_enable xv xvideo) \
 		$(use_enable xinerama) \
 		$(use_enable opengl glx) $(use_enable opengl) \

alternatively have an extra useflag for screen.
Comment 1 Alexis Ballier gentoo-dev 2008-08-28 15:52:39 UTC
applied, thanks