Source: libserial
Version: 1.0.0-4
Tags: patch
User: [email protected]
Usertags: cross-satisfiability

libserial cannot be cross built from source, because its Build-Depends
are not satisfiable. Instead of looking into such a difficult problem, I
looked into easily droppable dependencies. It turns out that the docbook
and doxygen documentation are not built and thus all of docbook,
doxygen, intltool and graphviz can be dropped with no replacement. The
sphinx documentation is only needed for arch:all packages and only needs
to be built in indep builds. Therefore the sphinx dependencies can be
moved to B-D-I. Please consider applying the attached patch.

Helmut
diff --minimal -Nru libserial-1.0.0/debian/changelog 
libserial-1.0.0/debian/changelog
--- libserial-1.0.0/debian/changelog    2020-03-11 09:42:35.000000000 +0100
+++ libserial-1.0.0/debian/changelog    2021-02-07 11:05:23.000000000 +0100
@@ -1,3 +1,12 @@
+libserial (1.0.0-4.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Reduce Build-Depends: (Closes: #-1)
+    + Drop unused docbook, doxygen, graphviz, and intltool.
+    + Demote sphinx dependencies to B-D-I.
+
+ -- Helmut Grohne <[email protected]>  Sun, 07 Feb 2021 11:05:23 +0100
+
 libserial (1.0.0-4) unstable; urgency=medium
 
   * Don't depend on boost anymore
diff --minimal -Nru libserial-1.0.0/debian/control 
libserial-1.0.0/debian/control
--- libserial-1.0.0/debian/control      2020-03-11 09:42:33.000000000 +0100
+++ libserial-1.0.0/debian/control      2021-02-07 11:05:23.000000000 +0100
@@ -5,15 +5,11 @@
 Maintainer: Gianfranco Costamagna <[email protected]>
 Uploaders: David Morris <[email protected]>
 Build-Depends: debhelper-compat (= 12),
-               docbook,
-               graphviz,
                libgtest-dev,
-               intltool,
                libboost-test-dev,
                python3-sip-dev,
-               python3-sphinx,
-               python3-sphinx-rtd-theme,
-Build-Depends-Indep: doxygen
+Build-Depends-Indep: python3-sphinx,
+                     python3-sphinx-rtd-theme,
 Standards-Version: 4.5.0
 Rules-Requires-Root: no
 Vcs-Browser: https://salsa.debian.org/debian/libserial

Reply via email to