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: | 10 |
Popularity: | 0.37 |
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 (systemd-chromiumos-libsAUR, libeudevAUR, systemd-libs-selinuxAUR, systemd-libs-gitAUR, systemd-libs-fmlAUR, lib32-systemd-gitAUR, lib32-systemd, systemd-libs)
- libunistring (libunistring-gitAUR)
- python (python37AUR, python311AUR, python310AUR)
- python-evdev
- git (git-gitAUR, git-glAUR) (make)
- meson (meson-gitAUR) (make)
- python-sphinx (python-sphinx-gitAUR) (make)
- python-sphinx_rtd_theme (make)
- swig (swig-gitAUR) (make)
- check (check-gitAUR) (check)
- python-gobject (check)
- python-lxml (check)
- valgrind (valgrind-gitAUR) (check)
- linux (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 »
gremious commented on 2024-07-29 20:03 (UTC)
Build seemingly works, but I had to
first, to run a few of the python tests.
Should probably be added to a
requirments.txt
file or somethingharre commented on 2024-05-16 22:58 (UTC)
can you unflag as outdated as it works for me after rebuilding python
harre commented on 2024-04-29 00:59 (UTC)
Build is working on my machine, Rebuilt tree as python had some updates
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.
1 2 3 Next › Last »