Should -dev package dependencies be added to juce-tools?

Asked by Ankush Menat

I installed projucer and tried to compile basic project without any modification. It fails as some required libraries are missing.

I found solution on JUCE forums. https://forum.juce.com/t/list-of-juce-dependencies-under-linux/15121

Should these packages be added as dependencies so new users don't have to find solution on their own?

FYI:
❯ apt show juce-tools
Package: juce-tools
Version: 5.4.7~ds0-1
Priority: optional
Section: universe/devel
Source: juce
Origin: Ubuntu
Maintainer: Ubuntu Developers <email address hidden>
Original-Maintainer: Debian Multimedia Maintainers <email address hidden>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 9,858 kB
Depends: libc6 (>= 2.29), libfreetype6 (>= 2.2.1), libgcc-s1 (>= 3.0), libglib2.0-0 (>= 2.35.8), libgtk-3-0 (>= 3.0.0), libjpeg8 (>= 8c), libpng16-16 (>= 1.6.2-1), libstdc++6 (>= 5.2), libwebkit2gtk-4.0-37 (>= 2.15.1), libx11-6, libxext6, zlib1g (>= 1:1.1.4)
Recommends: juce-modules-source
Conflicts: introjucer
Breaks: introjucer
Replaces: introjucer
Homepage: https://www.juce.com
Download-Size: 2,973 kB
APT-Manual-Installed: yes
APT-Sources: http://in.archive.ubuntu.com/ubuntu focal/universe amd64 Packages

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu juce Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#1

I suggest you report a bug with your URL as backup of the solution here. This will (hopefully) make the dep a default and others won't experience this issue

Nice find!!

You can start the process with:

ubuntu-bug juce

Cheers
-AndyW

Revision history for this message
Ankush Menat (ankush-menat) said :
#2

Thanks actionparsnip, that solved my question.

Revision history for this message
Kai Kasurinen (kai-kasurinen) said :
#3

Package: juce-tools
Recommends: juce-modules-source

Package: juce-modules-source
Depends: libasound2-dev, libcurl4-gnutls-dev | libcurl-dev, libfreetype6-dev, libgl1-mesa-dev | libgl-dev, libx11-dev, libxext-dev, libxinerama-dev, libxrandr-dev, zlib1g-dev | libz-dev, libwebkit2gtk-4.0-dev, libgtk-3-dev, libflac-dev, libjpeg-dev, libpng-dev, libvorbis-de
v

Revision history for this message
Kai Kasurinen (kai-kasurinen) said :
#4
Revision history for this message
Kai Kasurinen (kai-kasurinen) said :
#5

I don't see bug on dependencies

README.Debian is only provided by juce-modules-source, but juce-tools include NEWS.Debian.gz file:
https://salsa.debian.org/multimedia-team/juce/-/blob/master/debian/NEWS

Revision history for this message
Manfred Hampl (m-hampl) said :
#6

This seems to be a misunderstanding of the package relationships in Ubuntu/Debian.
see e.g. https://www.debian.org/doc/debian-policy/ch-relationships.html

Quote:
Depends
This declares an absolute dependency. A package will not be configured unless all of the packages listed in its Depends field have been correctly configured (unless there is a circular dependency as described above).

Recommends
This declares a strong, but not absolute, dependency.
The Recommends field should list packages that would be found together with this one in all but unusual installations.
End of quote

As far as I understood, juce-tools can be installed without all those extra packages that are listed on that forum psoting, and you can start projucer without these. So they do not qualify for a "depends".

If your attempt to compile an audio project fails with missing dependencies, then this is something different and in my opinion falls into the "recommends" category.