Hello community, here is the log from the commit of package bluez for openSUSE:Factory checked in at Fri Jul 10 16:41:40 CEST 2009. -------- --- bluez/bluez-gstreamer.changes 2009-06-22 16:00:18.000000000 +0200 +++ bluez/bluez-gstreamer.changes 2009-07-09 11:09:37.000000000 +0200 @@ -2 +2,42 @@ -Mon Jun 22 12:49:46 CEST 2009 - cmorve69@yahoo.es +Thu Jul 9 11:08:28 CEST 2009 - seife@suse.de + +- packaging: remove unused bluetooth.rules file (thanks darix!) + +------------------------------------------------------------------- +Wed Jul 8 00:00:30 CEST 2009 - seife@suse.de + +- update to bluez-4.45: + - Fix UDEV_DATADIR fallback if pkg-config fails. + - Fix adapter cleanup and setup prototypes. + - Fix double-free with out-of-range devices. + - Fix inband ring setting to be per-headset. + - Fix handling of Maemo CSD startup. + +------------------------------------------------------------------- +Tue Jul 7 10:24:05 CEST 2009 - seife@suse.de + +- update to bluez-4.44: + - Add some missing manual pages. + - Fix three-way calling indicator order. + - Fix downgrade/upgrade of callheld indicator. + - Fix +CIEV sending when indicator value changes. + - Fix signal handling for Maemo telephony driver. + - Fix parsing issues with messages from Maemo CSD. + - Fix issue with duplicate active calls. +- udev rules moved to /lib/udev/rules.d + +------------------------------------------------------------------- +Fri Jul 3 23:27:46 CEST 2009 - seife@suse.de + +- update to bluez-4.43: + - Add support for udev based on-demand startup. + - Fix verbose error reporting of CUPS backend. + - Fix various string length issues. + - Fix issues with Maemo telephony driver. + - Fix another device setup and temporary flag issue. + - Fix and update example agent implementation. +- remove init scripts and D-Bus activation, instead bluetoothd is + now started by udev. Update README.SUSE accordingly. + +------------------------------------------------------------------- +Mon Jun 22 12:49:35 CEST 2009 - cmorve69@yahoo.es --- bluez/bluez.changes 2009-06-22 16:00:20.000000000 +0200 +++ bluez/bluez.changes 2009-07-09 11:09:38.000000000 +0200 @@ -1,0 +2,41 @@ +Thu Jul 9 11:08:28 CEST 2009 - seife@suse.de + +- packaging: remove unused bluetooth.rules file (thanks darix!) + +------------------------------------------------------------------- +Wed Jul 8 00:00:30 CEST 2009 - seife@suse.de + +- update to bluez-4.45: + - Fix UDEV_DATADIR fallback if pkg-config fails. + - Fix adapter cleanup and setup prototypes. + - Fix double-free with out-of-range devices. + - Fix inband ring setting to be per-headset. + - Fix handling of Maemo CSD startup. + +------------------------------------------------------------------- +Tue Jul 7 10:24:05 CEST 2009 - seife@suse.de + +- update to bluez-4.44: + - Add some missing manual pages. + - Fix three-way calling indicator order. + - Fix downgrade/upgrade of callheld indicator. + - Fix +CIEV sending when indicator value changes. + - Fix signal handling for Maemo telephony driver. + - Fix parsing issues with messages from Maemo CSD. + - Fix issue with duplicate active calls. +- udev rules moved to /lib/udev/rules.d + +------------------------------------------------------------------- +Fri Jul 3 23:27:46 CEST 2009 - seife@suse.de + +- update to bluez-4.43: + - Add support for udev based on-demand startup. + - Fix verbose error reporting of CUPS backend. + - Fix various string length issues. + - Fix issues with Maemo telephony driver. + - Fix another device setup and temporary flag issue. + - Fix and update example agent implementation. +- remove init scripts and D-Bus activation, instead bluetoothd is + now started by udev. Update README.SUSE accordingly. + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- bluetooth-coldplug.init bluetooth.init bluetooth.rules bluez-4.41-as_needed.patch bluez-4.42.tar.bz2 org.bluez.service New: ---- bluez-4.44-udev-use-helperscript.diff bluez-4.45.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bluez-gstreamer.spec ++++++ --- /var/tmp/diff_new_pack.USSWCX/_old 2009-07-10 16:40:50.000000000 +0200 +++ /var/tmp/diff_new_pack.USSWCX/_new 2009-07-10 16:40:50.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package bluez-gstreamer (Version 4.42) +# spec file for package bluez-gstreamer (Version 4.45) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -21,10 +21,10 @@ Name: bluez-gstreamer BuildRequires: dbus-1-devel flex BuildRequires: glib2-devel libnl-devel libusb-devel -BuildRequires: alsa-devel libsndfile-devel +BuildRequires: alsa-devel libsndfile-devel pkg-config udev BuildRequires: gstreamer-0_10-devel gstreamer-0_10-plugins-base-devel Url: http://www.bluez.org -Version: 4.42 +Version: 4.45 Release: 1 Summary: Bluetooth Sound Support Group: Productivity/Multimedia/Sound/Utilities @@ -32,17 +32,18 @@ Group: Productivity/Multimedia/Sound/Utilities AutoReqProv: on Source: http://www.kernel.org/pub/linux/bluetooth/bluez-%{version}.tar.bz2 -Source1: bluetooth.init -Source2: bluetooth-coldplug.init Source3: bluetooth.sysconfig Source4: bluetooth.sh -Source5: org.bluez.service Source6: README.SUSE -Source7: bluetooth.rules -Patch: bluez-4.41-as_needed.patch +Patch1: bluez-4.44-udev-use-helperscript.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: libbluetooth3 = %{version} Provides: bluez-audio:%_libdir/gstreamer-0.10/libgstbluetooth.so +%if %( echo `rpm -q --queryformat %%{version} udev` ) < 144 +%define OLD_UDEV 1 +%else +%define OLD_UDEV 0 +%endif %description The package contains libraries for using bluetooth audio services. @@ -58,20 +59,12 @@ %prep %setup -n bluez-%{version} -q -%patch -cp %{S:1} scripts/ +%patch1 -p1 cp %{S:6} . -cp %{S:7} scripts %{?suse_update_config:%{suse_update_config -f . }} %build -autoreconf -sfi -#CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%_prefix --libdir=%_libdir --localstatedir=%_localstatedir -#make -#%build -#cd ../bluez-utils-%{version} # autoreconf -sfi -# CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -g" \ CFLAGS="$RPM_OPT_FLAGS -g" \ ./configure --prefix=%{_prefix} \ --mandir=%{_mandir} \ @@ -93,8 +86,7 @@ --enable-dund \ --enable-manpages \ --enable-configfiles \ - --enable-initscripts \ - --enable-pcmciarules + --enable-pcmcia make %{?jobs:-j %jobs} all %install ++++++ bluez.spec ++++++ --- /var/tmp/diff_new_pack.USSWCX/_old 2009-07-10 16:40:50.000000000 +0200 +++ /var/tmp/diff_new_pack.USSWCX/_new 2009-07-10 16:40:50.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package bluez (Version 4.42) +# spec file for package bluez (Version 4.45) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -21,9 +21,9 @@ Name: bluez BuildRequires: dbus-1-devel flex BuildRequires: glib2-devel libnl-devel libusb-devel -BuildRequires: alsa-devel libsndfile-devel +BuildRequires: alsa-devel libsndfile-devel pkg-config udev Url: http://www.bluez.org -Version: 4.42 +Version: 4.45 Release: 1 Summary: Bluetooth Stack for Linux Group: Hardware/Mobile @@ -31,21 +31,22 @@ Group: Hardware/Mobile AutoReqProv: on Source: http://www.kernel.org/pub/linux/bluetooth/bluez-%{version}.tar.bz2 -Source1: bluetooth.init -Source2: bluetooth-coldplug.init Source3: bluetooth.sysconfig Source4: bluetooth.sh -Source5: org.bluez.service Source6: README.SUSE Source7: bluetooth.modprobe -Source8: bluetooth.rules -Patch: bluez-4.41-as_needed.patch +Patch1: bluez-4.44-udev-use-helperscript.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: bluez-utils = 3.36 Obsoletes: bluez-utils <= 3.36 Provides: bluez-audio = 3.36 Obsoletes: bluez-audio <= 3.36 Requires: libbluetooth3 = %{version} +%if %( echo `rpm -q --queryformat %%{version} udev` ) < 144 +%define OLD_UDEV 1 +%else +%define OLD_UDEV 0 +%endif %description The Bluetooth stack for Linux. @@ -163,21 +164,14 @@ %prep %setup -q -%patch -cp %{S:1} scripts/ +%patch1 -p1 cp %{S:6} . %{?suse_update_config:%{suse_update_config -f . }} mkdir dbus-apis cp -a doc/*.txt dbus-apis/ %build -autoreconf -sfi -#CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%_prefix --libdir=%_libdir --localstatedir=%_localstatedir -#make -#%build -#cd ../bluez-utils-%{version} # autoreconf -sfi -# CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -g" \ CFLAGS="$RPM_OPT_FLAGS -g" \ ./configure --prefix=%{_prefix} \ --mandir=%{_mandir} \ @@ -199,8 +193,7 @@ --enable-dund \ --enable-manpages \ --enable-configfiles \ - --enable-initscripts \ - --enable-pcmciarules + --enable-pcmcia make %{?jobs:-j %jobs} all %install @@ -225,23 +218,15 @@ rm -v $RPM_BUILD_ROOT/%{_libdir}/bluetooth/plugins/*.la $RPM_BUILD_ROOT/%{_libdir}/libbluetooth.la rm -rvf $RPM_BUILD_ROOT/%{_libdir}/gstreamer-* rm -v $RPM_BUILD_ROOT/%{_libdir}/alsa-lib/*.la -install --mode=0755 -D %{S:2} $RPM_BUILD_ROOT/%{_sysconfdir}/init.d/bluetooth-coldplug install --mode=0644 -D %{S:3} $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.bluetooth install --mode=0755 -D %{S:4} $RPM_BUILD_ROOT/lib/udev/bluetooth.sh -install --mode=0644 -D %{S:5} $RPM_BUILD_ROOT/usr/share/dbus-1/system-services/org.bluez.service install --mode=0644 -D %{S:7} $RPM_BUILD_ROOT/%{_sysconfdir}/modprobe.d/50-bluetooth.conf -install --mode=0644 -D %{S:8} $RPM_BUILD_ROOT/%{_sysconfdir}/udev/rules.d/40-bluetooth.rules -#mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/udev/rules.d -mv -v $RPM_BUILD_ROOT/etc/udev/bluetooth-hid2hci.rules $RPM_BUILD_ROOT/%{_sysconfdir}/udev/rules.d/41-bluetooth-hid2hci.rules -mv -v $RPM_BUILD_ROOT/etc/udev/bluetooth-serial.rules $RPM_BUILD_ROOT/%{_sysconfdir}/udev/rules.d/42-bluetooth-serial.rules -ln -s ../../etc/init.d/bluetooth $RPM_BUILD_ROOT/usr/sbin/rcbluetooth %clean rm -rf $RPM_BUILD_ROOT %post %{fillup_only -n bluetooth} -/sbin/insserv -f /etc/init.d/bluetooth-coldplug %preun %stop_on_removal bluetooth @@ -256,8 +241,6 @@ %files %defattr(-, root, root) %doc AUTHORS COPYING ChangeLog README README.SUSE dbus-apis -/etc/init.d/bluetooth -/etc/init.d/bluetooth-coldplug %{_bindir}/hcitool %{_bindir}/l2ping %{_bindir}/rfcomm @@ -268,11 +251,13 @@ %{_sbindir}/hciconfig %{_sbindir}/bluetoothd %{_sbindir}/hid2hci -%{_sbindir}/rcbluetooth %{_sbindir}/bccmd -%dir %{_sysconfdir}/udev %dir /lib/udev /lib/udev/* +%if 0%{OLD_UDEV} +%dir %{_sysconfdir}/udev/rules.d +%config %{_sysconfdir}/udev/rules.d/* +%endif %dir %{_libdir}/bluetooth %dir %{_libdir}/bluetooth/plugins %{_libdir}/bluetooth/plugins/audio.so @@ -286,20 +271,19 @@ %doc %{_mandir}/man8/bluetoothd.8.gz %doc %{_mandir}/man8/hid2hci.8.gz %doc %{_mandir}/man8/bccmd.8.gz +%doc %{_mandir}/man8/l2ping.8.gz %doc %{_mandir}/man1/hcitool.1.gz %doc %{_mandir}/man1/sdptool.1.gz %doc %{_mandir}/man1/ciptool.1.gz %doc %{_mandir}/man1/rfcomm.1.gz -%doc %{_mandir}/man1/l2ping.1.gz %doc %{_mandir}/man1/dfutool.1.gz +%doc %{_mandir}/man1/hciemu.1.gz +%doc %{_mandir}/man1/rctest.1.gz %dir %{_sysconfdir}/bluetooth %config(noreplace) %{_sysconfdir}/bluetooth/main.conf %config(noreplace) %{_sysconfdir}/bluetooth/rfcomm.conf -%config %{_sysconfdir}/default/bluetooth /var/adm/fillup-templates/sysconfig.bluetooth -%config %{_sysconfdir}/udev/rules.d %config %{_sysconfdir}/dbus-1/system.d/bluetooth.conf -%config /usr/share/dbus-1/system-services/org.bluez.service #%doc %{_defaultdocdir}/bluez-utils/ %dir /var/lib/bluetooth %dir %{_sysconfdir}/modprobe.d ++++++ README.SUSE ++++++ --- /var/tmp/diff_new_pack.USSWCX/_old 2009-07-10 16:40:50.000000000 +0200 +++ /var/tmp/diff_new_pack.USSWCX/_new 2009-07-10 16:40:50.000000000 +0200 @@ -3,21 +3,13 @@ How does bluetoothd get started? -------------------------------- -Bluetoothd is started via D-Bus activation. This means: as soon as somebody -is requesting bluez services via D-Bus, bluetoothd is started. -Additionally, there is a udev rule that runs /lib/udev/bluetooth.sh every -time a bluetooth device is plugged into the system. This script sends a -request via dbus-send to start the bluetoothd. +Bluetoothd is started via udev. This means: as soon as a bluetooth device +is inserted, bluetoothd is started with the option "--udev". For the case that D-Bus is not yet running during system bootup when the -adapter is detected, the script creates /dev/shm/bluetooth-adapter-present/ -which is used in a later init script /etc/init.d/bluetooth-coldplug to -decide if bluetooth services should be started or not. - -Of course you can still decide to always start bluetoothd on every boot by -issuing the "insserv bluetooth" command or enabling it with the YaST2 runlevel -editor. +adapter is detected, bluetoothd will quit with exit code 1, udev will notice +that and then try to restart bluetoothd later. If you want to prevent starting of the bluetooth service, edit -/etc/sysconfig/bluetooth and set START_SERVICES to "no". +/etc/sysconfig/bluetooth and set START_BLUETOOTHD to "no". Have a lot of fun... ++++++ bluetooth.sh ++++++ --- /var/tmp/diff_new_pack.USSWCX/_old 2009-07-10 16:40:50.000000000 +0200 +++ /var/tmp/diff_new_pack.USSWCX/_new 2009-07-10 16:40:50.000000000 +0200 @@ -1,47 +1,9 @@ -#!/bin/bash -# $id$ -# Bluetooth hotplug policy agent for Linux 2.6 kernels -# -# Bluetooth hotplug params include: -# -# ACTION=%s [add or remove] -# SUBSYSTEM=bluetooth -# -[ x"$SUBSYSTEM" = xbluetooth ] || { - echo "bad invocation: SUBSYSTEM != bluetooth" - exit 1 -} - -. /etc/sysconfig/hardware/scripts/functions - +#!/bin/sh BLUETOOTH_CONFIG=/etc/sysconfig/bluetooth -test -r $BLUETOOTH_CONFIG || exit 6 -. $BLUETOOTH_CONFIG - -case $ACTION in - - add) - info_mesg $ACTION $INTERFACE $START_SERVICES - if [ $START_SERVICES = "no" ]; then - exit 0 - fi - # for later consumption by the bluetooth-coldplug init script - mkdir /dev/shm/bluetooth-adapter-present - # this is a fake dbus call, which gets the adapter up via DBus activation - /bin/dbus-send --system --type=method_call --print-reply --reply-timeout=1000 --dest=org.bluez / org.bluez.hello - ;; +test -r $BLUETOOTH_CONFIG && $BLUETOOTH_CONFIG - remove) - info_mesg $ACTION $INTERFACE - # Do this only if _all_ bt-devices are finally removed - # Problem: Devices in hid-proxy-mode are not known as /dev/hciX - if [ $ALWAYS_STOP_SERVICES = "yes" ]; then - /etc/init.d/bluetooth stop - fi - ;; +if [ "$START_BLUETOOTHD" = "no" ]; then + exit 0 +fi - *) - info_mesg Bluetooth $ACTION event not supported - exit 1 - ;; -esac +exec /usr/sbin/bluetoothd --udev ++++++ bluetooth.sysconfig ++++++ --- /var/tmp/diff_new_pack.USSWCX/_old 2009-07-10 16:40:50.000000000 +0200 +++ /var/tmp/diff_new_pack.USSWCX/_new 2009-07-10 16:40:50.000000000 +0200 @@ -1,129 +1,7 @@ ############ general ## Path: Hardware/Bluetooth -## Description: General settings for the Bluetooth device, if set to 'yes' bluetooth is started when hotplug reports 'added bluetooth device' +## Description: General settings for the Bluetooth device, if set to 'yes' bluetooth is started when udev reports 'added bluetooth device' ## Type: yesno ## Default: yes -## ServiceRestart: bluetooth - -START_SERVICES=yes - -############ HCID - -## Path: Hardware/Bluetooth -## Description: Start the daemon for managing Bluetooth devices -## Type: yesno -## Default: yes -## ServiceRestart: bluetooth -DAEMON_ENABLE=yes - -## Path: Hardware/Bluetooth -## Description: Set responsible daemon for managing Bluetooth devices -## Type: list("/usr/sbin/bluetoothd","") -## Default: "/usr/sbin/bluetoothd" -## ServiceRestart: bluetooth -DAEMON_EXEC="/usr/sbin/bluetoothd" - -## Path: Hardware/Bluetooth -## Description: Arguments for hci-demon -## Type: string("") -## Default: "" -## ServiceRestart: bluetooth - -DAEMON_ARGS="" - - -############ RFCOMM - -## Path: Hardware/Bluetooth -## Description: Start rfcomm service -## Type: yesno -## Default: no -## ServiceRestart: bluetooth -RFCOMM_ENABLE="yes" - -## Path: Hardware/Bluetooth -## Description: Set responsible service for rfcomm -## Type: list("/usr/bin/rfcomm","") -## Default: "/usr/bin/rfcomm" -## ServiceRestart: bluetooth -RFCOMM_EXEC="/usr/bin/rfcomm" - -## Path: Hardware/Bluetooth -## Description: Arguments for rfcomm service -## Type: list("-f /etc/bluetooth/rfcomm.conf bind all","") -## Default: "-f /etc/bluetooth/rfcomm.conf bind all" -## ServiceRestart: bluetooth -RFCOMM_ARGS="-f /etc/bluetooth/rfcomm.conf bind all" - - -############ PAND - -## Path: Hardware/Bluetooth -## Description: Start daemon for Personal Area Network -## Type: yesno -## Default: no -## ServiceRestart: bluetooth -PAND_ENABLE="no" - -## Path: Hardware/Bluetooth -## Description: Set responsible demon for Personal Area Network -## Type: list("/usr/bin/pand","") -## Default: "/usr/bin/pand" -## ServiceRestart: bluetooth -PAND_EXEC="/usr/bin/pand" - -## Path: Hardware/Bluetooth -## Description: Arguments for pan-demon start -## Type: list("--listen --role NAP") -## Default: "--listen --role NAP" -## ServiceRestart: bluetooth -PAND_ARGS="--listen --role NAP" - - -############ DUND - -## Path: Hardware/Bluetooth -## Description: Start responsible demon for LAN Access over PPP -## Type: yesno -## Default: no -## ServiceRestart: bluetooth -DUND_ENABLE="no" - -## Path: Hardware/Bluetooth -## Description: Set responsible demon for LAN Access over PPP -## Type: list("/usr/bin/dund","") -## Default: "/usr/bin/dund" -## ServiceRestart: bluetooth -DUND_EXEC="/usr/bin/dund" - -## Path: Hardware/Bluetooth -## Description: Arguments for dun-demon start -## Type: list("--listen --persist") -## Default: "--listen --persist" -## ServiceRestart: bluetooth -DUND_ARGS="--listen --persist" - -############ HID2HCI - -## Path: Hardware/Bluetooth -## Description: Start HID to HCI mode switching utility -## Type: yesno -## Default: yes -## ServiceRestart: bluetooth -HID2HCI_ENABLE="yes" - -## Path: Hardware/Bluetooth -## Description: Set responsible utility for HID to HCI mode switching -## Type: list("/usr/bin/hidd","") -## Default: "/usr/sbin/hid2hci" -## ServiceRestart: bluetooth -HID2HCI_EXEC="/usr/sbin/hid2hci" - -## Path: Hardware/Bluetooth -## Description: Arguments for RHID to HCI mode switching utility -## Type: list("--tohci", "") -## Default: "--tohci" -## ServiceRestart: bluetooth -HID2HCI_ARGS="--tohci " - +START_BLUETOOTHD=yes ++++++ bluez-4.44-udev-use-helperscript.diff ++++++ Index: b/scripts/bluetooth.rules =================================================================== --- a/scripts/bluetooth.rules.in +++ b/scripts/bluetooth.rules.in @@ -1,3 +1,3 @@ # Run helper every time a Bluetooth device appears # On remove actions, bluetoothd should go away by itself -ACTION=="add", SUBSYSTEM=="bluetooth", RUN+="@prefix@/sbin/bluetoothd --udev" +ACTION=="add", SUBSYSTEM=="bluetooth", RUN+="/lib/udev/bluetooth.sh" ++++++ bluez-4.42.tar.bz2 -> bluez-4.45.tar.bz2 ++++++ ++++ 14988 lines of diff (skipped) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org