[Pkg-telepathy-maintainers] Bug#1083107: telepathy-mission-control-5 FTCBFS: fails running gtk-doc scanner

Helmut Grohne helmut at subdivi.de
Tue Oct 1 17:21:17 BST 2024


Source: telepathy-mission-control-5
Version: 1:5.16.5-2.2
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs

telepathy-mission-control-5 fails to cross build from source, because it
fails running the gtk-doc scanner. Fortunately, the documentation is
separated to an arch:all -doc package, so there is no benefit of
building documentation in an arch-only build. I'm attaching a patch to
conditionalize this step for your convenience. It makes
telepathy-mission-control-5 cross buildable.

Helmut
-------------- next part --------------
diff --minimal -Nru telepathy-mission-control-5-5.16.5/debian/changelog telepathy-mission-control-5-5.16.5/debian/changelog
--- telepathy-mission-control-5-5.16.5/debian/changelog	2024-03-29 08:18:55.000000000 +0100
+++ telepathy-mission-control-5-5.16.5/debian/changelog	2024-10-01 17:53:49.000000000 +0200
@@ -1,3 +1,10 @@
+telepathy-mission-control-5 (1:5.16.5-2.3) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Skip gtk-doc in arch-only build. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Tue, 01 Oct 2024 17:53:49 +0200
+
 telepathy-mission-control-5 (1:5.16.5-2.2) unstable; urgency=medium
 
   * Non-maintainer upload.
diff --minimal -Nru telepathy-mission-control-5-5.16.5/debian/rules telepathy-mission-control-5-5.16.5/debian/rules
--- telepathy-mission-control-5-5.16.5/debian/rules	2024-03-29 08:18:32.000000000 +0100
+++ telepathy-mission-control-5-5.16.5/debian/rules	2024-10-01 17:53:48.000000000 +0200
@@ -2,9 +2,11 @@
 
 include /usr/share/dpkg/default.mk
 
+DO_PACKAGES = $(shell dh_listpackages)
+
 CONFIGURE_FLAGS = --libexecdir=\$${prefix}/lib/telepathy \
                   --disable-Werror \
-                  --enable-gtk-doc \
+                  --$(if $(filter libmission-control-plugins-doc,$(DO_PACKAGES)),en,dis)able-gtk-doc \
                   --enable-gnome-keyring \
                   --with-html-dir=\$${prefix}/share/doc/libmission-control-plugins-doc \
                   --disable-upower


More information about the Pkg-telepathy-maintainers mailing list