Search Criteria
Package Details: libratbag-git 0.11.r7.47cc5fc-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/libratbag-git.git (read-only, click to copy) |
---|---|
Package Base: | libratbag-git |
Description: | A DBus daemon to configure gaming mice - git version |
Upstream URL: | https://github.com/libratbag/libratbag |
Licenses: | MIT |
Conflicts: | liblur, libratbag, ratbagd |
Provides: | liblur, libratbag, ratbagd |
Submitter: | alucryd |
Maintainer: | openglfreak |
Last Packager: | openglfreak |
Votes: | 5 |
Popularity: | 0.110985 |
First Submitted: | 2015-09-16 07:32 (UTC) |
Last Updated: | 2019-12-06 08:24 (UTC) |
Dependencies (17)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR)
- json-glib (json-glib-gitAUR)
- libevdev (libevdev-gitAUR)
- libudev.so (libudev-zero-gitAUR, lib32-systemd-gitAUR, systemd-libs-gitAUR, systemd-chromiumos-libsAUR, systemd-libs-selinuxAUR, lib32-systemd, systemd-libs)
- libunistring (libunistring-gitAUR)
- python (python32AUR, python37AUR, python310AUR)
- python-evdev
- git (git-gitAUR, git-fcAUR) (make)
- meson (meson-gitAUR, meson-rustAUR) (make)
- python-sphinx (python-sphinx-gitAUR, python-sphinx71AUR) (make)
- python-sphinx_rtd_theme (make)
- swig (swig-gitAUR) (make)
- check (check-gitAUR) (check)
- python-gobject (python-gobject-gitAUR) (check)
- python-lxml (check)
- valgrind (valgrind-gitAUR) (check)
- linux (linux-tqc-a01AUR, artixlinux-kernel-stoneyridgeAUR, cros-artix-stoneyridgeAUR, linux-binAUR) (optional) – Linux 5.2 is required for Logitech wireless devices
Required by (2)
- piper-git
- piper-zhfix (requires libratbag)
Latest Comments
1 2 3 Next › Last »
gardotd426 commented on 2023-04-07 21:00 (UTC) (edited on 2023-04-07 21:00 (UTC) by gardotd426)
This PKGBUILD is currently failing at
check()
:From the log, the problem is that python-black needs to change a file but obviously can't because the shell script being ran that runs
black
just runsblack --check
on the relevant files, and--check
only tells you if any files would be modified, it doesn't go through with the modifications (it's basically like a dry run).The log file at the end of the above error message shows:
This is almost certainly due to an upstream change (I've begun the initial basic steps of bisection but I honestly don't have the time to fully bisect this right now). Changing the
source()
to pull the latest release (v0.17) instead of the latest main branch code completes without error, but obviously it doesn't even run a python-black check during the check process, because that was added later (v0.17 was launched 5 months ago).I would suggest either patching test/python-black-check.sh at this line:
Actually pause: after typing the above I went ahead and tested a patch of my own, and it works perfectly. It just changes the problematic line into an if function:
This is necessary over just doing my initial test patch which amounted to changing
black --check $files
toblack --check $files; black $files
, because there may come times when the current upstream code doesn't require any changes, and therefore runningblack $files
may cause an error. With this if statement, we check for whetherblack --check $files
completes successfully and if it does we exit and the test is passed, but if it completes with files needing modified, it will then modify them and the test is passed.I've also installed and tested the resulting build of libratbag using my patch, and sure enough it works perfectly (it actually fixes a crash I was experiencing earlier today which is why I was trying to reinstall in the first place).
python-black.patch
:I went ahead and made a patch for the PKGBUILD just to save you a few minutes if you wanted to use it:
PKGBUILD.patch:
thegeekpirate commented on 2023-03-03 11:49 (UTC)
python-black
andpython-ruff
are now required to build this package.youduda commented on 2023-01-13 17:09 (UTC)
Building in a clean environment fails due to the missing
/usr/lib/pkgconfig/libudev.pc
. Therefore,systemd
is a required build dependency.InvisibleRasta commented on 2023-01-04 15:56 (UTC)
jsut compiled this but when opening piper-git i get an error saying: Incompatible ratbagd API version / required: 2, provided:1)
Labo commented on 2020-09-09 23:05 (UTC)
just to say I could compile it on aarch64, you just have to edit the PKGBUILD to add it to arch
singron commented on 2019-07-26 18:56 (UTC)
If you get compilation errors like
cc1: error: ‘-Wformat-security’ ignored without ‘-Wformat’ [-Werror=format-security]
I have an upstream fix: https://github.com/libratbag/libratbag/pull/768
FFY00 commented on 2019-05-28 08:17 (UTC) (edited on 2019-05-28 08:17 (UTC) by FFY00)
Could you please update the PKGBUILD to keep up with the one in [community]? Thanks.
alucryd commented on 2019-01-22 16:43 (UTC)
An arch system is supposed to always be up to date, this kind of hard version dep is completely useless, please ask the piper maintainer to drop the version and depend on plain libratbag or libratbag-git instead.
hexchain commented on 2019-01-22 11:08 (UTC)
Pacman complains about unmet dependency 'libratbag>=0.9.900' required by piper. Could you please use
provides=("libratbag=$pkgver")
?alucryd commented on 2018-08-16 17:02 (UTC)
Meson options have changed, fixed them to disable tests again. Thanks for the heads up.
1 2 3 Next › Last »