--- bluez-4.63.orig/debian/source.lintian-overrides +++ bluez-4.63/debian/source.lintian-overrides @@ -0,0 +1,2 @@ +bluez source: debhelper-but-no-misc-depends bluez-utils +bluez source: debhelper-but-no-misc-depends bluetooth --- bluez-4.63.orig/debian/bluez-gstreamer.install +++ bluez-4.63/debian/bluez-gstreamer.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/gstreamer-*/*.so + --- bluez-4.63.orig/debian/README.examples +++ bluez-4.63/debian/README.examples @@ -0,0 +1,2 @@ +These examples are from the test/ directory of bluez distribution, you'll need +python-gobject and python-dbus to run some of them. --- bluez-4.63.orig/debian/README.Debian +++ bluez-4.63/debian/README.Debian @@ -0,0 +1,126 @@ +bluez for Debian +---------------------- + +The /dev/rfcomm* serial devices entries are automatically created for using +RFCOMM with legacy applications -- see rfcomm(8). Users must be in group +'dialout' to have privileges to use these devices. + +You can edit /etc/bluetooth/rfcomm.conf to have some rfcomm devices bound +automatically at boot time. + +This package contains also the dund and pand daemons for enabling +dial-up and ethernet networking over bluetooth. Edit the +/etc/default/bluetooth file in order to enable these services. See +below for more details on their configuration. + +The manual pages in this package are mostly very rudimentary. Further +documentation for BlueZ can be found at http://www.bluez.org and at the BlueZ +wiki http://wiki.bluez.org. + +If you wish to install PCMCIA card services support for your Bluetooth +devices you should install the bluez-pcmcia-support package. + +Some USB dongles require firmware to make them work: bluez-firmware from the +"non-free" section provides the required firmware. + +Mailing lists +------------- +The old sourceforge lists have been discontinued, the new lists can be found at: + +http://www.bluez.org/development/lists/ + +PIN (or passkey) management +--------------------------- + +For asking a PIN when necessary a passkey agent is required, the bluez-gnome +package provides one, another one is provided as an example in +/usr/share/doc/bluez-utils/examples/passkey-agent.c After compilation launch as +"./passkey-agent " + +The old infrastructure /etc/bluetooth/passkey has been removed since the agent +is supposed to be started by a user session. It is not meant to be system-wide. + +Note to the tech-savvy: +If you are stuck in console and absolutely need to pair with your bluetooth +device have a look at /var/lib/bluetooth//pincodes. +Please note that this mode of operation is _not_ _supported_. +The format is (one per line): +Don't mess with files in /var/lib/bluetooth/ unless you know what you are +doing. +I repeat: manually adding a pincode for a remote device is NOT SUPPORTED. + +Keyboard and mouse support +-------------------------- + +The hidd daemon allows keyboards and mice to be connected to your +system. Ensure you have the hidp patch for Linux 2.6.6 or better +from http://www.bluez.org/patches.html. + +Then change HIDD_ENABLED in /etc/default/bluetooth to 1 and restart +bluetooth. That enables the hidd server. Discover you mouse or +keyboard bluetooth address (bdaddr) by running "hcitool scan". You +must then connect to your keyboard or mouse using hidd --connect +. On first connection, pairing is likely and you should press +"connect" button on mice/keyboard, if any. Mice normally have a +preset PIN which should be in the manufacturer's documentation, try +0000. For keyboards, type the PIN on the Bluetooth keyboard and hit +enter, and then supply it to the passkey agent (using a cable-attached +keyboard). In future your keyboard or mouse should reconnect to your computer +automatically. You must invoke hidd as root. + +Headset support +--------------- + +These tools now include some support for headsets. There are two +test programs 'hsmicro' and 'hsplay' that aren't installed by default; +you'll need too get the source and compile these yourself as upstream +doesn't want them installed. This is because these tools are highly +experimental and unstable, and shouldn't be depended on in any way. + +Bluetooth Networking Quickstart +------------------------------- + +In the future this package will contain better documentation. In the +meantime, here's a quick primer: + +1. Starting dund and pand at boot time + +See /etc/default/bluetooth for how to configure these two daemons to +run at boot-time. Read below also. + + +2. PPP over RFCOMM + +This is what most devices call "LAN Access" or "Serial Access". It +uses normal PPP over a serial connection. Most PDAs will be able to +connect using this method. + +Use the 'dund' tool to accept incoming connections. Configure pppd +as per the instructions in the ppp package. Then run: + + dund --listen --sdp --nodetach + +Try and connect your device and you'll see something like: + +dund[9801]: DUN daemon ver 1.1pre4 +dund[9811]: New connection from 00:02:31:24:17:6A + +The --sdp option causes the DUN access to be advertised to other +devices via the SDP protocol. Most devices need this in order to be +able to connect. + +Run dund --help to see the various other options available to you. + +If you want to make an outgoing connection using PPP, for instance to +a mobile phone, use the 'rfcomm' program from bluez-utils to bind a +/dev/rfcommX serial port to the phone, and then then use pppd as you +would with a normal modem. + +3. PAN + +The 'pand' tool allows you to use ethernet style networking over +Bluetooth. It creates a network interface on your machine that can be +configured in the same way normal network devices are. + +For full details see the PAN HOWTO at + --- bluez-4.63.orig/debian/NEWS +++ bluez-4.63/debian/NEWS @@ -0,0 +1,167 @@ +bluez-utils (4.40-1) unstable; urgency=low + + This version includes a new hid2hci program which expects the vendor ID and + product ID of the device to be switched to HID/HCI mode, this means the + switching is no longer done in init script but via udev rules for supported + devices. Adding new devices can be done by dropping rules into + /etc/udev/rules.d/ similar to ones found in + /lib/udev/rules.d/62-bluez-hid2hci.rules or by manually running hid2hci, see + hid2hci(8) manpage for further information. + + This version also ships a simple commandline agent (bluetooth-agent) to do + pairing on the command line + + -- Filippo Giunchedi Fri, 22 May 2009 15:21:35 +0200 + +bluez-utils (3.36-3) unstable; urgency=low + + This version includes an new d-bus policy with updated access control. + As a result of this, only users of netdev group or which are in front of the + computer (i.e. match the at_console="true" rule) are able to communicate + with hcid via dbus. See also #510644. + + -- Filippo Giunchedi Thu, 08 Jan 2009 18:35:38 +0100 + +bluez-utils (3.30-2) unstable; urgency=low + + This upstream version switches the service infrastructure from external + processes to shared objects. Services (i.e. audio) are started automatically + and do not require a .service file in /etc/bluetooth/. audio.service will be + removed automatically by the upgrade unless modified. + + -- Filippo Giunchedi Mon, 14 Apr 2008 17:34:21 +0200 + +bluez-utils (3.7-1) unstable; urgency=low + + This version reverts the /etc/bluetooth/passkeys infrastructure as agents for + passkeys are not supposed to be system-wide. + A bluez-passkey-gnome is provided as a passkey agent, plus there's a example + passkey-agent in /usr/share/doc/bluez-utils/examples/passkey-agent.c + + -- Filippo Giunchedi Sat, 7 Oct 2006 11:43:09 +0200 + +bluez-utils (3.1-3) unstable; urgency=low + + This version includes a new management for outgoing passkey (PIN) requests + while the incoming passkeys defaults to 1234 in /etc/bluetooth/hcid.conf. + See README.Debian for further informations. + + -- Filippo Giunchedi Wed, 26 Jul 2006 11:37:14 +0200 + +bluez-utils (3.1-1) unstable; urgency=low + + This new upstream version removes the need for external pin helper, pin + requests are handled via dbus. The default pin (or now-called "passkey") is + set to 1234 for backward compatibility. + + Also, udev rules for pcmcia card are included along with + /lib/udev/bluetooth.sh (setserial required) in the bluez-pcmcia-support. + + -- Filippo Giunchedi Wed, 26 Jul 2006 11:37:02 +0200 + +bluez-utils (2.24-1) unstable; urgency=low + + This version moves /etc/{init.d,default}/bluez-utils to + /etc/{init.d,default}/bluetooth for LSB compilance. + If local modifications are detected the new files will be installed with + the ".dpkg-new" suffix + + -- Filippo Giunchedi Wed, 7 Jun 2006 13:57:35 +0200 + +bluez-utils (2.19-1) unstable; urgency=high + + * Includes new D-BUS support: sends signals for inquiry results and + remote name resolves. + + * Also adds support for device-specific SDP records. + + -- Edd Dumbill Fri, 19 Aug 2005 01:12:02 +0100 + +bluez-utils (2.9-1) unstable; urgency=low + + * This release improves input device support: EPoX keyboards and + their new HID presenters should now work correctly in report + protocol mode. + + -- Edd Dumbill Sun, 8 Aug 2004 15:19:24 +0100 + +bluez-utils (2.8-1) unstable; urgency=low + + * Users of dongles with HID proxy capability (this is where the dongle + pretends to be a keyboard and mouse until it is switched into Bluetooth + mode, allowing Bluetooth input devices to be used in BIOS etc.) are + now supported. The switch is made as part of the bluez-utils init + script. + + -- Edd Dumbill Mon, 14 Jun 2004 14:24:12 +0100 + +bluez-utils (2.7-1) experimental; urgency=low + + * Upstream has merged bluez-pan with this package. You should + remove the /etc/init.d/bluez-pan script, and use + /etc/default/bluez-utils to configure dund and pand, although + for the moment the old /etc/default/bluez-pan is also read. + + * This source package now has Bluetooth printing support, which + is built into the bluez-cups binary package. + + * DBUS support has been enabled in this build. To use it, add + 'dbus_pin_helper' into the options section, and comment out + the pin_helper. DBUS-aware pin helpers such as that in + bluez-pin will now be used. + + * Bluetooth HID devices (eg, mouse, keyboard) are now supported + for Linux 2.6.6 or better running the hidp patch from bluez.org. + If running these, set HIDD_ENABLED to 1 in /etc/default/bluez-utils + to enable support, then run hidd --connect to connect + to your keyboard or mouse. + + -- Edd Dumbill Wed, 26 May 2004 12:43:08 +0100 + +bluez-utils (2.6-1) experimental; urgency=low + + * Upstream has merged bluez-sdp with this package. The sdp tools + are now in this package. You should remove the /etc/init.d/bluez-sdp + script. + + * All tools from /sbin now live in /usr/sbin: hciattach hciconfig + hcid l2ping. + + -- Edd Dumbill Thu, 6 May 2004 11:58:16 +0100 + +bluez-utils (2.4-4) unstable; urgency=high + + * If you still use the old 'bluepin' PIN assistant: note it has moved + from /bin/ to /usr/bin/. You will need to update your hcid.conf + accordingly. Even better, install bluez-pin and use the helper from + there instead. + * hcitool has also moved to /usr/bin, and l2ping to /sbin. + + -- Edd Dumbill Wed, 15 Jan 2004 18:37:32 +0000 + +bluez-utils (2.4-3) unstable; urgency=low + + * If you're using devfsd and a recent Linux kernel (2.4.22 or later, or + 2.6.x), remove the file /etc/devfs/devices.d/bluez and run update-devfsd. + This will stop your system complaining when devfsd is started. This + package no longer installs that file, but you must remove it yourself. + If you need it in future, you can find it in /usr/share/doc/bluez-utils. + + -- Edd Dumbill Wed, 14 Jan 2004 21:14:35 +0000 + +bluez-utils (2.4-1) unstable; urgency=low + + * The rfcomm program has changed slightly: you now need a "bind yes" + in each entry in /etc/bluetooth/rfcomm.conf to ensure they are bound + at startup time. See man rfcomm for more details. + + -- Edd Dumbill Thu, 1 Jan 2004 18:38:35 +0100 + +bluez-utils (2.3-2) unstable; urgency=low + + * This package now depends on a new PIN helper bluez-pin. If you are + upgrading this package and want to use the new helper instead of the + default one (highly recommended) then alter your pin_helper line in + /etc/bluetooth/hcid.conf to specify /usr/bin/bluez-pin. + + -- Edd Dumbill Thu, 28 Aug 2003 12:38:35 +0100 --- bluez-4.63.orig/debian/copyright +++ bluez-4.63/debian/copyright @@ -0,0 +1,111 @@ +This package was debianized by Edd Dumbill on +Sat, 13 Apr 2002 16:09:02 +0100. + +It was downloaded from http://www.bluez.org/ + +BlueZ - Bluetooth protocol stack for Linux + +Copyright: + Copyright (C) 2001-2009 Marcel Holtmann + Copyright (C) 2006-2009 Nokia Corporation + Copyright (C) 2000-2003 Maxim Krasnyansky + Copyright (C) 2002-2003 Jean Tourrilhes + Copyright (C) 2007-2008 Frederic Dalleau + Copyright (C) 2007-2008 Texas Instruments, Inc. + Copyright (C) 2000-2005 CSR Ltd. + Copyright (C) 2005-2008 Brad Midgley + Copyright (C) 2007-2008 David Stockwell + Copyright (C) 2007-2008 Fabien Chevalier + Copyright (C) 2005-2006 Claudio Takahasi + Copyright (C) 2006-2007 Luiz von Dentz + Copyright (C) 2005-2007 Johan Hedberg + Copyright (C) 2005-2006 Brad Midgley + Copyright (C) 2004-2005 Henryk Ploetz + Copyright (C) 2002-2003 Stephen Crane + Copyright (C) 2000-2001 Qualcomm Incorporated + Copyright (C) 2008 Joao Paulo Rechi Vita + Copyright (C) 2009 Lennart Poettering + Copyright (C) 2004 Scott James Remnant . + +License: + audio/ + a2dp.c a2dp.h avdtp.c avdtp.h control.c control.h device.c device.h + gateway.c gateway.h headset.c headset.h main.c manager.c manager.h + sink.c sink.h telephony-dummy.c telephony-maemo.c telephony.h + unix.c unix.h + + License: GPL version 2 or any later version + + gsta2dpsink.c gsta2dpsink.h gstavdtpsink.c + gstavdtpsink.h gstbluetooth.c gstrtpsbcpay.c gstrtpsbcpay.h + gstsbcdec.c gstsbcdec.h gstsbcenc.c gstsbcenc.h + gstsbcparse.c gstsbcparse.h gstsbcutil.c gstsbcutil.h + pcm_bluetooth.c gstbluetooth.c: ctl_bluetooth.c + ipc.c ipc.h rtp.h + ipctest.c + + License: LGPL version 2.1 or any later version + + sbc/ + formats.h sbcdec.c sbcenc.c sbcinfo.c + sbctester.c + + License: GPL version 2 or any later version + + sbc.c sbc.h + sbc_math.h sbc_primitives.c sbc_primitives.h + sbc_primitives_mmx.c sbc_primitives_mmx.h sbc_primitives_neon.c + sbc_primitives_neon.h sbc_tables.h + + License: LGPL version 2.1 or any later version + + tools/ + ubcsp.c ubcsp.h + + License: MIT License + + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without + restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following + conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. + + avctrl.c bccmd.c avinfo.c + ciptool.c csr.c csr.h csr_3wire.c csr_bcsp.c csr_h4.c + csr_hci.c csr_usb.c dfu.c dfu.h dfubabel.c dfutool.c + hciattach.h hciattach_st.c hciattach_tialt.c hid2hci.c ppporc.c + hciattach_ti.c + hciattach.c hciconfig.c hcitool.c l2ping.c + hcisecfilter.c sdptool.c + + License: GPL version 2 or any later version + + doc/ + All files. + + License: GFDL version 1.1 or any later version + No Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. + + other: + License: GPL version 2 or any later version + +On Debian GNU/Linux systems, the complete text of the GNU General Public +License can be found in `/usr/share/common-licenses/GPL', the GNU Lesser +General Public License can be found in `/usr/share/common-licenses/LGPL' and +the GNU Free Documentation License can be found in +`/usr/share/common-licenses/GFDL'. --- bluez-4.63.orig/debian/bluez.preinst +++ bluez-4.63/debian/bluez.preinst @@ -0,0 +1,52 @@ +#!/bin/sh -e + +# snippet from http://www.dpkg.org/dpkg/ConffileHandling + +# Prepare to move a conffile without triggering a dpkg question +prep_mv_conffile() { + CONFFILE="$1" + + if [ -e "$CONFFILE" ]; then + md5sum="`md5sum \"$CONFFILE\" | sed -e \"s/ .*//\"`" + old_md5sum="`dpkg-query -W -f='${Conffiles}' $PKGNAME | sed -n -e \"\\\\' $CONFFILE '{s/ obsolete$//;s/.* //p}\"`" + if [ "$md5sum" = "$old_md5sum" ]; then + rm -f "$CONFFILE" + fi + fi +} + +# Remove a no-longer used conffile +rm_conffile() { + PKGNAME="$1" + CONFFILE="$2" + if [ -e "$CONFFILE" ]; then + md5sum="`md5sum \"$CONFFILE\" | sed -e \"s/ .*//\"`" + old_md5sum="`dpkg-query -W -f='${Conffiles}' $PKGNAME | sed -n -e \"\\\\' $CONFFILE '{s/ obsolete$//;s/.* //p}\"`" + if [ "$md5sum" != "$old_md5sum" ]; then + echo "Obsolete conffile $CONFFILE has been modified by you." + echo "Saving as $CONFFILE.dpkg-bak ..." + mv -f "$CONFFILE" "$CONFFILE".dpkg-bak + else + echo "Removing obsolete conffile $CONFFILE ..." + rm -f "$CONFFILE" + fi + fi +} + +case "$1" in +install|upgrade) + if dpkg --compare-versions "$2" le "3.7-1"; then + prep_mv_conffile "/etc/dbus-1/system.d/bluez-hcid.conf" + fi + + if dpkg --compare-versions "$2" le "3.30-1"; then + rm_conffile bluez-utils "/etc/bluetooth/network.service" + rm_conffile bluez-utils "/etc/bluetooth/serial.service" + rm_conffile bluez-utils "/etc/bluetooth/input.service" + fi + if dpkg --compare-versions "$2" le "4.45-1"; then + rm_conffile bluez "/etc/default/bluetooth" + fi +esac + +#DEBHELPER# --- bluez-4.63.orig/debian/bluez-pcmcia-support.postinst +++ bluez-4.63/debian/bluez-pcmcia-support.postinst @@ -0,0 +1,3 @@ +#!/bin/sh -e + +#DEBHELPER# --- bluez-4.63.orig/debian/bluez-utils.postrm +++ bluez-4.63/debian/bluez-utils.postrm @@ -0,0 +1,6 @@ +#!/bin/sh -e + +#Dummy transitional postrm script +#Don't do anything. + +#DEBHELPER# --- bluez-4.63.orig/debian/libbluetooth3.symbols +++ bluez-4.63/debian/libbluetooth3.symbols @@ -0,0 +1,197 @@ +libbluetooth.so.3 libbluetooth3 #MINVER# + ba2oui@Base 4.40 + ba2str@Base 4.40 + bachk@Base 4.40 + bafprintf@Base 4.40 + baprintf@Base 4.40 + basnprintf@Base 4.40 + basprintf@Base 4.40 + baswap@Base 4.40 + batostr@Base 4.40 + bt_compidtostr@Base 4.40 + bt_error@Base 4.40 + bt_free@Base 4.40 + bt_malloc@Base 4.40 + hci_authenticate_link@Base 4.40 + hci_change_link_key@Base 4.40 + hci_close_dev@Base 4.40 + hci_cmdtostr@Base 4.40 + hci_commandstostr@Base 4.40 + hci_create_connection@Base 4.40 + hci_delete_stored_link_key@Base 4.40 + hci_devba@Base 4.40 + hci_devid@Base 4.40 + hci_devinfo@Base 4.40 + hci_dflagstostr@Base 4.40 + hci_disconnect@Base 4.40 + hci_dtypetostr@Base 4.40 + hci_encrypt_link@Base 4.40 + hci_exit_park_mode@Base 4.40 + hci_for_each_dev@Base 4.40 + hci_get_route@Base 4.40 + hci_inquiry@Base 4.40 + hci_lmtostr@Base 4.40 + hci_lptostr@Base 4.40 + hci_open_dev@Base 4.40 + hci_park_mode@Base 4.40 + hci_ptypetostr@Base 4.40 + hci_read_afh_map@Base 4.40 + hci_read_afh_mode@Base 4.40 + hci_read_bd_addr@Base 4.40 + hci_read_class_of_dev@Base 4.40 + hci_read_clock@Base 4.40 + hci_read_clock_offset@Base 4.40 + hci_read_current_iac_lap@Base 4.40 + hci_read_ext_inquiry_response@Base 4.40 + hci_read_inq_response_tx_power_level@Base 4.61 + hci_read_inquiry_mode@Base 4.40 + hci_read_inquiry_scan_type@Base 4.40 + hci_read_inquiry_transmit_power_level@Base 4.40 + hci_read_link_policy@Base 4.40 + hci_read_link_quality@Base 4.40 + hci_read_link_supervision_timeout@Base 4.40 + hci_read_local_commands@Base 4.40 + hci_read_local_ext_features@Base 4.40 + hci_read_local_features@Base 4.40 + hci_read_local_name@Base 4.40 + hci_read_local_oob_data@Base 4.40 + hci_read_local_version@Base 4.40 + hci_read_remote_ext_features@Base 4.40 + hci_read_remote_features@Base 4.40 + hci_read_remote_name@Base 4.40 + hci_read_remote_name_cancel@Base 4.40 + hci_read_remote_name_with_clock_offset@Base 4.40 + hci_read_remote_version@Base 4.40 + hci_read_rssi@Base 4.40 + hci_read_simple_pairing_mode@Base 4.40 + hci_read_stored_link_key@Base 4.40 + hci_read_transmit_power_level@Base 4.40 + hci_read_voice_setting@Base 4.40 + hci_scoptypetostr@Base 4.40 + hci_send_cmd@Base 4.40 + hci_send_req@Base 4.40 + hci_set_afh_classification@Base 4.40 + hci_strtolm@Base 4.40 + hci_strtolp@Base 4.40 + hci_strtoptype@Base 4.40 + hci_strtoscoptype@Base 4.40 + hci_strtover@Base 4.40 + hci_switch_role@Base 4.40 + hci_vertostr@Base 4.40 + hci_write_afh_mode@Base 4.40 + hci_write_class_of_dev@Base 4.40 + hci_write_current_iac_lap@Base 4.40 + hci_write_ext_inquiry_response@Base 4.40 + hci_write_inquiry_mode@Base 4.40 + hci_write_inquiry_scan_type@Base 4.40 + hci_write_inquiry_transmit_power_level@Base 4.40 + hci_write_link_policy@Base 4.40 + hci_write_link_supervision_timeout@Base 4.40 + hci_write_local_name@Base 4.40 + hci_write_simple_pairing_mode@Base 4.40 + hci_write_stored_link_key@Base 4.40 + hci_write_voice_setting@Base 4.40 + lmp_featurestostr@Base 4.40 + lmp_strtover@Base 4.40 + lmp_vertostr@Base 4.40 + sdp_append_to_buf@Base 4.40 + sdp_append_to_pdu@Base 4.40 + sdp_attr_add@Base 4.40 + sdp_attr_add_new@Base 4.40 + sdp_attr_remove@Base 4.40 + sdp_attr_replace@Base 4.40 + sdp_attrid_comp_func@Base 4.40 + sdp_close@Base 4.40 + sdp_connect@Base 4.40 + sdp_copy_record@Base 4.40 + sdp_create@Base 4.40 + sdp_data_alloc@Base 4.40 + sdp_data_alloc_with_length@Base 4.40 + sdp_data_free@Base 4.40 + sdp_data_get@Base 4.40 + sdp_device_record_register@Base 4.40 + sdp_device_record_register_binary@Base 4.40 + sdp_device_record_unregister@Base 4.40 + sdp_device_record_unregister_binary@Base 4.40 + sdp_device_record_update@Base 4.40 + sdp_device_record_update_binary@Base 4.40 + sdp_extract_attr@Base 4.40 + sdp_extract_pdu@Base 4.40 + sdp_extract_seqtype@Base 4.40 + sdp_gen_pdu@Base 4.40 + sdp_gen_record_pdu@Base 4.40 + sdp_gen_tid@Base 4.40 + sdp_general_inquiry@Base 4.40 + sdp_get_access_protos@Base 4.40 + sdp_get_add_access_protos@Base 4.40 + sdp_get_database_state@Base 4.40 + sdp_get_error@Base 4.40 + sdp_get_group_id@Base 4.40 + sdp_get_int_attr@Base 4.40 + sdp_get_lang_attr@Base 4.40 + sdp_get_profile_descs@Base 4.40 + sdp_get_proto_desc@Base 4.40 + sdp_get_proto_port@Base 4.40 + sdp_get_record_state@Base 4.40 + sdp_get_server_ver@Base 4.40 + sdp_get_service_avail@Base 4.40 + sdp_get_service_id@Base 4.40 + sdp_get_service_ttl@Base 4.40 + sdp_get_socket@Base 4.40 + sdp_get_string_attr@Base 4.40 + sdp_get_supp_feat@Base 4.61 + sdp_get_uuidseq_attr@Base 4.40 + sdp_list_append@Base 4.40 + sdp_list_free@Base 4.40 + sdp_list_insert_sorted@Base 4.40 + sdp_list_remove@Base 4.40 + sdp_pattern_add_uuid@Base 4.40 + sdp_pattern_add_uuidseq@Base 4.40 + sdp_process@Base 4.40 + sdp_profile_uuid2strn@Base 4.40 + sdp_proto_uuid2strn@Base 4.40 + sdp_record_alloc@Base 4.40 + sdp_record_free@Base 4.40 + sdp_record_print@Base 4.40 + sdp_record_register@Base 4.40 + sdp_record_unregister@Base 4.40 + sdp_record_update@Base 4.40 + sdp_send_req_w4_rsp@Base 4.40 + sdp_seq_alloc@Base 4.40 + sdp_seq_alloc_with_length@Base 4.40 + sdp_seq_append@Base 4.40 + sdp_service_attr_async@Base 4.40 + sdp_service_attr_req@Base 4.40 + sdp_service_search_async@Base 4.40 + sdp_service_search_attr_async@Base 4.40 + sdp_service_search_attr_req@Base 4.40 + sdp_service_search_req@Base 4.40 + sdp_set_access_protos@Base 4.40 + sdp_set_add_access_protos@Base 4.40 + sdp_set_attrid@Base 4.40 + sdp_set_group_id@Base 4.40 + sdp_set_info_attr@Base 4.40 + sdp_set_lang_attr@Base 4.40 + sdp_set_notify@Base 4.40 + sdp_set_profile_descs@Base 4.40 + sdp_set_seq_len@Base 4.40 + sdp_set_service_id@Base 4.40 + sdp_set_supp_feat@Base 4.61 + sdp_set_url_attr@Base 4.40 + sdp_set_uuidseq_attr@Base 4.40 + sdp_svclass_uuid2strn@Base 4.40 + sdp_uuid128_cmp@Base 4.40 + sdp_uuid128_create@Base 4.40 + sdp_uuid128_to_uuid@Base 4.40 + sdp_uuid16_cmp@Base 4.40 + sdp_uuid16_create@Base 4.40 + sdp_uuid16_to_uuid128@Base 4.40 + sdp_uuid2strn@Base 4.40 + sdp_uuid32_create@Base 4.40 + sdp_uuid32_to_uuid128@Base 4.40 + sdp_uuid_cmp@Base 4.61 + sdp_uuid_extract@Base 4.40 + sdp_uuid_to_proto@Base 4.40 + sdp_uuid_to_uuid128@Base 4.40 + str2ba@Base 4.40 + strtoba@Base 4.40 --- bluez-4.63.orig/debian/bluez-cups.install +++ bluez-4.63/debian/bluez-cups.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/cups/backend/* --- bluez-4.63.orig/debian/bluez-alsa.preinst +++ bluez-4.63/debian/bluez-alsa.preinst @@ -0,0 +1,30 @@ +#!/bin/sh -e + +# snippet from http://wiki.debian.org/DpkgConffileHandling + +# Remove a no-longer used conffile +rm_conffile() { + PKGNAME="$1" + CONFFILE="$2" + if [ -e "$CONFFILE" ]; then + md5sum="`md5sum \"$CONFFILE\" | sed -e \"s/ .*//\"`" + old_md5sum="`dpkg-query -W -f='${Conffiles}' $PKGNAME | sed -n -e \"\\\\' $CONFFILE '{s/ obsolete$//;s/.* //p}\"`" + if [ "$md5sum" != "$old_md5sum" ]; then + echo "Obsolete conffile $CONFFILE has been modified by you." + echo "Saving as $CONFFILE.dpkg-bak ..." + mv -f "$CONFFILE" "$CONFFILE".dpkg-bak + else + echo "Removing obsolete conffile $CONFFILE ..." + rm -f "$CONFFILE" + fi + fi +} + +case "$1" in +install|upgrade) + if dpkg --compare-versions "$2" le "3.24-1+b1"; then + rm_conffile bluez-audio "/etc/bluetooth/audio.service" + fi +esac + +#DEBHELPER# --- bluez-4.63.orig/debian/bluez-cups.README.Debian +++ bluez-4.63/debian/bluez-cups.README.Debian @@ -0,0 +1,11 @@ +bluez-cups + +To configure a Bluetooth printer, set it up in CUPS like it was connected to +your parallel or USB port. Then edit your /etc/cups/printers.conf and replace +the device URI with a bluetooth one. + +The printer's URI will look something like this: bluetooth://00408C5E5DA4/spp +If your printer uses HCRP (hardcopy cable replacement protocol) then remove +the "/spp" from the end. SPP is serial port protocol. + + -- Edd Dumbill , Fri Jul 16 19:25:21 BST 2004 --- bluez-4.63.orig/debian/rules +++ bluez-4.63/debian/rules @@ -0,0 +1,63 @@ +#!/usr/bin/make -f +# build rules for bluez + +include /usr/share/cdbs/1/rules/buildcore.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk +include /usr/share/cdbs/1/class/autotools.mk + +DEB_UPDATE_RCD_PARAMS = "start 25 2 3 4 5 . stop 74 0 1 6 ." +DEB_DH_INSTALLINIT_ARGS = "--name=bluetooth" +DEB_CONFIGURE_EXTRA_FLAGS := --enable-gstreamer \ + --enable-alsa \ + --enable-usb \ + --enable-netlink \ + --enable-tools \ + --enable-test \ + --enable-bccmd \ + --enable-dfutool \ + --enable-cups \ + --enable-manpages \ + --enable-pcmciarules \ + --enable-debug \ + --enable-udevrules \ + --enable-hidd \ + --enable-pand \ + --enable-dund + + +DEB_DESTDIR := $(CURDIR)/debian/tmp + +install/bluetooth:: + install -D -m 0644 $(CURDIR)/debian/bluetooth.override $(CURDIR)/debian/bluetooth/usr/share/lintian/overrides/bluetooth + +install/bluez:: + # conf files + install -D -m 0644 $(CURDIR)/input/input.conf $(CURDIR)/debian/bluez/etc/bluetooth/input.conf + install -D -m 0644 $(CURDIR)/audio/audio.conf $(CURDIR)/debian/bluez/etc/bluetooth/audio.conf + install -D -m 0644 $(CURDIR)/network/network.conf $(CURDIR)/debian/bluez/etc/bluetooth/network.conf + + # misc + install -D -m 0755 $(CURDIR)/test/agent $(CURDIR)/debian/bluez/usr/bin/bluetooth-agent + install -D -m 0644 $(CURDIR)/debian/README.examples $(CURDIR)/debian/bluez/usr/share/doc/bluez/examples/README + +install/bluez-utils:: + install -D -m 0644 $(CURDIR)/debian/bluez-utils.override $(CURDIR)/debian/bluez-utils/usr/share/lintian/overrides/bluez-utils + +install/bluez-alsa:: + install -D -m 0644 $(CURDIR)/audio/bluetooth.conf $(CURDIR)/debian/bluez-alsa/usr/share/alsa/bluetooth.conf + +install/bluez-pcmcia-support:: + cp -f $(CURDIR)/scripts/bluetooth-serial.rules $(CURDIR)/debian/bluez-pcmcia-support.udev + +binary-install/bluez-gstreamer:: + LD_LIBRARY_PATH="$(CURDIR)/debian/tmp/usr/lib:$(LD_LIBRARY_PATH)" dh_gstscancodecs -pbluez-gstreamer + +binary-install/bluez:: + install -D -m 0644 $(CURDIR)/debian/bluetooth-dbus.conf $(CURDIR)/debian/bluez/etc/dbus-1/system.d/bluetooth.conf + +binary-install/bluez-pcmcia-support:: + chmod a+x $(CURDIR)/debian/bluez-pcmcia-support/lib/udev/bluetooth_serial + +clean:: + -rm -f $(CURDIR)/debian/bluez-pcmcia-support.udev --- bluez-4.63.orig/debian/bluez.postinst +++ bluez-4.63/debian/bluez.postinst @@ -0,0 +1,48 @@ +#!/bin/sh +# snippet from http://www.dpkg.org/dpkg/ConffileHandling + +# Move a conffile without triggering a dpkg question +mv_conffile() { + OLDCONFFILE="$1" + NEWCONFFILE="$2" + + if [ -e "$OLDCONFFILE" ]; then + echo "Preserving user changes to $NEWCONFFILE ..." + mv -f "$NEWCONFFILE" "$NEWCONFFILE".dpkg-new + mv -f "$OLDCONFFILE" "$NEWCONFFILE" + fi +} + +set -e +case "$1" in + configure) + if [ -e /etc/init.d/bluez-utils ]; then + update-rc.d -f bluez-utils remove + # maybe a (medium/low debconf?) notice is best suited here + fi + + # use MAKEDEV instead of the original bluez script below as per policy 10.6 + if [ -x /dev/MAKEDEV ]; then + echo "Creating device nodes ..." + cd /dev && ./MAKEDEV bluetooth 1>/dev/null 2>/dev/null + fi + + # reload dbus config file + if [ -x /etc/init.d/dbus ]; then + invoke-rc.d dbus force-reload || true + fi + + #reload udev rules + if [ -x /etc/init.d/udev ]; then + invoke-rc.d udev reload || true + fi + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +#DEBHELPER# --- bluez-4.63.orig/debian/bluez.prerm +++ bluez-4.63/debian/bluez.prerm @@ -0,0 +1,13 @@ +#!/bin/sh -e + +case "$1" in + failed-upgrade) + # work-around a upgrade breakage in 4.45-0ubuntu{1,2} + # this two broken versions only existed for around 24h in karmic + # and this change can be dropped soon again + # lp: #399482 + dpkg --compare-versions "4.45-0ubuntu1" le "$2" && dpkg --compare-versions "$2" le "4.45-0ubuntu2" && exit 0 + ;; +esac + +#DEBHELPER# --- bluez-4.63.orig/debian/bluez.dirs +++ bluez-4.63/debian/bluez.dirs @@ -0,0 +1 @@ +usr/bin --- bluez-4.63.orig/debian/changelog +++ bluez-4.63/debian/changelog @@ -0,0 +1,600 @@ +bluez (4.63-0ubuntu1) UNRELEASED; urgency=low + + * New upstream release: + - Fix avdtp_abort not canceling pending requests. + - Fix stale connection when abort gets rejected. + * debian/patches/01_disable_hal.patch: + - updated + + -- Baptiste Mille-Mathias Tue, 30 Mar 2010 21:45:38 +0200 + +bluez (4.62-0ubuntu1) UNRELEASED; urgency=low + + * New upstream release: + - Fix accidental symbol breakage with inquiry transmit power. + - Fix using invalid data from previous headset connection. + - Fix double free on AVDTP Abort response. + - Fix possible crash while verifying AVDTP version. + - Fix missing inuse flag when AVDTP stream is configured. + - Add support for Bluetooth controller types. + * debian/patches: + - 01_disable_hal.patch: updated + - 02_lower_sink_ranking.patch: updated + + -- Baptiste Mille-Mathias Tue, 30 Mar 2010 21:38:38 +0200 + +bluez (4.61-0ubuntu1) UNRELEASED; urgency=low + + * New upstream release: + - Fix issues with Read Inquiry Response Transmit Power Level. + - Fix possible invalid read when removing a temporary device. + - Fix mode restoration when remember_powered is false. + - Fix conference call releasing in telephony-maemo. + - Fix segmentation fault with authorization during headset disconnects. + - Add support for handling unanswered AVDTP request on disconnect. + - Add support for handling Inquiry Response Transmit Power Level. + - Add support for caching of remote host features. + - Add preliminary voice dialing support for HSP. + * debian/libbluetooth3.symbols: + - updated + + -- Baptiste Mille-Mathias Tue, 30 Mar 2010 21:05:27 +0200 + +bluez (4.60-0ubuntu6) lucid; urgency=low + + * debian/source_bluez.py: + - Apport hook made by Baptiste Mille-Mathias. (LP: #545551) + * debian/bluez.install: + - ship the new apport hook. + + -- Nigel Babu Wed, 24 Mar 2010 20:17:53 +0530 + +bluez (4.60-0ubuntu5) lucid; urgency=low + + * debian/patches/02_lower_sink_ranking.patch: + - restore this change it's not in the new version and still required + to unbreak the gstreamer easy codec installation + + -- Sebastien Bacher Fri, 26 Feb 2010 02:46:36 +0100 + +bluez (4.60-0ubuntu4) lucid; urgency=low + + * Revert previous upload as per + https://lists.ubuntu.com/archives/ubuntu-devel/2010-February/030283.html + + -- Harald Sitter Mon, 22 Feb 2010 22:28:47 +0100 + +bluez (4.60-0ubuntu3) lucid; urgency=low + + * bluetooth suggest bluez-gstreamer instead of recommending it. Not every + setup features GStreamer applications (e.g. a Kubuntu system) + + -- Harald Sitter Mon, 22 Feb 2010 20:56:16 +0100 + +bluez (4.60-0ubuntu2) lucid; urgency=low + + * Add 01_disable_hal.patch: Disable usage of Hal in the telephony plugins, + and disable the hal plugin. They do not do very useful things anyway, and + just cause hal to start up, which is expensive. + + -- Martin Pitt Mon, 15 Feb 2010 15:04:25 +0100 + +bluez (4.60-0ubuntu1) lucid; urgency=low + + * New upstream release (lp: #506149) + + -- Baptiste Mille-Mathias Mon, 11 Jan 2010 22:00:47 +0100 + +bluez (4.57-0ubuntu1) karmic; urgency=low + + * New upstream release + * debian/patches/01_lower_sink_ranking.patch: + - dropped, now upstream + + -- Baptiste Mille-Mathias Sun, 01 Nov 2009 11:48:53 +0100 + +bluez (4.51-0ubuntu2) karmic; urgency=low + + * debian/patches/01_lower_sink_ranking.patch: + - lower the gsta2dpsink ranking so it's not autoconfigured, right now it + claims to handle mpeg but has no decoder for it which breaks easy codec + installation, the sink cannot be used without configuring a device + which means it doesn't need to be used by default, thanks slomo who + looked at the issue and adviced about the change (lp: #412927) + + -- Sebastien Bacher Thu, 24 Sep 2009 23:12:24 +0200 + +bluez (4.51-0ubuntu1) karmic; urgency=low + + * New upstream version. (LP: #420811) + - Add utility for basic AVDTP testing. + - Add support for configuring L2CAP FCS option. + - Fix discovery mode for CUPS 1.4.x and later. + - Fix global state tracking of audio service. + - Fix last issues with the new build system. + - Fix issue with missing manual pages in distribution. + - Fix issue with the configuration and state directories. + - Fix issue with creating include directory. + - Fix dependencies of include file generation. + - Add simple test program for basic GAP testing. + - Add support for confirmation requests to agent example. + - Add support for full non-recursive build. + - Add five millisecond delay for Simple Pairing auto-accept. + - Fix Class of Device setting when InitiallyPowered=false. + * Drop 10_bluetooth-cups-backend-report-printers-immediately.patch + as it's now upstream. + + -- Mario Limonciello Thu, 03 Sep 2009 12:20:43 -0500 + +bluez (4.48-0ubuntu2) karmic; urgency=low + + * debian/patches/10_bluetooth-cups-backend-report-printers-immediately.patch: + Let bluetooth CUPS backend immediately output a printer entry when it + discovers a printer instead of outputtting the whole printer list after the + timeout. This is needed for the new device discovery environment of CUPS. + (LP: #418465) + + -- Till Kamppeter Wed, 26 Aug 2009 18:42:33 +0200 + +bluez (4.48-0ubuntu1) karmic; urgency=low + + * New upstream version. + - Add library function for comparing UUID values. + - Add support for creating all plugins as builtins. + - Add support for async handling of service class changes. + - Add support for source interface to audio IPC. + - Fix device name settings when device is off or down. + - Fix issue with enabled SCO server when not necessary. + - Fix missing D-Bus access policy for CUPS backend. + - Fix discovery results of CUPS backend. + - Fix initialization handling of Maemo telephony. + * Drop cups-bluetooth-discovery-improvements.patch as it's now + upstream. + + -- Mario Limonciello Sun, 16 Aug 2009 23:43:06 -0500 + +bluez (4.47-0ubuntu2) karmic; urgency=low + + * debian/bluetooth-dbus.conf: Allow access to the D-Bus resource "org.bluez" + also for the "lp" group so that the "bluetooth" CUPS backend can access + when it is run by CUPS for discovery of Bluetooth printers. + * debian/patches/cups-bluetooth-discovery-improvements.patch: Improved + device discovery mode output of the "bluetooth" CUPS backend. Once, fill + the device make-and-model field, and second, let the device class be + "direct" and not network, so that the printer setup tools list the + Bluetooth printer as a local printer. (LP: #411610) + + -- Till Kamppeter Mon, 10 Aug 2009 21:18:33 +0200 + +bluez (4.47-0ubuntu1) karmic; urgency=low + + * New upstream version. (LP: #405263) + - Fixes issues with service record updates + - Adds native RFKILL support for 2.6.31+ + - Supports static serial proxy configurations + - Fixes many memory leaks and wrong pointer usages + - Support for A2DP sinks added + + -- Mario Limonciello Fri, 07 Aug 2009 11:34:48 -0500 + +bluez (4.45-0ubuntu4) karmic; urgency=low + + * Fix upgrade breakage from 4.45-0ubuntu{1,2} (lp: #399482) + + -- Michael Bienia Thu, 16 Jul 2009 11:04:02 +0200 + +bluez (4.45-0ubuntu3) karmic; urgency=low + + * debian/bluez.bluetooth.init: + - Guard the stop action in case bluetoothd isn't running. (LP: #399482) + + -- Mario Limonciello Tue, 14 Jul 2009 17:02:42 -0500 + +bluez (4.45-0ubuntu2) karmic; urgency=low + + * debian/bluez.bluetooth.init: + - Fix an error that broke LSB compliance in last upload (LP: #399158) + - Check for /sbin/udevadm.upgrade. If it exists, we shouldn't be running + any triggers. (LP: #399287) + + -- Mario Limonciello Tue, 14 Jul 2009 13:33:26 -0500 + +bluez (4.45-0ubuntu1) karmic; urgency=low + + * New upstream version. + - Improvements in audio support + - Ability to start bluetoothd from udev + - Fixes some Phonebook access interaction with EDS bugs. + - 3 way calling fixes with handsfree support. + * debian/bluez.bluetooth.default: + - Drop. Doesn't do anything now. + * debian/bluez.bluetooth.init: + - Drop most calls in this script as now all it serves as + is to workaround a problem with dbus not being ready early + enough. Once dbus is started by an upstart service, this + should be able to be converted to an upstart service too. + * debian/bluez.preinst: + - Cleanup /etc/default/bluetooth as it's not used anymore. + * debian/bluez.install: + - Install udev rule + * debian/rules: + - Enable udev rules. + - Remove mv line since we don't still have l2ping section patch. + - Drop references to init script. + * debian/control: + - Add udev to build-depends. Allows pkg-config to query udev data + directory variable. + * Drop unnecessary patches: + - 001_test_agent_default_adapter.patch (No longer applies, no longer necessary) + - 006_a2dpsink_marginal.patch (upstream) + - 003_configure_amd64_rpath.patch (no longer applies, not necessary) + - 005_l2ping_section.patch (upstream) + + -- Mario Limonciello Mon, 13 Jul 2009 18:01:11 -0500 + +bluez (4.41-0ubuntu2) karmic; urgency=low + + * debian/rules: + - Don't build hid2hci anymore. It's part of udev-extras now. + + -- Mario Limonciello Mon, 15 Jun 2009 01:25:04 -0500 + +bluez (4.41-0ubuntu1) karmic; urgency=low + + * Debian has adopted the Ubuntu bluez package. Merge + with debian packaging. Remaining delta: + - Drop 010_udev_rules_agent.patch. Ubuntu doesn't have + /lib/udev/hotplug.functions, so this wouldn't stand a chance + working. + - Don't advertise hid2hci in bluetooth.default or bluetooth.init + - Don't install bluez_agent.udev, doesn't work in Ubuntu. + * New upstream version (4.41): + - Multiple fixes for the audio subsystem + - Makes the Bluetooth daemon itself more and more stable. + + -- Mario Limonciello Tue, 09 Jun 2009 09:34:12 -0500 + +bluez (4.40-2) unstable; urgency=low + + * Ship a libbluetooth3.symbols file instead of shlibs + * Ship more examples from test/, thus suggest: python-gobject and + python-dbus together with README.examples + * Provide a script in /lib/udev/bluez for waiting on /usr being available + and a patch udev rules to use it + + -- Filippo Giunchedi Tue, 26 May 2009 00:02:53 +0200 + +bluez (4.40-1) unstable; urgency=low + + * New upstream release + - scripts/bluetooth.rules -> scripts/bluetooth-serial.rules + * Upload to unstable + * Change usage for hid2hci: install udev rules and issue a warning from init + script + + -- Filippo Giunchedi Fri, 22 May 2009 14:56:07 +0200 + +bluez (4.40-0ubuntu1) karmic; urgency=low + + * New upstream release + - Add telephony driver for oFono telephony stack. + - Add support for Dell specific HID proxy switching. + - Add support for running hid2hci from udev. + - Add mapping for AVRCP Play and Pause to dedicated key codes. + - Fix AVRCP keycodes to better match existing X keymap support. + - Fix various quoting issues within telephony support. + - Fix memory allocation issue when generating PDUs for SDP. + - Fix race condition on device removal. + - Fix non-cancelable issue with CreateDevice method. + - Fix non-working CancelDiscovery method call. + * debian/rules: + - Adjust for upstream modifications to udev rules. + * debian/hid2hci.rules: + - Drop. This has been added upstream now. + * patches/hid2hci_pm-utils.patch: + - Drop for now, until a better solution has been developed. + hid2hci now requires arguments for the device, so it will probably + be better to reset the USB device upon entering or leaving S3. + * debian/bluez.bluetooth.init: + - Drop references to hid2hci + * debian/bluez.bluetooth.default: + - Drop references to hid2hci + + -- Mario Limonciello Tue, 19 May 2009 17:04:16 -0500 + +bluez (4.39-0ubuntu1) karmic; urgency=low + + * New upstream release (LP: #372428) + - Add workaround for dealing with unknown inquiry complete. + - Fix discovering when using software scheduler. + - Fix wrong NoInputNoOutput IO capability string. + - Fix race condition with agent during pairing. + - Fix agent cancellation for security mode 3 acceptor failure. + - Fix temporary flag removal when device creation fails. + - Fix hciattach to use ppoll instead of poll. + - Fix service class update when adapter is down. + - Fix service classes race condition during startup. + - Fix release of audio client before freeing the device. + * debian/rules: + - remove "--enable-hal" to DEB_CONFIGURE_EXTRA_FLAGS. This is not a + supported flag. + + -- Baptiste Mille-Mathias Wed, 13 May 2009 10:32:23 +0200 + +bluez (4.38-0ubuntu1) karmic; urgency=low + + * New upstream release + - Add support for builtin plugins. + - Add framework for adapter operations. + - Add constants for Enhanced Retransmission modes. + - Fix HCI socket leak in device_remove_bonding. + - Fix various format string issues. + - Fix crashes with various free functions. + - Fix issues with Headset and A2DP drivers to load again. + - Fix sending AVRCP button released passthrough messages + - Fix bug which prevent input devices to work after restart. + - Fix issue with interpretation of UUID-128 as channel. + + -- Baptiste Mille-Mathias Tue, 05 May 2009 22:47:19 +0200 + +bluez (4.37-0ubuntu1) karmic; urgency=low + + * New upstream version (LP: #367056) + * debian/hid2hci.rules: + - Update rule to work properly with newer version of udev. (LP: #330934) + * debian/rules: + - ALSA conf that gets installed is now called bluetooth.conf. + + -- Mario Limonciello Tue, 28 Apr 2009 09:40:54 -0500 + +bluez (4.32-0ubuntu4) jaunty; urgency=low + + * debian/bluez-utils.preinst: Correct think-o. LP: #350393. + + -- Scott James Remnant Wed, 01 Apr 2009 09:47:32 +0100 + +bluez (4.32-0ubuntu3) jaunty; urgency=low + + * debian/bluez-utils.preinst: Remove /etc/modprobe.d/bluez on upgrade + + -- Scott James Remnant Wed, 25 Mar 2009 13:43:00 +0000 + +bluez (4.32-0ubuntu2) jaunty; urgency=low + + * No-change rebuild to fix lpia shared library dependencies. + + -- Colin Watson Thu, 19 Mar 2009 12:16:56 +0000 + +bluez (4.32-0ubuntu1) jaunty; urgency=low + + * New upstream release (LP: #) + - Fix broken SDP record handling. + - Fix SDP data buffer parsing. + - Fix more SDP memory leaks. + - Fix read scan enable calls. + - Fix A2DP stream handling. + + -- Baptiste Mille-Mathias Mon, 02 Mar 2009 08:06:39 +0100 + +bluez (4.31-0ubuntu1) jaunty; urgency=low + + * New upstream release (LP: #335045) + - Add support for new BtIO helper library. + - Fix AVDTP session close issue. + - Fix SDP memory leaks. + - Fix various uninitialized memory issues. + - Fix duplicate signal emissions. + - Fix property changes request handling. + - Fix class of device storage handling. + + -- Baptiste Mille-Mathias Thu, 26 Feb 2009 18:59:54 +0100 + +bluez (4.30-0ubuntu1) jaunty; urgency=low + + * New upstream release (LP: #329223) + - Add CID field to L2CAP socket address structure. + - Fix reset of authentication requirements after bonding. + - Fix storing of link keys when using dedicated bonding. + - Fix storing of pre-Bluetooth 2.1 link keys. + - Fix resetting trust settings on every reboot. + - Fix handling of local name changes. + - Fix memory leaks in hciconfig and hcitool + * debian/control: + - add ${misc:Depends} for each binary package as recommanded by lintian + * debian/bluez-utils.postrm: + - add #DEBHELPER# as requested by lintian + + -- Baptiste Mille-Mathias Fri, 13 Feb 2009 21:42:34 +0100 + +bluez (4.34-0exp1) experimental; urgency=low + + * First upload of bluez 4.x (Closes: #499529) + - include parts of the packaging from ubuntu, thanks! + - bluez-utils and bluez-libs are now a single source package + - libbluetooth2 -> libbluetooth3 bump + - conflict bluez with bluez-utils (<= 3.36-3) + - update debian/copyright, thanks to Nobuhiro Iwamatsu + * Remove hid2hci patches/script + * Remove broken link to documentation (Closes: #504675) + * Install a sample commandline agent from test/ into bluetooth-agent + - add 001_test_agent_default_adapter.patch to get the default adapter + * Install test/simple-agent and test/list-devices as examples + * Remove old commented code from maintainer scripts (pcmcia-support postinst + and bluez preinst) + * Update watch file to match bluez only + * Add #DEBHELPER# to debian/bluez-utils.postrm + * Update to S-V 3.8.1: no changes needed + * Fix lintian warnings: + - add -e to remaining maintainer scripts + - remove full path to update-rc.d in debian/bluez.postinst + - override "bluez-utils: maintainer-script-empty postrm" for transitional + bluez-utils postrm + * Use 7 in debian/compat + * Fix debian/bluez.preinst to use dpkg-query, thus removing the lintian + override + + -- Filippo Giunchedi Wed, 01 Apr 2009 12:20:01 +0200 + +bluez (4.29-0ubuntu1) jaunty; urgency=low + + * New upstream version (LP: #326811) + - Use AVRCP version 1.0 for now. + - Decrease AVDTP idle timeout to one second. + - Delay AVRCP connection when remote device connects A2DP. + - Add workaround for AVDTP stream setup with broken headsets. + - Add missing three-way calling feature bit for Handsfree. + - Fix handsfree callheld indicator updating. + - Fix parsing of all AT commands within the buffer. + - Fix authentication replies when disconnected. + - Fix handling of debug combination keys. + - Fix handling of changed combination keys. + - Fix handling of link keys when using no bonding. + - Fix handling of invalid/unknown authentication requirements. + - Fix closing of L2CAP raw socket used for dedicated bonding. + + -- Baptiste Mille-Mathias Sun, 08 Feb 2009 10:48:36 +0100 + +bluez (4.28-0ubuntu1) jaunty; urgency=low + + * New upstream version. (LP: #324492) + - Add AVDTP signal fragmentation support. + - Add more SBC performance optimizations. + - Add more SBC audio quality improvements. + - Use native byte order for audio plugins. + - Set the adapter alias only after checking the EIR data. + - Fix auto-disconnect issue with explicit A2DP connections. + - Fix invalid memory access of ALSA plugin. + - Fix compilation with -Wsign-compare. + + -- Baptiste Mille-Mathias Mon, 02 Feb 2009 21:57:08 +0100 + +bluez (4.27-0ubuntu1) jaunty; urgency=low + + * New upstream version. (LP: #304784) + - Improves interoperability and security handling + with Bluetooth 2.1 based devices. + + -- Mario Limonciello Tue, 27 Jan 2009 12:44:39 -0600 + +bluez (4.25-0ubuntu6) jaunty; urgency=low + + * Drop previous patch, bluez is a bit strange and this is basically ok. + + -- Scott James Remnant Mon, 19 Jan 2009 17:01:14 +0000 + +bluez (4.25-0ubuntu5) jaunty; urgency=low + + * debian/patches/ubuntu_dbus_policy.patch: + - Drop send_interface allow which isn't service-specific. LP: #318740. + + -- Scott James Remnant Mon, 19 Jan 2009 15:38:43 +0000 + +bluez (4.25-0ubuntu4) jaunty; urgency=low + + * Add Breaks to ensure the right udev version is used. + + -- Scott James Remnant Fri, 09 Jan 2009 11:35:06 +0000 + +bluez (4.25-0ubuntu3) jaunty; urgency=low + + * debian/hid2hci.rules: Update to use ATTRS{} instead of SYSFS{} + + -- Scott James Remnant Wed, 07 Jan 2009 14:18:52 +0000 + +bluez (4.25-0ubuntu2) jaunty; urgency=low + + * debian/rules: Install rules into /lib/udev/rules.d + * debian/bluez.preinst: Remove old rule if unchanged. + + -- Scott James Remnant Wed, 07 Jan 2009 11:35:39 +0000 + +bluez (4.25-0ubuntu1) jaunty; urgency=low + + * New upstream release. (LP: #312087) + + -- Baptiste Mille-Mathias Tue, 30 Dec 2008 19:53:44 +0100 + +bluez (4.21-0ubuntu1) jaunty; urgency=low + + * New upstream version. (LP: #304109) + + -- Mario Limonciello Wed, 03 Dec 2008 15:56:03 -0600 + +bluez (4.17-0ubuntu1) jaunty; urgency=low + + * New upstream version. (LP: #284039) + * Drop the following patches that landed upstream: + - logitech_5500_ids.patch + - dell_bt_365.patch + - sco_connect_git.patch + + -- Mario Limonciello Wed, 05 Nov 2008 13:28:35 -0600 + +bluez (4.12-0ubuntu5) intrepid; urgency=low + + * Add debian/hid2hci.rules to enable running hid2hci + as soon as some bluetooth dongles get plugged in. (LP: #288294) + * debian/bluez.postinst: + - Update udev rules on postinst. + * debian/rules: + - Install debian/hid2hci.rules to 62-bluez-hid2hci.rules + + -- Mario Limonciello Sat, 25 Oct 2008 23:32:00 -0500 + +bluez (4.12-0ubuntu4) intrepid; urgency=low + + * Add hid2hci.patch to enable hid2hci to be ran after + suspending a machine. (LP: #268877) + * debian/rules: + - Install new script from above patch. + * Add logitech_5500_ids.patch for enabling hid2hci on + more logitech devices. (LP: #272352) + + -- Mario Limonciello Wed, 22 Oct 2008 16:01:59 -0500 + +bluez (4.12-0ubuntu3) intrepid; urgency=low + + * debian/bluez.postinst: + - Don't show output for MAKEDEV. (LP: 280360) + * Add dell_bt_365.patch which will enable putting the Dell BT365 + adapter into HCI mode upon bootup. (LP: #286724) + * debian/control: + - Add one more binary package for old compatibility binaries. (LP: #281580) + * debian/rules: + - Enable compatibility binaries. These are HIGHLY discouraged from usage + and will not necessarily be here in the future. + * debian/bluez.install: + - Adjust what binaries get installed, to be able to pull out hidd, dund, + and pand as necessary. + + -- Mario Limonciello Mon, 20 Oct 2008 20:37:24 -0500 + +bluez (4.12-0ubuntu2) intrepid; urgency=low + + * debian/control: + - Move libbluetooth3 to the top of the list so that it is the + package that gets to keep the real changelog rather than symlinks. + - Only Replaces: packages rather than conflicts to help with + upgrades (LP: #279954) + + -- Mario Limonciello Tue, 07 Oct 2008 16:32:31 -0500 + +bluez (4.12-0ubuntu1) intrepid; urgency=low + + * Initial Release. (LP: #274950) + - This package replaces bluez-utils and bluez-libs source packages. + - It was generated by merging the contents of bluez-utils and bluez-libs + and updating content. + - Legacy functionality for hidd, dund, and pand are not present, and + have been removed from all configuration files. + * This release introduces encryption (LP: #182191) + * debian/patches: + - bluez-utils-oui-usage.patch was borrowed from the Fedora 10 packaging. + - sco-connect-git.patch was taken from bluez git shortly after 4.12 release. + It should "help" with some sco headset issues. + * debian/control: + - Update different packages per upstream's recommendations. + - Update conflicts/replaces for earlier packages. + - Add a transitional bluez-utils package to help with the transition. + + -- Mario Limonciello Tue, 07 Oct 2008 12:10:29 -0500 --- bluez-4.63.orig/debian/bluez.examples +++ bluez-4.63/debian/bluez.examples @@ -0,0 +1,4 @@ +test/simple-agent +test/list-devices +test/monitor-bluetooth +test/test-* --- bluez-4.63.orig/debian/bluez-pcmcia-support.install +++ bluez-4.63/debian/bluez-pcmcia-support.install @@ -0,0 +1 @@ +scripts/bluetooth_serial /lib/udev --- bluez-4.63.orig/debian/libbluetooth-dev.install +++ bluez-4.63/debian/libbluetooth-dev.install @@ -0,0 +1,5 @@ +debian/tmp/usr/include/* +debian/tmp/usr/lib/lib*.so +debian/tmp/usr/lib/*.la +debian/tmp/usr/lib/pkgconfig/* +debian/tmp/usr/lib/bluetooth/plugins/*.la --- bluez-4.63.orig/debian/control +++ bluez-4.63/debian/control @@ -0,0 +1,132 @@ +Source: bluez +Section: admin +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Debian Bluetooth Maintainers +Uploaders: Filippo Giunchedi +Build-Depends: debhelper (>= 7), + autotools-dev, + cdbs, + flex, + bison, + gstreamer-tools, + libasound2-dev, + libdbus-1-dev, + libdbus-glib-1-dev, + libglib2.0-dev, + libgstreamer0.10-dev, + libgstreamer-plugins-base0.10-dev, + libnl-dev, + libsndfile1-dev, + libusb-dev, + udev, +Vcs-Svn: svn://svn.debian.org/svn/pkg-bluetooth/packages/bluez +Vcs-Browser: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez +Homepage: http://www.bluez.org +Standards-Version: 3.8.1 + +Package: libbluetooth3 +Section: libs +Conflicts: libsdp2 (<= 1.5-2) +Replaces: libsdp2 (<= 1.5-2) +Depends: ${shlibs:Depends}, ${misc:Depends} +Architecture: any +Description: Library to use the BlueZ Linux Bluetooth stack + BlueZ is the official Linux Bluetooth protocol stack. It is an Open Source + project distributed under GNU General Public License (GPL). + +Package: libbluetooth-dev +Section: libdevel +Provides: libbluetooth3-dev +Conflicts: libbluetooth-dev, libsdp2-dev (<= 1.5.2), bluez-pan +Replaces: libsdp2-dev (<= 1.5.2) +Depends: libbluetooth3 (= ${binary:Version}), libc6-dev | libc-dev, ${misc:Depends} +Suggests: pkg-config +Priority: extra +Architecture: any +Description: Development files for using the BlueZ Linux Bluetooth library + BlueZ is the official Linux Bluetooth protocol stack. It is an Open Source + project distributed under GNU General Public License (GPL). + +Package: bluetooth +Architecture: all +Depends: bluez +Recommends: bluez-alsa, + bluez-cups, + bluez-gstreamer +Description: Bluetooth support + This package provides all of the different plugins supported + by the Bluez bluetooth stack. + +Package: bluez +Architecture: any +Depends: ${shlibs:Depends}, module-init-tools, makedev | udev, lsb-base, dbus, ${misc:Depends} +Replaces: bluez-input, bluez-network, bluez-audio, bluez-serial, bluez-utils (<=4.9) +Conflicts: bluez-utils (<= 3.36-3) +Suggests: python-gobject, python-dbus +Description: Bluetooth tools and daemons + This package contains tools and system daemons for using Bluetooth devices. + . + BlueZ is the official Linux Bluetooth protocol stack. It is an Open Source + project distributed under GNU General Public License (GPL). + +Package: bluez-alsa +Replaces: bluez-audio +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Bluetooth audio support + This package contains a driver operate with the ALSA stack. + . + BlueZ is the official Linux Bluetooth protocol stack. It is an Open Source + project distributed under GNU General Public License (GPL). + +Package: bluez-cups +Architecture: any +Depends: ${shlibs:Depends}, cups, ${misc:Depends} +Description: Bluetooth printer driver for CUPS + This package contains a driver to let CUPS print to Bluetooth-connected + printers. + . + BlueZ is the official Linux Bluetooth protocol stack. It is an Open Source + project distributed under GNU General Public License (GPL). + +Package: bluez-gstreamer +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Replaces: bluez-audio +Description: Bluetooth GStreamer support + This package contains a plugin to operate with GStreamer applications. + . + BlueZ is the official Linux Bluetooth protocol stack. It is an Open Source + project distributed under GNU General Public License (GPL). + +Package: bluez-pcmcia-support +Architecture: any +Priority: extra +Depends: pcmciautils, ${misc:Depends} +Recommends: setserial +Description: PCMCIA support files for BlueZ 2.0 Bluetooth tools + This package contains files to enable PCMCIA card services to recognise + and initialise PCMCIA Bluetooth devices. + . + BlueZ is the official Linux Bluetooth protocol stack. It is an Open Source + project distributed under GNU General Public License (GPL). + +Package: bluez-compat +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: BlueZ 3.x compatibility binaries + This package provides the legacy binaries that were reminiscent of the + BlueZ 3.x pairing methods. These binaries are not supported, and will + go away again in the future. The provided binaries are: + . + hidd + dund + pand + +Package: bluez-utils +Depends: bluetooth +Architecture: all +Description: Transitional package + This is a transitional package to assist with moving people to the + BlueZ 4.x stack. --- bluez-4.63.orig/debian/bluetooth-dbus.conf +++ bluez-4.63/debian/bluetooth-dbus.conf @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + --- bluez-4.63.orig/debian/bluez-alsa.install +++ bluez-4.63/debian/bluez-alsa.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/alsa-lib/*.so --- bluez-4.63.orig/debian/bluez.bluetooth.init +++ bluez-4.63/debian/bluez.bluetooth.init @@ -0,0 +1,44 @@ +#! /bin/sh +### BEGIN INIT INFO +# Provides: bluetooth +# Required-Start: $local_fs $syslog $remote_fs dbus +# Required-Stop: $local_fs $syslog $remote_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Start bluetoothd +### END INIT INFO + +. /lib/lsb/init-functions + +set -e + +case "$1" in + start) + #currently this init script exists only because of what appears to be + #an egg and chicken problem + # bluetoothd normally starts up by udev rules. it needs dbus to function, + # but dbus doesn't start up until after udev finishes triggering + # + if [ ! -f /sbin/udevadm.upgrade ]; then + udevadm trigger --subsystem-match=bluetooth + fi + ;; + stop) + pkill -TERM bluetoothd || true + ;; + restart|force-reload) + $0 stop + $0 start + ;; + status) + status_of_proc "bluetoothd" "bluetooth" && exit 0 || exit $? + ;; + *) + N=/etc/init.d/bluetooth + # echo "Usage: $N {start|stop|restart|reload|force-reload|status}" >&2 + echo "Usage: $N {start|stop|restart|force-reload|status}" >&2 + exit 1 + ;; +esac + +exit 0 --- bluez-4.63.orig/debian/bluez.install +++ bluez-4.63/debian/bluez.install @@ -0,0 +1,20 @@ +debian/source_bluez.py usr/share/apport/package-hooks +debian/tmp/etc/bluetooth/main.conf +debian/tmp/etc/bluetooth/rfcomm.conf +debian/tmp/etc/dbus*/* +debian/tmp/usr/bin/hcitool +debian/tmp/usr/bin/rfcomm +debian/tmp/usr/bin/dfutool +debian/tmp/usr/bin/l2ping +debian/tmp/usr/bin/sdptool +debian/tmp/usr/bin/ciptool +debian/tmp/usr/sbin/* +debian/tmp/usr/share/man/man1/dfutool* +debian/tmp/usr/share/man/man1/ciptool* +debian/tmp/usr/share/man/man1/hcitool* +debian/tmp/usr/share/man/man1/sdptool* +debian/tmp/usr/share/man/man1/rfcomm* +debian/tmp/usr/share/man/man8/* +debian/tmp/usr/lib/bluetooth/plugins/*.so +debian/tmp/lib/udev/* + --- bluez-4.63.orig/debian/source_bluez.py +++ bluez-4.63/debian/source_bluez.py @@ -0,0 +1,40 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +'''apport package hook for bluez + +(c) 2010 Free Software Foundation +Author: +Baptiste Mille-Mathias + +''' +from apport.hookutils import * +import re + +def add_info(report, ui): + report['syslog'] = recent_syslog(re.compile(r'bluetooth', re.IGNORECASE)) + attach_hardware(report) + if command_available('hciconfig'): + report['hciconfig'] = command_output('hciconfig') + if command_available('rfkill'): + report['rfkill'] = command_output(['rfkill','list']) + if command_available('getfacl'): + report['getfacl'] = command_output(['getfacl','/dev/rfkill']) + + interesting_modules = ('btusb', 'rfcomm', 'sco', 'bnep', 'l2cap', 'bluetooth') + interesting_modules_loaded = [] + + for line in open('/proc/modules'): + module = line.split()[0] + if module in interesting_modules: + interesting_modules_loaded.append(module) + + if interesting_modules_loaded: + report['InterestingModules'] = ' '.join(interesting_modules_loaded) + + ui.information("""Your bug report will be processed in few seconds. +If you can reproduce it, please follow the next steps: + - Open a new terminal + - Run the command "sudo hcidump -XYt > $HOME/hci.log" + - Reproduce the actions until the error happens + - On the terminal, press Ctrl+C to stop hcidump. + - Attach the file hci.log to the bug report.""") --- bluez-4.63.orig/debian/watch +++ bluez-4.63/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.kernel.org/pub/linux/bluetooth/ .*bluez-([.\d]+)\.tar\.gz --- bluez-4.63.orig/debian/bluez_agent.udev +++ bluez-4.63/debian/bluez_agent.udev @@ -0,0 +1,8 @@ +#!/bin/sh -e +# /usr is not guaranteed to be mounted when udev starts + +( + . /lib/udev/hotplug.functions + wait_for_file /usr/sbin/hid2hci + exec /usr/sbin/hid2hci "$@" +) & --- bluez-4.63.orig/debian/bluez-compat.install +++ bluez-4.63/debian/bluez-compat.install @@ -0,0 +1,6 @@ +debian/tmp/usr/bin/hidd +debian/tmp/usr/bin/pand +debian/tmp/usr/bin/dund +debian/tmp/usr/share/man/man1/hidd* +debian/tmp/usr/share/man/man1/pand* +debian/tmp/usr/share/man/man1/dund* --- bluez-4.63.orig/debian/compat +++ bluez-4.63/debian/compat @@ -0,0 +1 @@ +7 --- bluez-4.63.orig/debian/bluez-utils.override +++ bluez-4.63/debian/bluez-utils.override @@ -0,0 +1,2 @@ +# empty transitional postrm +bluez-utils: maintainer-script-empty postrm --- bluez-4.63.orig/debian/libbluetooth3.install +++ bluez-4.63/debian/libbluetooth3.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/lib*.so.* --- bluez-4.63.orig/debian/bluetooth.override +++ bluez-4.63/debian/bluetooth.override @@ -0,0 +1,2 @@ +# package description looks fine, "Bluetooth stack utilities" +bluetooth binary: description-starts-with-package-name --- bluez-4.63.orig/debian/bluez.docs +++ bluez-4.63/debian/bluez.docs @@ -0,0 +1 @@ +*/*-api.txt --- bluez-4.63.orig/debian/patches/01_disable_hal.patch +++ bluez-4.63/debian/patches/01_disable_hal.patch @@ -0,0 +1,161 @@ +Description: Disable usage of Hal in the telephony plugins, and disable the hal plugin. They do not do very useful things anyway, and just cause hal to start up, which is expensive. +Author: Martin Pitt +Origin: Ubuntu +diff -Nur -x '*.orig' -x '*~' bluez/audio/telephony-maemo5.c bluez.new/audio/telephony-maemo5.c +--- bluez/audio/telephony-maemo5.c 2010-03-30 21:38:38.178729000 +0200 ++++ bluez.new/audio/telephony-maemo5.c 2010-03-31 20:53:53.808888218 +0200 +@@ -1394,7 +1394,7 @@ + + return type == DBUS_TYPE_INVALID ? TRUE : FALSE; + } +- ++#if 0 + static void hal_battery_level_reply(DBusPendingCall *call, void *user_data) + { + DBusError err; +@@ -1511,6 +1511,7 @@ + dbus_message_iter_next(&array); + } + } ++#endif + + static void csd_call_free(struct csd_call *call) + { +@@ -1725,6 +1726,7 @@ + dbus_message_unref(reply); + } + ++#if 0 + static void hal_find_device_reply(DBusPendingCall *call, void *user_data) + { + DBusError err; +@@ -1778,6 +1780,7 @@ + done: + dbus_message_unref(reply); + } ++#endif + + static void phonebook_read_reply(DBusPendingCall *call, void *user_data) + { +@@ -2034,9 +2037,11 @@ + else if (dbus_message_is_signal(msg, NETWORK_INTERFACE, + "signal_strength_change")) + handle_signal_strength_change(msg); ++ /* + else if (dbus_message_is_signal(msg, "org.freedesktop.Hal.Device", + "PropertyModified")) + handle_hal_property_modified(msg); ++ */ + else if (dbus_message_is_signal(msg, SSC_DBUS_IFACE, + "modem_state_changed_ind")) + handle_modem_state(msg); +@@ -2093,6 +2098,7 @@ + + telephony_ready_ind(features, maemo_indicators, response_and_hold, + chld_str); ++ /* + if (send_method_call("org.freedesktop.Hal", + "/org/freedesktop/Hal/Manager", + "org.freedesktop.Hal.Manager", +@@ -2101,7 +2107,7 @@ + DBUS_TYPE_STRING, &battery_cap, + DBUS_TYPE_INVALID) < 0) + error("Unable to send HAL method call"); +- ++ */ + return 0; + } + +diff -Nur -x '*.orig' -x '*~' bluez/audio/telephony-ofono.c bluez.new/audio/telephony-ofono.c +--- bluez/audio/telephony-ofono.c 2010-03-30 21:38:38.178729000 +0200 ++++ bluez.new/audio/telephony-ofono.c 2010-03-31 20:53:53.808888218 +0200 +@@ -871,6 +871,7 @@ + return TRUE; + } + ++#if 0 + static void hal_battery_level_reply(DBusPendingCall *call, void *user_data) + { + DBusMessage *reply; +@@ -1043,6 +1044,7 @@ + done: + dbus_message_unref(reply); + } ++#endif + + int telephony_init(void) + { +@@ -1069,6 +1071,7 @@ + if (ret < 0) + return ret; + ++ /* + ret = send_method_call("org.freedesktop.Hal", + "/org/freedesktop/Hal/Manager", + "org.freedesktop.Hal.Manager", +@@ -1078,7 +1081,7 @@ + DBUS_TYPE_INVALID); + if (ret < 0) + return ret; +- ++ */ + debug("telephony_init() successfully"); + + return ret; +diff -Nur -x '*.orig' -x '*~' bluez/Makefile.am bluez.new/Makefile.am +--- bluez/Makefile.am 2010-03-30 21:38:38.178729000 +0200 ++++ bluez.new/Makefile.am 2010-03-31 20:53:53.808888218 +0200 +@@ -170,9 +170,6 @@ + builtin_modules += hciops + builtin_sources += plugins/hciops.c + +-builtin_modules += hal +-builtin_sources += plugins/hal.c +- + builtin_modules += storage + builtin_sources += plugins/storage.c + +diff -Nur -x '*.orig' -x '*~' bluez/Makefile.in bluez.new/Makefile.in +--- bluez/Makefile.in 2010-03-30 21:38:38.178729000 +0200 ++++ bluez.new/Makefile.in 2010-03-31 20:53:53.808888218 +0200 +@@ -404,7 +404,7 @@ + network/manager.c network/common.h network/common.c \ + network/server.h network/server.c network/bridge.h \ + network/bridge.c network/connection.h network/connection.c \ +- plugins/service.c plugins/hciops.c plugins/hal.c \ ++ plugins/service.c plugins/hciops.c \ + plugins/storage.c src/main.c src/logging.h src/logging.c \ + src/security.c src/rfkill.c src/hcid.h src/sdpd.h \ + src/sdpd-server.c src/sdpd-request.c src/sdpd-service.c \ +@@ -446,7 +446,7 @@ + am__objects_10 = $(am__objects_3) $(am__objects_4) $(am__objects_5) \ + $(am__objects_6) $(am__objects_7) $(am__objects_8) \ + $(am__objects_9) plugins/hciops.$(OBJEXT) \ +- plugins/hal.$(OBJEXT) plugins/storage.$(OBJEXT) ++ plugins/storage.$(OBJEXT) + am_src_bluetoothd_OBJECTS = $(am__objects_2) $(am__objects_10) \ + src/main.$(OBJEXT) src/logging.$(OBJEXT) \ + src/security.$(OBJEXT) src/rfkill.$(OBJEXT) \ +@@ -931,11 +931,10 @@ + gdbus_sources = gdbus/gdbus.h gdbus/mainloop.c gdbus/object.c gdbus/watch.c + builtin_modules = $(am__append_5) $(am__append_7) $(am__append_9) \ + $(am__append_12) $(am__append_14) $(am__append_16) \ +- $(am__append_18) hciops hal storage ++ $(am__append_18) hciops storage + builtin_sources = $(am__append_6) $(am__append_8) $(am__append_10) \ + $(am__append_13) $(am__append_15) $(am__append_17) \ +- $(am__append_19) plugins/hciops.c plugins/hal.c \ +- plugins/storage.c ++ $(am__append_19) plugins/hciops.c plugins/storage.c + builtin_nodist = $(am__append_11) + @AUDIOPLUGIN_TRUE@noinst_LIBRARIES = audio/libtelephony.a + @AUDIOPLUGIN_TRUE@audio_libtelephony_a_SOURCES = audio/telephony.h audio/telephony-dummy.c \ +@@ -1704,8 +1703,6 @@ + plugins/$(DEPDIR)/$(am__dirstamp) + plugins/hciops.$(OBJEXT): plugins/$(am__dirstamp) \ + plugins/$(DEPDIR)/$(am__dirstamp) +-plugins/hal.$(OBJEXT): plugins/$(am__dirstamp) \ +- plugins/$(DEPDIR)/$(am__dirstamp) + plugins/storage.$(OBJEXT): plugins/$(am__dirstamp) \ + plugins/$(DEPDIR)/$(am__dirstamp) + src/main.$(OBJEXT): src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp) --- bluez-4.63.orig/debian/patches/02_lower_sink_ranking.patch +++ bluez-4.63/debian/patches/02_lower_sink_ranking.patch @@ -0,0 +1,11 @@ +diff -Nur -x '*.orig' -x '*~' bluez-4.62/audio/gsta2dpsink.c bluez-4.62.new/audio/gsta2dpsink.c +--- bluez-4.62/audio/gsta2dpsink.c 2010-01-09 21:52:17.000000000 +0100 ++++ bluez-4.62.new/audio/gsta2dpsink.c 2010-03-10 21:01:34.716342353 +0100 +@@ -697,6 +697,6 @@ + gboolean gst_a2dp_sink_plugin_init(GstPlugin *plugin) + { + return gst_element_register(plugin, "a2dpsink", +- GST_RANK_MARGINAL, GST_TYPE_A2DP_SINK); ++ GST_RANK_MARGINAL-1, GST_TYPE_A2DP_SINK); + } +