conky: add wayland support#58820
Conversation
|
fails on arm, i'll check on it |
| makedepends="alsa-lib-devel imlib2-devel libXdamage-devel libXft-devel | ||
| libXinerama-devel libcurl-devel librsvg-devel lua53-devel ncurses-devel | ||
| toluapp-devel wireless_tools-devel cairo-devel wayland-devel" | ||
| toluapp-devel wireless_tools-devel cairo-devel wayland-devel wayland-protocols" |
There was a problem hiding this comment.
you forgot to add wlroots-devel. Also i can recommend moving wayland-devel to hostmakedepends to avoid the missing wayland-scanner error
| configure_args="-DRELEASE=ON | ||
| -DDOC_PATH=share/doc/${pkgname} -DBUILD_CURL=ON | ||
| -DBUILD_RSS=ON -DBUILD_WLAN=ON -DBUILD_X11=ON -DBUILD_XDBE=ON | ||
| -DBUILD_RSS=ON -DBUILD_WLAN=ON -DBUILD_X11=ON -DBUILD_XDBE=ON -DBUILD_WAYLAND=ON -DBUILD_XDBE=ON |
There was a problem hiding this comment.
also i can recommend to clean dubicated flags like -DBUILD_XDBE=ON :)
|
so i'm a little bit confused here, it complains with this on arm builds tried shuffling args around but nope, checked if it exists and yes it does, and finally confirmed that Void does not offer wlr-protocol package, which i want to make shortly but, do anyone have an idea why does it succeed on x86 platforms but not on arm? its merely a text files.. I'm having a doubt to move forward as i might waste another 3 hours, could be just cmake being funny or something else. For now I can't work on this due to personal responsibilities, maybe I'll try next week or so. Would be nice if anyone could give me an alternate idea |
|
You should be able to fix the missing protocol file error with the following patch...
EDIT: Tested and seems to build fine with this patch applied to both native and cross-builds diff -ur conky-1.22.2/src/CMakeLists.txt conky-1.22.2-patched/src/CMakeLists.txt
--- conky-1.22.2/src/CMakeLists.txt 2025-06-30 21:36:51.000000000 +0100
+++ conky-1.22.2-patched/src/CMakeLists.txt 2026-02-06 00:07:28.494824283 +0000
@@ -336,6 +336,7 @@
NO_CACHE
REQUIRED
NO_DEFAULT_PATH
+ NO_CMAKE_FIND_ROOT_PATH
)
message(STATUS "PROTOCOL '${name}' ${VERSION} file: ${PROTOCOL_FILE}")
unset(VERSION) |
Testing the changes
Local build testing
Hello! I added wayland support for conky. This will fix conky floating above all applications.
Patch is based on #58178, specifically zlice's patch. If you need anything then let me know, thanks in advance.