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

Jaroslav Lichtblau jlichtblau at archlinux.org
Sat May 15 16:33:23 UTC 2021


    Date: Saturday, May 15, 2021 @ 16:33:23
  Author: jlichtblau
Revision: 934719

upgpkg: powertop 2.14-1 - new upstream release

Added:
  powertop/trunk/powertop-2.14-undefined-symbol.patch
Modified:
  powertop/trunk/PKGBUILD
  powertop/trunk/powertop.changelog

--------------------------------------+
 PKGBUILD                             |   16 ++++++++++++----
 powertop-2.14-undefined-symbol.patch |   18 ++++++++++++++++++
 powertop.changelog                   |    3 +++
 3 files changed, 33 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-15 16:32:26 UTC (rev 934718)
+++ PKGBUILD	2021-05-15 16:33:23 UTC (rev 934719)
@@ -3,7 +3,7 @@
 # Contributor: Xilon <xilonmu at gmail.com>
 
 pkgname=powertop
-pkgver=2.13
+pkgver=2.14
 pkgrel=1
 pkgdesc='A tool to diagnose issues with power consumption and power management'
 arch=('x86_64')
@@ -10,12 +10,20 @@
 url='https://01.org/powertop/'
 license=('GPL2')
 depends=('gcc-libs' 'libnl' 'ncurses' 'pciutils')
-makedepends=('autoconf-archive')
+makedepends=('autoconf-archive' 'patch')
 optdepends=('xorg-xset: for the --calibrate function')
 changelog=$pkgname.changelog
-source=($pkgname-$pkgver.tar.gz::https://github.com/fenrus75/powertop/archive/v$pkgver.tar.gz)
-sha256sums=('e490c82dbfa87c98430c16151081fbe86e6f45d8be3dd8c48b89e8868dda85a1')
+source=($pkgname-$pkgver.tar.gz::https://github.com/fenrus75/powertop/archive/v$pkgver.tar.gz
+        $pkgname-$pkgver-undefined-symbol.patch)
+sha256sums=('0e4cd0933a4f1fe04bfbf9d56efaabc841d9b04d391426f1a3469d6635a25f37'
+            '02be52b5b48fb562ac27c90ac1fef3f1c94d5dba53229209bfc290c47ef274f0')
 
+prepare() {
+  cd "${srcdir}"/$pkgname-$pkgver
+# https://github.com/fenrus75/powertop/issues/84
+  patch -Np0 -i "${srcdir}"/$pkgname-$pkgver-undefined-symbol.patch
+}
+
 build() {
   cd "${srcdir}"/$pkgname-$pkgver
 

Added: powertop-2.14-undefined-symbol.patch
===================================================================
--- powertop-2.14-undefined-symbol.patch	                        (rev 0)
+++ powertop-2.14-undefined-symbol.patch	2021-05-15 16:33:23 UTC (rev 934719)
@@ -0,0 +1,18 @@
+--- configure.ac.orig	2021-04-15 01:29:13.000000000 +0200
++++ configure.ac	2021-05-15 18:21:16.651840936 +0200
+@@ -3,6 +3,7 @@
+ 
+ AC_PREREQ([2.69])
+ AC_INIT([powertop], [2.14], [powertop at lists.01.org], [], [https://01.org/powertop])
++AC_CANONICAL_TARGET
+ AM_INIT_AUTOMAKE([
+ 	-Wall
+ 	1.12.2
+@@ -37,6 +38,7 @@
+ AC_PROG_INSTALL
+ AM_PROG_CC_C_O
+ PKG_PROG_PKG_CONFIG
++AX_PTHREAD
+ 
+ # Checks for libraries.
+ 

Modified: powertop.changelog
===================================================================
--- powertop.changelog	2021-05-15 16:32:26 UTC (rev 934718)
+++ powertop.changelog	2021-05-15 16:33:23 UTC (rev 934719)
@@ -1,3 +1,6 @@
+2021-05-15 Jaroslav Lichtblau <svetlemodry at archlinux.org>
+	* powertop 2.14-1
+
 2020-07-06 Jaroslav Lichtblau <svetlemodry at archlinux.org>
 	* powertop 2.13-1
 



More information about the arch-commits mailing list