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 688754 - bump PulseAudio dependency to 2.0
bump PulseAudio dependency to 2.0
Status: RESOLVED FIXED
Product: gnome-settings-daemon
Classification: Core
Component: media-keys
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2012-11-20 21:04 UTC by Evan Nemerson
Modified: 2012-12-02 07:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
configure: bump PulseAudio dependency to 2.0 (712 bytes, patch)
2012-11-20 21:04 UTC, Evan Nemerson
committed Details | Review

Description Evan Nemerson 2012-11-20 21:04:33 UTC
Created attachment 229507 [details] [review]
configure: bump PulseAudio dependency to 2.0

g-s-d uses API not available before PulseAudio 2.0, but according to autotools only depends on 0.9.16.  When attempting to compile with PulseAudio 1.1 I get the following errors:


gvc-mixer-control.c: In function 'update_sink':
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:1864:30: error: unknown type name 'pa_card_port_info'
gvc-mixer-control.c: In function 'is_card_port_an_output':
gvc-mixer-control.c:1887: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:1901:49: error: 'PA_PORT_AVAILABLE_NO' undeclared (first use in this function)
gvc-mixer-control.c: In function 'update_card':
gvc-mixer-control.c:2095:37: error: 'pa_card_info' has no member named 'n_ports'
gvc-mixer-control.c:2098:52: error: 'pa_card_info' has no member named 'ports'
gvc-mixer-control.c:2099:58: error: 'pa_card_info' has no member named 'ports'
gvc-mixer-control.c:2100:46: error: 'pa_card_info' has no member named 'ports'
gvc-mixer-control.c:2101:47: error: 'pa_card_info' has no member named 'ports'
gvc-mixer-control.c:2102:47: error: 'pa_card_info' has no member named 'ports'
gvc-mixer-control.c:2103:25: warning: implicit declaration of function 'determine_profiles_for_port' [-Wimplicit-function-declaration]
gvc-mixer-control.c:2103:25: warning: nested extern declaration of 'determine_profiles_for_port' [-Wnested-externs]
gvc-mixer-control.c:2103:75: error: 'pa_card_info' has no member named 'ports'
gvc-mixer-control.c:2133:45: error: 'pa_card_info' has no member named 'n_ports'
gvc-mixer-control.c:2134:69: error: 'pa_card_info' has no member named 'ports'
gvc-mixer-control.c:2135:73: error: 'pa_card_info' has no member named 'ports'
gvc-mixer-control.c:2136:76: error: 'pa_card_info' has no member named 'ports'
gvc-mixer-control.c:2144:111: error: 'PA_PORT_AVAILABLE_NO' undeclared (first use in this function)
Comment 1 Bastien Nocera 2012-11-20 21:56:10 UTC
Review of attachment 229507 [details] [review]:

++