ifreund changed the topic of #river to: river - a dynamic tiling wayland compositor || https://github.com/riverwm/river || channel logs: https://libera.irclog.whitequark.org/river/
waleee has quit [Ping timeout: 250 seconds]
waleee has joined #river
Guest58 has joined #river
<ifreund> novakane: nope, I hate it xD
<ifreund> I have no idea why but libway
<ifreund> libwayland refuses to build on the CI
<ifreund> I also don't like bach
<ifreund> s/bach/bash/, I do like bach
Guest58 has quit [Ping timeout: 256 seconds]
<ifreund> anyhow, when I finish that I'll tag 0.1.1 for the wlroots update and start on 0.1.2 for the zig update
waleee has quit [Ping timeout: 256 seconds]
waleee has joined #river
snakedye has quit [Ping timeout: 256 seconds]
notzmv has quit [Ping timeout: 240 seconds]
notzmv has joined #river
snakedye has joined #river
<ifreund> river 0.1.1 is now ready in theory, just going to give it a day or two for bug reports to trickle in
snakedye has quit [Ping timeout: 268 seconds]
<leon-p> ifreund: btw, how does your lock protocol work wrt to scaling? It is a protocol error to submit a buffer with a size that does not match the size of the configure event. I assume this will also respect the buffer scale (when configure event is 500x500 on a scale 2 output, the buffer could be either 500x500 with scale 1 or 1000x1000 with scale 2). However since this is (to my knowledge) the first surface role that actually enforces a specific windo
<leon-p> w size it might be good to explicitly mention this
<leon-p> s/window/buffer/
kraem has joined #river
<novakane> ifreund: so what's your setup on void to get wayland/wlroots up to date for river?
<novakane> I've got like 20 emails `ci: update to wlroots 0.15` xD
pkap has joined #river
snakedye has joined #river
snakedye has quit [Ping timeout: 240 seconds]
theartist has joined #river
theartist is now known as Fr0stBit
<Fr0stBit> ifreund: Hi!
dbuckley has quit [Read error: Connection reset by peer]
dbuckley has joined #river
Fr0stBit has quit [Quit: WeeChat 3.4]
Fr0stBit has joined #river
norkki has joined #river
snakedye has joined #river
pkap has quit [Quit: Client closed]
Guest5839 has joined #river
Guest5839 has quit [Client Quit]
pkap has joined #river
<ifreund> novakane: I built/installed wayland 1.20.0 through xbps-src and build wlroots from source installing to ~/.local just like always
<ifreund> the CI stuff was because for some unknown reason wayland failed to build if built as a meson subproject
<ifreund> so I gave up on that and just built/installed it separately
<ifreund> leon-p: " The size of a surface (and relative positions on it) is described in surface-local coordinates, which may differ from the buffer coordinates of the pixel content, in case a buffer_transform or a buffer_scale is used.
<ifreund> from the descrption of wl_surface in wayland.xml
<ifreund> does that clear things up?
<ifreund> see also the description of the attach request
<novakane> ifreund: no other problem than the firefox one with wayland? Does you need a special flag to build river with wlroots or you don't have the xbps package installed?
<ifreund> the firefox wayland 1.20 BS is only an issue if building firefox from source
<ifreund> I don't follow the second half of the question really...
<Phyrric> I just have firefox from the void repos without any modification
<novakane> I mean do you have wlroots build from source and wlroots from xbps and if so is there a flag to zig to tell wich one to use
<novakane> hope it's more clear
<novakane> Phyrric: yes because wayland is not up to date in the void repo
Fr0stBit has quit [Quit: WeeChat 3.4]
<ifreund> novakane: you probably need to set those environment variables to tell pkg-config, ld, etc to look in ~/.local first
<ifreund> pretty sure I have a wlroots package installed as well
<novakane> ifreund: yeah I already have all of this set
<ifreund> so what problem are you having?
<novakane> well river doesn't use the wlroots version in ~/.local
<novakane> hmm wait I think the pkgconfig file from wlroots is not in ~/.local
<ifreund> I have ~/.local/lib/pkgconfig/wlroots.pc
<novakane> ah yeah my bad I was looking at ~/.local/share/pkgconfig like river but I do have it in ~/.local/lib
<novakane> so that's not the problem I guess
<novakane> hmm yeah ` pkg-config --modversion wlroots` return 0.15.0 though I have a compile error `@compileError("zig-wlroots requires wlroots version 0.15");`
<novakane> ifreund: any special flags when you build wlroots?
<ifreund> nope
<ifreund> just meson build --prefix ~/.local then ninja -C build install
<novakane> well I have no idea why it doesn't works then :/
<ifreund> novakane: could you paste the full output that zig's giving you? It should show exactly what directory it is looking in for wlroots headers
<ifreund> novakane: I don't see a -I ~/.local/include there
<ifreund> novakane: try unsetting that
<novakane> ifreund: huh it worked, why unsetting it make it found it
<ifreund> I don't think zig looks at C_INCLUDE_PATH but pkg-config does apparently and assumes that the compiler does as well
<ifreund> which means pkg-config omits the -I ~/.local/include if you have it set
<novakane> hmm well kinda annoying
<novakane> how does you don't have this errors though?
<ifreund> I really don't know xD
<novakane> it really doesn't make any sense, black magic lmao
<novakane> well thanks for the fix anyway
<ifreund> no problem
pkap has quit [Quit: Client closed]
<ifreund> novakane: I don't actually recall why I had C_INCLUDE_PATH set by the way, getting rid of that doesn't seem to make anything break
<novakane> ifreund: I don't remember either tbh
<novakane> I'm not sure if I needed to use for gcc one day, maybe kakoune? I don't know
notzmv has quit [Ping timeout: 260 seconds]
<Nulo> Is there any way to make windows (ideally only some that meet a criteria) go on a lower opacity when unfocused?
<leon-p> there was, but it got removed again :P
<ifreund> Nulo: I intend to expose a way to set opacity again eventually, but it might take a year or so
<ifreund> not because it's that complex to implement, but because other stuff is higher priority
<ifreund> anyone know of anything that should block 0.1.1? I'll probably tag it in the next hour or two
<Nulo> Good to know, thanks
notzmv has joined #river
<novakane> ifreund: nothing for me, everything working fine now
<novakane> well paper from snakedye doesn't works anymore but that's not river fault ^^
<snakedye> I need to rewrite it. Snui's API radically changed since I wrote it
<novakane> I can imagine, with what you showed us about snui
<tiosgz_> ifreund: didn't you forget to also modify the code in Cursor.zig (not only remove the comment)?
<ifreund> tiosgz_: actually no, that comment was wrong
<tiosgz_> ah
<ifreund> well it was correct about the wlroots change but wrong that that wlroots change meant that river's code should be changed there
<novakane> ifreund: talking about release, how did you manage the tarball with submodule, I know you talked about it at the time of the first release but I don't remember
<novakane> because sr.ht made a tarball when I tagged rivercarro but obviously it doesn't works, and even if I don't really care about this I don't really like having this broken tarball
<ifreund> novakane: I actually just took the time to make a script for that: https://github.com/ifreund/dotfiles/blob/macair/local/bin/tarball.sh
<ifreund> just run e.g. `tarball.sh river-0.1.1` in the root of the repo
<ifreund> don't put spaces in the name or it will probably break xD
<novakane> ifreund: oh that's nice, thank you, probably be really useful till zig get a package manager
<ifreund> enjoy :)
<novakane> space in a filename? I'm not a window user huh :P
<ifreund> 0.1.1 is released :)
<ifreund> now time to finish the zig 0.9.0 upadate and do another release xD
<ifreund> this is good, I'll get my release process nice and polished
<novakane> nice one release by week that's great :P
<novakane> isn't zig 0.9.0 branch kinda finished?
<ifreund> yeah, I think so
<ifreund> might have some rebasing to do now
<leon-p> IIRC we also wanted to refactor a few things with the new saturating arithmetics, but I can't remember where
<ifreund> oh yeah, that would be nice to do
<ifreund> one place is cursor resize/move handling
<novakane> yeah probably, cool that you think about rebasing, you're improving :P
<novakane> need to merge a PR in zig-pixman too
<ifreund> heh