[arch-commits] Commit in tlp/trunk (PKGBUILD tlp-arch.patch)

Maxime Gauduin alucryd at archlinux.org
Sun Feb 1 14:53:03 UTC 2015


    Date: Sunday, February 1, 2015 @ 15:53:01
  Author: alucryd
Revision: 126935

upgpkg: tlp 0.7-1

Modified:
  tlp/trunk/PKGBUILD
  tlp/trunk/tlp-arch.patch

----------------+
 PKGBUILD       |   32 ++++++++++++++++----------------
 tlp-arch.patch |   22 +++++++++++-----------
 2 files changed, 27 insertions(+), 27 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-02-01 10:29:12 UTC (rev 126934)
+++ PKGBUILD	2015-02-01 14:53:01 UTC (rev 126935)
@@ -4,7 +4,7 @@
 
 pkgbase=tlp
 pkgname=('tlp' 'tlp-rdw')
-pkgver=0.6
+pkgver=0.7
 pkgrel=1
 arch=('any')
 url='http://linrunner.de/en/tlp/docs/tlp-linux-advanced-power-management.html'
@@ -11,8 +11,8 @@
 license=('GPL2' 'GPL3')
 source=("https://github.com/linrunner/TLP/archive/${pkgver}.tar.gz"
         'tlp-arch.patch')
-sha256sums=('31d05d249aa83a6e43e94cee9f307f37c59934bbf7a37a87adf05cf74073cfe5'
-            'd240143cde75c2d6edf09e001459e79e49652934f5b02ed0174f99e8fe4eabce')
+sha256sums=('bd313f478f897a658f2ca7db9665b8ce6796431b952f7df9aa80e59072cea4ea'
+            '836a07ebb222d7d696ac33d8596a9b129debb70793bb4dbb6283ce8311ea303c')
 
 prepare() {
   cd TLP-${pkgver}
@@ -21,17 +21,16 @@
 }
 
 package_tlp() {
-pkgdesc='Linux Advanced Power Management'
-depends=('bash' 'hdparm' 'perl' 'rfkill' 'util-linux' 'wireless_tools')
-optdepends=('acpi_call: Sandy Bridge and newer ThinkPad battery functions'
-            'acpid: ThinkPad wireless radio switch'
-            'ethtool: Disable Wake On Lan'
-            'iw: Wifi power save'
-            'lsb-release: Display LSB release version in tlp-stat'
-            'smartmontools: Display S.M.A.R.T. data in tlp-stat'
-            'tp_smapi: ThinkPad battery functions')
-conflicts=('laptop-mode-tools' 'pm-utils')
-backup=('etc/default/tlp')
+  pkgdesc='Linux Advanced Power Management'
+  depends=('hdparm' 'iw' 'pciutils' 'rfkill' 'usbutils' 'util-linux')
+  optdepends=('acpi_call: Sandy Bridge and newer ThinkPad battery functions'
+              'ethtool: Disable Wake On Lan'
+              'lsb-release: Display LSB release version in tlp-stat'
+              'smartmontools: Display S.M.A.R.T. data in tlp-stat'
+              'tp_smapi: ThinkPad battery functions'
+              'x86_energy_perf_policy: Set energy versus performance policy on x86 processors')
+  conflicts=('laptop-mode-tools' 'pm-utils')
+  backup=('etc/default/tlp')
 
   cd TLP-${pkgver}
 
@@ -41,6 +40,7 @@
   export TLP_NO_INIT='1'
   export TLP_NO_PMUTILS='1'
   export TLP_WITH_SYSTEMD='1'
+
   make DESTDIR="${pkgdir}" install-tlp
 
   install -dm 755 "${pkgdir}"/usr/share/man/man{1,8}
@@ -49,8 +49,8 @@
 }
 
 package_tlp-rdw() {
-pkgdesc='Linux Advanced Power Management - Radio Device Wizard'
-depends=('networkmanager' 'tlp')
+  pkgdesc='Linux Advanced Power Management - Radio Device Wizard'
+  depends=('networkmanager' 'tlp')
 
   cd TLP-${pkgver}
 

Modified: tlp-arch.patch
===================================================================
--- tlp-arch.patch	2015-02-01 10:29:12 UTC (rev 126934)
+++ tlp-arch.patch	2015-02-01 14:53:01 UTC (rev 126935)
@@ -1,6 +1,6 @@
-diff -rupN TLP-0.4.1.orig/tlp.rules TLP-0.4.1/tlp.rules
---- TLP-0.4.1.orig/tlp.rules	2014-01-02 17:48:08.000000000 +0100
-+++ TLP-0.4.1/tlp.rules	2014-01-27 11:16:06.231719068 +0100
+diff -rupN tlp.orig/tlp.rules tlp/tlp.rules
+--- tlp.orig/tlp.rules	2015-01-10 02:43:33.341388989 +0100
++++ tlp/tlp.rules	2015-01-10 02:45:33.361390081 +0100
 @@ -4,7 +4,7 @@
  # This software is licensed under the GPL v2 or later.
  
@@ -8,15 +8,15 @@
 -ACTION=="change", SUBSYSTEM=="power_supply", ATTR{type}=="Mains", RUN+="/usr/sbin/tlp auto"
 +ACTION=="change", SUBSYSTEM=="power_supply", ATTR{type}=="Mains", RUN+="/usr/bin/tlp auto"
  
- # handle added usb devices (exclude subdevices)
+ # handle added usb devices (exclude subdevices via DRIVER=="USB")
 -ACTION=="add", SUBSYSTEM=="usb", DRIVER=="usb", ENV{DEVTYPE}=="usb_device", RUN+="/lib/udev/tlp-usb-udev %p"
 +ACTION=="add", SUBSYSTEM=="usb", DRIVER=="usb", ENV{DEVTYPE}=="usb_device", RUN+="/usr/lib/udev/tlp-usb-udev %p"
-diff -rupN TLP-0.4.1.orig/tlp.service TLP-0.4.1/tlp.service
---- TLP-0.4.1.orig/tlp.service	2014-01-02 17:48:08.000000000 +0100
-+++ TLP-0.4.1/tlp.service	2014-01-27 11:13:34.737140892 +0100
+diff -rupN tlp.orig/tlp.service tlp/tlp.service
+--- tlp.orig/tlp.service	2015-01-10 02:43:33.341388989 +0100
++++ tlp/tlp.service	2015-01-10 02:43:48.678055785 +0100
 @@ -11,8 +11,8 @@ Before=shutdown.target
  [Service]
- Type=oneshot
+ Type=simple
  RemainAfterExit=yes
 -ExecStart=/usr/sbin/tlp init start
 -ExecStop=/usr/sbin/tlp init stop
@@ -25,9 +25,9 @@
  
  [Install]
  WantedBy=multi-user.target
-diff -rupN TLP-0.4.1.orig/tlp-sleep.service TLP-0.4.1/tlp-sleep.service
---- TLP-0.4.1.orig/tlp-sleep.service	2014-01-02 17:48:08.000000000 +0100
-+++ TLP-0.4.1/tlp-sleep.service	2014-01-27 11:16:53.463600400 +0100
+diff -rupN tlp.orig/tlp-sleep.service tlp/tlp-sleep.service
+--- tlp.orig/tlp-sleep.service	2015-01-10 02:43:33.341388989 +0100
++++ tlp/tlp-sleep.service	2015-01-10 02:43:48.678055785 +0100
 @@ -11,8 +11,8 @@ StopWhenUnneeded=yes
  [Service]
  Type=oneshot



More information about the arch-commits mailing list