[Debian-on-mobile-maintainers] Bug#1064460: gnome-calls FTCBFS: fails running gtk-doc scanner
Helmut Grohne
helmut at subdivi.de
Thu Feb 22 10:38:43 GMT 2024
Source: gnome-calls
Version: 45~alpha.0-4
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs
gnome-calls fails to cross build from source, because it fails running
the gtk-doc scanner. Fortunately, it has its documentation split out
into an arch:all package. Therefore, we can skip gtk-doc in arch-only
builds. I compared full/arch-only/indep-only builds using diffoscope to
see thta this does not cause unintended effects. Please consider
applying the attached patch. It also makes gnome-calls cross buildable.
Helmut
-------------- next part --------------
diff --minimal -Nru gnome-calls-45~alpha.0/debian/changelog gnome-calls-45~alpha.0/debian/changelog
--- gnome-calls-45~alpha.0/debian/changelog 2023-07-12 12:04:58.000000000 +0200
+++ gnome-calls-45~alpha.0/debian/changelog 2024-02-22 10:55:34.000000000 +0100
@@ -1,3 +1,10 @@
+gnome-calls (45~alpha.0-4.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Skip building gtk-doc in arch-only builds. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de> Thu, 22 Feb 2024 10:55:34 +0100
+
gnome-calls (45~alpha.0-4) unstable; urgency=medium
* Team upload
diff --minimal -Nru gnome-calls-45~alpha.0/debian/rules gnome-calls-45~alpha.0/debian/rules
--- gnome-calls-45~alpha.0/debian/rules 2023-03-19 09:29:30.000000000 +0100
+++ gnome-calls-45~alpha.0/debian/rules 2024-02-22 10:55:34.000000000 +0100
@@ -6,7 +6,7 @@
# https://gitlab.gnome.org/GNOME/calls/-/issues/334
export DEB_LDFLAGS_MAINT_STRIP = -Wl,-Bsymbolic-functions
-ifeq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
+ifeq ($(filter nodoc,$(DEB_BUILD_PROFILES))$(filter gnome-calls-doc,$(shell dh_listpackages)),gnome-calls-doc)
CONFIGURE_OPTS+=-Dgtk_doc=true
else
CONFIGURE_OPTS+=-Dgtk_doc=false
@@ -18,8 +18,7 @@
override_dh_auto_configure:
dh_auto_configure -- $(CONFIGURE_OPTS)
-override_dh_auto_build:
- dh_auto_build
+execute_after_dh_auto_build-indep:
ifeq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
# https://github.com/mesonbuild/meson/pull/2862
dh_auto_build -- calls-doc
More information about the Debian-on-mobile-maintainers
mailing list