#790338 libcanberra-pulse: unnecessary dependency on pulseaudio package

Package:
libcanberra-pulse
Source:
libcanberra
Description:
PulseAudio backend for libcanberra
Submitter:
Rafal
Date:
2021-06-17 18:51:04 UTC
Severity:
minor
#790338#5
Date:
2015-06-28 08:21:54 UTC
From:
To:
Dear Maintainer,

the libcanberra-pulse package depends on pulseaudio server but,
in fact, the pulseaudio server may be on a different machine.
I have such situation and the package looks to work without
pulseaudio package installed (i have installed libcanberra-pulse
with --force-depends option).

#790338#10
Date:
2021-06-17 18:48:42 UTC
From:
To:
Hi,

Nowadays, this could facilitate having the PipeWire pulse server without
installing PulseAudio server it-self. I suspect that this will solve my
situation regarding #989800.
In fact libcanberra-pulse is recommended by gnome-control-center probably for
the reason of my trouble.

Sure libcanberra is a bit obscure to me as I was thinking that libcanberra-
gstreamer and gstreamer1.0-pipewire will do the job in GNOME as alternative to
libcanberra-pulse and pulseaudio, even regarding sound tests in gnome-control-
center.

Another mystery is that the alert sound/theme selected in gnome-control-center
is not handled by any gsetting property, isn't it?

What ever the current alert sound, there is:

$ gsettings get org.gnome.desktop.sound theme-name
'__custom'

Moreover its default value is 'freedesktop' but it is not a « stable » value. In
another words gnome-control-center will change it to '__custom' whatever the
sound alert is selected.

It is easy to check:

$ gsettings reset org.gnome.desktop.sound theme-name

$ gsettings get org.gnome.desktop.sound theme-name
'freedesktop'

$ gnome-control-center # then select any alert sound and quit

ALSA lib pcm_dmix.c:1075:(snd_pcm_dmix_open) unable to open slave
(gnome-control-center:12136): sound-cc-panel-WARNING **: 20:38:57.759: Failed to
play alert sound /usr/share/sounds/gnome/default/alerts/drip.ogg: Not available

Note: this last message is another strange story because the file exists on my
system but it was not played due to my initial trouble.
And then:

$ gsettings get org.gnome.desktop.sound theme-name
'__custom'

Also why this value is not 'gnome' in fact:

$ ls /usr/share/sounds/
alsa  freedesktop  gnome  purple  sf2  sf3  sound-icons  speech-dispatcher

that should be a bit more intuitive to me.


Thanks,
Patrice