Package Details: caffeine-ng-git 3.4.2.post22+g4ec5e87-1

Git Clone URL: https://aur.archlinux.org/caffeine-ng-git.git (read-only, click to copy)
Package Base: caffeine-ng-git
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: 13
Popularity: 0.000000
First Submitted: 2015-03-29 17:57
Last Updated: 2020-05-26 08:25

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

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

Rhinoceros commented on 2016-07-29 01:48

Fails to start with

pkg_resources.DistributionNotFound: The 'wheel>=0.24.0' distribution was not found and is required by caffeine-ng

Looks like you updated dependencies in caffeine-ng but not caffeine-ng-git?

Hzxllprkwx commented on 2016-06-15 01:49

Thanks for your answer !

Unfortunately it still not work but now I have a different output :

[hzxllprkwx@ghost caffeine_ng-3.3.4-py3.5.egg-info]$ caffeine
INFO:caffeine.core:Caffeine is starting up...

...and nothing happens. The process is stuck, I have to exit it.

Here is the complete requires.txt I have :

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

Since the last version of pyxdg is python2-xdg-0.25-3 I tried to change
pyxdg==0.25 for pyxdg>=0.25

Process still stuck

So, just in case, I tried :

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

Still stuck.

Finally tried pyxdg==0.25-3 :

Traceback (most recent call last):
File "/usr/bin/caffeine", line 5, in <module>
...blah blah blah (same as above)

Any idea ?

WhyNotHugo commented on 2016-06-14 22:29

Upstream has the requirement "setproctitle>=1.1.9". That should work with your version of setproctitle, I'm not sure why your installed package differs.

Hzxllprkwx commented on 2016-06-14 01:52

The tips below doesn't work for me :(

I updated my python-setproctitle to 1.1.10-1 and at first I got :
Caffeine is starting up... but nothing happened and I had to kill the script.

In the requires.txt I tried :
setproctitle==1.1.10-1
setproctitle>=1.1.10
setprocticle>=1.1.10-1

Now I have :

------------------------------

Traceback (most recent call last):
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 635, in _build_master
ws.require(__requires__)
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 943, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 834, in resolve
raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (setproctitle 1.1.10 (/usr/lib/python3.5/site-packages), Requirement.parse('setproctitle>=1.1.10-1'), {'caffeine-ng'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/bin/caffeine", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2927, in <module>
@_call_aside
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2913, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2940, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 637, in _build_master
return cls._build_from_requirements(__requires__)
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 650, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/usr/lib/python3.5/site-packages/pkg_resources/__init__.py", line 829, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'setproctitle>=1.1.10-1' distribution was not found and is required by caffeine-ng

------------------------------

I use the latest version (3.3.4)

Someone got à fix ?

Rhinoceros commented on 2016-05-14 12:24

Thank you. The latest version works fine for me.