Source: gettext
Version: 0.21-3
Tags: patch
User: [email protected]
Usertags: cross-satisfiability

gettext participates in dependency loops relevant to architecture
bootstrap and already supports some build profiles to support that
cause. I've looked into easily droppable dependencies anyhow and found
some. For starters, the g++ dependency hampers cross builds and is
satisfied in stable. Next, I looked into fastjar, libglib2.0-dev and
libncurses-dev. I failed to figure out what these could be used for. I
compared a build log of a regular build with one where these are turned
into Build-Conflicts. The resulting artifacts did not change as gettext
is normally reproducible. I've also compared the build logs and couldn't
find any steps or tests that were skipped as a consequence of reducing
these dependencies. As such, I think that is quite safe to just drop
them. Please consider applying the attached patch.

Helmut
diff --minimal -Nru gettext-0.21/debian/changelog gettext-0.21/debian/changelog
--- gettext-0.21/debian/changelog       2020-12-20 17:44:00.000000000 +0100
+++ gettext-0.21/debian/changelog       2021-01-29 07:11:15.000000000 +0100
@@ -1,3 +1,12 @@
+gettext (0.21-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Reduce Build-Depends: (Closes: #-1)
+    + Drop g++ dependency satisfied in stable.
+    + Drop unused fastjar, libglib2.0-dev, libncurses-dev.
+
+ -- Helmut Grohne <[email protected]>  Fri, 29 Jan 2021 07:11:15 +0100
+
 gettext (0.21-3) unstable; urgency=medium
 
   * Install libintl.jar in /usr/share/maven-repo. Closes: #976738.
diff --minimal -Nru gettext-0.21/debian/control gettext-0.21/debian/control
--- gettext-0.21/debian/control 2020-12-20 16:00:00.000000000 +0100
+++ gettext-0.21/debian/control 2021-01-29 07:11:15.000000000 +0100
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Santiago Vila <[email protected]>
 Standards-Version: 4.5.0
-Build-Depends: debhelper-compat (= 13), dh-exec (>= 0.13), dh-elpa, g++ (>= 
4:7), bison, file, help2man, xz-utils, default-jdk <!nojava>, maven-repo-helper 
<!nojava>, fastjar <!nojava>, libglib2.0-dev, libncurses5-dev, 
libunistring-dev, libxml2-dev, groff
+Build-Depends: debhelper-compat (= 13), dh-exec (>= 0.13), dh-elpa, bison, 
file, help2man, xz-utils, default-jdk <!nojava>, maven-repo-helper <!nojava>, 
libunistring-dev, libxml2-dev, groff
 Homepage: https://www.gnu.org/software/gettext/
 Rules-Requires-Root: no
 

Reply via email to