Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 332379 - RFC: add "laptop" USE flag to kde-base/solid
Summary: RFC: add "laptop" USE flag to kde-base/solid
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-12 03:12 UTC by Soren Harward
Modified: 2011-01-09 09:31 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 Soren Harward 2010-08-12 03:12:46 UTC
kde-base/solid includes the program solid-powermanagement, which can suspend/hibernate the computer through HAL.  However, to have this functionality actually work, HAL has to be built with USE="+laptop" so that it pulls in the pm-utils package.  I suggest adding the "laptop" USE flag to the kde-base/solid ebuild, and having the solid ebuild check that if the "laptop" USE flag is requested, that sys-apps/hal has also been built with the laptop flag enabled.  Something like:

RDEPEND="hal? ( laptop? ( sys-apps/hal[+laptop] ) || sys-apps/hal )"

That way, if someone wants HAL but doesn't care about power management, they can still use HAL.  And if someone doesn't want HAL, then it doesn't matter whether the laptop flag is set or not.

Reproducible: Always
Comment 1 Jonathan Callen (RETIRED) gentoo-dev 2010-08-13 02:55:42 UTC
considering that the RDEPEND string in the initial report is invalid, I am going to assume that the original reporter meant RDEPEND="hal? ( sys-apps/hal[laptop?] )"
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2011-01-09 09:31:51 UTC
Closing this as WONTFIX since hal is being deprecated anyway