Source: explosive-c4
Version: 1.3-1
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

explosive-c4 was converted to qmake6 at a time when debhelper did not
support it. Infortunately, the qmake command is architecture-dependent
and hence replacing just qmake is not sufficient to cover cross
compilation. We now have a qmake6 build system and it works for cross
compilation. I'm attaching a patch for your convenience.

Helmut
diff --minimal -Nru explosive-c4-1.3/debian/changelog 
explosive-c4-1.3/debian/changelog
--- explosive-c4-1.3/debian/changelog   2024-05-14 18:19:24.000000000 +0200
+++ explosive-c4-1.3/debian/changelog   2024-08-24 14:10:28.000000000 +0200
@@ -1,3 +1,10 @@
+explosive-c4 (1.3-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCFBS: Use the qmake6 debhelper buildsystem. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sat, 24 Aug 2024 14:10:28 +0200
+
 explosive-c4 (1.3-1) unstable; urgency=low
 
   * New upstream release
diff --minimal -Nru explosive-c4-1.3/debian/clean explosive-c4-1.3/debian/clean
--- explosive-c4-1.3/debian/clean       2024-05-14 18:19:24.000000000 +0200
+++ explosive-c4-1.3/debian/clean       2024-08-24 14:10:28.000000000 +0200
@@ -1,3 +1,2 @@
-qmake
 src/.qm/
 src/qmake_qmake_qm_files.qrc
diff --minimal -Nru explosive-c4-1.3/debian/control 
explosive-c4-1.3/debian/control
--- explosive-c4-1.3/debian/control     2024-05-14 18:19:24.000000000 +0200
+++ explosive-c4-1.3/debian/control     2024-08-24 14:10:28.000000000 +0200
@@ -3,6 +3,7 @@
 Priority: optional
 Maintainer: Salvo 'LtWorf' Tomaselli <ltw...@debian.org>
 Build-Depends:
+ debhelper (>= 13.11.9),
  debhelper-compat (= 13),
  qmake6,
  qt6-base-dev,
diff --minimal -Nru explosive-c4-1.3/debian/rules explosive-c4-1.3/debian/rules
--- explosive-c4-1.3/debian/rules       2024-05-14 18:19:24.000000000 +0200
+++ explosive-c4-1.3/debian/rules       2024-08-24 14:10:28.000000000 +0200
@@ -3,8 +3,4 @@
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
 %:
-       dh $@ --sourcedirectory=src
-
-override_dh_auto_configure:
-       ln -s /usr/bin/qmake6 ./qmake
-       PATH=`pwd`:$(PATH) dh_auto_configure
+       dh $@ --sourcedirectory=src --buildsystem=qmake6

Reply via email to