diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2018-05-26 11:54:06 +0300 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2018-05-26 12:34:17 +0300 |
commit | cc741eb4377aae1dfd2876d25e508c99886544ab (patch) | |
tree | aa75e1e7c1d7c53d4fde8954f00ee6847f28d6d1 /app-laptop/laptop-mode-tools | |
parent | app-crypt/xca: cleanup (diff) | |
download | gentoo-cc741eb4377aae1dfd2876d25e508c99886544ab.tar.gz gentoo-cc741eb4377aae1dfd2876d25e508c99886544ab.tar.bz2 gentoo-cc741eb4377aae1dfd2876d25e508c99886544ab.zip |
app-laptop/laptop-mode-tools: cleanup
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'app-laptop/laptop-mode-tools')
3 files changed, 0 insertions, 123 deletions
diff --git a/app-laptop/laptop-mode-tools/Manifest b/app-laptop/laptop-mode-tools/Manifest index fc3446987f5e..c1a42249479b 100644 --- a/app-laptop/laptop-mode-tools/Manifest +++ b/app-laptop/laptop-mode-tools/Manifest @@ -1,2 +1 @@ -DIST laptop-mode-tools_1.71.tar.gz 118833 BLAKE2B 21e6399d35d3f35dd75e5640eb50d679de87bf40435484e0c7cb67dcd0f2a794b5f14b48e375c302ef749efc38677b8abbdacfd3612206fb0125c52b9d67a89b SHA512 67ef4ed4c80f3a64ab9f0f9003d415f9e8759fd0ee1c7a82837d423a0e7aeb03ab95724afd89ae223f954ae0baec5830c8fa600bd6e2e351aead83a656f9b665 DIST laptop-mode-tools_1.72.2.tar.gz 121437 BLAKE2B 1fdcdb88183156e4983b4561218164df5dde9fc91e85ab0ec1e6a401d3e5c5e70597a97e16c476949e80a674c34683eac6429e64e76c7921bd28f560e4ffe3cb SHA512 9a3960bad518aa73350b72ce30aeb80f3cbb1bf0fd6a11d5afe396b25c2b73f3b3d2fe7de0741eb94c9e3467c85a99741dc7acfd85339b9eb1daca09d3f8c56a diff --git a/app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.71-wireless-power.patch b/app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.71-wireless-power.patch deleted file mode 100644 index 6d39d31e738c..000000000000 --- a/app-laptop/laptop-mode-tools/files/laptop-mode-tools-1.71-wireless-power.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 3644486a9ee4fda7887fa0ecf224e66c4d12a0d2 Mon Sep 17 00:00:00 2001 -From: Ritesh Raj Sarraf <rrs@debian.org> -Date: Fri, 10 Mar 2017 14:37:03 +0530 -Subject: [PATCH] Fix correct program invocation - -Thanks: Mathias Rav -Closes: https://github.com/rickysarraf/laptop-mode-tools/issues/93 ---- - usr/share/laptop-mode-tools/modules/wireless-power | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/usr/share/laptop-mode-tools/modules/wireless-power b/usr/share/laptop-mode-tools/modules/wireless-power -index bd8277d..8800a89 100755 ---- a/usr/share/laptop-mode-tools/modules/wireless-power -+++ b/usr/share/laptop-mode-tools/modules/wireless-power -@@ -76,7 +76,7 @@ setPowerSave() { - if [ $ONOFF = "ON" ]; then - $IWCONFIG $IF txpower auto - else -- $IW dev $IF txpower fixed -+ $IWCONFIG $IF txpower fixed - fi - fi - } --- -2.13.6 - diff --git a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.71-r1.ebuild b/app-laptop/laptop-mode-tools/laptop-mode-tools-1.71-r1.ebuild deleted file mode 100644 index a3b12eff10bc..000000000000 --- a/app-laptop/laptop-mode-tools/laptop-mode-tools-1.71-r1.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit multilib systemd 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 - acpi? ( sys-power/acpid ) - apm? ( sys-apps/apmd ) - bluetooth? ( net-wireless/bluez:= )" -DEPEND="" - -S="${WORKDIR}/${MY_P}" - -PATCHES=( - "${FILESDIR}/${P}-wireless-power.patch" -) - -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() { - 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 -} |