Gentoo Archives: gentoo-user

From: Samuli Suominen <ssuominen@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Power management
Date: Wed, 04 Jun 2014 19:33:52
Message-Id: 538F7404.6040709@gentoo.org
In Reply to: Re: [gentoo-user] Power management by Samuli Suominen
1 On 04/06/14 22:27, Samuli Suominen wrote:
2 > On 04/06/14 21:44, Peter Humphrey wrote:
3 >> Hello list,
4 >>
5 >> The current debate over upower and upower-pm-utils has got me thinking (yes, I
6 >> know): is it possible to install Gentoo on a desktop or a mini-server without
7 >> any PM at all?
8 > Of course. It's USE="-upower" to make.conf and couple of
9 > /etc/portage/package.use
10 > entries, like for example 'xfce-base/xfce4-session -udev', as in, some
11 > packages
12 > use the generic USE flag 'udev' for pulling upower (which is,
13 > essentially, a udev helper)
14 >
15 > You may have to avoid some "meta" packages, like gnome-base/gnome, which
16 > are too
17 > greedy with their dependencies
18 >
19 > - Samuli
20 >
21
22 This hint is meant for the too greedy "meta" packages:
23
24 You can also create /etc/portage/profile/package.provided file with a
25 entry like:
26
27 sys-power/upower-0.9.23
28
29 Notice that the syntax of package.provided is different from other
30 package.foo files,
31 and it doesn't have the = in front, so it's really
32 '$category/$package-$version'
33
34 That will tell Portage you have UPower installed, where as you really don't
35
36 - Samuli