> > Related: can modules depend on modules, so we could make x_keymap a
> > module of its own and have both gtk and sdl depend on it?
> > That would also be useful when trying to modularize spice.
> How hard would it be to modularize the libspice-server side? The part
> of the library that is used by QXL rendering should have much fewer
> dependencies than the part that is used for keyboard, mouse, audio,
> vmchannel/agent, etc.
kbd, mouse, audio is needed on the client side and is not part of
libspice-server anyway. So spice is much less of a burden compared
to sdl/gtk which bring alot of ui toolkit deps.