summaryrefslogtreecommitdiffstats
path: root/package/powertop
Commit message (Collapse)AuthorAgeFilesLines
* powertop: needs autoreconfBaruch Siach2017-10-181-0/+2
| | | | | | | | | | | | | | | | Commit 01048deab60 (package/powertop: bump to version 2.9) removed autoreconf even though the remaining patch touches Makefile.am. Fix this. Fixes: http://autobuild.buildroot.net/results/3bf/3bf8daee559e2978f8602c56397afda771299032/ http://autobuild.buildroot.net/results/f9b/f9b4f113a333107a972fa51bd0347eeb0d52496f/ http://autobuild.buildroot.net/results/067/0675826888b6f89e76291c7835839344300ca9f5/ Cc: Romain Naour <romain.naour@gmail.com> Cc: Steven Noonan <steven@uplinklabs.net> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* powertop: use the new gettext logicThomas Petazzoni2017-07-052-7/+3
| | | | | | | | | | | | | This commit switches to use the new gettext logic, which involves: - using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies on gettext/host-gettext - using TARGET_NLS_LIBS to force linking against libintl - dropping BR2_PACKAGE_GETTEXT selection Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/powertop: bump to version 2.9Romain Naour2017-05-116-90/+3
| | | | | | | | | Remove upstream patch, so we don't need to autoreconf Rename patch 0002 -> 0001 Add POWERTOP_SOURCE to adjust to the new archive naming. Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot, linux, package: use SPDX short identifier for GPLv2/GPLv2+Rahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license strings as much as possible. SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+. This change is done by using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: Remove trailing slash from all package site URLsLuca Ceresoli2015-09-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | The recommended form is without the trailing slash, and will become mandatory in a coming commit. This avoids the need for the $$($(2)_SITE:/=) magic in package/pkg-generic.mk to avoid double slashes in download URLs, like "https://mosh.mit.edu//mosh-1.2.5.tar.gz". ^^ Note: this work has already been done in b0b9606530dfc6de4030 a few months ago and earlier in c7f4b964718bc5a3329b and 4a9eb20de817fa64, but no check has been added at that time to avoid new slashes to slip in, and so they did. This time a patch will follow immediately to prevent future mistakes from being unnoticed. Mass-replaced with the following command: git grep -l '_SITE.*/$' | xargs sed -i '/_SITE.*=/s|/$||' Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/powertop: add missing headers for muslRomain Naour2015-08-092-0/+70
| | | | | | | | | | | Reported upstream: https://github.com/fenrus75/powertop/pull/20 Fixes: http://autobuild.buildroot.net/results/713/713df99bebd625434e029abdf360574de879afa3/ Signed-off-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/powertop: depends on c++Bernd Kuhls2015-04-021-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes configure error due to missing c++ checking for library containing pthread_create... no configure: error: libpthread is required but was not found Quote from config.log: configure:21552: checking for library containing pthread_create configure:21583: false -o conftest -Os conftest.cpp -lintl >&5 [...] ac_cv_env_CXX_set=set ac_cv_env_CXX_value=false using this defconfig BR2_TOOLCHAIN_BUILDROOT_WCHAR=y BR2_PACKAGE_POWERTOP=y Please note the number of .cpp files belonging to powertop output/build/powertop-2.7$ find -iname *.cpp | wc -l 59 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/powertop: handle ncursesw properly and depend on wcharBernd Kuhls2015-04-022-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The powertop code uses some wide-char functions, so the package should depend on wide-char support. Also, when wide-char support is available, the wide-char variant of ncurses may be built, but powertop detection logic isn't quite up to the game, so we help him a little bit. Thanks to Gustavo Zacarias for doing some additional investigation and proposing the solution implemented in this patch. Fixes http://autobuild.buildroot.net/results/913/913cea22f8a8f5902d8da5f64c3fce056d66790f/ http://autobuild.buildroot.net/results/6e1/6e11fa2a7405a69c59ced046b92ff08660c4aab7/ http://autobuild.buildroot.net/results/1d3/1d3323b2afaefa7989854dbccf92015731199e66/ http://autobuild.buildroot.net/results/1e3/1e31d412d8b3a38a375ad0be8f696bee993ec297/ http://autobuild.buildroot.net/results/2ff/2ff511eb8d00b94aca68427446e2d0f6e4317a5a/ and maybe others [Thomas: - do not force select NCURSES_WCHAR, instead improve the detection logic to properly use it when available. Solution provided by Gustavo. - improve the commit log.] Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/powertop: needs gettextize, 2nd tryBernd Kuhls2015-03-271-2/+2
| | | | | | | | | | | | | | | | | | | | If host-gettext was compiled before powertop it is picked up by autoreconf which leads to a broken compile. To fix this unconditionally include host-gettext as dependency and move POWERTOP_GETTEXTIZE = YES outside the if-clause for BR2_NEEDS_GETTEXT Fixes http://autobuild.buildroot.net/results/24e/24e312271cf07a8dd966b43f153a06ddc858a786/ http://autobuild.buildroot.net/results/511/511a1c76bfd0ebf637e5abcd6fecc4d6a683ed3e/ http://autobuild.buildroot.net/results/652/65246f6f71e67c2637efbe8bb6e501750629d5fb/ and many others Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/powertop: needs gettextizeBernd Kuhls2015-03-251-0/+1
| | | | | | | | | | | Fixes http://autobuild.buildroot.net/results/8e7/8e7d1f039b57400b1a6f9c14755b35528a457031/ http://autobuild.buildroot.net/results/4e5/4e5a8f49c80c363b5fb35332e34206c9a4fe4120/ http://autobuild.buildroot.net/results/658/658e11f5b0bf3347a50a387b6271eb43c45025fb/ and many others Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* powertop: only link against -lintl when neededThomas Petazzoni2015-03-211-1/+1
| | | | | | | | | | | | BR2_PACKAGE_GETTEXT=y might be enabled even if BR2_NEEDS_GETTEXT is not set, and in this case, we should not link against libintl, because it may not exist, for example with glibc toolchains. Fixes: http://autobuild.buildroot.net/results/270/270018e2c9e3845a4015faa155325eea2cabe3d9/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* powertop: new packageSteven Noonan2015-03-205-0/+73
[Thomas: - fix commit title - powertop wants libintl unconditionally, so make sure BR2_PACKAGE_GETTEXT is selected when BR2_NEEDS_GETTEXT is set, and add gettext to the dependencies. - add missing comment about thread dependency. - add missing dependency on host-pkgconf, without which powertop cannot find libnl. - patch src/Makefile.am to not pass -fstack-protector, which fails to build if the toolchain does not have SSP support. - rename patch powertop-autotune.patch to confirm to the patch naming convention.] Signed-off-by: Steven Noonan <steven@uplinklabs.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
OpenPOWER on IntegriCloud