Updated checksum. Thanks for the notification and the kind words. :)
Search Criteria
Package Details: caffeine-ng 4.2.0-2
Package Actions
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: | 125 |
Popularity: | 1.40 |
First Submitted: | 2014-10-19 05:26 (UTC) |
Last Updated: | 2024-09-24 00:34 (UTC) |
Dependencies (16)
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classicAUR, gtk3-classic-xfceAUR, gtk3-patched-filechooser-icon-viewAUR)
- libayatana-appindicator
- libindicator-gtk3
- libnotify (libnotify-gitAUR)
- python-click
- python-dbus
- python-ewmhAUR
- python-gobject
- python-pulsectlAUR
- python-setproctitle
- python-wheel
- python-xdg (python-pyxdg)
- git (git-gitAUR, git-glAUR) (make)
- meson (meson-gitAUR) (make)
- scdoc (scdoc-gitAUR) (make)
- xfconf (xfconf-gtk2AUR, xfconf-gitAUR, xfconf-develAUR) (optional) – Support for Xfce presentation mode.
Required by (1)
- pyload-ng (optional)
Sources (2)
Latest Comments
« First ‹ Previous 1 .. 14 15 16 17 18 19 20 21 22 23 24 25 Next › Last »
whynothugo commented on 2015-10-09 03:53 (UTC)
manuelschneid3r commented on 2015-10-05 00:55 (UTC) (edited on 2015-10-05 00:57 (UTC) by manuelschneid3r)
Wrong shasum. I get 23c1[...]3af4 for https://git.barrera.io/hobarrera/caffeine-ng/repository/archive.tar.gz?ref=v3.1. Please fix this. btw thanks for your work! Nifty little tool, I use nearly every day.
cj360 commented on 2015-10-04 15:42 (UTC)
@DellArch, yup that did it I saw on the caffeine-ng-git package page to run
packer /or/ yaourt -Qoq /usr/lib/python3.4 to check what other python packages need to be re-installed to fix them.
DellArch commented on 2015-10-04 10:21 (UTC) (edited on 2015-10-04 11:40 (UTC) by DellArch)
@cj360, I had the same problem but I solved:
1- run in terminal "yaourt ewmh" and reinstall the package
2- if you try to run caffeine now you receive a similar error with 'Xlib' so run "yaourt Xlib" and reinstall the package.
3- run caffeine
These steps worked for me, I hope for you too.
cj360 commented on 2015-10-03 20:49 (UTC)
With hybroid's suggestion it builds, but fails to run:
(caffeine:6504): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1444:58: `px' is not a valid unit.
Traceback (most recent call last):
File "/usr/bin/caffeine", line 19, in <module>
from caffeine.main import main
File "/usr/lib/python3.5/site-packages/caffeine/main.py", line 41, in <module>
from .core import Caffeine
File "/usr/lib/python3.5/site-packages/caffeine/core.py", line 23, in <module>
from ewmh import EWMH
ImportError: No module named 'ewmh
hybroid commented on 2015-09-26 21:05 (UTC)
Fixes for successful build:
--- PKGBUILD.old 2015-06-09 07:43:32.000000000 +0300
+++ PKGBUILD 2015-09-26 23:57:38.309220243 +0300
@@ -9,21 +9,21 @@
license=(GPL3)
depends=(python-gobject python-xdg python-dbus python-docopt python-ewmh gtk3
libnotify python-setproctitle)
-optdepends=("libindicator-gtk3: AppIndictor support.")
+optdepends=("libindicator-gtk3: AppIndicator support.")
conflicts=(caffeine caffeine-bzr caffeine-oneclick caffeine-systray)
provides=(caffeine caffeine-bzr caffeine-oneclick caffeine-systray)
replaces=(caffeine-oneclick caffeine-systray)
options=(!emptydirs !libtool)
install=$pkgname.install
source=("$pkgver.tar.gz::https://git.barrera.io/hobarrera/$pkgname/repository/archive.tar.gz?ref=v$pkgver")
-sha256sums=('08f1034895013d99e31ede006543eabeace368378e36a9be4b27b51a3fd80fc0')
+sha256sums=('23c10f0381225ae13fd7efb5cd29a7d852dc52214650bee4cbc18032a46b3af4')
build() {
- cd $pkgname.git
+ cd ${srcdir}/${pkgname}-v${pkgver}-*
python setup.py build
}
package() {
- cd $pkgname.git
+ cd ${srcdir}/${pkgname}-v${pkgver}-*
python setup.py install --root="$pkgdir"
}
PhotonX commented on 2015-09-25 16:10 (UTC)
Fails with sha256sum mismatch and (if this is fixed by hand) folder name mismatch (tries to cd into caffeine-ng.git but the folder is called caffeine-ng-v3.1-c6292f0cae28f78de075ce52a5ea1a1cda034d05).
whynothugo commented on 2015-03-15 23:41 (UTC)
I'll be requesting a merge of this package (caffeine-systray) into caffeine-ng, which is basically a fork of caffeine v2.5 with bugfixes and minor improvements.
I suggest all users upgrade onto caffeine-ng, since this will cease to exists.
Cheers!
whynothugo commented on 2015-03-15 23:17 (UTC)
Shameless plug: caffeine-ng is a branch of caffeine-v2.5 with the intention of keeping that funcionality, and future bugfixes, and enhancements. You might want to look at that. Cheers!
frank604 commented on 2015-01-27 07:46 (UTC)
Thank you Hobarrera for this. Error on startup. Fixed by installing libnotify.
** (caffeine:28068): WARNING **: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Traceback (most recent call last):
File "<frozen importlib._bootstrap>", line 2158, in _find_spec
AttributeError: 'DynamicImporter' object has no attribute 'find_spec'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/caffeine", line 19, in <module>
from caffeine.main import main
File "/usr/lib/python3.4/site-packages/caffeine/main.py", line 37, in <module>
from gi.repository.Notify import Notification
File "/usr/lib/python3.4/site-packages/gi/importer.py", line 53, in find_module
'introspection typelib not found' % namespace)
ImportError: cannot import name Notify, introspection typelib not found
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).