xfconf-query
is only required on XFCE. I'll make it an optional dependency and tweak the error output.
Updating the libnotify thing.
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: | 123 |
Popularity: | 0.59 |
First Submitted: | 2014-10-19 05:26 (UTC) |
Last Updated: | 2024-09-24 00:34 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 25 Next › Last »
xfconf-query
is only required on XFCE. I'll make it an optional dependency and tweak the error output.
Updating the libnotify thing.
Hi man, thanks for the update! Couple of issues. While running from command line, I noticed it constantly tries to run "xfconf-query" which I didn't have. So maybe add xfconf as dependency? The program also fails to work on libnotify 0.8, which was released recently. It works fine if I downgrade to 0.7. Maybe you can update gi.require_version("Notify", "0.7")
?
Thanks whynothugo for the update it's working fine, on plasma i had to install the optional libappindicator-gtk3 to work.
Thanks for the update whynothugo! Much appreciated. Looks like you've changed the upstream repository though? Could you please change url
in the PKGBUILD as well?
My bad, I had click installed. Can you retry?
Since today's update I get the error ModuleNotFoundError: No module named 'click'
. The Package python-click
should probably be added as dependency.
I've reverted the change for now; it's best to deal with pep517 support upstream.
@DropstEffect: Add rsync
to makedepends() and change the package() function to:
package() {
cd "$srcdir"/caffeine-ng-${pkgver}
python -m installer --destdir="$pkgdir" dist/*.whl
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
mv "${pkgdir}${site_packages}/etc" "$pkgdir/"
rsync -av "${pkgdir}${site_packages}/usr" "$pkgdir/"
rm -rf "${pkgdir}${site_packages}/usr"
}
Latest update puts files in the wrong spots (all under /usr/lib/python3.10/site-packages/), e.g. the desktop file is located at /usr/lib/python3.10/site-packages/usr/share/applications/caffeine.desktop.
cciva: Try rebuilding python-pulsectl. Did you recently upgrade your python version?
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).