Source: goocanvas-2.0
Version: 2.0.4-1
Tags: patch
User: [email protected]
Usertags: ftcbfs

goocanvas-2.0 fails to cross build from source, because it fails running
the gtk-doc scanner with an Exec format error. Fortunately, it has the
documentation separated to an Arch:all package. Hence, we can fix the
cross build by disabling gtk-doc in arch-only builds. I'm attaching a
patch for your convenience.

Helmut
--- goocanvas-2.0-2.0.4/debian/changelog
+++ goocanvas-2.0-2.0.4/debian/changelog
@@ -1,3 +1,10 @@
+goocanvas-2.0 (2.0.4-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Skip gtkdoc in arch-only build. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Sat, 03 Feb 2024 08:40:33 +0100
+
 goocanvas-2.0 (2.0.4-1) unstable; urgency=medium
 
   * New upstream release
--- goocanvas-2.0-2.0.4/debian/rules
+++ goocanvas-2.0-2.0.4/debian/rules
@@ -10,4 +10,4 @@
        dh_girepository
 
 override_dh_auto_configure:
-       dh_auto_configure -- --enable-gtk-doc
+       dh_auto_configure -- --$(if $(filter libgoocanvas-2.0-common,$(shell 
dh_listpackages)),en,dis)able-gtk-doc

Reply via email to