[xml/sgml-pkgs] Bug#981275: xmlsec1: reduce Build-Depends

Helmut Grohne helmut at subdivi.de
Thu Jan 28 15:55:02 GMT 2021


Source: xmlsec1
Version: 1.2.31-1
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap

xmlsec1 participates in dependency loops relevant to architecture
bootstrap. Rather than look into such a difficult problem, I looked for
easily droppable dependencies. It turns out that chrpath is completely
unused. Beyond that, the packaging does not pass --enable-docs-build to
configure. As a consequence, the pregenerated documentation is installed
without using any of the documentation tools. They can be completely
dropped. Please consider applying the attached patch to drop all of
them. Alternatively, update the packaging to actually use these
dependencies.

Helmut
-------------- next part --------------
diff --minimal -Nru xmlsec1-1.2.31/debian/changelog xmlsec1-1.2.31/debian/changelog
--- xmlsec1-1.2.31/debian/changelog	2020-11-27 19:07:53.000000000 +0100
+++ xmlsec1-1.2.31/debian/changelog	2021-01-28 16:31:53.000000000 +0100
@@ -1,3 +1,13 @@
+xmlsec1 (1.2.31-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Reduce Build-Depends: (Closes: #-1)
+    + Drop unused chrpath.
+    + Since --enable-docs-build is not passed, drop documentation dependencies
+      help2man, gtk-doc-tools, man2html-base, and xsltproc.
+
+ -- Helmut Grohne <helmut at subdivi.de>  Thu, 28 Jan 2021 16:31:53 +0100
+
 xmlsec1 (1.2.31-1) unstable; urgency=medium
 
   * New upstream version 1.2.31
diff --minimal -Nru xmlsec1-1.2.31/debian/control xmlsec1-1.2.31/debian/control
--- xmlsec1-1.2.31/debian/control	2020-06-06 16:52:29.000000000 +0200
+++ xmlsec1-1.2.31/debian/control	2021-01-28 16:31:53.000000000 +0100
@@ -6,9 +6,7 @@
  John V. Belmonte <jbelmonte at debian.org>,
  Rene Engelhard <rene at debian.org>,
 Build-Depends:
- chrpath,
  debhelper (>= 11),
- help2man,
  libgcrypt20-dev,
  libgnutls28-dev,
  libnss3-dev,
@@ -16,10 +14,6 @@
  libxml2-dev (>= 2.8.0),
  libxslt1-dev (>= 1.0.20),
  pkg-config,
-Build-Depends-Indep:
- gtk-doc-tools,
- man2html-base,
- xsltproc,
 Standards-Version: 4.1.4
 Homepage: https://www.aleksey.com/xmlsec/
 Vcs-Browser: https://salsa.debian.org/xml-sgml-team/xmlsec1


More information about the debian-xml-sgml-pkgs mailing list