A lot of new devices are supported now. However, the update also introduces a lot of build changes and seems to have a hard dependency on elogind or logind.
Is this package useful on its own? It's in library category, and has no reverse dependencies.
Yes, it is useful on its own; there are utility programs included. dev-libs is probably not the right category. x11-libs may be a better fit. There is not yet a package for it, but https://github.com/libratbag/piper provides a GUI depending on libratbag. Having just had a mouse die and grabbed a Logitech mouse off the shelf that is supported by libratbag, I'm attempting to get 0.10 to compile now.
dev-libs/libratbag-0.10 compiling and ratbagctl functioning with a G903 in github.com:petteyg/gentoo-overlay.git. I have not made an init script for ratbagd, and I have not tested the Unifying Receiver tool.
Would you be interested in proxy-maintaining this?
Hello, is using dev-libs/libratbag alone enough to be able to disable mouse lights, or are ratbagd and piper (#629006) needed?
You can control the lights with libratbag alone.
Well, if anyone else comes across this and wonders why we cannot have nice things, you can again blame Leonard Pottering. [1] It appears that modern versions of ratbagd require libsystemd to communicate with DBUS via the sd-bus abstraction. I took a look at the code for both ratbagd and sd-bus but unfortunately it doesn't look like replacing libsystemd is a feasible route for this project. There is some good news; it looks like ratbag-command and a number of other tools do not require systemd to function. This should allow for building everything except ratbagd but will require patches on our part. I will make an attempt to get an updated ebuild into github for this package if things do indeed work. If not, I will post some notes here for someones next attempt. [1] https://github.com/libratbag/libratbag/issues/239
Created attachment 632300 [details] libratbag-0.13.ebuild
Created attachment 632302 [details, diff] files/libratbag-systemd.patch
Well, it compiles without systemd but its nearly useless with it as ratbagctl requires ratbagd to function. Pursuing this without systemd or elogind is a lost cause and this package should probably be removed. Hopefully that bit of info is worth the 2 hours of my life I just spent on this.
libratbag-0.13 and piper-0.4 function just fine on my openrc+eudev+elogind system.
I am not sure I want to use elogind as everything works with console-kit. I guess there isn't much choice these days.
Seems to compile and run for me after switching to elogind. Piper is not actually changing colors, haven't tested profiles yet.
Ok, it appears to be working. I just had to create a profile first.
@Gordon Pettey, do you want me to add you to the proxy maint list?
(In reply to Alex Barker from comment #8) > Created attachment 632300 [details] > libratbag-0.13.ebuild This usage of python-r1.eclass (which is for multi-Python packages) looks incorrect. src_configure() calls meson only once, so only for one Python implementation. Maybe with more effort using python-r1.eclass would be possible, but probably python-single-r1.eclass would suffice for now.
(In reply to Arfrever Frehtes Taifersar Arahesis from comment #16) > (In reply to Alex Barker from comment #8) > > Created attachment 632300 [details] > > libratbag-0.13.ebuild > > This usage of python-r1.eclass (which is for multi-Python packages) looks > incorrect. > src_configure() calls meson only once, so only for one Python implementation. > Maybe with more effort using python-r1.eclass would be possible, but > probably python-single-r1.eclass would suffice for now. Both ebuilds should be converted over to a single PR with the python-single-r1 eclass in place of the python-r1.eclass. Several other minor issues were fixed inducing the RDEPENDS and BDEPENDS. Please let me know if there are any other updates.
*** Bug 717974 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f0988043e55b524429f0246b727bef12b7de489 commit 4f0988043e55b524429f0246b727bef12b7de489 Author: Alexander Barker <alex@1stleg.com> AuthorDate: 2020-04-12 18:58:14 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2020-12-14 17:17:30 +0000 dev-libs/libratbag: Bump to version 0.15 Bug: https://bugs.gentoo.org/682372 Closes: https://bugs.gentoo.org/682372 Signed-off-by: Alex Barker <alex@1stleg.com> Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> dev-libs/libratbag/Manifest | 1 + dev-libs/libratbag/libratbag-0.15.ebuild | 79 ++++++++++++++++++++++++++++++++ dev-libs/libratbag/metadata.xml | 9 +++- 3 files changed, 88 insertions(+), 1 deletion(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f0988043e55b524429f0246b727bef12b7de489 commit 4f0988043e55b524429f0246b727bef12b7de489 Author: Alexander Barker <alex@1stleg.com> AuthorDate: 2020-04-12 18:58:14 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2020-12-14 17:17:30 +0000 dev-libs/libratbag: Bump to version 0.15 Bug: https://bugs.gentoo.org/682372 Closes: https://bugs.gentoo.org/682372 Signed-off-by: Alex Barker <alex@1stleg.com> Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> dev-libs/libratbag/Manifest | 1 + dev-libs/libratbag/libratbag-0.15.ebuild | 79 ++++++++++++++++++++++++++++++++ dev-libs/libratbag/metadata.xml | 9 +++- 3 files changed, 88 insertions(+), 1 deletion(-)