From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: kde-plasma/powerdevil/
Date: Wed, 29 Mar 2017 12:20:30 +0000 (UTC) [thread overview]
Message-ID: <1490789963.24e7c1d3154bce0d1540d2516f06b79f70cdc17f.asturm@gentoo> (raw)
commit: 24e7c1d3154bce0d1540d2516f06b79f70cdc17f
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 29 12:19:23 2017 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Mar 29 12:19:23 2017 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=24e7c1d3
kde-plasma/powerdevil: Drop USE=consolekit, upower-pm-utils from 5.8 too
Package-Manager: Portage-2.3.3, Repoman-2.3.1
kde-plasma/powerdevil/metadata.xml | 3 +-
.../powerdevil/powerdevil-5.8.49.9999.ebuild | 37 ++++------------------
2 files changed, 8 insertions(+), 32 deletions(-)
diff --git a/kde-plasma/powerdevil/metadata.xml b/kde-plasma/powerdevil/metadata.xml
index a83a59e337..86d83ec7bd 100644
--- a/kde-plasma/powerdevil/metadata.xml
+++ b/kde-plasma/powerdevil/metadata.xml
@@ -6,8 +6,7 @@
<name>Gentoo KDE Project</name>
</maintainer>
<use>
- <flag name="consolekit">Enable <pkg>sys-auth/consolekit</pkg> support</flag>
- <flag name="elogind">Use <pkg>sys-auth/elogind</pkg> for session tracking</flag>
+ <flag name="consolekit">Enable <pkg>sys-auth/consolekit</pkg> support instead of logind session tracking</flag>
<flag name="wireless">Enable wireless energy saving actions via <pkg>kde-frameworks/bluez-qt</pkg> and <pkg>kde-frameworks/networkmanager-qt</pkg></flag>
</use>
</pkgmetadata>
diff --git a/kde-plasma/powerdevil/powerdevil-5.8.49.9999.ebuild b/kde-plasma/powerdevil/powerdevil-5.8.49.9999.ebuild
index 531a0ae1cf..f00f4f1278 100644
--- a/kde-plasma/powerdevil/powerdevil-5.8.49.9999.ebuild
+++ b/kde-plasma/powerdevil/powerdevil-5.8.49.9999.ebuild
@@ -10,11 +10,7 @@ inherit kde5
DESCRIPTION="Power management for KDE Plasma Shell"
HOMEPAGE="https://projects.kde.org/projects/kde/workspace/powerdevil"
KEYWORDS=""
-IUSE="elogind systemd +wireless"
-
-REQUIRED_USE="elogind? ( !systemd )
- systemd? ( !elogind )
-"
+IUSE="consolekit +wireless"
DEPEND="
$(add_frameworks_dep kactivities)
@@ -53,19 +49,12 @@ DEPEND="
RDEPEND="${DEPEND}
$(add_plasma_dep kde-cli-tools)
- systemd? ( >=sys-power/upower-0.9.23 )
- elogind? ( >=sys-power/upower-0.9.23 )
- !systemd? ( !elogind? (
+ >=sys-power/upower-0.9.23
+ consolekit? (
+ >=sys-auth/consolekit-1.0.1
sys-auth/polkit-pkla-compat
- || (
- (
- >=sys-auth/consolekit-1.0.1
- sys-power/pm-utils
- >=sys-power/upower-0.9.23
- )
- sys-power/upower-pm-utils
- )
- ) )
+ sys-power/pm-utils
+ )
!kde-plasma/powerdevil:4
!kde-plasma/systemsettings:4[handbook]
"
@@ -82,7 +71,7 @@ src_configure() {
src_install() {
kde5_src_install
- if ! use systemd && ! use elogind ; then
+ if use consolekit ; then
insinto /etc/polkit-1/localauthority/10-vendor.d/
doins "${FILESDIR}"/10-org.freedesktop.upower.pkla
doins "${FILESDIR}"/20-org.freedesktop.consolekit.system.stop-multiple-users.pkla
@@ -91,15 +80,3 @@ src_install() {
doins "${FILESDIR}"/50-org.freedesktop.consolekit.system.hibernate-multiple-users.pkla
fi
}
-
-pkg_postinst() {
- kde5_pkg_postinst
-
- if has_version sys-power/upower-pm-utils && ! use systemd && ! use elogind ; then
- ewarn "You have sys-power/upower-pm-utils installed, which was recommended in the past to"
- ewarn "enable suspend and hibernate support. This workaround is no longer required, and it"
- ewarn "is now recommended to use a recent version of upower and consolekit instead:"
- ewarn
- ewarn "emerge --ask --update \">=sys-auth/consolekit-1.0.0\" sys-power/upower"
- fi
-}
next reply other threads:[~2017-03-29 12:20 UTC|newest]
Thread overview: 111+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-29 12:20 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-10 23:00 [gentoo-commits] proj/kde:master commit in: kde-plasma/powerdevil/ Andreas Sturmlechner
2024-10-08 15:20 Andreas Sturmlechner
2024-10-03 20:18 Andreas Sturmlechner
2024-09-14 22:21 Andreas Sturmlechner
2024-09-14 21:33 Andreas Sturmlechner
2024-09-14 15:16 Andreas Sturmlechner
2024-09-10 16:48 Andreas Sturmlechner
2024-06-24 17:52 Andreas Sturmlechner
2024-06-24 17:30 Andreas Sturmlechner
2024-06-24 17:30 Andreas Sturmlechner
2024-06-23 17:39 Sam James
2024-06-18 20:03 Andreas Sturmlechner
2024-05-27 22:24 Andreas Sturmlechner
2024-05-24 19:49 Andreas Sturmlechner
2024-05-21 19:06 Andreas Sturmlechner
2024-03-16 10:37 Andreas Sturmlechner
2024-01-16 15:28 Andreas Sturmlechner
2024-01-10 16:47 Andreas Sturmlechner
2023-12-23 18:46 Andreas Sturmlechner
2023-12-22 18:17 Andreas Sturmlechner
2023-12-20 23:02 Andreas Sturmlechner
2023-12-12 18:32 Andreas Sturmlechner
2023-12-12 18:32 Andreas Sturmlechner
2023-12-09 15:15 Andreas Sturmlechner
2023-10-25 7:42 Andreas Sturmlechner
2023-10-24 18:39 Andreas Sturmlechner
2023-07-25 12:48 Andreas Sturmlechner
2023-06-27 20:44 Andreas Sturmlechner
2023-06-27 20:40 Andreas Sturmlechner
2023-03-14 20:21 Andreas Sturmlechner
2023-03-14 14:47 Andreas Sturmlechner
2023-02-22 11:59 Andreas Sturmlechner
2023-02-21 14:02 Andreas Sturmlechner
2023-02-14 11:27 Andreas Sturmlechner
2023-02-09 13:26 Andreas Sturmlechner
2023-01-20 13:59 Andreas Sturmlechner
2023-01-20 10:40 Andreas Sturmlechner
2023-01-04 15:21 Andreas Sturmlechner
2022-12-13 20:37 Andreas Sturmlechner
2022-10-11 12:51 Andreas Sturmlechner
2022-10-11 12:37 Andreas Sturmlechner
2022-10-09 16:39 Andreas Sturmlechner
2022-10-06 14:48 Andreas Sturmlechner
2022-09-15 21:41 Andreas Sturmlechner
2022-09-15 20:57 Andreas Sturmlechner
2022-09-06 19:16 Andreas Sturmlechner
2022-07-13 9:18 Andreas Sturmlechner
2022-07-12 13:50 Andreas Sturmlechner
2022-06-14 12:47 Andreas Sturmlechner
2022-06-09 11:29 Andreas Sturmlechner
2022-06-08 9:22 Andreas Sturmlechner
2022-03-21 19:03 Andreas Sturmlechner
2022-02-08 13:17 Andreas Sturmlechner
2022-02-03 20:10 Andreas Sturmlechner
2022-01-18 17:41 Andreas Sturmlechner
2022-01-17 17:49 Andreas Sturmlechner
2022-01-17 17:24 Andreas Sturmlechner
2022-01-12 21:14 Andreas Sturmlechner
2022-01-04 16:20 Andreas Sturmlechner
2022-01-04 11:57 Andreas Sturmlechner
2021-10-14 10:26 Andreas Sturmlechner
2021-10-04 13:04 Andreas Sturmlechner
2021-09-21 18:45 Andreas Sturmlechner
2021-09-02 17:36 Andreas Sturmlechner
2021-06-11 5:49 Andreas Sturmlechner
2021-05-14 20:41 Andreas Sturmlechner
2021-05-04 21:12 Andreas Sturmlechner
2021-02-16 15:48 Andreas Sturmlechner
2021-02-16 14:25 Andreas Sturmlechner
2021-02-11 13:38 Andreas Sturmlechner
2021-01-23 0:26 Andreas Sturmlechner
2021-01-05 17:44 Andreas Sturmlechner
2020-10-13 11:51 Andreas Sturmlechner
2020-10-09 6:35 Andreas Sturmlechner
2020-09-19 8:12 Andreas Sturmlechner
2020-09-04 8:43 Andreas Sturmlechner
2020-09-01 16:40 Andreas Sturmlechner
2020-09-01 12:01 Andreas Sturmlechner
2019-09-25 21:53 Andreas Sturmlechner
2019-02-09 9:48 Andreas Sturmlechner
2018-11-11 15:49 Andreas Sturmlechner
2018-11-11 12:47 Andreas Sturmlechner
2018-10-22 18:14 Andreas Sturmlechner
2018-08-15 15:22 Andreas Sturmlechner
2018-05-10 15:43 Andreas Sturmlechner
2017-11-15 23:48 Andreas Sturmlechner
2017-09-07 18:40 Andreas Sturmlechner
2017-08-15 15:56 Andreas Sturmlechner
2017-05-09 18:39 Andreas Sturmlechner
2017-04-04 10:39 Andreas Sturmlechner
2017-03-21 15:13 Andreas Sturmlechner
2016-12-29 13:25 Michael Palimaka
2016-11-06 10:38 Johannes Huber
2016-11-03 9:57 Johannes Huber
2016-09-15 18:40 Michael Palimaka
2016-06-19 13:19 Michael Palimaka
2016-03-30 16:32 Michael Palimaka
2016-03-28 14:02 Michael Palimaka
2016-01-14 12:26 Michael Palimaka
2015-12-30 12:47 Michael Palimaka
2015-12-07 16:55 Michael Palimaka
2015-08-30 18:22 Michael Palimaka
2015-08-19 14:52 Michael Palimaka
2015-06-12 19:31 Manuel Rüger
2015-04-16 17:36 Michael Palimaka
2015-04-16 17:31 Michael Palimaka
2015-04-16 9:18 Michael Palimaka
2015-04-02 16:33 Michael Palimaka
2015-03-12 15:42 Michael Palimaka
2015-01-17 19:10 Johannes Huber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1490789963.24e7c1d3154bce0d1540d2516f06b79f70cdc17f.asturm@gentoo \
--to=asturm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox