Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Feb 2024 19:17:41 +0000
From:      jonc@chen.org.nz
To:        "Jan Beich" <jbeich@freebsd.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Installed audio/alsa-plugins and dependencies
Message-ID:  <1b27f0f5d3062493151897d85e562740@chen.org.nz>
In-Reply-To: <eddc-lg8j-wny@FreeBSD.org>
References:  <eddc-lg8j-wny@FreeBSD.org> <641ffb1d-1a6a-46bc-81ce-1daba2dec27b@chen.org.nz>

next in thread | previous in thread | raw e-mail | index | archive | help
February 17, 2024 1:56 AM, "Jan Beich" <jbeich@freebsd.org> wrote:

>> But the installed package reports:
>> 8:09pm# pkg info --dependencies alsa-plugins
>> alsa-plugins-1.2.7.1_3:
>> alsa-lib-1.2.10_1
>=20
>=20Check dependencies of subpackages instead e.g.,
>=20
>=20$ pkg info -xd 'alsa-plugins-[^0-9]'
> alsa-plugins-ffmpeg-1.2.7.1_3:
> ffmpeg-6.1.1_3,1
> alsa-lib-1.2.10_1
> alsa-plugins-jack-1.2.7.1_3:
> jackit-1.9.22_2
> alsa-lib-1.2.10_1
> alsa-plugins-pulseaudio-1.2.7.1_3:
> pulseaudio-16.1_2
> alsa-lib-1.2.10_1
> alsa-plugins-samplerate-1.2.7.1_3:
> libsamplerate-0.2.2_1
> alsa-lib-1.2.10_1
> alsa-plugins-speex-1.2.7.1_3:
> speexdsp-1.2.1
> alsa-lib-1.2.10_1
>=20
>>=20It appears to be missing the SUBPACKAGE dependencies. Is this
>> intentional, or a bug?
>=20
>=20Intentional. See pkg-message:
>=20
>=20Plugins with extra dependencies moved into subpackages:
> - alsa-plugins-ffmpeg
> - alsa-plugins-jack
> - alsa-plugins-pulseaudio
> - alsa-plugins-samplerate
> - alsa-plugins-speex

In my opinion, that's _not_ correct. When we install any non-SUBPACKAGE p=
ackage, anything listed in LIB_DEPENDS or USES are automatically listed a=
s package dependencies. However, if I install audio/alsa-plugins, the onl=
y way I know what dependencies are required is to by consulting /usr/port=
s/audio/alsa-plugins/Makefile. And if audio/alsa-plugins was to be compil=
ed with non-standard OPTIONS, it's impossible to tell what dependencies a=
re _actually_ required.

Cheers.
--
Jonathan Chen <jonc@chen.org.nz>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1b27f0f5d3062493151897d85e562740>