alexherbo2 has quit [Remote host closed the connection]
alexherbo2 has joined #river
alexherbo2 has quit [Remote host closed the connection]
mtm has quit [Ping timeout: 252 seconds]
mtm has joined #river
leopoldek has joined #river
maxsch has quit [Remote host closed the connection]
__toor__ has joined #river
<__toor__>
I am trying to compile river with zig 0.13.0 and I am getting an error:
<__toor__>
river/InputDevice.zig:59:19: error: no field or member function named 'getLibinputDevice' in 'types.input_device.InputDevice'
<__toor__>
is this expected? what version of zig should I use?
<__toor__>
or is this an issue with libinput version?
<__toor__>
I am using libinput 1.26.2
<__toor__>
I have also wlroots-0.18.0 installed
<ifreund>
__toor__: what river version are you trying to compile?
<ifreund>
__toor__: is your wlroots built without libinput support?
haliucinas has quit [Read error: Connection reset by peer]
haliucinas has joined #river
<__toor__>
ifreund: git latest
<__toor__>
i could not get the latest river release to run on zig 0.13 (the build.zig script failed)
<__toor__>
yes, I built wlroots before libinput so that might be the case. thx I'll try and compile them in the other order
<ifreund>
both the latest river release and the master branch compile with Zig 0.13.0 if you have the correct dependencies installed
<ifreund>
using a distro that doesn't provide an up to date wlroots package will certainly make things harder :/
<__toor__>
its even worse, I am distroless (doing an LFS build)
<ifreund>
to be fair, river should probably give a better compile error when one tries to use a wlroots build that has required features disabled
<__toor__>
i think pkgconfig might be able to tell which features that are enabled in the package, and which are not available
<ifreund>
wlroots exposes the build-time enabled features in wlr/config.h, which zig-wlroots includes and uses to disable functions that are not supported
<ifreund>
this give you the compile time error you saw rather than a linker error
<ifreund>
river could do `if (!wlr.config.has_libinput_backend) @compileError("wlroots built without required libinput support");`
<ifreund>
which would make it more immediately obvious what has gone wrong
AlxFG_ has joined #river
aryak_ has joined #river
eShaev9z has joined #river
Dr_Jazz has joined #river
graves1 has joined #river
eShaev9z_ has quit [*.net *.split]
aryak has quit [*.net *.split]
dvzrv has quit [*.net *.split]
AlxFG has quit [*.net *.split]
graves has quit [*.net *.split]
Jazzah has quit [*.net *.split]
Jazzah has joined #river
Dr_Jazz is now known as Jazzah
Jazzah has quit [Changing host]
aryak_ is now known as aryak
AlxFG_ is now known as AlxFG
dvzrv has joined #river
<__toor__>
wow it compiled! :D
<__toor__>
beyond linux from scratch is such a goldmine to have the links and build commands documented for so many libraries
<__toor__>
everything I needed was already there
<__toor__>
after your essential hint ofc thanks ifreund