Source: presage
Version: 0.9.1-2.2
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap

presage participates in dependency loops relevant to architecture
bootstrap. Rather than look into such a difficult problem, I looked into
easily droppable dependencies and found some:
 * sqlite3 is unused. presage uses libsqlite3-dev, but not the sqlite3
   binary.
 * swig is practically unused. While it is detected by configure, the
   build of python bindings is skipped due to a missing Python.h.
 * libcppunit-dev is only used during tests and can be annotated
   <!nocheck>.
Please consider applying the attached patch.

Helmut
diff --minimal -Nru presage-0.9.1/debian/changelog 
presage-0.9.1/debian/changelog
--- presage-0.9.1/debian/changelog      2020-01-25 10:31:19.000000000 +0100
+++ presage-0.9.1/debian/changelog      2021-01-30 14:19:50.000000000 +0100
@@ -1,3 +1,14 @@
+presage (0.9.1-2.3) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Reduce Build-Depends: (Closes: #-1)
+    + Drop unused sqlite3 dependency. It only uses libsqlite3-dev.
+    + Drop unused swig dependency. Bindings are not built due to missing
+      Python.h anyway.
+    + Annotate libcppunit-dev <!nocheck>.
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sat, 30 Jan 2021 14:19:50 +0100
+
 presage (0.9.1-2.2) unstable; urgency=medium
 
   [ Aron Xu ]
diff --minimal -Nru presage-0.9.1/debian/control presage-0.9.1/debian/control
--- presage-0.9.1/debian/control        2020-01-25 10:31:19.000000000 +0100
+++ presage-0.9.1/debian/control        2021-01-30 14:19:50.000000000 +0100
@@ -7,12 +7,10 @@
  dh-autoreconf,
  pkg-config,
  libsqlite3-dev,
- sqlite3,
  libtinyxml-dev (>= 2.5.3),
  libncurses5-dev | libncurses-dev,
  help2man,
- libcppunit-dev (>= 1.9.6),
- swig (>= 2.0.4),
+ libcppunit-dev (>= 1.9.6) <!nocheck>,
  libgtk2.0-dev (>= 2.12),
 Build-Depends-Indep: doxygen, graphviz
 Standards-Version: 3.9.7

Reply via email to