public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jonas Stein" <jstein@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-laptop/laptop-mode-tools/
Date: Sun, 20 Feb 2022 22:00:18 +0000 (UTC)	[thread overview]
Message-ID: <1645394389.f9a2656558d1ca6ddc8dba3f6c67266d40c246dc.jstein@gentoo> (raw)

commit:     f9a2656558d1ca6ddc8dba3f6c67266d40c246dc
Author:     Jonas Stein <jstein <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 20 21:59:30 2022 +0000
Commit:     Jonas Stein <jstein <AT> gentoo <DOT> org>
CommitDate: Sun Feb 20 21:59:49 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9a26565

app-laptop/laptop-mode-tools: drop old

Drop obsolete version with QA bugs

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Jonas Stein <jstein <AT> gentoo.org>

 app-laptop/laptop-mode-tools/Manifest              |   1 -
 .../laptop-mode-tools-1.72.2-r2.ebuild             | 100 ---------------------
 2 files changed, 101 deletions(-)

diff --git a/app-laptop/laptop-mode-tools/Manifest b/app-laptop/laptop-mode-tools/Manifest
index e7bd1d3e1b35..08e805ebf431 100644
--- a/app-laptop/laptop-mode-tools/Manifest
+++ b/app-laptop/laptop-mode-tools/Manifest
@@ -1,2 +1 @@
-DIST laptop-mode-tools_1.72.2.tar.gz 121437 BLAKE2B 1fdcdb88183156e4983b4561218164df5dde9fc91e85ab0ec1e6a401d3e5c5e70597a97e16c476949e80a674c34683eac6429e64e76c7921bd28f560e4ffe3cb SHA512 9a3960bad518aa73350b72ce30aeb80f3cbb1bf0fd6a11d5afe396b25c2b73f3b3d2fe7de0741eb94c9e3467c85a99741dc7acfd85339b9eb1daca09d3f8c56a
 DIST laptop-mode-tools_1.74.tar.gz 124163 BLAKE2B 5080a646b7e0ddd53709aa445abfdde2ea4a7643bf97f86c6d7ca612b6e46210c825df1c01389125ff2dd79e37d2421b76db28f7415454c77a776c3526a08d12 SHA512 70154c5833c02e2adf50bf03b3d05b98946cb7fc5acb73c05f105e3bc34d62e54e57db98be6877b8ebf2d1b951de73ad5afee9a5f7c85a76055ddc0868d5397d

diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.72.2-r2.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.72.2-r2.ebuild
deleted file mode 100644
index 4b6591ed5208..000000000000
--- a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.72.2-r2.ebuild
+++ /dev/null
@@ -1,100 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit multilib systemd tmpfiles udev
-
-MY_P="${PN}_${PV}"
-
-DESCRIPTION="Linux kernel laptop_mode user-space utilities"
-HOMEPAGE="https://github.com/rickysarraf/laptop-mode-tools/wiki"
-SRC_URI="https://github.com/rickysarraf/${PN}/releases/download/${PV}/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE="+acpi apm bluetooth"
-
-RDEPEND="sys-apps/iproute2
-	sys-apps/ethtool
-	sys-apps/which
-	|| (
-		sys-apps/sdparm
-		sys-apps/hdparm
-	)
-	acpi? ( sys-power/acpid )
-	apm? ( sys-apps/apmd )
-	bluetooth? ( net-wireless/bluez:= )"
-
-PATCHES=(
-	"${FILESDIR}/0001-Fix-case-sensitive-name-for-lmt.py.patch"
-)
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
-	default
-	# This should avoid conflict with pm-powersave wrt #327443 and #396703
-	cat <<-EOF > "${T}"/${PN}
-	HOOK_BLACKLIST="00powersave"
-	EOF
-}
-
-src_compile() { :; }
-
-src_install() {
-	DESTDIR="${D}" \
-		INIT_D="none" \
-		MAN_D="/usr/share/man" \
-		LIB_D="/usr/$(get_libdir)" \
-		UDEV_D="$(get_udevdir)" \
-		SYSTEMD_UNIT_D="$(systemd_get_systemunitdir)" \
-		TMPFILES_D="/usr/lib/tmpfiles.d" \
-		ACPI="$(use acpi && echo force || echo disabled)" \
-		PMU="$(false && echo force || echo disabled)" \
-		APM="$(use apm && echo force || echo disabled)" \
-		SYSTEMD=yes \
-		sh ./install.sh || die
-
-	dodoc Documentation/*.txt README.md
-	newinitd "${FILESDIR}"/laptop_mode.init-1.4 laptop_mode
-
-	# See src_prepare()
-	insinto /etc/pm/config.d
-	doins "${T}"/${PN}
-}
-
-pkg_postinst() {
-	tmpfiles_process laptop-mode.conf
-
-	if use acpi || use apm; then
-		if use acpi; then
-			daemon_name="acpid"
-		elif use apm; then
-			deamon_name="apmd"
-		fi
-		if [ "$(rc-config list default | grep laptop_mode)" = "" ] || [ "$(rc-config list default | grep ${daemon_name} )" = "" ]; then
-			ewarn "To enable automatic power state event handling,"
-			ewarn "e.g. enabling laptop_mode after unplugging the battery,"
-			ewarn "both laptop_mode and the ${daemon_name} daemon must be"
-			ewarn "added to default runlevel:"
-			if [ "$(rc-config list default | grep laptop_mode)" = "" ]; then
-				ewarn "# rc-update add laptop_mode default"
-			fi
-			if [ "$(rc-config list default | grep ${daemon_name} )" = "" ]; then
-				ewarn "# rc-update add ${daemon_name} default"
-			fi
-		fi
-	else
-		ewarn "Without USE=\"acpi\" or USE=\"apm\" ${PN} can not"
-		ewarn "automatically disable laptop_mode on low battery."
-		ewarn
-		ewarn "This means you can lose up to 10 minutes of work if running"
-		ewarn "out of battery while laptop_mode is enabled."
-		ewarn
-		ewarn "Please see laptop-mode.txt in /usr/share/doc/${PF} for further"
-		ewarn "information."
-		ewarn
-	fi
-}


             reply	other threads:[~2022-02-20 22:00 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-20 22:00 Jonas Stein [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-07-31 22:17 [gentoo-commits] repo/gentoo:master commit in: app-laptop/laptop-mode-tools/ Sam James
2021-04-26 19:15 Sam James
2021-04-26 19:11 Sam James
2021-03-26 16:11 Sam James
2021-03-26 16:11 Sam James
2019-09-15 14:55 Michał Górny
2018-09-28  0:18 Alon Bar-Lev
2018-09-01  7:21 Alon Bar-Lev
2018-05-26  8:53 Mikle Kolyada
2018-04-20  0:41 Aaron Bauman
2018-02-03 18:38 Alon Bar-Lev
2018-02-01 18:42 Alon Bar-Lev
2018-01-04 17:48 Alon Bar-Lev
2017-10-12 20:01 Alon Bar-Lev
2017-10-12 18:48 Sergei Trofimovich
2017-10-09 22:48 Thomas Deutschmann
2017-10-07 13:45 Michael Palimaka
2017-04-05 17:53 Alon Bar-Lev
2017-03-25 18:11 Alon Bar-Lev
2017-03-16 19:53 Alon Bar-Lev
2017-03-16  7:28 Michael Weber
2016-09-24 19:49 Alon Bar-Lev
2016-05-08  4:13 Alon Bar-Lev
2016-03-27 17:28 Alon Bar-Lev
2016-03-27 17:28 Alon Bar-Lev
2016-03-15 18:50 Alon Bar-Lev
2016-03-11 19:53 Alon Bar-Lev
2015-09-27  9:14 Alon Bar-Lev
2015-08-31 20:45 Alon Bar-Lev

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=1645394389.f9a2656558d1ca6ddc8dba3f6c67266d40c246dc.jstein@gentoo \
    --to=jstein@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