Bug#1022136: kwin FTCBFS: does not find qtwaylandscanner
Source: kwin
Version: 4:5.26.0-1
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs
kwin fails to cross build from source, because it does not find
qtwaylandscanner. The error message from cmake makes it look a little
different, but this the heart of it. Passing the path to it to cmake
fixes this part and is ignored in native builds. After doing this, the
build gets a little further until it bumps into #1022135. I'm attaching
a patch for the former issue for your convenience.
Helmut
diff --minimal -Nru kwin-5.26.0/debian/changelog kwin-5.26.0/debian/changelog
--- kwin-5.26.0/debian/changelog 2022-10-11 15:44:23.000000000 +0200
+++ kwin-5.26.0/debian/changelog 2022-10-20 19:38:44.000000000 +0200
@@ -1,3 +1,10 @@
+kwin (4:5.26.0-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Improve cross building: Pass qtwaylandscanner to cmake. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de> Thu, 20 Oct 2022 19:38:44 +0200
+
kwin (4:5.26.0-1) unstable; urgency=medium
[ Aurélien COUDERC ]
diff --minimal -Nru kwin-5.26.0/debian/rules kwin-5.26.0/debian/rules
--- kwin-5.26.0/debian/rules 2022-10-02 18:15:15.000000000 +0200
+++ kwin-5.26.0/debian/rules 2022-10-20 19:38:44.000000000 +0200
@@ -14,7 +14,8 @@
override_dh_auto_configure:
- dh_auto_configure -Skf5 -- -DBUILD_TESTING=OFF
+ dh_auto_configure -Skf5 -- -DBUILD_TESTING=OFF \
+ -DQTWAYLANDSCANNER_KDE_EXECUTABLE=/usr/lib/qt5/bin/qtwaylandscanner
override_dh_auto_test:
# Disable auto tests at build time
Reply to: