Gentoo Archives: gentoo-dev

From: "Chí-Thanh Christopher Nguyễn" <chithanh@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: UPower upstream (git master) and 0.99 release -> No sys-power/pm-utils support anymore
Date: Tue, 03 Jun 2014 14:57:20
Message-Id: 538DE248.8050903@gentoo.org
In Reply to: Re: [gentoo-dev] Re: UPower upstream (git master) and 0.99 release -> No sys-power/pm-utils support anymore by Samuli Suominen
1 Samuli Suominen schrieb:
2 > On 03/06/14 17:45, Chí-Thanh Christopher Nguyễn wrote:
3 >> Samuli Suominen schrieb:
4 >>> On 03/06/14 16:53, Rich Freeman wrote:
5 >>>> So, I get why you did it, but my concern is that when you tell
6 >>>> portage that non-systemd users shouldn't use this package, portage
7 >>>> helpfully solves that problem by turning all the non-systemd users
8 >>>> into systemd users, instead of switching them to the alternative that
9 >>>> works without systemd.
10 >>> Portage doesn't do anything on it's own, surely it needs an admin to accept
11 >>> or reject the changes
12 >> I disagree. It would have been straightforward to create a transitional
13 >> package sys-power/upower-10000 which makes openrc users transition to
14 >> sys-power/upower-pm-utils and systemd users to sys-power/upower-systemd
15 >> or something similar.
16 > No, it wouldn't have, because 0.99.0 is the superior version to which
17 > we are all working towards and 10000 would have superceded it
18 > And 0.99.0 is for both, systemd and openrc users
19 >
20 >
21
22 sys-power/upower-10000 would not install any files and be treecleaned
23 some months after the transition is complete.
24
25 upower-10000.ebuild: DEPEND="systemd? ( sys-power/upower-systemd )
26 !systemd? ( sys-power/upower-pm-utils )
27
28 upower-pm-utils-0.9.23.ebuild: DEPEND="!<sys-power/upower-10000
29 !sys-power/upower-systemd"
30
31 upower-systemd-0.9.23-r3.ebuild: DEPEND="!<sys-power/upower-10000
32 sys-apps/systemd"
33
34 I will attach the proposed ebuilds to bug 512252.
35
36
37 Best regards,
38 Chí-Thanh Christopher Nguyễn

Replies