f_ changed the topic of #wayback to: Wayback - a wayland-based X11 environment | https://wayback.freedesktop.org/ | src: https://gitlab.freedesktop.org/wayback/wayback | logs: https://libera.catirclogs.org/wayback | matrix bridge: #wayback:catircservices.org
grufwub has quit [Remote host closed the connection]
grufwub has joined #wayback
_whitelogger has joined #wayback
<axtlos> I'd rather use oros rxwl than 12to11 tbh
Izzy has quit [Ping timeout: 244 seconds]
Izzy has joined #wayback
caskd has quit [Ping timeout: 260 seconds]
cb has quit [Server closed connection]
cb has joined #wayback
<f_> ConanKudo[m]1: OK. As I understand it a 'WebHook' needs to be configred at the project level
<f_> and I think only you and Ariadne can do it. I guess I'll ping one of you when I set up the bot?
<f_> I think issue/MR references don't need webhook though
<f_> or they shouldn't
caskd has joined #wayback
<thomas_adam> Interesting, I've recently started to make changes to 12to11 myself: https://github.com/ThomasAdam/waylandx
<f_> wrt bot: started setting it up, its bouncer user is idling right now as Wayback on libera
<f_> but glhf seems to not like the bouncer
Wayback has joined #wayback
<f_> Anyway I'll logoff for now. When you (Neal/Ariadne) can, feel free to pm the webhook stuff so I add it to the config
<f_> oh
<f_> #57
<f_> #44 ?
<Wayback> #44 Criteria for an initial release (https://gitlab.freedesktop.org/wayback/wayback/-/work_items/44)
<f_> there we are!
<anabelae[m]> <thomas_adam> Interesting, I've recently started to make changes to 12to11 myself: https://github.com/ThomasAdam/waylandx
<anabelae[m]> Replying in a matrix thread to see how it relays over to IRC. However, I will also mention the word in meson build, never seen it before.
<f_> anabelae[m]: it just gets sent as a regular reply-to
<f_> just like on non-element matrix clients
<f_> anyway, logoff! Have fun and please don't abuse the bot lol
<f_> #44 test after restart
<axtlos> seems to not work?
<Wayback> #44 Criteria for an initial release (https://gitlab.freedesktop.org/wayback/wayback/-/work_items/44)
<f_> Now it does
<axtlos> oh nevermind
<f_> I messed up openrc init file
<axtlos> !67
<Wayback> !67 Xwayback: Use X style arguments (https://gitlab.freedesktop.org/wayback/wayback/-/merge_requests/67)
<axtlos> nice
<f_> Now we just need the webhooks stuff enabled for it to also announce activity
<f_> and also for me to properly setup nickserv for it
<f_> anyway have fun!
__0x1eaf has joined #wayback
_whitelogger has joined #wayback
<Consolatis[m]1> > I'd rather use oros rxwl than 12to11 tbh
<Consolatis[m]1> you mean this one? https://gitlab.com/OroWith2Os/rxwl
<Consolatis[m]1> that one doesn't seem more like a *very* early skeleton without support for even xdg-shell
jvvv has quit [Ping timeout: 268 seconds]
<Consolatis[m]1> does*
jvvv has joined #wayback
<f_> oh, I didn't know waylandX was actually a thing
<f_> Nice
<f_> I mean I knew it is possible but not that it was done
<thomas_adam> It does need a lot of work, for the different portals.
dramforever[m]1 has quit [Quit: Idle timeout reached: 172800s]
<whitequark[cis]> oh neat, m-a-i transfers colors
<whitequark[cis]> what bot s it?
<Consolatis[m]1> whitequark:matrix.org: https://gitlab.freedesktop.org/emersion/glhf
<whitequark[cis]> oh sweet
<whitequark[cis]> i might want to add an instance of it to catircservices..
Pixi` has joined #wayback
Pixi has quit [Ping timeout: 244 seconds]
<f_> Consolatis: are you connected to matrix from an irc client via Matrix2051? ;)
<Consolatis[m]1> yep
<f_> I see M51-style pings here on irc
<f_> Cool!
<Consolatis[m]1> I don't even know what that means
<Consolatis[m]1> like what kind of pings?
<fossdd> eedesktop.org/emersion/glhf
<fossdd> uuhh
<Achill[m]> Consolatis… whitequark:matrix.org: https://gitlab.freedesktop.org/emersion/glhf
<f_> eeedesktop
<f_> And yes, this is GLHF running
<f_> Consolatis: Eh, ignore
<Consolatis[m]1> ah, you mean which I refer to other users? like libera_f_:catircservices.org ?
<f_> yep
<Consolatis[m]1> heh, I see. thought for a moment that the bridge would be spamming something on the libera side caused by matrix2051
<f_> Nah
<f_> And btw thanks for the glhf recommendation :)
<ConanKudo[m]1> f_: what webhook things do you need?
<f_> I think just something so gitlab sends announcements?
<f_> Not currently in front of my computer, so it's not urgent
<f_> glhf will likely listen to whlab.dersco.re (not yet setup though)
<f_> https://docs.gitlab.com/user/project/integrations/webhooks/#create-a-webhook - so, once I setup glhf http - URL: https://whlab.dersco.re/, Secret token: generate one and PM me
<f_> For which events trigger it I don't feel very strongly about it, just tick what makes sense to you
<f_> Maybe I'd say trigger on tag, push, MR, issues?
<f_> And release
<dok> have someone successfully used .xinitrc with wayback-session ?
<f_> Hmm I don't use it but it should work
<f_> does it not work for you?
<ConanKudo[m]1> f_: if you want a group webhook, that requires Ariadne since I don't have owner access to the group
<f_> Ah
<dok> not when .xinitrc contains either `xset` or `setxkbmap` before exec'ing the dm
<f_> Well we can start project-only
<ConanKudo[m]1> do you know what the full URL for your webhook will be?
<f_> not yet
<ConanKudo[m]1> also you need a valid HTTPS cert
<f_> Yes
<f_> whlab.dersco.re is not setup yet
<ConanKudo[m]1> alright, I'll wait then
<ConanKudo[m]1> once things are set up then we'll tackle it
<f_> 👍
__0x1eaf has quit [Quit: Lost terminal]
<f_> Any remaining reviews on !58 BTW?
<Wayback> !58 Handle random string allocation errors (https://gitlab.freedesktop.org/wayback/wayback/-/merge_requests/58)
dramforever[m]1 has joined #wayback
<dramforever[m]1> oh yeah i just added that earlier
<dramforever[m]1> oh it's already merged
<dramforever[m]1> i mean i added the log adapter as requested
<dramforever[m]1> wait it just gained three new -Wdiscarded-qualifiers warnings 😭
<Consolatis[m]1> kind of annoying that glhf doesn't add the mr status (e.g. open / closed / merged)
<f_> Consolatis: It wasn't merged when I mentioned it
<Consolatis[m]1> right, but then it could say (open)
<Consolatis[m]1> its the same for the wlroots channel so looks like glhf simply doesn't support that (yet)
pinskia has quit [Read error: Connection reset by peer]
pinskia has joined #wayback
<Consolatis[m]1> it only reads title and weburl from the json response
arraybolt3 has quit [Quit: Konversation terminated!]
arraybolt3 has joined #wayback
orowith2os[m] has joined #wayback
<orowith2os[m]> <Consolatis[m]1> that one doesn't seem more like a *very* early skeleton without support for even xdg-shell
<orowith2os[m]> I'm trying - I'd appreciate any help I can get.
<orowith2os[m]> My project also has a slightly different goal in trying to offload most of the work to SDL itself, instead of using X11 directly. When I get a Mac, it should open up some more stuff to play around with.
<anabelae[m]> XWayback binary in build expects wayback to be installed system-wide?
<dramforever[m]1> <anabelae[m]> XWayback binary in build expects wayback to be installed system-wide?
pinskia has quit [Read error: Connection reset by peer]
<dramforever[m]1> currently wayback-session expects to find Xwayback in $PATH, or you can set XWAYBACK_PATH
<navi> Xwayback (for now) expects wayback-compositor to be in libexec
<navi> but there's an environment variable to override that
<dramforever[m]1> oh i meant in the not installed case
pinskia has joined #wayback
<dramforever[m]1> ahhh
<dramforever[m]1> yeah Xwayback wants wayback-compositor... that's the other dependency yes
<anabelae[m]> Alright, another question, hope you don't mind. It builds well with system installed devel dependencies. However when I tried building with a wlroots-0.19 subproject, it yields this error: `/usr/local/libexec/wayback-compositor: error while loading shared libraries: libwlroots-0.19.so: cannot open shared object file: No such file or directory`
<anabelae[m]> I replaced the wlroots dependency in meson.build with
<anabelae[m]> ```
<anabelae[m]> wlroots_subproj = subproject('wlroots')
<anabelae[m]> wlroots = wlroots_subproj.get_variable('wlroots')
<anabelae[m]> ```
<anabelae[m]> (And moved it below xwayland, because it creates a target and it's not possible to declare arguments after that).
<dramforever[m]1> yeah so, dynamic linking is just kinda like that
<dramforever[m]1> one convenient-ish way you can hack that is with LD_LIBRARY_PATH pointing to where well, that .so file is
<dramforever[m]1> note that this overrides subprocess's global libraries with ones in that directory but hopefully nothing else under wayback-session is using wlroots
<dramforever[m]1> all subprocesses, as long they inherit this environment variable
<Consolatis[m]1> anabelae:matrix.org: I also build with wlroots as subproject but I just left it as dependency and it seems to work fine. I did have to move the xwayland global arg to the top though
<Consolatis[m]1> no LD_LIBRARY_PATH or anything, afair meson will build it statically
<whitequark[cis]> would this be solved with RPATH?
<anabelae[m]> <Consolatis[m]1> anabelae:matrix.org: I also build with wlroots as subproject but I just left it as dependency and it seems to work fine. I did have to move the xwayland global arg to the top though
<anabelae[m]> Are you sure you don't have wlroots-0.19 installed system-wide?
<Consolatis[m]1> yes, very sure
<thomas_adam> whitequark[cis]: Yes it would.
<dramforever[m]1> if wlroots is statically linked then that would make sense
<dramforever[m]1> i don't know how on earth meson works though
<anabelae[m]> Setting LD_LIBRARY_PATH to a directory containing the .so works. Hm, well I will try playing with it for a bit. Thanks
<dramforever[m]1> if you can get meson to build and link wlroots as a static library that would be much easier to handle
<thomas_adam> You can: static_library -- however, is that really useful?
<Consolatis[m]1> AFAIR meson by default links subprojects statically
<Consolatis[m]1> well, dependencies found via .wrap files at least
<thomas_adam> I mean, either you go all-in, and adopt as a subproject wlroots to suit the needs of wayback, or you don't -- apparentlu, there's some contention in doing the former.
<navi> meson's non-installed libraries have rpath set (on platforms that support them)
<navi> if that's failing, there's something wrong with the build files
<navi> s/libraries/executables
<navi> oh, wait
<thomas_adam> navi: No...
<navi> > /usr/local/libexec/wayback-compositor -- it's installed
<Consolatis[m]1> hm.. you are right, sorry. I just checked ldd build/wayback-compositor/wayback-compositor actually links to libwlroots-0.19.so from the build directory
<Consolatis[m]1> so its not statically built but meson automatically makes linking work
<dramforever[m]1> if you're debugging something it helps to just play around with an editable wlroots, i think
<dramforever[m]1> Consolatis[m]1: if you're feeling like checking try a `readelf -d` on wayback-compositor?
<dramforever[m]1> if taht works then TIL meson makes that work (but only sometimes?)
<navi> to build wlroots statically, `meson configure build -Dwlroots-19:library_type=static
<navi> (iirc)
<Consolatis[m]1> for me wlroots-019.so shows up as (NEEDED) on readelf -d. I confused it with statically linked because that is how it works in labwc but I missed a 'default_library=static' in its default_options for the wlroots dependency. So I assumed it was a meson default.
<navi> i usually pass static manually on the cmdline when i want to
<navi> meson is shared by default
<anabelae[m]> <navi> to build wlroots statically, `meson configure build -Dwlroots-19:library_type=static
<anabelae[m]> This doesn't work for me unfortunately. The only thing that worked so far is setting the `LD_LIBRARY_PATH` var.
<navi> i typoed that btw
<navi> it's meant to be wlroots-0.19
<navi> but, meson install (for me) did install the wlroots .so to /usr/local
<navi> so, i think /usr/local/lib64 is outside your distro's default search path for some reason
<navi> also it's not library_type
<navi> it
<navi> it's `-Dwlroots-0.19:default_library=static`
<navi> i can't type it seems
<anabelae[m]> No yeah I corrected it to wlroots-0.19 after trying what you originally wrote, it still didn't work : / Unsure if it's the combination with
<anabelae[m]> ```
<anabelae[m]> wlroots_subproj = subproject('wlroots')
<anabelae[m]> wlroots = wlroots_subproj.get_variable('wlroots')
<anabelae[m]> ```
<anabelae[m]> that's troublesome
<anabelae[m]> Meh. I'll just keep in mind to set the env var
<dramforever[m]1> it's just for development anyway
<dramforever[m]1> i think it's fine
<navi> oh
<navi> `subproject('wlroots')`
<navi> -Dwlroots-0.19 is overriding the setting for the `wlroots-0.19 subproject
<dramforever[m]1> oh
f_|cat has quit [Quit: Idle timeout reached: 172800s]
<anabelae[m]> From which environment do you start wayback from to develop
<axtlos> what do you mean?
<axtlos> like what desktop is used for testing?
<anabelae[m]> I meant to ask whether or not you run it as a session compositor, or a system one from the tty (with it having to create drm devices and such)
<axtlos> oh, both
<axtlos> idk about the others but I always test changes as a session compositor, and once im ready to commit i test it from the tty
<axtlos> uhm no having xwayland running is fine
<axtlos> just have to make sure that the DISPLAY envvar is set to the right to the right display
<anabelae[m]> Happens here execv(xwayland_path, xwayland_argv);, but that isn't very helpful is it
<axtlos> what command do you run
<f_> Consolatis[m]1: Oh. Should not be hard to get working
<anabelae[m]> Oh, right. I was omitting -displayfd. I was looking at older versions of wayback earlier today in which the :display could be directly written as the first argument (e.g wayback 0) without the flag. Might be worth calling usage when the required arguments are not specified?
<f_> just read state from json and you're good
<f_> !48
<Wayback> merged: !48 new issue templates, and mention some distro packages (https://gitlab.freedesktop.org/wayback/wayback/-/merge_requests/48)
<f_> Consolatis[m]1: ^
<f_> #33
<f_> #22
<Wayback> opened: #22 screen resolution/size seems fake not real (https://gitlab.freedesktop.org/wayback/wayback/-/issues/22)
<f_> I'll submit a patch later
<Consolatis[m]1> oh nice :) can I talk you into sending a MR so #wlroots also profits? :p
<f_> Consolatis[m]1: ' 23:43 <f_> I'll submit a patch later ' ^^
<Consolatis[m]1> :)
<f_> also TIL I can do this: fd88646341603355f6b7f511e353e2793b381c41
<Wayback> fd886463 wayback-compositor: stop at the first handled key (https://gitlab.freedesktop.org/wayback/wayback/-/commit/fd88646341603355f6b7f511e353e2793b381c41)
<f_> to reference commits
<f_> !48
<Wayback> !48 new issue templates, and mention some distro packages (https://gitlab.freedesktop.org/wayback/wayback/-/merge_requests/48) [merged]
<f_> awesome
<f_> site!1
<f_> also site can be referenced.
<f_> ConanKudo[m]1: whlab.dersco.re now points to the Webhooks-to-IRC bot
<f_> 23:54 ::: Wayback is now logged in to account funderscore|bots
<f_> and it is properly logged in too. OK, so I think that's all there's to it for now ^^
<f_> PM me the generated token and I'll add it, then hopefully it all works out
<f_> Consolatis[m]1: FWIW this is my diff right now:
<f_> This is what I'll likely send upstream
<f_> (and what is currently running on the bot)
Pixi` is now known as Pixi
<ConanKudo[m]1> f_[m]` 🇵🇸: dm'd
<f_> On matrix?
<ConanKudo[m]1> yup
<f_> Ok, let me check
<f_> ConanKudo[m]1: added
<Wayback> @Conan_Kudo closed issue: #44 Criteria for an initial release (https://gitlab.freedesktop.org/wayback/wayback/-/work_items/44)
<Wayback> @Conan_Kudo re-opened issue: #44 Criteria for an initial release (https://gitlab.freedesktop.org/wayback/wayback/-/work_items/44)
<f_> \o/
<ConanKudo[m]1> if someone tries to game this bot somehow, I'll disable the webhook
<ConanKudo[m]1> but it looks like it works
<f_> ConanKudo[m]1: lol that won't happen hopefully
<f_> We can make it less verbose if it turns out to be too verbose later on, that being said
<f_> but: plz don't use the bot to spam the channel, I don't want to get into trouble. ty
<Consolatis[m]1> I think there are much easier options for that
<f_> yeah run efknockr on the channel (please don't :p)
<f_> I just added a comment to an issue and it does not seem to show up in here
<f_> awesome, so it's not too verbose (IMO) after all
<f_> Thanks ConanKudo[m]1 ! :)
<Consolatis[m]1> usually those notifications bots only react to the toplevel event, e.g. comments opened / closed / re-opened and mrs opened / closed / merged / re-opened
<Consolatis[m]1> s/comments/issue/
<f_> yeah right
<Consolatis[m]1> this specific bot also sends some commits when a MR has been merged, that might be something to adjust eventually
<f_> hmmm yeah
<f_> We'll see how this goes
<f_> but I'm calling it a night for now. Good night ^^
<anabelae[m]> night!
Lord_Nightmare has quit [Killed (ozone (No Spam))]
Lord_Nightmare has joined #wayback
Wayback has quit [Ping timeout: 244 seconds]
Wayback has joined #wayback
<anabelae[m]> <axtlos> what command do you run
<anabelae[m]> To this - what's the difference between running with x_display and displayfd? When I run without filling in displayfd, I get the mentioned lock file issues, but if I do, then wayback runs well
<anabelae[m]> The only difference I see is that `xwayback->X_display` does not get filled and there are minor base argument differences