https://bugs.kde.org/show_bug.cgi?id=454912

            Bug ID: 454912
           Summary: CMake build: "Optional" packages are actually required
           Product: layer-shell-qt
           Version: unspecified
          Platform: Compiled Sources
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: aleix...@kde.org
          Reporter: awil...@adelielinux.org
  Target Milestone: ---

SUMMARY
The dependencies in layer-shell-qt's CMake file are all required, yet they are
marked as optional.


STEPS TO REPRODUCE
1. Build with required packages installed but optional packages not installed.


OBSERVED RESULT
Without wayland-protocols:
make[2]: *** No rule to make target '/stable/xdg-shell/xdg-shell.xml', needed
by 'src/wayland-xdg-shell-client-protocol.h'.  Stop.

Without QtWaylandScanner:
/bin/sh: 1: QtWaylandScanner_EXECUTABLE-NOTFOUND: not found
make[2]: *** [src/CMakeFiles/LayerShellQtInterface.dir/build.make:106:
src/qwayland-wlr-layer-shell-unstable-v1.h] Error 127


EXPECTED RESULT
Either the build should succeed, or the packages should be listed as REQUIRED
instead of OPTIONAL in CMakeLists.txt.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux gwyn.foxkit.us 5.15.28-mc1-easy #1 SMP Sat Apr 30
09:14:06 UTC 2022 ppc64 GNU/Linux
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.4 + KDE patches


ADDITIONAL INFORMATION
n/a

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to