Menu

#272 Improper dependency in ubunto download

v3.0
open
nobody
None
5
2019-05-26
2019-05-26
mabloom
No

When attempting to Install Sonic Visualiser on Ubuntu, the installation was blocked by missing dependencies for the "jack" sound daemon. Using "apt --fix-broken install" tried to install jackd and some libraries jackd depends on.
Most Ubuntu users use the pulseaudio sound system and do not want jack to even be on their system unless they have very specific reasons for wanting to use it it.

Sonic Visualizer has Pulseaudio as one of it's "preferences" options, but is capable of using it automatically.

There is no reason to complicate the life of a Ubuntu user by making him/her install and learn how to set up the jack daemon and it's functional co-dependencies.

jackd should be removed from the dependencies. This can be done by removing the word "jackd" from the file "DEBIAN/control". Making just this one change will have no effect on Sonic Visualizer itself, but it will allow Ubuntu users who do not want to install jackd (which is most of them) to use the Ubuntu download without going through a learning experience (either one of getting up to speed on the complexities of jackd, or one of learning how to remove a dependency from a ".deb" file).

Here is a diff of the relevant file:
diff -ru orig/DEBIAN/control new/DEBIAN/control
--- orig/DEBIAN/control 2019-05-21 10:23:11.000000000 -0700
+++ new/DEBIAN/control 2019-05-25 18:16:08.508468533 -0700
@@ -5,7 +5,7 @@
Version: 3.3
Installed-Size: 8272
Section: contrib/sound
-Depends: libbz2-1.0, libfftw3-double3, libfftw3-single3, libfishsound1, libid3tag0, jackd, liblo7, liblrdf0, libmad0, liboggz2, libopusfile0, libportaudio2, libpulse0, libqt5network5, libqt5svg5, libqt5xml5, libsamplerate0, libsord-0-0, libc6
+Depends: libbz2-1.0, libfftw3-double3, libfftw3-single3, libfishsound1, libid3tag0, liblo7, liblrdf0, libmad0, liboggz2, libopusfile0, libportaudio2, libpulse0, libqt5network5, libqt5svg5, libqt5xml5, libsamplerate0, libsord-0-0, libc6
Description: View and analyse the contents of music audio files
Sonic Visualiser is an application for viewing and analysing the contents
of music audio files. It was developed at the Centre for Digital Music at

A copy of the file DEBIAN/control, with the word jackd already removed, is attached.

To modify sonic-visualiser_3.3_amd64.deb with this change, do the following:

  1. dpkg-deb --raw-extract ../dpkg-deb --raw-extract sonic-visualiser_3.3_amd64.deb workdir
  2. Edit (or replace) the file workdir/DEBIAN/control
  3. dpkg-deb --build workdir new-sonic-visualiser_3.3_amd64.deb
1 Attachments

Discussion


Log in to post a comment.

MongoDB Logo MongoDB