Search Criteria
Package Details: caffeine 2.9.12-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/caffeine.git (read-only, click to copy) |
---|---|
Package Base: | caffeine |
Description: | Keep your computer awake |
Upstream URL: | https://launchpad.net/caffeine |
Licenses: | GPL-3.0-or-later |
Submitter: | micwoj92 |
Maintainer: | xiota |
Last Packager: | xiota |
Votes: | 2 |
Popularity: | 0.000005 |
First Submitted: | 2022-06-12 03:25 (UTC) |
Last Updated: | 2024-06-18 13:51 (UTC) |
Dependencies (9)
- python (python37AUR, python311AUR, python310AUR)
- python-ewmhAUR
- python-gobject
- python-setuptools
- python-xlib
- python-build (make)
- python-installer (python-installer-gitAUR) (make)
- python-wheel (make)
- libayatana-appindicator (optional) – caffeine-indicator (tray applet) support
Latest Comments
micwoj92 commented on 2022-08-02 07:21 (UTC)
Try searching that error on internet. It seems to have different solutions and I don't know your setup so unfortunately I am not able to help you.
holyArch commented on 2022-08-01 18:16 (UTC) (edited on 2022-08-01 18:20 (UTC) by holyArch)
It crashes.
Raansu commented on 2022-07-12 14:39 (UTC)
I'm using Gnome and Wayland here but it seems to be down to the use of 'xdg-screensaver'. The 'xdg-utils' Arch Linux package has 'perl-net-dbus' and 'perl-x11-protocol' listed as optdepends for 'xdg-screensaver'. It's only an issue if your system makes use of 'xdg-screensaver'
micwoj92 commented on 2022-07-12 12:10 (UTC) (edited on 2022-07-12 12:12 (UTC) by micwoj92)
I do not have this issue with indicator on my 2 pcs. I don't think that caffeine contains a single line of perl code, so I this this is highly improbable that it needs some perl modules. Maybe you are using some panel/desktop environment that uses perl for that. I have no idea, using lxde and xfce4 here, both on x11.
Also this package states optdependency on libayatana-appindicator, without it i have this error
Raansu commented on 2022-07-12 11:23 (UTC)
@micwoj92 one more issue. 'caffeine-indicator' will fail to work if 'perl-net-dbus' and 'perl-x11-protocol' are not installed. I get the following error messages without those two packages installed. I suggest they should be added as optdepends for 'caffeine-indicator'.
micwoj92 commented on 2022-07-12 10:02 (UTC)
Disregard previous comment, I'll apply your patch later today.
Raansu commented on 2022-07-12 10:01 (UTC)
I added
py_modules=[]
to setup.py per the suggestions I got out of the bug report I linked to in my previous message and that solved the issue. My patch for it is here: https://gist.github.com/ShapeShifter499/88ea14699d748530c7e948e2f6c3e12fI also let the caffeine developers know about the issue here: https://bugs.launchpad.net/caffeine/+bug/1981419
Raansu commented on 2022-07-12 09:38 (UTC) (edited on 2022-07-12 09:38 (UTC) by Raansu)
The issue seems related to this https://github.com/pypa/setuptools/issues/3197
Raansu commented on 2022-07-12 08:39 (UTC)
@micrwoj92 I'm seeing the following build error message below on two separate systems. Do you know what might be the issue?