Bug#979281: pulseaudio should reduce unnecessary Build-Depends

Helmut Grohne helmut at subdivi.de
Mon Jan 4 19:37:05 GMT 2021


Source: pulseaudio
Version: 13.0-5
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap

pulseaudio is involved in a number of dependency cycles relevant to
architecture bootstrapping. Those are hard to solve, but without looking
into detail, a number of dependencies can be easily dropped:

 * check is only used for unittests. Therefore it can be skipped with
   the <!nocheck> build profile.
 * libsamplerate0-dev is deprecated in pulseaudio and only enabled when
   explicitly passing --enable-libsamplerate. The package hasn't done
   this and therefore libsamplerate is unused.
 * libjson-c-dev is unused since version 10.0 where pulseaudio adopted
   its own json parsing library. See NEWS.

This seems all quite straight forward, no? Please apply the attached
patch.

Helmut
-------------- next part --------------
diff --minimal -Nru pulseaudio-13.0/debian/changelog pulseaudio-13.0/debian/changelog
--- pulseaudio-13.0/debian/changelog	2020-02-06 03:06:41.000000000 +0100
+++ pulseaudio-13.0/debian/changelog	2021-01-04 20:27:47.000000000 +0100
@@ -1,3 +1,15 @@
+pulseaudio (13.0-5.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Reduce Build-Depends:
+    * Annotate check with <!nocheck>.
+    * Drop libsamplerate0-dev: It is deprecated and no longer enabled when
+      present. Given the lack of --enable-libsamplerate, it wasn't enabled in
+      a while.
+    * Drop libjson-c-dev: Since 10.0, pulseaudio has its own json parser.
+
+ -- Helmut Grohne <helmut at subdivi.de>  Mon, 04 Jan 2021 20:27:47 +0100
+
 pulseaudio (13.0-5) unstable; urgency=medium
 
   * Fix removal of 00-disable-autospawn.conf.
diff --minimal -Nru pulseaudio-13.0/debian/control pulseaudio-13.0/debian/control
--- pulseaudio-13.0/debian/control	2020-02-06 03:06:41.000000000 +0100
+++ pulseaudio-13.0/debian/control	2021-01-04 20:27:37.000000000 +0100
@@ -5,7 +5,7 @@
 Uploaders: Sjoerd Simons <sjoerd at debian.org>,
     Felipe Sateler <fsateler at debian.org>
 Build-Depends: debhelper-compat (= 12),
-    check,
+    check <!nocheck>,
     dh-exec,
     dpkg-dev (>= 1.17.14),
     intltool,
@@ -20,11 +20,9 @@
     libgtk-3-dev,
     libice-dev,
     libjack-dev,
-    libjson-c-dev (>= 0.11),
     liblircclient-dev,
     libltdl-dev,
     liborc-0.4-dev,
-    libsamplerate0-dev,
     libsndfile1-dev,
     libsoxr-dev (>= 0.1.1),
     libspeexdsp-dev (>= 1.2~rc1),


More information about the pkg-pulseaudio-devel mailing list