r-c-f / waynergy

A synergy client for Wayland compositors
MIT License
410 stars 17 forks source link

Dependency "libtls" not found on Fedora 40 #107

Closed Gregregorovich closed 1 month ago

Gregregorovich commented 1 month ago

Fedora 40 / KDE spin.

After installing libretls from dnf, meson can't find libtls; see below.

$ dnf search libtls
Last metadata expiration check: 7 days, 15:59:13 ago on Thu Jul  4 21:14:29 2024.
===================== Summary Matched: libtls =====================
libretls.x86_64 : Port of libtls from LibreSSL to OpenSSL
libretls.i686 : Port of libtls from LibreSSL to OpenSSL

$ dnf install libretls
[...]

$ meson build
The Meson build system
Version: 1.4.1
Source dir: /home/apps/waynergy/waynergy-0.0.17
Build dir: /home/apps/waynergy/waynergy-0.0.17/build
Build type: native build
Project name: waynergy
Project version: 0.0.17
C compiler for the host machine: cc (gcc 14.1.1 "cc (GCC) 14.1.1 20240701 (Red Hat 14.1.1-7)")
C linker for the host machine: cc ld.bfd 2.41-37
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: YES (/usr/bin/pkg-config) 2.1.1
Run-time dependency wayland-client found: YES 1.22.0
Run-time dependency xkbcommon found: YES 1.6.0
Found CMake: /usr/bin/cmake (3.28.2)
Run-time dependency libtls found: NO (tried pkgconfig and cmake)

meson.build:29:9: ERROR: Dependency "libtls" not found, tried pkgconfig and cmake

A full log can be found at /home/apps/waynergy/waynergy-0.0.17/build/meson-logs/meson-log.txt
WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.

meson-log.txt

Gregregorovich commented 1 month ago

Aha! libretls-devel was the package I needed. Duplicate of #54 , potentially also of #79 don't know how I didn't find said existing issue.