I've updated this package to 4.2.0, which had some build system changes upstream. I re-did a lot of dependencies for that.
Lemme know if your encounter any pending dependency oddities.
Git Clone URL: | https://aur.archlinux.org/caffeine-ng.git (read-only, click to copy) |
---|---|
Package Base: | caffeine-ng |
Description: | Status bar application able to temporarily inhibit the screensaver and sleep mode. |
Upstream URL: | https://codeberg.org/WhyNotHugo/caffeine-ng |
Keywords: | caffeine powersaving screensaver |
Licenses: | GPL-3.0-or-later |
Conflicts: | caffeine, caffeine-bzr, caffeine-oneclick, caffeine-systray |
Provides: | caffeine, caffeine-bzr, caffeine-oneclick, caffeine-systray |
Replaces: | caffeine-oneclick, caffeine-systray |
Submitter: | whynothugo |
Maintainer: | whynothugo (darose) |
Last Packager: | darose |
Votes: | 126 |
Popularity: | 0.97 |
First Submitted: | 2014-10-19 05:26 (UTC) |
Last Updated: | 2024-09-24 00:34 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 8 .. 25 Next › Last »
I've updated this package to 4.2.0, which had some build system changes upstream. I re-did a lot of dependencies for that.
Lemme know if your encounter any pending dependency oddities.
@powwu: libappindicator-gtk3
is already an optional dependency. However, it should depend on libayatana-appindicator
as it will use that first.
Seems to require libappindicator-gtk3
(community).
cheers for that @whynothugo, I didn't manually clean build the python deps before (list from pkgbuild), and now i have a lovely steaming coffee cup! just for the sake of it, if anyone is struggling, just do the following and choose to clean build all when prompted: yay -S python-gobject python-xdg python-dbus python-click python-ewmh gtk3 libnotify python-setproctitle python-wheel python-pulsectl libindicator-gtk3 caffeine-ng
@Anarconda check which packages need to be rebuilt with
pacman -Qoq /usr/lib/python3.10/site-packages
if you use a AUR helper like yay
, then something like
yay -S $(pacman -Qoq /usr/lib/python3.10/site-packages | tr '\n' ' ')
You need to rebuild python-pulsectl too. You need to rebuild all Python packages that you've installed from the AUR.
@whynothugo, I did that, and now the following errors are shown:
Traceback (most recent call last):
File "/usr/bin/caffeine", line 33, in <module>
sys.exit(load_entry_point('caffeine-ng==4.0.2', 'gui_scripts', 'caffeine')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/bin/caffeine", line 25, in importlib_load_entry_point
return next(matches).load()
^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/metadata/init.py", line 202, in load
module = import_module(match.group('module'))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
File "<frozen importlib._bootstrap>", line 1149, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/lib/python3.11/site-packages/caffeine/cli.py", line 9, in <module>
from caffeine.main import GUI
File "/usr/lib/python3.11/site-packages/caffeine/main.py", line 44, in <module>
from caffeine.core import Caffeine # noqa: E402
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/caffeine/core.py", line 41, in <module>
from caffeine.triggers import DesiredState
File "/usr/lib/python3.11/site-packages/caffeine/triggers.py", line 11, in <module>
from pulsectl import Pulse
ModuleNotFoundError: No module named 'pulsectl'
After an upgrade to Python 3.11, you need to rebuild this package (and all Python packages in the AUR).
Not working after python 3.11 upgrades.
Pinned Comments
whynothugo commented on 2023-05-05 09:34 (UTC)
After an upgrade to Python 3.11, you need to rebuild this package (and all Python packages in the AUR).