Closed tgirod closed 2 years ago
@dagargo thaf functionality should indeed not be part of the install target.
However, it could easily be exposed as its own target and added to the install instrunctions (with a note, that this is not required for systems packaging): https://github.com/dagargo/overwitch/blob/cc7c99bf880bc9cf9d5878659ca07066ca39b01f/udev/Makefile.am#L16-L19
Thanks a lot. Probably did something wrong there.
I'll take a look at it during the weekend.
@dvzrv thanks for pointing in the right direction!
Also, udev rules are stored in /etc/udev
:
Should it be stored in /usr/lib/udev
instead? Looking at my system, a lot of packages are storing hardware descriptions here.
I've been investigating the proper way to fix this; it's not quite clear to me.
update-udev
target has been renamed and moved to the root Makefile.am
.udevrulesdir
and udevrulesdir
now use pkg-config
to get the system udev
directory.One caveat is that make uninstall
does not delete either the rules or the hwdb
definition. I'm not sure if this is right.
In the end, none of these things should be inside Overwitch as the OS should provide this but we'll need to deal with this for now.
Please check the code in the build_fixes
branch and let me know what you think.
I ended up discarding the branch build_fixes
as it was not addressing the issue at all.
Now, udev rules might be installed from its directory but their installation is outside the install
target. See 3a71a8db3f13a08cb2ba99cab0cd12aa4e3a7ac1.
Let me know if this works for you.
I haven't tried the software yet, but at least it compiles!
EDIT: I mean I can package it, of course
I will release the PKGBUILD on AUR as soon the fix is shipped with a tagged release.
Thanks for working on this. Love it!
FYI, my plan is to release version 0.3 in the following couple of weeks once #25 and #28 are solved.
FYI, I've just published my package here: https://aur.archlinux.org/packages/overwitch-git - I will replace it with a regular "overwitch" package with the next release.
I also did a stress test with Digitakt + Digitone + PipeWire + 16 tracks record in Reaper, and it worked like a charm :heart:
Thanks a lot for the hard work, I'll finally be able to do proper recordings of my tracks !
You're welcome.
FYI, I've just published my package here: https://aur.archlinux.org/packages/overwitch-git - I will replace it with a regular "overwitch" package with the next release.
Love it. Thanks for packaging it. :+1:
I also did a stress test with Digitakt + Digitone + PipeWire + 16 tracks record in Reaper, and it worked like a charm heart
We needed to test it over PipeWire so this is great news. Thanks!
I'm trying to package overwitch for archlinux, but I'm facing an issue. For reference, this is the PKGBUILD. The important part is the
package
function.When I run
makepkg
the build fails at themake install
step with this error log:Apparently the
make install
step tries to access the udev daemon to inject new rules for overbridge capable devices. The problem is, when running inside a chroot to build a package, the build process does not have access to the system (outside of the packager, the program compiles and runs just fine).If I understand correctly, overwitch's makefile should only copy the udev files to /usr/lib/udev/rules.d, and inform the user that udev rules has to be reloaded, or leaving that task to the package manager.