wmww / gtk4-layer-shell

A library to create panels and other desktop components for Wayland using the Layer Shell protocol and GTK4
MIT License
128 stars 4 forks source link

Libwayland-client not found #39

Open ProbstDJakob opened 1 month ago

ProbstDJakob commented 1 month ago

With the release of the fedora package (#32) I've tried to use this library within my application. It worked, but with the problem It works on my machine ^^. The problem is, that fedora only delivers the libwayland-client.so with the wayland-devel package and the non-development version libwayland-client does only deliver the libwayland-client.so.0 and libwayland-client.so.0.22.0 (package files) files. This has the effect that the code on line 33 successfully finds the library on my local machine where wayland-devel is installed, but not on the target system where only libwayland-client is installed.

Long story short, could the code on line 33 be extended to also look for libwayland-client.so.0 (and maybe also for libwayland-client.so.0.* - other versions - if this is possible/needed)? If this is something which should be added I am willing to open a PR.