From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: xfce-extra/xfce4-power-manager/
Date: Thu, 8 Oct 2020 20:57:15 +0000 (UTC) [thread overview]
Message-ID: <1602190632.34260b21a81f95de61c656a35643553d000de70e.mgorny@gentoo> (raw)
commit: 34260b21a81f95de61c656a35643553d000de70e
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 8 20:56:13 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Oct 8 20:57:12 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34260b21
xfce-extra/xfce4-power-manager: Remove unnecessary dep on pm-utils
pm-utils are used only as a last resort fallback for suspend/hibernate
support. The preferred provider for these functions is logind.
However, both are entirely optional runtime deps, so just report missing
logind in postinst.
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
...er-manager-1.6.6.ebuild => xfce4-power-manager-1.6.6-r1.ebuild} | 7 ++++++-
...er-manager-1.7.0.ebuild => xfce4-power-manager-1.7.0-r1.ebuild} | 7 ++++++-
2 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/xfce-extra/xfce4-power-manager/xfce4-power-manager-1.6.6.ebuild b/xfce-extra/xfce4-power-manager/xfce4-power-manager-1.6.6-r1.ebuild
similarity index 87%
rename from xfce-extra/xfce4-power-manager/xfce4-power-manager-1.6.6.ebuild
rename to xfce-extra/xfce4-power-manager/xfce4-power-manager-1.6.6-r1.ebuild
index 4b9aa22bbe9..641b2904d0a 100644
--- a/xfce-extra/xfce4-power-manager/xfce4-power-manager-1.6.6.ebuild
+++ b/xfce-extra/xfce4-power-manager/xfce4-power-manager-1.6.6-r1.ebuild
@@ -15,7 +15,6 @@ IUSE="kernel_linux networkmanager +panel-plugin policykit"
COMMON_DEPEND=">=dev-libs/glib-2.42
>=sys-power/upower-0.99.0
- sys-power/pm-utils
>=x11-libs/gtk+-3.14:3
>=x11-libs/libnotify-0.7
x11-libs/libX11
@@ -52,6 +51,12 @@ src_install() {
pkg_postinst() {
xdg_icon_cache_update
+
+ if ! has_version sys-apps/systemd && ! has_version sys-auth/elogind
+ then
+ elog "Suspend/hibernate support requires a logind provider installed"
+ elog "(sys-apps/systemd or sys-auth/elogind)"
+ fi
}
pkg_postrm() {
diff --git a/xfce-extra/xfce4-power-manager/xfce4-power-manager-1.7.0.ebuild b/xfce-extra/xfce4-power-manager/xfce4-power-manager-1.7.0-r1.ebuild
similarity index 87%
rename from xfce-extra/xfce4-power-manager/xfce4-power-manager-1.7.0.ebuild
rename to xfce-extra/xfce4-power-manager/xfce4-power-manager-1.7.0-r1.ebuild
index 9df144416fc..3cc989ee936 100644
--- a/xfce-extra/xfce4-power-manager/xfce4-power-manager-1.7.0.ebuild
+++ b/xfce-extra/xfce4-power-manager/xfce4-power-manager-1.7.0-r1.ebuild
@@ -15,7 +15,6 @@ IUSE="kernel_linux networkmanager +panel-plugin policykit"
COMMON_DEPEND=">=dev-libs/glib-2.42
>=sys-power/upower-0.99.0
- sys-power/pm-utils
>=x11-libs/gtk+-3.14:3
>=x11-libs/libnotify-0.7
x11-libs/libX11
@@ -52,6 +51,12 @@ src_install() {
pkg_postinst() {
xdg_icon_cache_update
+
+ if ! has_version sys-apps/systemd && ! has_version sys-auth/elogind
+ then
+ elog "Suspend/hibernate support requires a logind provider installed"
+ elog "(sys-apps/systemd or sys-auth/elogind)"
+ fi
}
pkg_postrm() {
next reply other threads:[~2020-10-08 20:57 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-08 20:57 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-08-28 6:49 [gentoo-commits] repo/gentoo:master commit in: xfce-extra/xfce4-power-manager/ WANG Xuerui
2022-01-04 10:30 David Seifert
2021-06-02 2:42 Yixun Lan
2021-04-12 23:33 Sam James
2021-02-19 1:11 Michał Górny
2021-02-18 22:08 Sam James
2021-02-18 7:26 Sam James
2021-02-08 6:11 Sam James
2021-02-08 6:05 Sam James
2021-01-18 20:29 Michał Górny
2020-12-22 23:35 Michał Górny
2020-12-16 13:29 Michał Górny
2020-11-06 23:14 Michał Górny
2020-05-04 9:40 Michał Górny
2020-04-23 10:40 Agostino Sarubbo
2020-04-23 6:24 Agostino Sarubbo
2020-04-23 6:21 Agostino Sarubbo
2020-04-19 18:24 Agostino Sarubbo
2020-04-18 9:18 Agostino Sarubbo
2020-03-09 7:18 Michał Górny
2020-03-06 3:27 Michał Górny
2019-10-20 10:24 Michał Górny
2019-10-13 11:24 Mikle Kolyada
2019-10-12 21:23 Sergei Trofimovich
2019-10-12 21:16 Sergei Trofimovich
2019-10-10 18:35 Mikle Kolyada
2019-10-10 18:31 Mikle Kolyada
2019-08-12 13:21 Michał Górny
2019-07-29 10:57 Mikle Kolyada
2019-07-28 21:08 Michał Górny
2019-07-28 21:08 Michał Górny
2019-07-24 3:22 Aaron Bauman
2019-07-21 8:13 Sergei Trofimovich
2019-07-01 7:56 Michał Górny
2019-05-17 13:59 Michał Górny
2018-07-10 12:29 Michał Górny
2018-03-25 17:27 Michał Górny
2018-01-07 20:32 Sergei Trofimovich
2018-01-07 13:17 Sergei Trofimovich
2018-01-06 21:59 Michał Górny
2018-01-05 11:30 Mikle Kolyada
2017-12-19 6:52 Michał Górny
2017-07-13 6:28 Michał Górny
2017-07-09 21:41 Michał Górny
2017-07-09 21:41 Michał Górny
2017-06-07 20:06 Michał Górny
2017-01-13 15:41 Agostino Sarubbo
2016-12-20 12:31 Tobias Klausmann
2016-09-29 4:37 Jeroen Roovers
2016-08-03 5:02 Michał Górny
2016-06-05 17:49 Michał Górny
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=1602190632.34260b21a81f95de61c656a35643553d000de70e.mgorny@gentoo \
--to=mgorny@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