Search Criteria
Package Details: auto-cpufreq 2.5.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/auto-cpufreq.git (read-only, click to copy) |
---|---|
Package Base: | auto-cpufreq |
Description: | Automatic CPU speed & power optimizer |
Upstream URL: | https://github.com/AdnanHodzic/auto-cpufreq |
Licenses: | LGPL-3.0-or-later |
Submitter: | liljaylj |
Maintainer: | parmjot (MusicalArtist12) |
Last Packager: | parmjot |
Votes: | 83 |
Popularity: | 1.37 |
First Submitted: | 2020-10-29 00:09 (UTC) |
Last Updated: | 2025-01-29 03:15 (UTC) |
Dependencies (16)
- dmidecode (dmidecode-gitAUR)
- gobject-introspection
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classic-xfceAUR, gtk3-patched-filechooser-icon-viewAUR, gtk3-classicAUR)
- python (python37AUR, python311AUR, python310AUR)
- python-click
- python-distro
- python-gobject
- python-psutil
- python-pyinotify
- python-requests
- python-setuptools
- python-build (make)
- python-installer (make)
- python-poetry-core (python-poetry-core-gitAUR) (make)
- python-poetry-dynamic-versioning (make)
- python-wheel (make)
Required by (0)
Sources (4)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 Next › Last »
liljaylj commented on 2023-08-30 20:16 (UTC)
silensys commented on 2023-08-24 13:06 (UTC) (edited on 2023-08-24 13:19 (UTC) by silensys)
Something is not quite right (tested on both Arch rolling 6.4.11-arch2-1 and 6.1.46-1-lts):
$ systemctl status auto-cpufreq.service
× auto-cpufreq.service - auto-cpufreq - Automatic CPU speed & power optimizer for Linux
Loaded: loaded (/usr/lib/systemd/system/auto-cpufreq.service; enabled; preset: disabled)
Active: failed (Result: exit-code) since Thu 2023-08-24 14:57:12 CEST; 13s ago
Duration: 233ms
Process: 8523 ExecStart=/usr/bin/auto-cpufreq --daemon (code=exited, status=1/FAILURE)
Main PID: 8523 (code=exited, status=1/FAILURE)
CPU: 225ms
aug 24 14:57:11 ArchLinux systemd[1]: Started auto-cpufreq - Automatic CPU speed & power optimizer for Linux.
aug 24 14:57:12 ArchLinux auto-cpufreq[8523]: Traceback (most recent call last):
aug 24 14:57:12 ArchLinux auto-cpufreq[8523]: File "/usr/bin/auto-cpufreq", line 14, in <module>
aug 24 14:57:12 ArchLinux auto-cpufreq[8523]: from auto_cpufreq.core import *
aug 24 14:57:12 ArchLinux auto-cpufreq[8523]: File "/usr/lib/python3.11/site-packages/auto_cpufreq/core.py", line 21, in <module>
aug 24 14:57:12 ArchLinux auto-cpufreq[8523]: import requests
aug 24 14:57:12 ArchLinux auto-cpufreq[8523]: ModuleNotFoundError: No module named 'requests'
aug 24 14:57:12 ArchLinux systemd[1]: auto-cpufreq.service: Main process exited, code=exited, status=1/FAILURE
aug 24 14:57:12 ArchLinux systemd[1]: auto-cpufreq.service: Failed with result 'exit-code'.
liljaylj commented on 2023-06-11 07:17 (UTC)
hi everyone! co-mantainer wanted!
i don't use this software for the time being. therefore i now have less competence to test and ensure this package is working.
leave a comment below if you will to become co-maintainer, thanks!
zeGolem commented on 2023-06-10 23:54 (UTC) (edited on 2023-06-10 23:54 (UTC) by zeGolem)
hi, the current version is broken. the following patch worked on my system to update to the latest version:
diff --git a/.SRCINFO b/.SRCINFO
index c25489c..7356db5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = auto-cpufreq
pkgdesc = Automatic CPU speed & power optimizer
- pkgver = 1.9.7
+ pkgver = 1.9.8
pkgrel = 2
url = https://github.com/AdnanHodzic/auto-cpufreq
install = auto-cpufreq.install
@@ -16,9 +16,9 @@ pkgbase = auto-cpufreq
optdepends = cpufreqctl: CPU Power Manager
optdepends = gnome-shell-extension-cpufreq: CPU Power Manager for GNOME Shell
optdepends = thermald: recommended to have running alongside by upstream
- source = auto-cpufreq-1.9.7.tar.gz::https://github.com/AdnanHodzic/auto-cpufreq/archive/v1.9.7.tar.gz
+ source = auto-cpufreq-1.9.8.tar.gz::https://github.com/AdnanHodzic/auto-cpufreq/archive/v1.9.8.tar.gz
source = auto-cpufreq.service
- b2sums = 77355e2e101204c66d28b082bd2dc20b706ca3880ff888c3b9325475e3cff6ad9631c04e1be059f4644bccc25b6c5d256aa13f4009c494bdc41adcee695a82d8
+ b2sums = SKIP
b2sums = 90d9a6e0a86d01803527462e0ed0ce93d04d245c2c99ab773f31e1eb46dd86b209f98af50967bbdb6627563b0aae0ca4bbc861c812576a243b07c40a483c37db
pkgname = auto-cpufreq
diff --git a/PKGBUILD b/PKGBUILD
index e7893a6..9c3d60a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Zhanibek Adilbekov <zhanibek.adilbekov@pm.me>
pkgname=auto-cpufreq
-pkgver=1.9.7
+pkgver=1.9.8
pkgrel=2
pkgdesc="Automatic CPU speed & power optimizer"
arch=('any')
@@ -15,7 +15,7 @@ optdepends=(
makedepends=('python-pip' 'python-wheel')
install="$pkgname.install"
source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz" "$pkgname.service")
-b2sums=('77355e2e101204c66d28b082bd2dc20b706ca3880ff888c3b9325475e3cff6ad9631c04e1be059f4644bccc25b6c5d256aa13f4009c494bdc41adcee695a82d8'
+b2sums=('SKIP'
'90d9a6e0a86d01803527462e0ed0ce93d04d245c2c99ab773f31e1eb46dd86b209f98af50967bbdb6627563b0aae0ca4bbc861c812576a243b07c40a483c37db')
prepare() {
ssnailz commented on 2023-05-05 06:50 (UTC)
hello
the aur package seems to have stopped working
i created a bug report on auto-cpufreq github
liljaylj commented on 2023-02-21 16:39 (UTC)
@freddyg, cannot reproduce in clean chroot (using extra-x86_64-build
command)
also, according to last lines of the log you attached, you should write this post to the author of the auto-cpufreq-**git**
package =)
...
error: failed to build 'auto-cpufreq-git-1.9.6.r3.gff72e1e-2': error: packages failed to build: auto-cpufreq-git-1.9.6.r3.gff72e1e-2
liljaylj commented on 2023-02-21 16:34 (UTC)
@ssnailz, sorry for late response. please refer to pinned comment
@coxe87b you don't need to --install daemon manually, this package contains systemd service already. instead, you need to start and enable service using: systemctl enable --now auto-cpufreq.service
freddyg commented on 2023-02-20 05:23 (UTC) (edited on 2023-02-20 05:28 (UTC) by freddyg)
Fails to build for me at the moment.
==> Starting build()...
/usr/lib/python3.10/site-packages/setuptools/init.py:85: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try pip install --use-pep517.
dist.fetch_build_eggs(dist.setup_requires)
It is possible a package already installed in your system
contains an version that is invalid according to PEP 440.
You can try pip install --use-pep517
as a workaround for this problem,
or rely on a new virtual environment.
If the problem refers to a package that is not installed yet,
please contact that package's maintainers or distributors.
Traceback (most recent call last):
File "/home/freddyforgetti/.cache/paru/clone/auto-cpufreq-git/src/auto-cpufreq/setup.py", line 18, in <module>
setup(
File "/usr/lib/python3.10/site-packages/setuptools/init.py", line 107, in setup
_install_setup_requires(attrs)
File "/usr/lib/python3.10/site-packages/setuptools/init.py", line 80, in _install_setup_requires
_fetch_build_eggs(dist)
File "/usr/lib/python3.10/site-packages/setuptools/init.py", line 85, in _fetch_build_eggs
dist.fetch_build_eggs(dist.setup_requires)
File "/usr/lib/python3.10/site-packages/setuptools/dist.py", line 894, in fetch_build_eggs
return _fetch_build_eggs(self, requires)
File "/usr/lib/python3.10/site-packages/setuptools/installer.py", line 39, in _fetch_build_eggs
resolved_dists = pkg_resources.working_set.resolve(
File "/usr/lib/python3.10/site-packages/pkg_resources/init.py", line 815, in resolve
dist = self._resolve_dist(
File "/usr/lib/python3.10/site-packages/pkg_resources/init.py", line 844, in _resolve_dist
env = Environment(self.entries)
File "/usr/lib/python3.10/site-packages/pkg_resources/init.py", line 1044, in init
self.scan(search_path)
File "/usr/lib/python3.10/site-packages/pkg_resources/init.py", line 1077, in scan
self.add(dist)
File "/usr/lib/python3.10/site-packages/pkg_resources/init.py", line 1096, in add
dists.sort(key=operator.attrgetter('hashcmp'), reverse=True)
File "/usr/lib/python3.10/site-packages/pkg_resources/init.py", line 2639, in hashcmp
self.parsed_version,
File "/usr/lib/python3.10/site-packages/pkg_resources/init.py", line 2693, in parsed_version
raise packaging.version.InvalidVersion(f"{str(ex)} {info}") from None
packaging.version.InvalidVersion: Invalid version: 'git-archive.dev8b63d73a17' (package: scapy)
==> ERROR: A failure occurred in build().
Aborting...
error: failed to build 'auto-cpufreq-git-1.9.6.r3.gff72e1e-2':
error: packages failed to build: auto-cpufreq-git-1.9.6.r3.gff72e1e-2
ssnailz commented on 2023-01-27 17:29 (UTC) (edited on 2023-01-27 17:34 (UTC) by ssnailz)
hello auto-cpufreq isnt installing please help
> yay -S auto-cpufreq
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:1] auto-cpufreq-1.9.7-1
1 auto-cpufreq (Installed) (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> a
:: Deleting (1/1): /home/ssnailz/.cache/yay/auto-cpufreq
:: (1/1) Downloaded PKGBUILD: auto-cpufreq
1 auto-cpufreq (Installed) (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> a
diff --git /home/ssnailz/.cache/yay/auto-cpufreq/.gitignore /home/ssnailz/.cache/yay/auto-cpufreq/.gitignore
new file mode 100644
index 0000000..8b64e8b
--- /dev/null
+++ /home/ssnailz/.cache/yay/auto-cpufreq/.gitignore
@@ -0,0 +1,36 @@
+*.tar
+*.tar.*
+*.jar
+*.exe
+*.msi
+*.zip
+*.tgz
+*.log
+*.log.*
+*.sig
+
+pkg/
+src/
+
+*.crt
+
+### Vim ###
+# Swap
+[._]*.s[a-v][a-z]
+!*.svg # comment out if you don't need vector files
+[._]*.sw[a-p]
+[._]s[a-rt-v][a-z]
+[._]ss[a-gi-z]
+[._]sw[a-p]
+
+# Session
+Session.vim
+Sessionx.vim
+
+# Temporary
+.netrwhist
+*~
+# Auto-generated tag files
+tags
:: Proceed with install? [Y/n] y
:: (1/1) Parsing SRCINFO: auto-cpufreq
==> Making package: auto-cpufreq 1.9.7-1 (Friday 27 January 2023 11:01:28 PM)
==> Retrieving sources...
-> Downloading auto-cpufreq-1.9.7.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
100 29349 0 29349 0 0 5707 0 --:--:-- 0:00:05 --:--:-- 11210
-> Found auto-cpufreq.service
==> Validating source files with b2sums...
auto-cpufreq-1.9.7.tar.gz ... Passed
auto-cpufreq.service ... Passed
==> Making package: auto-cpufreq 1.9.7-1 (Friday 27 January 2023 11:01:34 PM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found auto-cpufreq-1.9.7.tar.gz
-> Found auto-cpufreq.service
==> Validating source files with b2sums...
auto-cpufreq-1.9.7.tar.gz ... Passed
auto-cpufreq.service ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting auto-cpufreq-1.9.7.tar.gz with bsdtar
==> Starting prepare()...
==> Sources are ready.
==> Making package: auto-cpufreq 1.9.7-1 (Friday 27 January 2023 11:01:35 PM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
/home/ssnailz/.local/lib/python3.10/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
warnings.warn(
running build
running build_py
creating build
creating build/lib
creating build/lib/auto_cpufreq
copying auto_cpufreq/tlp_stat_parser.py -> build/lib/auto_cpufreq
copying auto_cpufreq/core.py -> build/lib/auto_cpufreq
copying auto_cpufreq/__init__.py -> build/lib/auto_cpufreq
copying auto_cpufreq/power_helper.py -> build/lib/auto_cpufreq
running egg_info
creating auto_cpufreq.egg-info
writing auto_cpufreq.egg-info/PKG-INFO
writing dependency_links to auto_cpufreq.egg-info/dependency_links.txt
writing requirements to auto_cpufreq.egg-info/requires.txt
writing top-level names to auto_cpufreq.egg-info/top_level.txt
writing manifest file 'auto_cpufreq.egg-info/SOURCES.txt'
reading manifest file 'auto_cpufreq.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'auto_cpufreq.egg-info/SOURCES.txt'
running build_scripts
creating build/scripts-3.10
copying and adjusting bin/auto-cpufreq -> build/scripts-3.10
changing mode of build/scripts-3.10/auto-cpufreq from 644 to 755
==> Entering fakeroot environment...
==> Starting package()...
/home/ssnailz/.local/lib/python3.10/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
warnings.warn(
running install
/home/ssnailz/.local/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running install_lib
creating /home/ssnailz/.cache/yay/auto-cpufreq/pkg/auto-cpufreq/usr
creating /home/ssnailz/.cache/yay/auto-cpufreq/pkg/auto-cpufreq/usr/lib
creating /home/ssnailz/.cache/yay/auto-cpufreq/pkg/auto-cpufreq/usr/lib/python3.10
creating /home/ssnailz/.cache/yay/auto-cpufreq/pkg/auto-cpufreq/usr/lib/python3.10/site-packages
creating /home/ssnailz/.cache/yay/auto-cpufreq/pkg/auto-cpufreq/usr/lib/python3.10/site-packages/auto_cpufreq
copying build/lib/auto_cpufreq/tlp_stat_parser.py -> /home/ssnailz/.cache/yay/auto-cpufreq/pkg/auto-cpufreq/usr/lib/python3.10/site-packages/auto_cpufreq
copying build/lib/auto_cpufreq/core.py -> /home/ssnailz/.cache/yay/auto-cpufreq/pkg/auto-cpufreq/usr/lib/python3.10/site-packages/auto_cpufreq
copying build/lib/auto_cpufreq/__init__.py -> /home/ssnailz/.cache/yay/auto-cpufreq/pkg/auto-cpufreq/usr/lib/python3.10/site-packages/auto_cpufreq
copying build/lib/auto_cpufreq/power_helper.py -> /home/ssnailz/.cache/yay/auto-cpufreq/pkg/auto-cpufreq/usr/lib/python3.10/site-packages/auto_cpufreq
byte-compiling /home/ssnailz/.cache/yay/auto-cpufreq/pkg/auto-cpufreq/usr/lib/python3.10/site-packages/auto_cpufreq/tlp_stat_parser.py to tlp_stat_parser.cpython-310.pyc
byte-compiling /home/ssnailz/.cache/yay/auto-cpufreq/pkg/auto-cpufreq/usr/lib/python3.10/site-packages/auto_cpufreq/core.py to core.cpython-310.pyc
byte-compiling /home/ssnailz/.cache/yay/auto-cpufreq/pkg/auto-cpufreq/usr/lib/python3.10/site-packages/auto_cpufreq/__init__.py to __init__.cpython-310.pyc
byte-compiling /home/ssnailz/.cache/yay/auto-cpufreq/pkg/auto-cpufreq/usr/lib/python3.10/site-packages/auto_cpufreq/power_helper.py to power_helper.cpython-310.pyc
writing byte-compilation script '/tmp/tmpj9c_pq9o.py'
/usr/bin/python /tmp/tmpj9c_pq9o.py
removing /tmp/tmpj9c_pq9o.py
running install_egg_info
running egg_info
writing auto_cpufreq.egg-info/PKG-INFO
writing dependency_links to auto_cpufreq.egg-info/dependency_links.txt
writing requirements to auto_cpufreq.egg-info/requires.txt
writing top-level names to auto_cpufreq.egg-info/top_level.txt
reading manifest file 'auto_cpufreq.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'auto_cpufreq.egg-info/SOURCES.txt'
Copying auto_cpufreq.egg-info to /home/ssnailz/.cache/yay/auto-cpufreq/pkg/auto-cpufreq/usr/lib/python3.10/site-packages/auto_cpufreq-1.9.7-py3.10.egg-info
running install_scripts
creating /home/ssnailz/.cache/yay/auto-cpufreq/pkg/auto-cpufreq/usr/bin
copying build/scripts-3.10/auto-cpufreq -> /home/ssnailz/.cache/yay/auto-cpufreq/pkg/auto-cpufreq/usr/bin
changing mode of /home/ssnailz/.cache/yay/auto-cpufreq/pkg/auto-cpufreq/usr/bin/auto-cpufreq to 755
==> Tidying install...
-> Removing libtool files...
-> Purging unwanted files...
-> Removing static library files...
-> Stripping unneeded symbols from binaries and libraries...
-> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "auto-cpufreq"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Adding install file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: auto-cpufreq 1.9.7-1 (Friday 27 January 2023 11:01:45 PM)
==> Cleaning up...
[sudo] password for ssnailz:
loading packages...
warning: auto-cpufreq-1.9.7-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (1) auto-cpufreq-1.9.7-1
Total Installed Size: 0.18 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [####################################] 100%
(1/1) checking package integrity [####################################] 100%
(1/1) loading package files [####################################] 100%
(1/1) checking for file conflicts [####################################] 100%
(1/1) checking available disk space [####################################] 100%
:: Processing package changes...
(1/1) reinstalling auto-cpufreq [####################################] 100%
Reload systemd manager configuration:
systemctl daemon-reload
Restart auto-cpufreq daemon service:
systemctl restart auto-cpufreq
:: Running post-transaction hooks...
(1/2) Reloading system manager configuration...
(2/2) Arming ConditionNeedsUpdate...
[I] [23:01:52] ssnailz@ssnailz /home/ssnailz
> sudo auto-cpufreq --install
--------------------- Deploying auto-cpufreq as a daemon ----------------------
* Turn off bluetooth on boot [skipping] (package providing bluetooth access is not present)
* Deploy auto-cpufreq install script
Traceback (most recent call last):
File "/usr/bin/auto-cpufreq", line 226, in <module>
main()
File "/usr/lib/python3.10/site-packages/click/core.py", line 1130, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python3.10/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/usr/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3.10/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/usr/bin/auto-cpufreq", line 203, in main
deploy_daemon()
File "/usr/lib/python3.10/site-packages/auto_cpufreq/core.py", line 357, in deploy_daemon
shutil.copy(SCRIPTS_DIR / "auto-cpufreq-install.sh", "/usr/bin/auto-cpufreq-install")
File "/usr/lib/python3.10/shutil.py", line 417, in copy
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "/usr/lib/python3.10/shutil.py", line 254, in copyfile
with open(src, 'rb') as fsrc:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/share/auto-cpufreq/scripts/auto-cpufreq-install.sh'
PROBUBBLE01 commented on 2023-01-05 13:19 (UTC) (edited on 2023-01-05 13:23 (UTC) by PROBUBBLE01)
python-setuptools
doesn't seem to an optional dependency, or depedency of python setuptools is a required dependency of this package.Running sudo pacman -Rns python-setuptools
makes auto-cpufreq stop working. Initially observed when remove make dependencies after install option was used.
Pinned Comments
liljaylj commented on 2021-06-03 12:13 (UTC)
@coxe87b you don't need to --install daemon manually, this package contains systemd service already. instead, you need to start and enable service using:
systemctl enable --now auto-cpufreq.service