Fix detection of wayland.xml and empty version strings. ECM uses pkgconfig for this functionality and it was missing from USES. CMake Warning at /usr/local/share/ECM/find-modules/FindWayland.cmake:130 (message): Could not find wayland.xml in Call Stack (most recent call first): src/platform/x11/systemclipboard/CMakeLists.txt:2 (find_package) -- Found Wayland_Server: /usr/local/lib/libwayland-server.so (found version "") -- Found Wayland_Cursor: /usr/local/lib/libwayland-cursor.so (found version "") -- Found Wayland_Egl: /usr/local/lib/libwayland-egl.so (found version "") Remove unneeded and unused kf5-knotifications from the qt6 flavor. It just pulls in qt5 runtime dependencies which makes a qt6 flavor kind of moot. Qt5 build dependencies are still required for ECM. CMake Warning at src/notifications.cmake:4 (message): Native notifications are not supported with Qt 6 Call Stack (most recent call first): src/CMakeLists.txt:24 (include) Defining QtWaylandScanner_EXECUTABLE is no longer needed, see: https://github.com/hluk/CopyQ/pull/2133 Add missing desktop-file-utils to USES. Add patch to silence CMake warnings.
Created attachment 243516 [details] deskutils/copyq: fix wayland detection and qt6 deps
Hello Jason, Awesome work here. Very happy that upstream fix these issues out. Thanks very much! Please commit it!
(In reply to Nuno Teixeira from comment #2) (...) Nevermind about commit. It's assigned to me so I can do the commit. Cheers
(In reply to Jason E. Hale from comment #0) > Add missing desktop-file-utils to USES. Not needed here as done in 0723f2e
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=8cd4394245dbc74a6bab678798c5d6e2ec053921 commit 8cd4394245dbc74a6bab678798c5d6e2ec053921 Author: Jason E. Hale <jhale@FreeBSD.org> AuthorDate: 2023-07-21 18:02:17 +0000 Commit: Nuno Teixeira <eduardo@FreeBSD.org> CommitDate: 2023-07-21 18:02:17 +0000 deskutils/copyq: Fix wayland detection and remove qt5 runtime deps from qt6 flavor PR: 272635 deskutils/copyq/Makefile | 18 ++++++++++-------- deskutils/copyq/distinfo | 4 +++- 2 files changed, 13 insertions(+), 9 deletions(-)
Committed, thanks!