Package Details: auto-cpufreq 3.0.0-3

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: 94
Popularity: 1.16
First Submitted: 2020-10-29 00:09 (UTC)
Last Updated: 2026-01-14 03:40 (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 10 11 Next › Last »

schinfo commented on 2023-11-22 11:00 (UTC)

 

× Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [35 lines of output]
      Traceback (most recent call last):
        File "/build/auto-cpufreq/src/opt/auto-cpufreq/venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/build/auto-cpufreq/src/opt/auto-cpufreq/venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/build/auto-cpufreq/src/opt/auto-cpufreq/venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 149, in prepare_metadata_for_build_wheel
          return hook(metadata_directory, config_settings)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-ry05knle/overlay/lib/python3.11/site-packages/poetry/core/masonry/api.py", line 42, in prepare_metadata_for_build_wheel
          poetry = Factory().create_poetry(Path(".").resolve(), with_groups=False)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-ry05knle/overlay/lib/python3.11/site-packages/poetry_dynamic_versioning/patch.py", line 26, in alt_poetry_create
          name = _get_and_apply_version(
                 ^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-ry05knle/overlay/lib/python3.11/site-packages/poetry_dynamic_versioning/__init__.py", line 485, in _get_and_apply_version
          version = _get_version(config, name)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-ry05knle/overlay/lib/python3.11/site-packages/poetry_dynamic_versioning/__init__.py", line 312, in _get_version
          version = _get_version_from_dunamai(vcs, pattern, config)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-ry05knle/overlay/lib/python3.11/site-packages/poetry_dynamic_versioning/__init__.py", line 264, in _get_version_from_dunamai
          return Version.from_vcs(
                 ^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-ry05knle/overlay/lib/python3.11/site-packages/dunamai/__init__.py", line 1934, in from_vcs
          return cls._do_vcs_callback(
                 ^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-ry05knle/overlay/lib/python3.11/site-packages/dunamai/__init__.py", line 1973, in _do_vcs_callback
          return callback(**kwargs)
                 ^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-ry05knle/overlay/lib/python3.11/site-packages/dunamai/__init__.py", line 1066, in from_git
          _detect_vcs(vcs, path)
        File "/tmp/pip-build-env-ry05knle/overlay/lib/python3.11/site-packages/dunamai/__init__.py", line 355, in _detect_vcs
          raise RuntimeError(
      RuntimeError: This does not appear to be a Git project
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
==> ERROR: A failure occurred in build().
    Aborting...

MusicalArtist12 commented on 2023-11-22 02:20 (UTC) (edited on 2023-11-22 02:21 (UTC) by MusicalArtist12)

Hey, I just pushed out 2.1.0. let me know if there are any issues.

MusicalArtist12 commented on 2023-11-19 22:10 (UTC)

@liljaylj are you still looking for a co-maintainer?

aaronrancsik commented on 2023-10-28 08:55 (UTC)

@parmjot Thanks for the update! Now it works fine for me.

parmjot commented on 2023-10-25 08:10 (UTC)

@liljaylj @aaronrancsik I've pushed an update, can you please check if it works now?

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

<deleted-account> commented on 2023-09-01 11:23 (UTC)

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

<deleted-account> commented on 2023-08-24 13:06 (UTC)

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'.