conky
conky copied to clipboard
SDL GUI backend
The idea is to be able to run Conky on ancient OSes and hardware (thinking about MiNT (not the GNU/Linux distro, the Atari OS) or AmigaOS), in a regular window but with minimal coding required, and also to allow testing the GUI backend without X11. I used SDL 1.2 because SDL2 only runs on Windows, OSX and Linux, which limits the interest for old platforms.
For now it only draws text with a hardcoded font. It also still needs to be compiled with X11 due to some variables here and there.
Deploy Preview for conkyweb canceled.
| Name | Link |
|---|---|
| Latest commit | 7f55591ece3afd65d8c82401d5ec7ef47ea92741 |
| Latest deploy log | https://app.netlify.com/sites/conkyweb/deploys/66892184b9b7570008e950b6 |
I added some way to locate and load TTF files by the font name, it kinda works.

Just rebased, had to change some #ifdef info #if defined(BUILD_WAYLAND) || defined(BUILD_SDL) so maybe we'd need some BUILD_NONX11 define around to avoid these lists everywhere?
Just rebased, had to change some
#ifdefinfo#if defined(BUILD_WAYLAND) || defined(BUILD_SDL)so maybe we'd need someBUILD_NONX11define around to avoid these lists everywhere?
That could work, though it seems messy. There's also BUILD_GUI, but it sounds like that won't help here.
The recent changes on color stuff just got rid of the #ifdef thing.
And we have colors :-)
Hi, I changed how registration of output displays works to avoid linker magic, you can check out how other backends are registered on main branch for reference.
Main differences are:
sdl-output.ccshould be guarded by build flag inCMakeLists.txt- You need to provide a log message template fallback in
display-output.ccfor feature gated outputs