Source: clutter-gst-3.0
Version: 3.0.27-3
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

clutter-gst-3.0 fails to cross build from source, because it fails
running the gtk-doc scanner. It has its documentation nicely split to a
-doc package, so we can simply skip the documentation build in an
arch-only build and thus fix cross compilation. I'm attaching a patch
for this.

I recognize that clutter-gst-3.0 is not developed anymore and may be
removed like clutter-gtk before too long. If the solution is to remove
the package, then so be it. If there is another upload, consider
including this patch.

Helmut
diff --minimal -Nru clutter-gst-3.0-3.0.27/debian/changelog 
clutter-gst-3.0-3.0.27/debian/changelog
--- clutter-gst-3.0-3.0.27/debian/changelog     2022-05-12 22:30:52.000000000 
+0200
+++ clutter-gst-3.0-3.0.27/debian/changelog     2024-01-21 23:08:30.000000000 
+0100
@@ -1,3 +1,10 @@
+clutter-gst-3.0 (3.0.27-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Skip gtk-doc on arch-only builds. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sun, 21 Jan 2024 23:08:30 +0100
+
 clutter-gst-3.0 (3.0.27-3) unstable; urgency=medium
 
   * Add patch from Arch Linux to fix corrupted display with Cheese
diff --minimal -Nru clutter-gst-3.0-3.0.27/debian/rules 
clutter-gst-3.0-3.0.27/debian/rules
--- clutter-gst-3.0-3.0.27/debian/rules 2022-05-12 22:30:52.000000000 +0200
+++ clutter-gst-3.0-3.0.27/debian/rules 2024-01-21 23:08:27.000000000 +0100
@@ -11,7 +11,7 @@
 
 override_dh_auto_configure:
        dh_auto_configure -- \
-               --enable-gtk-doc \
+               --$(if $(filter libclutter-gst-3.0-doc,$(shell 
dh_listpackages)),en,dis)able-gtk-doc \
                --enable-introspection
 
 override_dh_install:

Reply via email to