ChanServ changed the topic of #wayland to: https://wayland.freedesktop.org | Discussion about the Wayland protocol and its implementations, plus libinput | register your nick to speak
jmdaemon has joined #wayland
hardening has quit [Ping timeout: 480 seconds]
Kacper_ has joined #wayland
kasper93 is now known as Guest850
Kacper_ is now known as kasper93
Guest850 has quit [Ping timeout: 480 seconds]
luc4 has quit []
paulk has joined #wayland
paulk-bis has quit [Read error: Connection reset by peer]
columbarius has joined #wayland
co1umbarius has quit [Ping timeout: 480 seconds]
DragoonAethis has quit [Quit: hej-hej!]
DragoonAethis has joined #wayland
kenny has quit [Quit: WeeChat 3.7.1]
sav10 has joined #wayland
Company has joined #wayland
caveman has joined #wayland
caveman has quit []
caveman has joined #wayland
caveman has quit [Remote host closed the connection]
caveman has joined #wayland
fmuellner has quit [Ping timeout: 480 seconds]
timidverb has quit [Read error: Connection reset by peer]
caveman has quit [Remote host closed the connection]
caveman has joined #wayland
timidverb has joined #wayland
timidverb has quit []
haasn has quit [Quit: ZNC 1.7.5+deb4 - https://znc.in]
haasn has joined #wayland
zubzub has quit [Server closed connection]
zubzub has joined #wayland
Prf_Jakob has quit [Server closed connection]
Prf_Jakob has joined #wayland
mstoeckl has quit [Server closed connection]
mstoeckl has joined #wayland
ppascher has quit [Ping timeout: 480 seconds]
nerdopolis_ has joined #wayland
puck_ has quit [Server closed connection]
manuel1985 has quit [Ping timeout: 480 seconds]
pieguy128 has quit [Ping timeout: 480 seconds]
nerdopolis_ has quit [Ping timeout: 480 seconds]
pieguy128 has joined #wayland
romangg has quit [Server closed connection]
romangg has joined #wayland
junaid has joined #wayland
caveman has quit [Ping timeout: 480 seconds]
al has quit [Server closed connection]
al has joined #wayland
macc24 has quit [Server closed connection]
macc24 has joined #wayland
sav10 has quit [Ping timeout: 480 seconds]
smallville7123 has joined #wayland
heeen has quit [Server closed connection]
heeen has joined #wayland
whot has quit [Server closed connection]
whot has joined #wayland
mort_ has quit [Server closed connection]
mort_ has joined #wayland
dottedmag has quit [Server closed connection]
dottedmag has joined #wayland
Leopold_ has quit [Remote host closed the connection]
Leopold_ has joined #wayland
Arsen has quit [Server closed connection]
Arsen has joined #wayland
sav10 has joined #wayland
cvmn has quit []
caveman has joined #wayland
dcz_ has joined #wayland
JoshuaAshton has quit [Server closed connection]
JoshuaAshton has joined #wayland
occivink has quit [Server closed connection]
occivink has joined #wayland
phryk has quit [Server closed connection]
phryk has joined #wayland
rv1sr has joined #wayland
junaid has quit [Ping timeout: 480 seconds]
kts has joined #wayland
Sachiel has quit [Read error: Connection reset by peer]
Sachiel has joined #wayland
floof58 has joined #wayland
floof58 has quit [Quit: floof58]
floof58 has joined #wayland
hardening has joined #wayland
opotin has quit [Server closed connection]
opotin has joined #wayland
junaid has joined #wayland
|__ has quit [Server closed connection]
| has joined #wayland
danvet has joined #wayland
tagr has quit [Server closed connection]
tagr has joined #wayland
lockywolf has quit [Server closed connection]
lockywolf has joined #wayland
kts has quit [Quit: Leaving]
adia4 has quit [Server closed connection]
adia4 has joined #wayland
kts has joined #wayland
sav10 has quit []
caveman has quit [Remote host closed the connection]
caveman has joined #wayland
Paul33 has joined #wayland
rv1sr has quit []
luc4 has joined #wayland
puck_ has joined #wayland
rasterman has joined #wayland
FellFromTheSky[m] has quit [Server closed connection]
FellFromTheSky[m] has joined #wayland
jmdaemon has quit [Quit: WeeChat 3.7.1]
Naruto[m] has quit [Server closed connection]
Naruto[m] has joined #wayland
agd5f has quit [Ping timeout: 480 seconds]
additional_pumpkin has joined #wayland
additional_pumpkin has quit []
additional_pumpkin has joined #wayland
manuel1985 has joined #wayland
<additional_pumpkin> where can I find a good example to create a wayland client in c/c++?
junaid has quit [Remote host closed the connection]
junaid has joined #wayland
rgallaispou has joined #wayland
additional_pumpkin has quit [Ping timeout: 480 seconds]
junaid has quit [Ping timeout: 480 seconds]
floof58 has quit [Ping timeout: 480 seconds]
<smallville7123> https://godbolt.org/z/3nzPrzM4z made a syscall system to help with porting wayland :)
<smallville7123> the syscalls will be generated from a list in syscalls.decl and all we need to do is create a wl_miniobj, specify version and type id, then register it's type id to syscalls it wants to handle, followed by a callback for each syscall
<smallville7123> eg uint16_t del_B(wl_miniobj* obj, const uint8_t argc, va_list args) { ... } wl_miniobj_reg(B, WL_MINIOBJ_SYSCALL__NR__DESTROY, del_B); wl_syscall__destroy(create_B());
rgallaispou has quit []
manuel1985 has quit [Ping timeout: 480 seconds]
additional_pumpkin has joined #wayland
<additional_pumpkin> what causes the error interface "'xdg_toplevel' has no event 2"?
<additional_pumpkin> I'm getting it in this program https://raw.githubusercontent.com/NilsBrause/waylandpp/master/example/shm.cpp
kts has quit [Quit: Leaving]
<kennylevinsen> additional_pumpkin: you might be binding a newer version of xdg_shell than you implemented
<kennylevinsen> this is an older C example, but the idea is the same: https://github.com/emersion/hello-wayland
additional_pumpkin has quit [Quit: Konversation terminated!]
additional_pumpkin has joined #wayland
junaid has joined #wayland
deknos82[m] has quit [Server closed connection]
deknos82[m] has joined #wayland
timidverb has joined #wayland
floof58 has joined #wayland
i509VCB has quit [Server closed connection]
i509VCB has joined #wayland
Szadek has quit [Quit: WeeChat 3.7.1]
Szadek has joined #wayland
timidverb has quit []
<additional_pumpkin> is there some c++ code that i can use to create a wayland client?
<elibrokeit> smallville7123: can you clarify why it's bad to build `foo` and `wayland` at the same time in parallel? if the former will create inputs that the latter needs, this should already be an internal dependency relationship between the two targets.
genpaku has quit [Remote host closed the connection]
genpaku has joined #wayland
wlb has quit [Quit: Leaving.]
<SardemFF7> please tell me if wlb is acting weird, just ported the code to libsoup 3
rv1sr has joined #wayland
Leopold_ has quit [Remote host closed the connection]
Leopold_ has joined #wayland
junaid has quit [Remote host closed the connection]
<smallville7123> elibrokeit: i dont know how to force `foo` to be built before `wayland` and `fixed_benchmark` and other stuff wayland builds
<elibrokeit> can you link me to some code? I dont known what foo is and I don't know what project this is, and I don't know what foo produces that Wayland or fixed_benchmark or anything else needs to make use of.
<elibrokeit> is this generated headers? built sources? what?
<smallville7123> this is my meson.build for `foo` https://gist.github.com/mgood7123/d4774448f65585237582e795fa45de16
<smallville7123> generates wl_syscalls.h and wl_syscalls.c
<elibrokeit> > output : 'fake',
<elibrokeit> I uh
<elibrokeit> if you say so
<elibrokeit> you're also using a number of raw compiler args that meson has built-in, see e.g. `gnu_symbol_visibility: 'hidden:` as a build target kwarg.
<elibrokeit> fdiagnostics-color is handled via a global option as well
<elibrokeit> std=c++17 can go in project() default_options
<elibrokeit> anyway, if you're going to use "fake" as your output then that's not going to make build ordering happy
<elibrokeit> it's like specifying in a Makefile:
<elibrokeit> fake:
<elibrokeit> \tmy-generator-prog
<elibrokeit> and then somehow trying to depend on "fake". you can do it, sort of, just add it as a fake input, but you'll never be able to tell whether it exists already
<smallville7123> how so?
<smallville7123> "but you'll never be able to tell whether it exists already "
<elibrokeit> smallville7123: because you declared that it outputs an output called "fake" and that's what all dependency ordering looks for.
<elibrokeit> and I really doubt that you literally wanted to create a file called "fake" ;) when you said it generates wl_syscalls.g and wl_syscalls.c
<smallville7123> so i should call the output `wl_syscalls.c` ?
<smallville7123> also could it race while the file exists but is currently being written to?
<kennylevinsen> when you declare your dependencies correctly, it will build correctly
<kennylevinsen> waiting for one step to finish producing a file that another step needs is the primary job of a build system, so you can be sure that it will do it correctly
Paul33 has quit [Ping timeout: 480 seconds]
Paul33 has joined #wayland
luc4 has quit [Ping timeout: 480 seconds]
anon has joined #wayland
bodiccea has quit [Ping timeout: 480 seconds]
bodiccea has joined #wayland
pitsch[m] has quit [Server closed connection]
pitsch[m] has joined #wayland
bookworm has quit [Remote host closed the connection]
bookworm has joined #wayland
bookworm_ has joined #wayland
pac85[m] has quit [Server closed connection]
pac85[m] has joined #wayland
tleydxdy has quit [Server closed connection]
tleydxdy has joined #wayland
bookworm has quit [Ping timeout: 480 seconds]
manuel1985 has joined #wayland
RAOF has quit [Server closed connection]
RAOF has joined #wayland
doras has quit [Server closed connection]
doras has joined #wayland
robertmader[m] has quit [Server closed connection]
robertmader[m] has joined #wayland
xerpi[m] has quit [Server closed connection]
xerpi[m] has joined #wayland
YaLTeR[m] has quit [Server closed connection]
YaLTeR[m] has joined #wayland
zamundaaa[m] has quit [Server closed connection]
zamundaaa[m] has joined #wayland
additional_pumpkin has quit [Quit: Konversation terminated!]
Seirdy has joined #wayland
rv1sr has quit []
bookworm_ has quit [Ping timeout: 480 seconds]
andyrtr_ has joined #wayland
andyrtr has quit [Ping timeout: 480 seconds]
andyrtr_ is now known as andyrtr
luc4 has joined #wayland
x2s has left #wayland [WeeChat 2.8]
dcz_ has quit [Ping timeout: 480 seconds]
andyrtr_ has joined #wayland
MrCooper has quit [Remote host closed the connection]
MrCooper has joined #wayland
andyrtr- has joined #wayland
andyrtr has quit [Ping timeout: 480 seconds]
andyrtr_ has quit [Ping timeout: 480 seconds]
andyrtr has joined #wayland
andyrtr- has quit [Ping timeout: 480 seconds]
andyrtr_ has joined #wayland
manuel1985 has quit [Ping timeout: 480 seconds]
danvet has quit [Ping timeout: 480 seconds]
andyrtr has quit [Ping timeout: 480 seconds]
andyrtr_ is now known as andyrtr
junglerobba[m] has quit [Server closed connection]
junglerobba[m] has joined #wayland
Company has quit [Read error: Connection reset by peer]
bookworm has joined #wayland
Guest795 is now known as DrNick
bookworm has quit [Ping timeout: 480 seconds]
sav10 has joined #wayland
smallville7123 has quit [Ping timeout: 480 seconds]
frytaped has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
frytaped has joined #wayland
ttancos[m] has quit [Server closed connection]
ttancos[m] has joined #wayland
Paul33 has quit []
sav10 has quit []
sav10 has joined #wayland
glennk has quit [Server closed connection]
glennk has joined #wayland
AndrewAylett[m] has quit [Server closed connection]
AndrewAylett[m]1 has joined #wayland
drakulix[m] has quit [Server closed connection]
drakulix[m] has joined #wayland
GrahamPerrin[m] has quit [Server closed connection]
GrahamPerrin[m] has joined #wayland
Max1 has quit [Server closed connection]
Max1 has joined #wayland
NepNepdmsalwaysopen[m] has quit [Server closed connection]
NepNepdmsalwaysopen[m] has joined #wayland
rails[m] has quit [Server closed connection]
rails[m] has joined #wayland
RomanGilg[m] has quit [Server closed connection]
RomanGilg[m] has joined #wayland
smasher_tati[m] has quit [Server closed connection]
smasher_tati[m] has joined #wayland
unix-supremacist[m] has quit [Server closed connection]
unix-supremacist[m] has joined #wayland
hardening has quit [Ping timeout: 480 seconds]
luc4 has quit [Remote host closed the connection]
Seirdy has quit [Remote host closed the connection]
Seirdy has joined #wayland
thevar1able has quit []
smallville7123 has joined #wayland