After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 689965 - Should depends on pulseaudio 2.0
Should depends on pulseaudio 2.0
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
3.6.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2012-12-10 11:17 UTC by Guillaume Desmottes
Modified: 2012-12-11 10:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Depend on libpulse 2.0 (1.32 KB, patch)
2012-12-10 11:20 UTC, Guillaume Desmottes
committed Details | Review

Description Guillaume Desmottes 2012-12-10 11:17:28 UTC
I hit this build error when updating my Shell to master this morning.
Configure didn't check that the right version of libpulse was installed.

gvc-mixer-control.c:1477:57: error: 'pa_sink_port_info' has no member named 'available'
gvc-mixer-control.c:1477:72: error: 'PA_PORT_AVAILABLE_NO' undeclared (first use in this function)
gvc-mixer-control.c:1477:72: note: each undeclared identifier is reported only once for each function it appears in
gvc-mixer-control.c: At top level:
gvc-mixer-control.c:1866:30: error: unknown type name 'pa_card_port_info'
gvc-mixer-control.c: In function 'is_card_port_an_output':
gvc-mixer-control.c:1889:35: error: 'PA_DIRECTION_OUTPUT' undeclared (first use in this function)
gvc-mixer-control.c: In function 'create_ui_device_from_port':
gvc-mixer-control.c:1903:49: error: 'PA_PORT_AVAILABLE_NO' undeclared (first use in this function)
gvc-mixer-control.c: In function 'update_card':
gvc-mixer-control.c:2097:37: error: 'pa_card_info' has no member named 'n_ports'
gvc-mixer-control.c:2100:52: error: 'pa_card_info' has no member named 'ports'
gvc-mixer-control.c:2101:58: error: 'pa_card_info' has no member named 'ports'
gvc-mixer-control.c:2102:46: error: 'pa_card_info' has no member named 'ports'
gvc-mixer-control.c:2103:47: error: 'pa_card_info' has no member named 'ports'
gvc-mixer-control.c:2104:47: error: 'pa_card_info' has no member named 'ports'
gvc-mixer-control.c:2105:25: warning: implicit declaration of function 'determine_profiles_for_port' [-Wimplicit-function-declaration]
gvc-mixer-control.c:2105:75: error: 'pa_card_info' has no member named 'ports'
gvc-mixer-control.c:2135:45: error: 'pa_card_info' has no member named 'n_ports'
gvc-mixer-control.c:2136:69: error: 'pa_card_info' has no member named 'ports'
gvc-mixer-control.c:2137:73: error: 'pa_card_info' has no member named 'ports'
gvc-mixer-control.c:2138:76: error: 'pa_card_info' has no member named 'ports'
gvc-mixer-control.c:2146:111: error: 'PA_PORT_AVAILABLE_NO' undeclared (first use in this function)
gvc-mixer-control.c: In function 'is_card_port_an_output':
gvc-mixer-control.c:1890:1: warning: control reaches end of non-void function [-Wreturn-type]
Comment 1 Guillaume Desmottes 2012-12-10 11:20:17 UTC
Created attachment 231139 [details] [review]
Depend on libpulse 2.0

Commit 3af9f636af23cd59c3d4ce00f3f4a0fdefd36386 introduced a dependency on
libpulse 2.0 so best to check for it.
Comment 2 Giovanni Campagna 2012-12-10 21:25:05 UTC
Review of attachment 231139 [details] [review]:

Ah, I thought PulseAudio was an assumed part of the platform, being at version 2.0 in the modulesets.
Comment 3 Guillaume Desmottes 2012-12-11 10:43:09 UTC
Attachment 231139 [details] pushed as 9c9cf6f - Depend on libpulse 2.0