Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58705 - virtual/x11 always required for xplanet
Summary: virtual/x11 always required for xplanet
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Don Seiler (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-28 15:46 UTC by Tyler Lund
Modified: 2004-07-28 18:50 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 Tyler Lund 2004-07-28 15:46:54 UTC
The useflag X is listed in the IUSE variable in the ebuild, but virtual/x11 is always required by the ebuild. Xplanet will compile just fine and run without X, and is handy on headless machines just generating images for web use, etc. Simply changing:

RDEPEND="virtual/x11
    opengl? ( virtual/opengl
        media-libs/glut )
    gif? ( media-libs/giflib
        media-libs/libungif )
    jpeg? ( media-libs/jpeg )
    tiff? ( media-libs/tiff )
    png? ( media-libs/libpng )
    truetype? ( =media-libs/freetype-2* )"

to...

RDEPEND="X? ( virtual/x11 )
    opengl? ( virtual/opengl
        media-libs/glut )
    gif? ( media-libs/giflib
        media-libs/libungif )
    jpeg? ( media-libs/jpeg )
    tiff? ( media-libs/tiff )
    png? ( media-libs/libpng )
    truetype? ( =media-libs/freetype-2* )"

Seems to fix this, as the logic for the ./config step is already in the ebuild. 

Reproducible: Always
Steps to Reproduce:
1. Set -X in /etc/portage/package.use
2. emerge -p xplanet


Actual Results:  
portage will require that an X server be installed. 

Expected Results:  
X and all of its dependencies should not have been required.
Comment 1 Don Seiler (RETIRED) gentoo-dev 2004-07-28 18:50:19 UTC
Fixed in 1.1.1.  Thanks for reporting.