Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 58550

Summary: rss-glx-0.7.6 pulls in kde-env even with -kde use flags
Product: Gentoo Linux Reporter: Mark <Line72> Dillavou <dillavou>
Component: New packagesAssignee: Alastair Tse (RETIRED) <liquidx>
Status: RESOLVED WONTFIX    
Severity: normal CC: vapier
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Mark <Line72> Dillavou 2004-07-27 07:16:25 UTC
rss-glx-0.7.6 tries to emerge kde-env even when I have USE=-kde.  The problem comes from these lines in the ebuild:

orig:
inherit flag-o-matic eutils kde

should be changed to:
inherit flag-o-matic eutils
use kde && inherit kde


and also

orig:
DEPEND="virtual/x11
        ....
        kde? ( kde-base/kdeartwork )
        !kde? ( x11-misc/xscreensaver kde-base/kde-env )
        openal? ( media-libs/openal )"

should be changed to:
DEPEND="virtual/x11
        ....
        kde? ( kde-base/kdeartwork )
        !kde? ( x11-misc/xscreensaver )"
        ....



Reproducible: Always
Steps to Reproduce:
1. USE=-kde emerge -puvD rss-glx
2.
3.

Actual Results:  
it tried to install kde-env

Expected Results:  
It should not have emerged kde-env
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2004-07-28 17:49:57 UTC
we need the KDEDIR but apparently it is against QA for me to use :

use kde && inherit kde 

maybe we don't need KDEDIR afterall? hrmm .. so tired after all this bug fixing
Comment 2 Alastair Tse (RETIRED) gentoo-dev 2004-07-28 17:55:45 UTC
ok, the kde-env dependency doesn't need to be there because the kde.eclass does that. 

anyway, i'm closing this as wontfix because its the right way to do things for the moment, until portage handles caching differently. kde-env only consists of one file in /etc/env.d/99kde, so i don't think its much of a thing to worry about!