Package Details: caffeine-ng 4.2.0-2

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: 124
Popularity: 1.55
First Submitted: 2014-10-19 05:26 (UTC)
Last Updated: 2024-09-24 00:34 (UTC)

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

Latest Comments

« First ‹ Previous 1 .. 7 8 9 10 11 12 13 14 15 16 17 .. 25 Next › Last »

whynothugo commented on 2017-01-18 06:27 (UTC)

> why don't you just bump the revision if you realize that a rebuild is necessary? A rebuild of dependencies is necessary only for users with broken setups. Pushing the pkgrel won't rebuild dependencies, and would trigger rebuilds for users who don't need it.

PhotonX commented on 2017-01-17 21:39 (UTC)

Makepkg reports: WARNING: Package contains reference to $srcdir. Check https://wiki.archlinux.org/index.php/makepkg#WARNING:_Package_contains_reference_to_.24srcdir Also, why don't you just bump the revision if you realize that a rebuild is necessary?

whynothugo commented on 2017-01-08 19:54 (UTC)

sergey.orloff: Please understand that that specific command fixed YOUR broken setup, and it's not a universal fix.

sergey.orloff commented on 2017-01-08 18:55 (UTC) (edited on 2017-01-08 19:00 (UTC) by sergey.orloff)

A big thank you to @hobarrera! Hi all! Helped here it is: sudo pacman -R python-ewmh python-xlib caffeine-ng && sudo pacman -S python-docopt python-setproctitle python-wheel python-xlib && yaourt -S python-ewmh caffeine-ng

whynothugo commented on 2017-01-08 17:25 (UTC) (edited on 2017-01-08 17:25 (UTC) by whynothugo)

Note that python-ewmh is at 0.1.6-1 anyway, so merely upgrading should fix the issue (because it'll rebuild).

whynothugo commented on 2017-01-08 17:24 (UTC) (edited on 2017-01-08 17:26 (UTC) by whynothugo)

If you see an error like: pkg_resources.DistributionNotFound: The 'XXXXXXXX' distribution was not found and is required by caffeine-ng Then you probably need to rebuild and reinstall packages build with python3.5 (due to the recent python3.6 upgrade). You can find a list of these packages running this command: pacman -Qo /usr/lib/python3.5

sergey.orloff commented on 2017-01-08 14:38 (UTC)

Hello @PhotonX! Installed this version: pacman -Q python-ewmh python-ewmh 0.1.4-2

zwastik commented on 2017-01-08 12:28 (UTC)

Same problem here: File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 849, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'ewmh=0.1.4' distribution was not found and is required by caffeine-ng aur/python-ewmh 0.1.6-1 [installed] (31) (2.36)

PhotonX commented on 2017-01-08 10:46 (UTC)

Please check which version of python-ewmh is installed.

sergey.orloff commented on 2017-01-08 09:15 (UTC) (edited on 2017-01-08 09:16 (UTC) by sergey.orloff)

Recently not working Caffeine. Here's the terminal output: [sergey@p43es3g ~]$ caffeine Traceback (most recent call last): File "/usr/bin/caffeine", line 6, in <module> from pkg_resources import load_entry_point File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3019, in <module> @_call_aside File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3003, in _call_aside f(*args, **kwargs) File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3032, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 655, in _build_master ws.require(__requires__) File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 963, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 849, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'ewmh>=0.1.4' distribution was not found and is required by caffeine-ng [sergey@p43es3g ~]$