Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Feb 2024 11:03:20 -0600
From:      "Robert R. Russell" <robert@rrbrussell.com>
To:        ports@freebsd.org
Subject:   Re: Installed audio/alsa-plugins and dependencies
Message-ID:  <20240217110320.09af416e@venus.private.rrbrussell.com>
In-Reply-To: <CAONZFgMXu3dzSeXg=qkKeE4MK8EiE%2BcU4cPwdqBooAqvO61JDA@mail.gmail.com>
References:  <CAONZFgO7oh_br=UzCa6_R7acKKgBZRx2uLC4Xd60Z2c6vcKctw@mail.gmail.com> <CAONZFgMXu3dzSeXg=qkKeE4MK8EiE%2BcU4cPwdqBooAqvO61JDA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 17 Feb 2024 10:43:33 -0600
"John Marino (FreeBSD)" <freebsd@marino.st> wrote:

> Hi Jan,
> The point Jonathan was trying to make is that the audio/alsa-plugins
> has many LIB_DEPENDS set, yet they are not reflected in the final
> manifest.
> 
> For example:
> /usr/ports/audio/alsa-plugins # make -V LIB_DEPENDS_ALL | tr ' ' '\n'
> | sort -u libasound.so:audio/alsa-lib
> libavcodec.so:multimedia/ffmpeg
> libjack.so:audio/jack
> libpulse.so:audio/pulseaudio
> libsamplerate.so:audio/libsamplerate
> libspeexdsp.so:audio/speexdsp
> 
> but as Jonathan mentioned, the package manifest excludes most of
> these: # pkg query -F
> /var/synth/live_packages/All/alsa-plugins-1.2.7.1_3.pkg " %do:%dn-%dv"
>  audio/alsa-lib:alsa-lib-1.2.10_1
> 
> If you view the audio/alsa-plugins Makefile it is clear that it
> intends to pull in several subpackages. I believe the package manifest
> is supposed to list them, but it doesn't:
> 
> # pkg info --raw -F
> /var/synth/live_packages/All/alsa-plugins-1.2.7.1_3.pkg name:
> "alsa-plugins" origin: "audio/alsa-plugins"
> version: "1.2.7.1_3"
> comment: "ALSA compatibility library plugins"
> maintainer: "ports@FreeBSD.org"
> www: "https://www.alsa-project.org/"
> abi: "FreeBSD:13:amd64"
> arch: "freebsd:13:x86:64"
> prefix: "/usr/local"
> flatsize: 97570
> licenselogic: "single"
> licenses: [
>     "LGPL21+"
> ]
> desc: "The Advanced Linux Sound Architecture (ALSA) plugins"
> deps: {
>     alsa-lib: {
>         origin: "audio/alsa-lib",
>         version: "1.2.10_1"
>     }
> }
> categories: [
>     "audio"
> ]
> shlibs_required: [
>     "libasound.so.2"
> ]
> shlibs_provided: [
>     "libasound_module_ctl_arcam_av.so",
>     "libasound_module_ctl_oss.so",
>     "libasound_module_pcm_oss.so",
>     "libasound_module_pcm_upmix.so",
>     "libasound_module_pcm_usb_stream.so",
>     "libasound_module_pcm_vdownmix.so"
> ]
> options: {
>     FFMPEG: "on",
>     JACK: "on",
>     PULSEAUDIO: "on",
>     SAMPLERATE: "on",
>     SPEEX: "on"
> }
> [etc]
> 
> 
> Bottom line:
> I think the subpackage code missed support for the package manifest.
> Regards,
> John
> 

Would that missing code cause audio/alsa-plugins to show a need for a
rebuild with new dependencies every time poudriere runs?



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