News for hackers. Stuff that matters.
Re:Wayfire (a Wayland compositor) 0.8.0 announcement by nickstinemates on Tuesday October 10, 2023 @10:28AM (#37832564)
Isn't dbus a pretty heavy dependency to bring in to a project?
Re:Wayfire (a Wayland compositor) 0.8.0 announcement by charcircuit on Tuesday October 10, 2023 @10:54AM (#37832884)
If a program is targeting the Linux desktop (freedesktop) then it should be assumed that dbus exists.
Re:Wayfire (a Wayland compositor) 0.8.0 announcement by vidarh on Tuesday October 10, 2023 @11:05AM (#37833016)
Dbus can work peer to peer and the protocol is lightweight, so using the protocol and giving the option of either binding to a socket or connecting to the message bus isn't that much effort, and then you cater for both people who want to run the message bus and those who don't.
Re:Wayfire (a Wayland compositor) 0.8.0 announcement by junon on Tuesday October 10, 2023 @11:56AM (#37833807)
Not really. It's just a bit cumbersome to use and assumes a lot about the system's setup. The protocol itself is actually pretty lightweight and simple. The library is a pain to deal with at times, at least it was several years ago.