GNOME Bugzilla – Bug 601890
Make bluetooth support optional
Last modified: 2013-07-24 08:07:55 UTC
Created attachment 147718 [details] [review] Check if bluetooth is available at compile time Since gnome-bluetooth doesn’t build on non-Linux architectures, it affects gnome-user-share as well. The attached patch makes bluetooth support optional.
Created attachment 213042 [details] [review] Updated patch for git
Comment on attachment 213042 [details] [review] Updated patch for git The patch is outdated, and doesn't apply anymore. The configure checks needs to require --disable-bluetooth to be passed to disable Bluetooth support (no automagic based on whether Bluetooth is available or not). Furthermore, this will need a gnome-control-center patch to hide Bluetooth support in the Sharing panel if gnome-bluetooth is not available.
Created attachment 240221 [details] [review] Make bluetooth support optional Updated patch against git master. This new version adds a --disable-bluetooth configure swith. The build will fail if you don't have libgnome-bluetooth installed and don't explicitly configure with --disable-bluetooth.
*** Bug 697537 has been marked as a duplicate of this bug. ***
This will be obsolete once bug 699816 is closed.
*** Bug 703056 has been marked as a duplicate of this bug. ***
Bluetooth support is disabled by default for now. It will be up to you, the distributions, to make sure that both gnome-control-center and gnome-user-share are shipped with the same configuration. commit 0667a68288fa105e1136b0882a8064f2db693c88 Author: Bastien Nocera <hadess@hadess.net> Date: Wed Jul 24 09:46:35 2013 +0200 build: Make Bluetooth support optional This is useful for platforms where gnome-bluetooth isn't available (eg. non-Linux) and for Linux right now, as obexd isn't quite suitable for use in a Desktop setting: - there's no control over ObexFTP enablement, or clients - Neither ObexPush nor ObexFTP can be turned off when the user loses the console, leading to multiple ObexFTP/ObexPush instances on a single machine, which will confuse clients