Source: tumbler
Version: 0.2.7-1
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

tumbler fails to cross build from source, because it runs host code via
gtk-doc. Practically, gtk-doc doesn't work at all in cross builds.
Fortunately, the generated documentation is separated into an arch:all
package here, so we can just disable gtk-doc in arch-only builds (such
as cross builds) and make tumbler cross buildable. Please consider
applying the attached patch.

Helmut
diff --minimal -Nru tumbler-0.2.8/debian/changelog 
tumbler-0.2.8/debian/changelog
--- tumbler-0.2.8/debian/changelog      2020-04-30 09:00:38.000000000 +0200
+++ tumbler-0.2.8/debian/changelog      2020-10-05 20:20:04.000000000 +0200
@@ -1,3 +1,10 @@
+tumbler (0.2.8-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: disable gtk-doc for arch-only builds. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Mon, 05 Oct 2020 20:20:04 +0200
+
 tumbler (0.2.8-2) unstable; urgency=medium
 
   [ Debian Janitor ]
diff --minimal -Nru tumbler-0.2.8/debian/rules tumbler-0.2.8/debian/rules
--- tumbler-0.2.8/debian/rules  2020-04-30 09:00:38.000000000 +0200
+++ tumbler-0.2.8/debian/rules  2020-10-05 20:19:49.000000000 +0200
@@ -14,7 +14,7 @@
        dh_missing --list-missing -X .la
 
 override_dh_auto_configure:
-       dh_auto_configure -- --enable-gtk-doc
+       dh_auto_configure -- --$(if $(filter tumbler-common,$(shell 
dh_listpackages)),en,dis)able-gtk-doc
 
 %:
        dh $@

Reply via email to