Source: tootle
Version: 1.0-alpha1-1
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

tootle fails to cross build from source, because it does not pass a
crossfile to meson. The easiest way of doing so - using
dh_auto_configure - makes tootle cross buildable. Please consider
applying the attached patch.

Helmut
diff --minimal -Nru tootle-1.0-alpha1/debian/changelog 
tootle-1.0-alpha1/debian/changelog
--- tootle-1.0-alpha1/debian/changelog  2020-09-20 17:18:05.000000000 +0200
+++ tootle-1.0-alpha1/debian/changelog  2020-09-21 23:05:54.000000000 +0200
@@ -1,3 +1,10 @@
+tootle (1.0-alpha1-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass a crossfile to meson. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Mon, 21 Sep 2020 23:05:54 +0200
+
 tootle (1.0-alpha1-1) unstable; urgency=low
 
   * New upstream release
diff --minimal -Nru tootle-1.0-alpha1/debian/rules 
tootle-1.0-alpha1/debian/rules
--- tootle-1.0-alpha1/debian/rules      2020-09-20 17:18:05.000000000 +0200
+++ tootle-1.0-alpha1/debian/rules      2020-09-21 23:05:53.000000000 +0200
@@ -11,8 +11,7 @@
        rm -rf debian/build
 
 override_dh_auto_configure:
-       mkdir -p debian/build
-       cd debian/build && meson --prefix=/usr ../..
+       dh_auto_configure --builddirectory=debian/build
 
 override_dh_auto_build:
        cd debian/build && ninja -v

Reply via email to