Bug#981210: vala: reduce Build-Depends

Helmut Grohne helmut at subdivi.de
Wed Jan 27 09:53:52 GMT 2021


Source: vala
Version: 0.48.13-1
Tags: patch
User: debian-cross at lists.debian.org
Usertags: cross-satisfiability

vala cannot be cross built from source, because it has unsatisfiable
Build-Depends. It also participates in dependency loops relevant to
architecture bootstrap. Rather than look into such difficult problems, I
looked for easily droppable dependencies. At first, it seemed like
help2man was unused, but it turns out that vala degrades to shipping
prebuilt manual pages. I suggest deleting the prebuilt ones to ensure
that they're always generated. The documentation is only needed for
vala-N.NN-doc, which is Arch:all and the build makes building the
documentation optional. As such, docbook-xml and xsltproc can be demoted
to Build-Depends-Indep. The dependencies libdbus-1-dev, dbus and
libgirepository1.0-dev seem to be relevant to unit tests only. They
don't otherwise influence the resulting build artifacts. I therefore
propose annotating them <!nocheck>. Please consider applying the
attached patch.

Helmut
-------------- next part --------------
diff --minimal -Nru vala-0.48.13/debian/changelog vala-0.48.13/debian/changelog
--- vala-0.48.13/debian/changelog	2021-01-11 16:10:31.000000000 +0100
+++ vala-0.48.13/debian/changelog	2021-01-27 10:46:32.000000000 +0100
@@ -1,3 +1,14 @@
+vala (0.48.13-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Reduce Build-Depends: (Closes: #-1)
+    + Clean out doc/*.1 to ensure that help2man is being run.
+    + Demote docbook-xml and xsltproc to Build-Depends-Indep.
+    + Annotate test dependencies libdbus-1-dev, dbus, libgirepository1.0-dev
+      with <!nocheck>.
+
+ -- Helmut Grohne <helmut at subdivi.de>  Wed, 27 Jan 2021 10:46:32 +0100
+
 vala (0.48.13-1) unstable; urgency=medium
 
   * New upstream release
diff --minimal -Nru vala-0.48.13/debian/clean vala-0.48.13/debian/clean
--- vala-0.48.13/debian/clean	1970-01-01 01:00:00.000000000 +0100
+++ vala-0.48.13/debian/clean	2021-01-27 10:46:26.000000000 +0100
@@ -0,0 +1 @@
+doc/*.1
diff --minimal -Nru vala-0.48.13/debian/control vala-0.48.13/debian/control
--- vala-0.48.13/debian/control	2021-01-11 16:10:31.000000000 +0100
+++ vala-0.48.13/debian/control	2021-01-27 10:46:32.000000000 +0100
@@ -8,17 +8,17 @@
 Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers at lists.alioth.debian.org>
 Uploaders: Jeremy Bicha <jbicha at debian.org>, Sebastian Reichel <sre at debian.org>, Rico Tzschichholz <ricotz at ubuntu.com>
 Build-Depends: debhelper (>= 11),
-               docbook-xml,
                libglib2.0-dev (>= 2.48),
                libgraphviz-dev (>= 2.16),
                bison (>= 2.3),
                flex,
                gnome-pkg-tools,
                help2man,
-               xsltproc,
-               libdbus-1-dev,
-               dbus (>= 1.8),
-               libgirepository1.0-dev
+               libdbus-1-dev <!nocheck>,
+               dbus (>= 1.8) <!nocheck>,
+               libgirepository1.0-dev <!nocheck>,
+Build-Depends-Indep: docbook-xml,
+                     xsltproc,
 Standards-Version: 4.2.1
 Vcs-Git: https://salsa.debian.org/gnome-team/vala.git
 Vcs-Browser: https://salsa.debian.org/gnome-team/vala


More information about the pkg-gnome-maintainers mailing list