Package Details: caffeine-ng 3.4.2-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://github.com/caffeine-ng/caffeine-ng
Keywords: caffeine powersaving screensaver
Licenses: GPL3
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
Last Packager: WhyNotHugo
Votes: 100
Popularity: 0.43
First Submitted: 2014-10-19 05:26
Last Updated: 2018-08-06 20:34

Latest Comments

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

WhyNotHugo commented on 2017-01-18 06:27

> 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

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

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

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

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

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

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

zwastik commented on 2017-01-08 12:28

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

Please check which version of python-ewmh is installed.

sergey.orloff commented on 2017-01-08 09:15

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 ~]$