[arch-commits] Commit in powertop/trunk (3 files)

Jaroslav Lichtblau jlichtblau at archlinux.org
Tue Feb 17 19:20:46 UTC 2015


    Date: Tuesday, February 17, 2015 @ 20:20:46
  Author: jlichtblau
Revision: 127865

upgpkg: powertop 2.7-2

Added:
  powertop/trunk/powertop-autotune.patch
Modified:
  powertop/trunk/PKGBUILD
  powertop/trunk/powertop.changelog

-------------------------+
 PKGBUILD                |   20 ++++++++++++++------
 powertop-autotune.patch |    9 +++++++++
 powertop.changelog      |   12 ++++++++----
 3 files changed, 31 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-02-17 18:54:13 UTC (rev 127864)
+++ PKGBUILD	2015-02-17 19:20:46 UTC (rev 127865)
@@ -1,11 +1,11 @@
 # $Id$
-# Maintainer: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
 # Contributor: Alexander Fehr <pizzapunk gmail com>
 # Contributor: Xilon <xilonmu at gmail.com>
 
 pkgname=powertop
 pkgver=2.7
-pkgrel=1
+pkgrel=2
 pkgdesc='A tool to diagnose issues with power consumption and power management'
 arch=('i686' 'x86_64')
 url='https://01.org/powertop/'
@@ -12,11 +12,19 @@
 license=('GPL2')
 depends=('gcc-libs' 'libnl' 'ncurses' 'pciutils')
 changelog=$pkgname.changelog
-source=(https://01.org/sites/default/files/downloads/powertop/$pkgname-$pkgver.tar.gz)
-sha256sums=('8d4b1490e2baad4467c0ded3c423db4472dcbf7b2dd8f8f2a928f54047c678ca')
+source=(https://01.org/sites/default/files/downloads/powertop/$pkgname-$pkgver.tar.gz
+        $pkgname-autotune.patch)
+sha256sums=('8d4b1490e2baad4467c0ded3c423db4472dcbf7b2dd8f8f2a928f54047c678ca'
+            'ff1ae08afb4ab611d7782de8d2ea7398b8d8289e7f45f21b7327317157fa5e46')
 
+prepare() {
+  cd "${srcdir}"/$pkgname-$pkgver
+
+  patch -Np1 -i "${srcdir}"/$pkgname-autotune.patch
+}
+
 build() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd "${srcdir}"/$pkgname-$pkgver
 
 #  ./autogen.sh
   ./configure --prefix=/usr --sbindir=/usr/bin
@@ -24,7 +32,7 @@
 }
 
 package() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd "${srcdir}"/$pkgname-$pkgver
 
   make DESTDIR="${pkgdir}" install
 }

Added: powertop-autotune.patch
===================================================================
--- powertop-autotune.patch	                        (rev 0)
+++ powertop-autotune.patch	2015-02-17 19:20:46 UTC (rev 127865)
@@ -0,0 +1,9 @@
+--- a/src/devices/devfreq.cpp
++++ b/src/devices/devfreq.cpp
+@@ -247,6 +247,7 @@ void create_all_devfreq_devices(void)
+ 		fprintf(stderr, "Devfreq not enabled\n");
+ 		is_enabled = false;
+ 		closedir(dir);
++		dir = NULL;
+ 		return;
+ 	}

Modified: powertop.changelog
===================================================================
--- powertop.changelog	2015-02-17 18:54:13 UTC (rev 127864)
+++ powertop.changelog	2015-02-17 19:20:46 UTC (rev 127865)
@@ -1,20 +1,24 @@
+2015-02-17 Jaroslav Lichtblau <svetlemodry at archlinux.org>
+	* powertop 2.7-2
+	* FS#43150 fix
+
 2014-11-30 Jaroslav Lichtblau <svetlemodry at archlinux.org>
 	* powertop 2.7-1
 
-2014-05-29 Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+2014-05-29 Jaroslav Lichtblau <svetlemodry at archlinux.org>
 	* powertop 2.6.1-1
 
 2013-03-23 Evangelos Foutras <evangelos at foutrelis.com>
 	* powertop 2.3-1
 
-2013-01-05 Jaroslav Lichtblau (Dragonlord) <dragonlord at aur.archlinux.org>
+2013-01-05 Jaroslav Lichtblau (Dragonlord) <svetlemodry at archlinux.org>
 	* powertop 2.2-1
 
-2012-10-28 Jaroslav Lichtblau (Dragonlord) <dragonlord at aur.archlinux.org>
+2012-10-28 Jaroslav Lichtblau (Dragonlord) <svetlemodry at archlinux.org>
 	* powertop 2.1.1-1
 
 2012-08-22 Sébastien Luttringer (seblu) <seblu at aur.archlinux.org>
 	* powertop 2.1-1
 
-2012-05-12 Jaroslav Lichtblau (Dragonlord) <dragonlord at aur.archlinux.org>
+2012-05-12 Jaroslav Lichtblau (Dragonlord) <svetlemodry at archlinux.org>
 	* powertop 2.0-1



More information about the arch-commits mailing list