diff --git a/bluetooth-coldplug.init b/bluetooth-coldplug.init index 1c51b3f..d19b8bd 100644 --- a/bluetooth-coldplug.init +++ b/bluetooth-coldplug.init @@ -24,4 +24,9 @@ CONFIGFILE=/etc/sysconfig/bluetooth [ -e $CONFIGFILE ] && . $CONFIGFILE [ x"$START_SERVICES" = xno ] && exit 0 +case $1 in + reload) exec $INITSCRIPT "$@" ;; + status) exec $INITSCRIPT "$@" ;; +esac + exec $INITSCRIPT "$@" diff --git a/bluetooth.rules b/bluetooth.rules new file mode 100644 index 0000000..4e7f1ea --- /dev/null +++ b/bluetooth.rules @@ -0,0 +1,3 @@ +# bluetooth subsystem +SUBSYSTEM=="bluetooth", RUN+="/lib/udev/bluetooth.sh" + diff --git a/bluez-4.20-bluetooth.rules.diff b/bluez-4.20-bluetooth.rules.diff deleted file mode 100644 index dc4cce3..0000000 --- a/bluez-4.20-bluetooth.rules.diff +++ /dev/null @@ -1,13 +0,0 @@ -Index: scripts/bluetooth.rules -=================================================================== ---- scripts/bluetooth.rules.orig -+++ scripts/bluetooth.rules -@@ -1,5 +1,8 @@ -+# bluetooth subsystem -+SUBSYSTEM=="bluetooth", RUN+="/lib/udev/bluetooth.sh" -+ - # Brain Boxes BL-620 Bluetooth Adapter - SUBSYSTEM=="tty", SUBSYSTEMS=="pcmcia", ATTRS{prod_id1}=="Brain Boxes", ATTRS{prod_id2}=="Bluetooth PC Card", ENV{HCIOPTS}="bboxes", RUN+="bluetooth_serial" - - # Xircom CreditCard Bluetooth Adapter - SUBSYSTEM=="tty", SUBSYSTEMS=="pcmcia", ATTRS{prod_id1}=="Xircom", ATTRS{prod_id3}=="CBT", ENV{HCIOPTS}="xircom", RUN+="bluetooth_serial" diff --git a/bluez-4.39.tar.bz2 b/bluez-4.39.tar.bz2 deleted file mode 100644 index c2b721b..0000000 --- a/bluez-4.39.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bb3a331d5ae19a8baa20eca066ca897000c691a9a87016a083d011dcc6393033 -size 772998 diff --git a/bluez-4.40.tar.bz2 b/bluez-4.40.tar.bz2 new file mode 100644 index 0000000..4c23402 --- /dev/null +++ b/bluez-4.40.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ffac37be4af86a74ee805123c8aa8a84e14e12c093f28cbbc27fa673d8c9be22 +size 779291 diff --git a/bluez-gstreamer.changes b/bluez-gstreamer.changes index 3a924dd..ad60c5f 100644 --- a/bluez-gstreamer.changes +++ b/bluez-gstreamer.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Wed May 20 19:42:27 CEST 2009 - seife@suse.de + +- update to bluez-4.40: + - 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. + ------------------------------------------------------------------- Mon May 11 19:26:39 CEST 2009 - seife@suse.de diff --git a/bluez-gstreamer.spec b/bluez-gstreamer.spec index 1416e9c..492c8ce 100644 --- a/bluez-gstreamer.spec +++ b/bluez-gstreamer.spec @@ -1,5 +1,5 @@ # -# spec file for package bluez-gstreamer (Version 4.39) +# spec file for package bluez-gstreamer (Version 4.40) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -24,7 +24,7 @@ BuildRequires: glib2-devel libnl-devel libusb-devel BuildRequires: alsa-devel libsndfile-devel BuildRequires: gstreamer-0_10-devel gstreamer-0_10-plugins-base-devel Url: http://www.bluez.org -Version: 4.39 +Version: 4.40 Release: 1 Summary: Bluetooth Sound Support Group: Productivity/Multimedia/Sound/Utilities @@ -38,7 +38,7 @@ Source3: bluetooth.sysconfig Source4: bluetooth.sh Source5: org.bluez.service Source6: README.SUSE -Patch1: bluez-4.20-bluetooth.rules.diff +Source7: bluetooth.rules BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: libbluetooth3 = %{version} Provides: bluez-audio:%_libdir/gstreamer-0.10/libgstbluetooth.so @@ -57,9 +57,9 @@ Authors: %prep %setup -n bluez-%{version} -q -%patch1 -p0 cp %{S:1} scripts/ cp %{S:6} . +cp %{S:7} scripts %{?suse_update_config:%{suse_update_config -f . }} %build @@ -109,6 +109,18 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/gstreamer-*/*.so %changelog +* Wed May 20 2009 seife@suse.de +- update to bluez-4.40: + - 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. * Mon May 11 2009 seife@suse.de - update to bluez-4.39: - Add workaround for dealing with unknown inquiry complete. diff --git a/bluez.changes b/bluez.changes index 3a924dd..ad60c5f 100644 --- a/bluez.changes +++ b/bluez.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Wed May 20 19:42:27 CEST 2009 - seife@suse.de + +- update to bluez-4.40: + - 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. + ------------------------------------------------------------------- Mon May 11 19:26:39 CEST 2009 - seife@suse.de diff --git a/bluez.spec b/bluez.spec index 54bf0f5..b160bfb 100644 --- a/bluez.spec +++ b/bluez.spec @@ -1,5 +1,5 @@ # -# spec file for package bluez (Version 4.39) +# spec file for package bluez (Version 4.40) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -23,7 +23,7 @@ BuildRequires: dbus-1-devel flex BuildRequires: glib2-devel libnl-devel libusb-devel BuildRequires: alsa-devel libsndfile-devel Url: http://www.bluez.org -Version: 4.39 +Version: 4.40 Release: 1 Summary: Bluetooth Stack for Linux Group: Hardware/Mobile @@ -38,7 +38,7 @@ Source4: bluetooth.sh Source5: org.bluez.service Source6: README.SUSE Source7: bluetooth.modprobe -Patch1: bluez-4.20-bluetooth.rules.diff +Source8: bluetooth.rules BuildRoot: %{_tmppath}/%{name}-%{version}-build Provides: bluez-utils = 3.36 Obsoletes: bluez-utils <= 3.36 @@ -162,7 +162,6 @@ Authors: %prep %setup -q -%patch1 -p0 cp %{S:1} scripts/ cp %{S:6} . %{?suse_update_config:%{suse_update_config -f . }} @@ -221,13 +220,15 @@ cd .. 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 -mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/udev/rules.d -mv -v $RPM_BUILD_ROOT/%{_sysconfdir}/udev/bluetooth.rules $RPM_BUILD_ROOT/%{_sysconfdir}/udev/rules.d/40-bluetooth.rules 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 @@ -354,6 +355,18 @@ rm -rf $RPM_BUILD_ROOT %doc %{_mandir}/man1/dund.1.gz %changelog +* Wed May 20 2009 seife@suse.de +- update to bluez-4.40: + - 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. * Mon May 11 2009 seife@suse.de - update to bluez-4.39: - Add workaround for dealing with unknown inquiry complete.