Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=c4dc3ecae65457f996a1011f5a7d4be02062578d
commit c4dc3ecae65457f996a1011f5a7d4be02062578d Author: DeX77 <[email protected]> Date: Mon Jan 2 15:53:41 2017 +0100 pm-radeon-2-2-x86_64 - remove: deprecated. DPM is way to go now diff --git a/source/xapps/pm-radeon/FrugalBuild b/source/xapps/pm-radeon/FrugalBuild deleted file mode 100644 index fb01edf..0000000 --- a/source/xapps/pm-radeon/FrugalBuild +++ /dev/null @@ -1,31 +0,0 @@ -# Compiling Time: 0 SBU -# Maintainer: James Buren <[email protected]> - -pkgname=pm-radeon -pkgver=2 -pkgrel=2 -pkgdesc="Power management for radeon video drivers using kernel KMS." -url="http://www.frugalware.org" -rodepends=('pm-utils') -groups=('xapps') -archs=("x86_64") -up2date="$pkgver" -source=($pkgname{,.sh,.service,.sleep} README.Frugalware) -backup=('etc/sysconfig/pm-radeon') -sha1sums=('240575ab45e7fc08be387372df9ef21df5cac218' \ - '975220b179384b5c33b07eca36cba51a1e832a38' \ - '03c839739cb1b496f2a825e66e00d8e42dff8447' \ - '3c39bef1cc903b06953bf316acf19b611d0d25ac' \ - '51353056e4bb303de0f3545e9d97cd4d37ea022a') -_F_cd_path='.' -_F_systemd_units=(pm-radeon=) -Finclude systemd - -build() -{ - Ffile /etc/sysconfig/$pkgname - Fexe /usr/sbin/$pkgname.sh - Ffile /lib/systemd/system/$pkgname.service - Fexe $pkgname.sleep /usr/lib/pm-utils/sleep.d/97$pkgname - Fgenscriptlet -} diff --git a/source/xapps/pm-radeon/README.Frugalware b/source/xapps/pm-radeon/README.Frugalware deleted file mode 100644 index c8eeb99..0000000 --- a/source/xapps/pm-radeon/README.Frugalware +++ /dev/null @@ -1,7 +0,0 @@ -Before you can use this package, you must edit the configuration for it in -the file `/etc/sysconfig/pm-radeon`. After you are done, run this command to -enable it at startup. - ----- -systemctl enable pm-radeon.service ----- diff --git a/source/xapps/pm-radeon/pm-radeon b/source/xapps/pm-radeon/pm-radeon deleted file mode 100644 index 65f8a16..0000000 --- a/source/xapps/pm-radeon/pm-radeon +++ /dev/null @@ -1,7 +0,0 @@ -# Set the power management method. -# Valid options: dynpm or profile -method="" - -# Set the power management profile. Only use if method is profile. -# Valid options: default, auto, low, mid, or high -profile="" diff --git a/source/xapps/pm-radeon/pm-radeon.service b/source/xapps/pm-radeon/pm-radeon.service deleted file mode 100644 index 53b22f0..0000000 --- a/source/xapps/pm-radeon/pm-radeon.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=Apply pm-radeon configuration -After=syslog.target - -[Service] -ExecStart=/usr/sbin/pm-radeon.sh -Type=oneshot -StandardOutput=syslog -RemainAfterExit=yes - -[Install] -WantedBy=multi-user.target diff --git a/source/xapps/pm-radeon/pm-radeon.sh b/source/xapps/pm-radeon/pm-radeon.sh deleted file mode 100644 index 338dca6..0000000 --- a/source/xapps/pm-radeon/pm-radeon.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh - -. /etc/sysconfig/pm-radeon - -[ -z "$method" ] && exit 1 - -[ "$method" != "profile" -a -n "$profile" ] && exit 1 - -for i in /sys/class/drm/card*/device/power_method; do - if [ -f "$i" ]; then - echo "$method" > "$i" - [ "$?" -ne "0" ] && exit 1 - fi -done - -for i in /sys/class/drm/card*/device/power_profile; do - if [ -f "$i" -a -n "$profile" ]; then - echo "$profile" > "$i" - [ "$?" -ne "0" ] && exit 1 - fi -done - -true diff --git a/source/xapps/pm-radeon/pm-radeon.sleep b/source/xapps/pm-radeon/pm-radeon.sleep deleted file mode 100644 index bc6c7a9..0000000 --- a/source/xapps/pm-radeon/pm-radeon.sleep +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -case $1 in - resume|thaw) - /usr/sbin/pm-radeon.sh - ;; - *) - ;; -esac _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
