Package Details: caffeine-ng-git 3.4.0.post1+g710f595-1

Git Clone URL: https://aur.archlinux.org/caffeine-ng-git.git (read-only)
Package Base: caffeine-ng-git
Description: Status bar application able to temporarily inhibit the screensaver and sleep mode.
Upstream URL: https://gitlab.com/hobarrera/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: 15
Popularity: 0.000005
First Submitted: 2015-03-29 17:57
Last Updated: 2018-01-05 18:59

Pinned Comments

WhyNotHugo commented on 2017-01-08 17:23

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

Latest Comments

1 2 3 4 Next › Last »

WhyNotHugo commented on 2018-01-05 18:59

Fixed

WhyNotHugo commented on 2017-01-08 19:53

@sergey.orloff

I CLEARLY explained why your setup was broken in the previous post.

sergey.orloff commented on 2017-01-08 18:57

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:23

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 09:20

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

Matombo commented on 2016-10-06 21:19

For the tray icon bug, found the missing dependency:
it's libappindicator-gtk3 (not sure whats the difference to libindicator-gtk3)

WhyNotHugo commented on 2016-08-13 05:42

The only changes between 3.3.6 and the latest HEAD are merely packaging changes (ie: relaxing dependency versions, etc), so I'm a bit unsure at to what might have broken plasma5 integration.

I'll have to, eventually, spin up some VMs with different environments.

Rhinoceros commented on 2016-08-12 02:35

This won't build for me, but it's strange, because it built fine previously. I get the following error with pacaur:

:: caffeine-ng-git package(s) failed to install. Check .SRCINFO for mismatching data with PKGBUILD.

If I manually makepkg, I get

==> ERROR: pkgver is not allowed to contain colons, hyphens or whitespace.
==> ERROR: pkgver() generated an invalid version:

I think it's because pkgver has a trailing newline, so I replaced the second line of pkgver with

python setup.py --version | tr -d '\n'

It now builds fine (although doesn't run, with the same error as `caffeine-ng` [a]).

@maxkaspar, FWIW the previous working version, caffeine-ng 3.3.6-1 (with the workaround [a]) shows the right-click menu perfectly fine in Plasma 5 for me.

[a] https://aur.archlinux.org/packages/caffeine-ng/

maxkaspar commented on 2016-07-31 19:27

The tray icon doesn't show right-click menu in plasma 5. Is this some missing optional dependancy or plasma systray incompatibility?

wolfyrion commented on 2016-07-29 19:02

just edit
/usr/lib/python3.5/site-packages/caffeine_ng-3.3.6-py3.5.egg-info/requires.txt
as root

and add
#

as for me I got tired of all these updates and broken caffeine and I added this

#wheel>=0.24.0
#docopt==0.6.2
#ewmh>=0.1.3
#python3-xlib==0.15
#pyxdg==0.25
#setproctitle>=1.1.9

I think is working fine...