diff --git a/hardware/powermanagement/powertop/actions.py b/hardware/powermanagement/powertop/actions.py index 4c277f82ab..66a4709f4b 100755 --- a/hardware/powermanagement/powertop/actions.py +++ b/hardware/powermanagement/powertop/actions.py @@ -11,7 +11,7 @@ from pisi.actionsapi import libtools from pisi.actionsapi import get def setup(): - shelltools.system("sed -i 's:RUN-VERSION-SCRIPT-IN-GIT-REPOSITORY-ONLY:v2.11:' scripts/version") + #shelltools.system("sed -i 's:RUN-VERSION-SCRIPT-IN-GIT-REPOSITORY-ONLY:v2.11:' scripts/version") shelltools.system("./autogen.sh") autotools.configure() @@ -25,4 +25,4 @@ def build(): def install(): autotools.rawInstall('DESTDIR=%s' % get.installDIR()) - pisitools.dodoc('COPYING', 'TODO', 'README') + pisitools.dodoc('COPYING', 'TODO', 'README*') diff --git a/hardware/powermanagement/powertop/files/powertop-2.14-undefined-symbol.patch b/hardware/powermanagement/powertop/files/powertop-2.14-undefined-symbol.patch new file mode 100644 index 0000000000..dc5ae93c60 --- /dev/null +++ b/hardware/powermanagement/powertop/files/powertop-2.14-undefined-symbol.patch @@ -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@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. + diff --git a/hardware/powermanagement/powertop/pspec.xml b/hardware/powermanagement/powertop/pspec.xml index b222c2cf6f..b40474cd8d 100755 --- a/hardware/powermanagement/powertop/pspec.xml +++ b/hardware/powermanagement/powertop/pspec.xml @@ -12,14 +12,14 @@ app:console Power consumption monitor PowerTOP is a Linux tool that finds the software component(s) that make your computer use more power than necessary while it is idle. - https://github.com/fenrus75/powertop/archive/v2.11.tar.gz + https://github.com/fenrus75/powertop/archive/v2.14.tar.gz libnl-devel ncurses-devel pciutils-devel - + powertop-2.14-undefined-symbol.patch @@ -43,6 +43,13 @@ + + 2021-07-28 + 2.14 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + 2020-03-02 2.11