Package Details: auto-cpufreq 2.3.0-1

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: liljaylj (parmjot, MusicalArtist12)
Last Packager: parmjot
Votes: 77
Popularity: 3.18
First Submitted: 2020-10-29 00:09 (UTC)
Last Updated: 2024-05-13 21:42 (UTC)

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

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 Next › Last »

aaronrancsik commented on 2023-10-08 14:36 (UTC) (edited on 2023-10-08 14:36 (UTC) by aaronrancsik)

hi, The gtk gui is broken in this package.

Problems:

The style.css is not installed. install -Dm755 scripts/style.css -t "$pkgdir/usr/share/$pkgname/scripts"

The site-packages/auto_cpufreq/gui/objects.py referring /usr/local/share/auto-cpufreq/scripts/style.css

But in this package it should be available like this: /usr/share/auto-cpufreq/scripts/style.css

The site-packages/auto_cpufreq/gui/objects.py, /usr/lib/python3.11/site-packages/auto_cpufreq/gui/app.py are referring /usr/share/pixmaps/auto-cpufreq/images/auto-cpufreq.png

But in this package it's available as: /usr/share/pixmaps/auto-cpufreq.png

silensys commented on 2023-09-01 11:23 (UTC) (edited on 2023-09-01 11:23 (UTC) by silensys)

Thank you @liljaylj it seems it's working now without errors:


$ 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: active (running) since Fri 2023-09-01 13:19:12 CEST; 1min 43s ago
   Main PID: 3596 (auto-cpufreq)
      Tasks: 1 (limit: 9274)
     Memory: 23.2M
        CPU: 2.048s
     CGroup: /system.slice/auto-cpufreq.service
             └─3596 /usr/bin/python /usr/bin/auto-cpufreq --daemon

sep 01 13:19:12 arch systemd[1]: Started auto-cpufreq - Automatic CPU speed & power optimizer for Linux.

liljaylj commented on 2023-08-30 20:16 (UTC)

@silensys, upstream added new command --update in this pr, which brings new runtime dependency (requests). error occurs is on this line.

fixed. could you please check if this works for you. i cannot check it myself (see first pinned comment).

thanks

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

https://github.com/AdnanHodzic/auto-cpufreq/issues/507

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