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 681734 - bluetooth: Require gnome-bluetooth 3.5.5
bluetooth: Require gnome-bluetooth 3.5.5
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: Bluetooth
unspecified
Other All
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
: 681471 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-08-13 09:02 UTC by Stef Walter
Modified: 2012-08-14 12:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
bluetooth: Require gnome-bluetooth 3.5.4 (1007 bytes, patch)
2012-08-13 09:02 UTC, Stef Walter
none Details | Review
bluetooth: Require gnome-bluetooth 3.5.5 (1007 bytes, patch)
2012-08-13 09:08 UTC, Stef Walter
committed Details | Review

Description Stef Walter 2012-08-13 09:02:09 UTC
gnome-control-center fails to build with older gnome-bluetooth.
Errors like this show up.

cc-bluetooth-panel.c: In function 'power_callback':
cc-bluetooth-panel.c:359:14: error: 'BLUETOOTH_KILLSWITCH_STATE_UNBLOCKED' undeclared (first use in this function)
cc-bluetooth-panel.c:359:14: note: each undeclared identifier is reported only once for each function it appears in
cc-bluetooth-panel.c:359:53: error: 'BLUETOOTH_KILLSWITCH_STATE_SOFT_BLOCKED' undeclared (first use in this function)
cc-bluetooth-panel.c: In function 'cc_bluetooth_panel_update_power':
cc-bluetooth-panel.c:381:2: error: unknown type name 'BluetoothKillswitchState'
cc-bluetooth-panel.c:399:15: error: 'BLUETOOTH_KILLSWITCH_STATE_HARD_BLOCKED' undeclared (first use in this function)
cc-bluetooth-panel.c: At top level:
cc-bluetooth-panel.c:717:7: error: unknown type name 'BluetoothKillswitchState'
cc-bluetooth-panel.c: In function 'cc_bluetooth_panel_init':
cc-bluetooth-panel.c:822:179: error: 'killswitch_changed' undeclared (first use in this function)
make: *** [cc-bluetooth-panel.lo] Error 1

Update the gnome-bluetooth dependency to 3.5.4 fixes this.
Comment 1 Stef Walter 2012-08-13 09:02:11 UTC
Created attachment 220976 [details] [review]
bluetooth: Require gnome-bluetooth 3.5.4

 * Due to API change in gnome-bluetooth commit
   1c39fbaeaf782597857216430906a74865e7661b where there were
   changes like s/KILLSWITCH_STATE/BLUETOOTH_KILLSWITCH_STATE/
Comment 2 Stef Walter 2012-08-13 09:08:27 UTC
Created attachment 220977 [details] [review]
bluetooth: Require gnome-bluetooth 3.5.5

Er, make that 3.5.5
Comment 3 Dominique Leuenberger 2012-08-14 12:55:26 UTC
*** Bug 681471 has been marked as a duplicate of this bug. ***