Hi there,
I just attempted to compile wlrctl and it failed with:
Run-time dependency xkbcommon found: NO (tried pkgconfig and cmake)
meson.build:29:0: ERROR: Dependency "xkbcommon" not found, tried pkgconfig and cmake
On Fedora, this fixed it:
sudo dnf install libxkbcommon-devel
(This should be documented in the readme.)
Following that, I got a successful build:
The Meson build system
Version: 0.62.2
Source dir: /var/home/aral/sandbox/wlrctl
Build dir: /var/home/aral/sandbox/wlrctl/build
Build type: native build
Project name: wlrctl
Project version: 0.2.1
C compiler for the host machine: cc (gcc 12.1.1 "cc (GCC) 12.1.1 20220507 (Red Hat 12.1.1-1)")
C linker for the host machine: cc ld.bfd 2.37-27
Host machine cpu family: x86_64
Host machine cpu: x86_64
Checking for function "memfd_create" : YES
Found pkg-config: /usr/bin/pkg-config (1.8.0)
Run-time dependency xkbcommon found: YES 1.4.0
Run-time dependency wayland-client found: YES 1.20.0
Program wayland-scanner found: YES (/usr/bin/wayland-scanner)
Found pkg-config: /usr/bin/pkg-config (1.8.0)
Found CMake: /usr/bin/cmake (3.22.2)
Build-time dependency scdoc found: NO (tried pkgconfig and cmake)
Build targets in project: 2
wlrctl 0.2.1
User defined options
prefix: /usr/local
However, running the examples failed:
❯ wlrctl keyboard type 'Hello'
Virtual Keyboard interface not found!
❯ wlrctl window focus firefox
Foreign Toplevel Management interface not found!
Not sure where to go from here.
Ah, I missed the “wlroots” bit. I’m running GNOME. Please feel free to close :)