summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-André Lureau <marc-andre.lureau@nokia.com>2009-08-10 17:33:06 +0300
committerMarc-André Lureau <marc-andre.lureau@nokia.com>2009-08-11 15:54:42 +0300
commitb477c452527a594af0a290d9de4ad796f86889eb (patch)
tree34746d4d9b55cc28ba5ff80d5de67358727145f1
parent346429a0bbe99e8adbd1ac6e4ae1fcfe876624de (diff)
debian: update patches series
-rw-r--r--debian/changelog6
-rw-r--r--debian/patches/0001-perl-p-i-e-s-pa_rtclock_usec-pa_rtclock_now-g-find-..patch2
-rw-r--r--debian/patches/0002-pulse-move-pa_rtclock_now-in-pulsecommon.patch2
-rw-r--r--debian/patches/0003-Base-mainloop-on-pa_rtclock_now.patch2
-rw-r--r--debian/patches/0004-sample-util-fix-iteration-loop-when-adjusting-volume.patch2
-rw-r--r--debian/patches/0005-sample-util-properly-allocate-silence-block-for-s24-.patch2
-rw-r--r--debian/patches/0006-endian-fix-LE-BE-order-for-24-bit-accessor-functions.patch2
-rw-r--r--debian/patches/0007-sample-correctly-pass-s24-32-formats.patch2
-rw-r--r--debian/patches/0008-sconv-fix-a-few-minor-conversion-issues.patch2
-rw-r--r--debian/patches/0009-optimization-Optimized-pa_sink_render_full.patch2
-rw-r--r--debian/patches/0010-core-Take-samples-from-silence-cache-rather-than-wri.patch2
-rw-r--r--debian/patches/0011-context-don-t-fail-if-session-bus-is-not-there.patch2
-rw-r--r--debian/patches/0012-blueototh-make-auto-connect-optional.patch2
-rw-r--r--debian/patches/0013-volume-change-pa_volume_t-mapping-to-cubic.patch2
-rw-r--r--debian/patches/0014-bluetooth-use-sco_sink-source-to-start-with-right-st.patch2
-rw-r--r--debian/patches/0015-bluetoth-device-be-less-strict-on-CONNECTED-state-to.patch2
-rw-r--r--debian/patches/0016-interpol-test-remove-unused-include-getopt.h.patch2
-rw-r--r--debian/patches/0017-tests-improve-resampler-test.patch2
-rw-r--r--debian/patches/0018-resample-fix-rtclock-and-style.patch2
-rw-r--r--debian/patches/0019-pulsecore-add-an-optional-origin_sink-on-sink_input.patch2
-rw-r--r--debian/patches/0020-pulsecore-add-flat_volume_sink-and-forward-set_volum.patch2
-rw-r--r--debian/patches/0021-pulsecore-get_maximum_input_volume-recursively.patch2
-rw-r--r--debian/patches/0022-pulsecore-go-recursively-when-updating-s-i-flat-volu.patch2
-rw-r--r--debian/patches/0023-pulsecore-propagate-flat-vol-recursively.patch2
-rw-r--r--debian/patches/0024-pulsecore-forward-flat_volume-functions-to-flat_volu.patch2
-rw-r--r--debian/patches/0025-pulsecore-intermediate-s-i-soft_vol-is-0dB.patch2
-rw-r--r--debian/patches/0026-pulsecore-notify-flatten-upstream-slaved-sink-of-vol.patch2
-rw-r--r--debian/patches/0027-pulsecore-do-not-consider-intermediate-s-i-in-flat-v.patch2
-rw-r--r--debian/patches/0028-remap-flat-remap-sink-volume.patch2
-rw-r--r--debian/patches/0029-stream-restore-extend-ext-stream-restore.patch2
-rw-r--r--debian/patches/0030-stream-restore-add-volume_is_absolute-bool-in-server.patch2
-rw-r--r--debian/patches/0031-protocol-native-add-ext_supported-to-install_ext.patch2
-rw-r--r--debian/patches/0032-native-protocol-send-supported-extensions-in-client-.patch2
-rw-r--r--debian/patches/0033-match-don-t-double-free-in-case-of-missing-table-fil.patch2
-rw-r--r--debian/patches/0034-match-match-rule-earlier-in-SINK_INPUT_NEW.patch2
-rw-r--r--debian/patches/0035-stream-restore-simple-fallback-volume-table.patch2
-rw-r--r--debian/patches/0036-stream-restore-some-misc-fixes.patch2
-rw-r--r--debian/patches/0037-bluetooth-reset-u-sink-source-to-NULL-when-SCO-over-.patch2
-rw-r--r--debian/patches/0038-suspend-on-idle-add-per-device-timeout-property.patch2
-rw-r--r--debian/patches/0039-Set-ESD-socket-to-tmp-.esd-socket-to-match-up-with-l.patch2
-rw-r--r--debian/patches/0040-module-new-null-source-module.patch2
-rw-r--r--debian/patches/0041-build-install-pulse-tests-under-libexecdir-pulse-tes.patch2
-rw-r--r--debian/patches/0042-build-add-pulsecore.pc-Nokia-specific.patch2
-rw-r--r--debian/patches/0043-build-add-pulsecore-install-hook-Nokia-specific.patch2
-rw-r--r--debian/patches/0044-build-libtool-fails-to-link-module-s-library-during-.patch2
-rw-r--r--debian/patches/0045-build-fix-build-on-scratchbox-with-rpath.patch2
-rw-r--r--debian/patches/0046-pulsecore-Lower-pool-to-16MB-max-Nokia-specific.patch2
-rw-r--r--debian/patches/0047-pulsecore-add-eventfd-wrapper.patch2
-rw-r--r--debian/patches/0048-pulsecore-use-MOVE_FAIL-before-destroying-all-stream.patch2
-rw-r--r--debian/patches/0049-pulsecore-Send-PA_SINK_MESSAGE_SYNC_VOLUMES-always-a.patch2
-rw-r--r--debian/patches/0050-core-make-sure-soft-mute-status-stays-in-sync-with-h.patch2
-rw-r--r--debian/patches/0051-flat-sink-reset-relative-volume-to-1.0.patch2
-rw-r--r--debian/patches/0052-bluetooth-device-Add-safe-guard-against-BT-streaming.patch2
-rw-r--r--debian/patches/0053-bluetooth-warn-on-EAGAIN-after-POLLOUT.patch2
-rw-r--r--debian/patches/0054-bluetooth-drop-data-every-500ms-on-oor-condition.patch2
-rw-r--r--debian/patches/0055-bluetooth-don-t-connect-on-unconnected-profile.patch2
-rw-r--r--debian/patches/0056-bluetooth-don-t-call-pa_sink_render-with-0-bytes-req.patch2
-rw-r--r--debian/patches/0057-bluetooth-fix-set_volume_cb-on-sco-over-pcm.patch2
-rw-r--r--debian/patches/0058-bluetooth-restore-original-over_-sink-src-set_volume.patch2
-rw-r--r--debian/patches/0059-cli-text-print-internal-volume-for-debugging-purpose.patch2
-rw-r--r--debian/patches/0060-bootstrap-enable-DEBUG_VOLUME-and-NOKIA.patch2
-rw-r--r--debian/patches/0061-pulse-context-when-NOFAIL-don-t-try_next_connection-.patch2
-rw-r--r--debian/patches/0062-build-workaround-scratchbox-linker-issue.-Nokia-spec.patch2
-rw-r--r--debian/patches/0063-protocol-native-expose-sink-reference-volume-instead.patch2
-rw-r--r--debian/patches/0064-debug-default-who-try-to-set-default-sink-source.patch2
-rw-r--r--debian/patches/0065-mainloop-log-as-deprecated-timeval-time_new.patch2
-rw-r--r--debian/patches/0066-core-no-rewinding-on-volume-change-if-the-sink-does-.patch2
-rw-r--r--debian/patches/0067-stream-restore-maemo-route-restore-hack.patch2
-rw-r--r--debian/patches/0068-stream-restore-make-route-volume-optional.patch2
-rw-r--r--debian/patches/0069-stream-restore-workaroung-moving-stream-volume-resto.patch2
-rw-r--r--debian/patches/0070-stream-restore-don-t-override-volume-entry-when-appl.patch2
-rw-r--r--debian/patches/0071-stream-restore-initialize-userdata-to-0.patch2
-rw-r--r--debian/patches/0072-database-simple-pa_database-implementation.patch2
-rw-r--r--debian/patches/0073-stream-restore-modify-to-use-pa_database.patch2
-rw-r--r--debian/patches/0074-db-simple-fix-double-free-to-squash.patch2
-rw-r--r--debian/patches/0075-db-simple-remove-dead-code.patch2
-rw-r--r--debian/patches/0076-Remove-exploitable-LD_BIND_NOW-hack-CVE-2009-1894.patch2
-rw-r--r--debian/patches/0077-bluetooth-fix-typo-with-service_-read-write-_type.patch2
-rw-r--r--debian/patches/0078-pulse-even-in-case-of-record-stream-let-s-initialize.patch2
-rw-r--r--debian/patches/0079-llist-add-PA_LLIST_FOREACH.patch2
-rw-r--r--debian/patches/0080-flat-sink-sync-sink-volume-with-io-thread-recursivel.patch2
-rw-r--r--debian/patches/0081-core-Add-infrastructure-for-delayed-HW-volume-settin.patch2
-rw-r--r--debian/patches/0082-sink-input-don-t-make-volume-relative-to-dest-sink-r.patch2
-rw-r--r--debian/patches/0083-alsa-port-the-old-alsa-modules.patch2
-rw-r--r--debian/patches/0084-alsa-sink-volume-a-complex-mixer-module.patch2
-rw-r--r--debian/patches/0085-bluetooth-handle-absence-of-bluez-D-Bus-service-prop.patch186
-rw-r--r--debian/patches/0086-autofoo.patch (renamed from debian/patches/0085-autofoo.patch)18
-rw-r--r--debian/patches/0087-bluetooth-match-org.bluez-NameOwnerChanged.patch34
-rw-r--r--debian/patches/series4
89 files changed, 322 insertions, 94 deletions
diff --git a/debian/changelog b/debian/changelog
index 32e2cffa9..e9171c9a4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+pulseaudio (0.9.15-1maemo24) unstable; urgency=low
+
+ * Pulseaudio crash if bluetooth is restarted. Fixes: NB#130647
+
+ -- Maemo Multimedia <multimedia@maemo.org> Mon, 10 Aug 2009 20:18:09 +0300
+
pulseaudio (0.9.15-1maemo23) unstable; urgency=low
* Remove pa_assert(). Fixes: NB#118688
diff --git a/debian/patches/0001-perl-p-i-e-s-pa_rtclock_usec-pa_rtclock_now-g-find-..patch b/debian/patches/0001-perl-p-i-e-s-pa_rtclock_usec-pa_rtclock_now-g-find-..patch
index 8b5906c53..834a8cc2a 100644
--- a/debian/patches/0001-perl-p-i-e-s-pa_rtclock_usec-pa_rtclock_now-g-find-..patch
+++ b/debian/patches/0001-perl-p-i-e-s-pa_rtclock_usec-pa_rtclock_now-g-find-..patch
@@ -1,7 +1,7 @@
From 3160bb415a042493c83cf7897f97727505299300 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Sat, 4 Apr 2009 22:56:38 +0300
-Subject: [PATCH 01/85] perl -p -i -e 's/pa_rtclock_usec/pa_rtclock_now/g' `find . -name '*.[ch]'`
+Subject: [PATCH 01/87] perl -p -i -e 's/pa_rtclock_usec/pa_rtclock_now/g' `find . -name '*.[ch]'`
---
src/daemon/cpulimit.c | 4 ++--
diff --git a/debian/patches/0002-pulse-move-pa_rtclock_now-in-pulsecommon.patch b/debian/patches/0002-pulse-move-pa_rtclock_now-in-pulsecommon.patch
index 612293c3c..c801adf2e 100644
--- a/debian/patches/0002-pulse-move-pa_rtclock_now-in-pulsecommon.patch
+++ b/debian/patches/0002-pulse-move-pa_rtclock_now-in-pulsecommon.patch
@@ -1,7 +1,7 @@
From 18bec537e02248fa5f4cc112f85deb0650da320d Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Sat, 4 Apr 2009 23:19:53 +0300
-Subject: [PATCH 02/85] pulse: move pa_rtclock_now in pulsecommon
+Subject: [PATCH 02/87] pulse: move pa_rtclock_now in pulsecommon
---
src/Makefile.am | 3 +-
diff --git a/debian/patches/0003-Base-mainloop-on-pa_rtclock_now.patch b/debian/patches/0003-Base-mainloop-on-pa_rtclock_now.patch
index 04fa46645..29ef9a4b6 100644
--- a/debian/patches/0003-Base-mainloop-on-pa_rtclock_now.patch
+++ b/debian/patches/0003-Base-mainloop-on-pa_rtclock_now.patch
@@ -1,7 +1,7 @@
From c55a4d569891e6778a76059dad23127c7b1dc3ef Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Sun, 5 Apr 2009 02:13:43 +0300
-Subject: [PATCH 03/85] Base mainloop on pa_rtclock_now()
+Subject: [PATCH 03/87] Base mainloop on pa_rtclock_now()
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
diff --git a/debian/patches/0004-sample-util-fix-iteration-loop-when-adjusting-volume.patch b/debian/patches/0004-sample-util-fix-iteration-loop-when-adjusting-volume.patch
index a6208eeae..b2786ca64 100644
--- a/debian/patches/0004-sample-util-fix-iteration-loop-when-adjusting-volume.patch
+++ b/debian/patches/0004-sample-util-fix-iteration-loop-when-adjusting-volume.patch
@@ -1,7 +1,7 @@
From 69eddaa7b86790a1d6b4fdb49d222b2930a6dbc0 Mon Sep 17 00:00:00 2001
From: Lennart Poettering <lennart@poettering.net>
Date: Fri, 1 May 2009 04:14:40 +0200
-Subject: [PATCH 04/85] sample-util: fix iteration loop when adjusting volume of s24 samples
+Subject: [PATCH 04/87] sample-util: fix iteration loop when adjusting volume of s24 samples
---
src/pulsecore/sample-util.c | 8 ++++----
diff --git a/debian/patches/0005-sample-util-properly-allocate-silence-block-for-s24-.patch b/debian/patches/0005-sample-util-properly-allocate-silence-block-for-s24-.patch
index 807b23933..eef49f1f1 100644
--- a/debian/patches/0005-sample-util-properly-allocate-silence-block-for-s24-.patch
+++ b/debian/patches/0005-sample-util-properly-allocate-silence-block-for-s24-.patch
@@ -1,7 +1,7 @@
From c1ade7f8605c7bd8b37f82ea4a3ddcd1ba3e1869 Mon Sep 17 00:00:00 2001
From: Lennart Poettering <lennart@poettering.net>
Date: Fri, 1 May 2009 04:14:02 +0200
-Subject: [PATCH 05/85] sample-util: properly allocate silence block for s24-32 formats
+Subject: [PATCH 05/87] sample-util: properly allocate silence block for s24-32 formats
---
src/pulsecore/sample-util.c | 4 ++++
diff --git a/debian/patches/0006-endian-fix-LE-BE-order-for-24-bit-accessor-functions.patch b/debian/patches/0006-endian-fix-LE-BE-order-for-24-bit-accessor-functions.patch
index 9ab0570c2..7a121a95a 100644
--- a/debian/patches/0006-endian-fix-LE-BE-order-for-24-bit-accessor-functions.patch
+++ b/debian/patches/0006-endian-fix-LE-BE-order-for-24-bit-accessor-functions.patch
@@ -1,7 +1,7 @@
From f4110904b95b0a6d1a164d2b54aaa69057a11b8f Mon Sep 17 00:00:00 2001
From: Lennart Poettering <lennart@poettering.net>
Date: Fri, 1 May 2009 04:13:15 +0200
-Subject: [PATCH 06/85] endian: fix LE/BE order for 24 bit accessor functions
+Subject: [PATCH 06/87] endian: fix LE/BE order for 24 bit accessor functions
---
src/pulsecore/endianmacros.h | 8 ++++----
diff --git a/debian/patches/0007-sample-correctly-pass-s24-32-formats.patch b/debian/patches/0007-sample-correctly-pass-s24-32-formats.patch
index 88857cea8..93283c1f3 100644
--- a/debian/patches/0007-sample-correctly-pass-s24-32-formats.patch
+++ b/debian/patches/0007-sample-correctly-pass-s24-32-formats.patch
@@ -1,7 +1,7 @@
From baa7eb6df54cc65833171d53463f334f76591680 Mon Sep 17 00:00:00 2001
From: Lennart Poettering <lennart@poettering.net>
Date: Fri, 1 May 2009 04:12:24 +0200
-Subject: [PATCH 07/85] sample: correctly pass s24-32 formats
+Subject: [PATCH 07/87] sample: correctly pass s24-32 formats
---
src/pulse/sample.c | 8 ++++----
diff --git a/debian/patches/0008-sconv-fix-a-few-minor-conversion-issues.patch b/debian/patches/0008-sconv-fix-a-few-minor-conversion-issues.patch
index 45621ac3c..ded1beb40 100644
--- a/debian/patches/0008-sconv-fix-a-few-minor-conversion-issues.patch
+++ b/debian/patches/0008-sconv-fix-a-few-minor-conversion-issues.patch
@@ -1,7 +1,7 @@
From 787a8fa32fa538e842e6d2c482fac231bb01e079 Mon Sep 17 00:00:00 2001
From: Lennart Poettering <lennart@poettering.net>
Date: Fri, 1 May 2009 04:22:08 +0200
-Subject: [PATCH 08/85] sconv: fix a few minor conversion issues
+Subject: [PATCH 08/87] sconv: fix a few minor conversion issues
---
src/pulsecore/sconv-s16le.c | 10 +++++-----
diff --git a/debian/patches/0009-optimization-Optimized-pa_sink_render_full.patch b/debian/patches/0009-optimization-Optimized-pa_sink_render_full.patch
index a8182ae6f..d5c05ab2d 100644
--- a/debian/patches/0009-optimization-Optimized-pa_sink_render_full.patch
+++ b/debian/patches/0009-optimization-Optimized-pa_sink_render_full.patch
@@ -1,7 +1,7 @@
From 1da2e807bfd55bed21470cc2148b941dfb105761 Mon Sep 17 00:00:00 2001
From: Jyri Sarha <jyri.sarha@nokia.com>
Date: Thu, 7 May 2009 18:41:20 +0300
-Subject: [PATCH 09/85] optimization: Optimized pa_sink_render_full.
+Subject: [PATCH 09/87] optimization: Optimized pa_sink_render_full.
This is finally the latest version of the patch.
---
diff --git a/debian/patches/0010-core-Take-samples-from-silence-cache-rather-than-wri.patch b/debian/patches/0010-core-Take-samples-from-silence-cache-rather-than-wri.patch
index 071ed0fe3..912f3d8d1 100644
--- a/debian/patches/0010-core-Take-samples-from-silence-cache-rather-than-wri.patch
+++ b/debian/patches/0010-core-Take-samples-from-silence-cache-rather-than-wri.patch
@@ -1,7 +1,7 @@
From 0d6d6d3d9a45a2ed9686c3e03bb2d2aa2c2c0278 Mon Sep 17 00:00:00 2001
From: Jyri Sarha <jyri.sarha@nokia.com>
Date: Thu, 7 May 2009 19:55:57 +0300
-Subject: [PATCH 10/85] core: Take samples from silence cache rather than write zeros
+Subject: [PATCH 10/87] core: Take samples from silence cache rather than write zeros
If the only stream to render from is muted take samples from the
silence cache. This should shrink memory/cache bandwidth. Again the
diff --git a/debian/patches/0011-context-don-t-fail-if-session-bus-is-not-there.patch b/debian/patches/0011-context-don-t-fail-if-session-bus-is-not-there.patch
index 3f08aea3b..52f4f0c87 100644
--- a/debian/patches/0011-context-don-t-fail-if-session-bus-is-not-there.patch
+++ b/debian/patches/0011-context-don-t-fail-if-session-bus-is-not-there.patch
@@ -1,7 +1,7 @@
From 4d1a3e64d8fbebc32180319da43feed1c1eda92e Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Tue, 12 May 2009 01:39:55 +0300
-Subject: [PATCH 11/85] context: don't fail if session bus is not there
+Subject: [PATCH 11/87] context: don't fail if session bus is not there
Also invert the order of bus tracking since we expect session_bus to
be present when we check for it. Although that should not change
diff --git a/debian/patches/0012-blueototh-make-auto-connect-optional.patch b/debian/patches/0012-blueototh-make-auto-connect-optional.patch
index efe0c27c4..fb999c2fd 100644
--- a/debian/patches/0012-blueototh-make-auto-connect-optional.patch
+++ b/debian/patches/0012-blueototh-make-auto-connect-optional.patch
@@ -1,7 +1,7 @@
From e294762b93a53ca1823f6b39c1ef6e2ed9d7ba0a Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@gmail.com>
Date: Wed, 13 May 2009 22:46:50 +0300
-Subject: [PATCH 12/85] blueototh: make auto-connect optional
+Subject: [PATCH 12/87] blueototh: make auto-connect optional
---
src/modules/bluetooth/module-bluetooth-device.c | 19 ++++++++++++++++++-
diff --git a/debian/patches/0013-volume-change-pa_volume_t-mapping-to-cubic.patch b/debian/patches/0013-volume-change-pa_volume_t-mapping-to-cubic.patch
index 1e3092726..e292df33c 100644
--- a/debian/patches/0013-volume-change-pa_volume_t-mapping-to-cubic.patch
+++ b/debian/patches/0013-volume-change-pa_volume_t-mapping-to-cubic.patch
@@ -1,7 +1,7 @@
From b79dab7f52d880968bf48cf7b1b8bf94b867d17e Mon Sep 17 00:00:00 2001
From: Lennart Poettering <lennart@poettering.net>
Date: Fri, 22 May 2009 01:30:54 +0200
-Subject: [PATCH 13/85] volume: change pa_volume_t mapping to cubic
+Subject: [PATCH 13/87] volume: change pa_volume_t mapping to cubic
---
src/pulse/volume.c | 42 ++++++++++++++++++++++++++++++------------
diff --git a/debian/patches/0014-bluetooth-use-sco_sink-source-to-start-with-right-st.patch b/debian/patches/0014-bluetooth-use-sco_sink-source-to-start-with-right-st.patch
index 98be36d3e..e63151129 100644
--- a/debian/patches/0014-bluetooth-use-sco_sink-source-to-start-with-right-st.patch
+++ b/debian/patches/0014-bluetooth-use-sco_sink-source-to-start-with-right-st.patch
@@ -1,7 +1,7 @@
From 670c6f5a84c6e2862e2ae2953b17610e3a50ad66 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Mon, 25 May 2009 18:22:16 +0300
-Subject: [PATCH 14/85] bluetooth: use sco_sink/source to start with right state
+Subject: [PATCH 14/87] bluetooth: use sco_sink/source to start with right state
---
src/modules/bluetooth/module-bluetooth-device.c | 34 +++++++++++++++--------
diff --git a/debian/patches/0015-bluetoth-device-be-less-strict-on-CONNECTED-state-to.patch b/debian/patches/0015-bluetoth-device-be-less-strict-on-CONNECTED-state-to.patch
index 56ad87aea..d1612dc8d 100644
--- a/debian/patches/0015-bluetoth-device-be-less-strict-on-CONNECTED-state-to.patch
+++ b/debian/patches/0015-bluetoth-device-be-less-strict-on-CONNECTED-state-to.patch
@@ -1,7 +1,7 @@
From f04ae4e1b71b1cbd64df0305ac7d0739c7b2e95a Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Sat, 4 Apr 2009 17:56:36 +0300
-Subject: [PATCH 15/85] bluetoth-device: be less strict on CONNECTED state to switch profile
+Subject: [PATCH 15/87] bluetoth-device: be less strict on CONNECTED state to switch profile
---
src/modules/bluetooth/module-bluetooth-device.c | 9 +++++++--
diff --git a/debian/patches/0016-interpol-test-remove-unused-include-getopt.h.patch b/debian/patches/0016-interpol-test-remove-unused-include-getopt.h.patch
index c52daa618..5018975da 100644
--- a/debian/patches/0016-interpol-test-remove-unused-include-getopt.h.patch
+++ b/debian/patches/0016-interpol-test-remove-unused-include-getopt.h.patch
@@ -1,7 +1,7 @@
From 236eb2ace05dda6c348d2f1cc521deaa6e991abc Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@gmail.com>
Date: Tue, 4 Nov 2008 16:47:09 +0200
-Subject: [PATCH 16/85] interpol-test: remove unused include getopt.h
+Subject: [PATCH 16/87] interpol-test: remove unused include getopt.h
---
src/tests/interpol-test.c | 1 -
diff --git a/debian/patches/0017-tests-improve-resampler-test.patch b/debian/patches/0017-tests-improve-resampler-test.patch
index 932847f88..cdbac8048 100644
--- a/debian/patches/0017-tests-improve-resampler-test.patch
+++ b/debian/patches/0017-tests-improve-resampler-test.patch
@@ -1,7 +1,7 @@
From a6ece38a902578fb5e7c908c59ff5866235c72a5 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@gmail.com>
Date: Wed, 5 Nov 2008 00:24:37 +0200
-Subject: [PATCH 17/85] tests: improve resampler test
+Subject: [PATCH 17/87] tests: improve resampler test
---
src/tests/resampler-test.c | 202 +++++++++++++++++++++++++++++++++++++++++--
diff --git a/debian/patches/0018-resample-fix-rtclock-and-style.patch b/debian/patches/0018-resample-fix-rtclock-and-style.patch
index ffab602d1..39beefd43 100644
--- a/debian/patches/0018-resample-fix-rtclock-and-style.patch
+++ b/debian/patches/0018-resample-fix-rtclock-and-style.patch
@@ -1,7 +1,7 @@
From c91ca053ba2f821355e029e3f7c7255a1548578c Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Fri, 29 May 2009 15:56:24 +0300
-Subject: [PATCH 18/85] resample: fix rtclock and style
+Subject: [PATCH 18/87] resample: fix rtclock and style
---
src/tests/resampler-test.c | 15 ++++++++-------
diff --git a/debian/patches/0019-pulsecore-add-an-optional-origin_sink-on-sink_input.patch b/debian/patches/0019-pulsecore-add-an-optional-origin_sink-on-sink_input.patch
index cc5c0402c..ce6c64a67 100644
--- a/debian/patches/0019-pulsecore-add-an-optional-origin_sink-on-sink_input.patch
+++ b/debian/patches/0019-pulsecore-add-an-optional-origin_sink-on-sink_input.patch
@@ -1,7 +1,7 @@
From 24c6215fc9d5a413f777ecd9631a6afc9586b09b Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Tue, 10 Mar 2009 16:33:36 +0200
-Subject: [PATCH 19/85] pulsecore: add an optional origin_sink on sink_input
+Subject: [PATCH 19/87] pulsecore: add an optional origin_sink on sink_input
---
src/pulsecore/sink-input.c | 1 +
diff --git a/debian/patches/0020-pulsecore-add-flat_volume_sink-and-forward-set_volum.patch b/debian/patches/0020-pulsecore-add-flat_volume_sink-and-forward-set_volum.patch
index b6aa87a7f..b62b8c78c 100644
--- a/debian/patches/0020-pulsecore-add-flat_volume_sink-and-forward-set_volum.patch
+++ b/debian/patches/0020-pulsecore-add-flat_volume_sink-and-forward-set_volum.patch
@@ -1,7 +1,7 @@
From ba827476bc6e0fc2d80cb4761b670dac853ccc38 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Tue, 10 Mar 2009 17:07:35 +0200
-Subject: [PATCH 20/85] pulsecore: add flat_volume_sink and forward set_volume to it
+Subject: [PATCH 20/87] pulsecore: add flat_volume_sink and forward set_volume to it
---
src/pulsecore/sink.c | 47 ++++++++++++++++++++++++++++++++---------------
diff --git a/debian/patches/0021-pulsecore-get_maximum_input_volume-recursively.patch b/debian/patches/0021-pulsecore-get_maximum_input_volume-recursively.patch
index c0d97d8fa..0c97880c4 100644
--- a/debian/patches/0021-pulsecore-get_maximum_input_volume-recursively.patch
+++ b/debian/patches/0021-pulsecore-get_maximum_input_volume-recursively.patch
@@ -1,7 +1,7 @@
From 71a5498c034c57f27eba1ba0e0cdbc57d7372783 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Tue, 10 Mar 2009 17:13:17 +0200
-Subject: [PATCH 21/85] pulsecore: get_maximum_input_volume recursively
+Subject: [PATCH 21/87] pulsecore: get_maximum_input_volume recursively
---
src/pulsecore/sink.c | 40 +++++++++++++++++++++++++++++-----------
diff --git a/debian/patches/0022-pulsecore-go-recursively-when-updating-s-i-flat-volu.patch b/debian/patches/0022-pulsecore-go-recursively-when-updating-s-i-flat-volu.patch
index 1a13645c7..d03747e99 100644
--- a/debian/patches/0022-pulsecore-go-recursively-when-updating-s-i-flat-volu.patch
+++ b/debian/patches/0022-pulsecore-go-recursively-when-updating-s-i-flat-volu.patch
@@ -1,7 +1,7 @@
From 4f3cb7240206c16d44d8f417222a2795d88562ab Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Tue, 10 Mar 2009 17:22:11 +0200
-Subject: [PATCH 22/85] pulsecore: go recursively when updating s-i flat-volume
+Subject: [PATCH 22/87] pulsecore: go recursively when updating s-i flat-volume
---
src/pulsecore/sink.c | 44 ++++++++++++++++++++++++++++++--------------
diff --git a/debian/patches/0023-pulsecore-propagate-flat-vol-recursively.patch b/debian/patches/0023-pulsecore-propagate-flat-vol-recursively.patch
index 882115ef4..93228a169 100644
--- a/debian/patches/0023-pulsecore-propagate-flat-vol-recursively.patch
+++ b/debian/patches/0023-pulsecore-propagate-flat-vol-recursively.patch
@@ -1,7 +1,7 @@
From d05d443a084a9a0b34d77cea8af101abd5f57b03 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Tue, 10 Mar 2009 17:43:55 +0200
-Subject: [PATCH 23/85] pulsecore: propagate flat-vol recursively
+Subject: [PATCH 23/87] pulsecore: propagate flat-vol recursively
---
src/pulsecore/sink.c | 35 +++++++++++++++++++++++------------
diff --git a/debian/patches/0024-pulsecore-forward-flat_volume-functions-to-flat_volu.patch b/debian/patches/0024-pulsecore-forward-flat_volume-functions-to-flat_volu.patch
index 57ab1f0a7..d9d3f487a 100644
--- a/debian/patches/0024-pulsecore-forward-flat_volume-functions-to-flat_volu.patch
+++ b/debian/patches/0024-pulsecore-forward-flat_volume-functions-to-flat_volu.patch
@@ -1,7 +1,7 @@
From f77bcee53f556fdf41c2d4405f231d612af62ae5 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Tue, 10 Mar 2009 18:01:44 +0200
-Subject: [PATCH 24/85] pulsecore: forward flat_volume functions to flat_volume_sink
+Subject: [PATCH 24/87] pulsecore: forward flat_volume functions to flat_volume_sink
btw, pa_sink_propagate_flat_volume() could be static... in that case,
we could make sure it's not called with a slaved sink.
diff --git a/debian/patches/0025-pulsecore-intermediate-s-i-soft_vol-is-0dB.patch b/debian/patches/0025-pulsecore-intermediate-s-i-soft_vol-is-0dB.patch
index 6848edada..aa4a31bba 100644
--- a/debian/patches/0025-pulsecore-intermediate-s-i-soft_vol-is-0dB.patch
+++ b/debian/patches/0025-pulsecore-intermediate-s-i-soft_vol-is-0dB.patch
@@ -1,7 +1,7 @@
From d66247765c17de69f857a54abb66a0d2679b9973 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Tue, 10 Mar 2009 20:08:34 +0200
-Subject: [PATCH 25/85] pulsecore: intermediate s-i soft_vol is 0dB
+Subject: [PATCH 25/87] pulsecore: intermediate s-i soft_vol is 0dB
---
src/pulsecore/sink-input.c | 2 ++
diff --git a/debian/patches/0026-pulsecore-notify-flatten-upstream-slaved-sink-of-vol.patch b/debian/patches/0026-pulsecore-notify-flatten-upstream-slaved-sink-of-vol.patch
index 129bcdc9a..abc271ffc 100644
--- a/debian/patches/0026-pulsecore-notify-flatten-upstream-slaved-sink-of-vol.patch
+++ b/debian/patches/0026-pulsecore-notify-flatten-upstream-slaved-sink-of-vol.patch
@@ -1,7 +1,7 @@
From ba9a3b553e6099ebba6185edad28b7147e70b212 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Tue, 10 Mar 2009 20:08:59 +0200
-Subject: [PATCH 26/85] pulsecore: notify flatten upstream slaved sink of volume change
+Subject: [PATCH 26/87] pulsecore: notify flatten upstream slaved sink of volume change
---
src/pulsecore/sink.c | 26 +++++++++++++++++++++++++-
diff --git a/debian/patches/0027-pulsecore-do-not-consider-intermediate-s-i-in-flat-v.patch b/debian/patches/0027-pulsecore-do-not-consider-intermediate-s-i-in-flat-v.patch
index 347dd217a..a2669a8e3 100644
--- a/debian/patches/0027-pulsecore-do-not-consider-intermediate-s-i-in-flat-v.patch
+++ b/debian/patches/0027-pulsecore-do-not-consider-intermediate-s-i-in-flat-v.patch
@@ -1,7 +1,7 @@
From dfef1b1c8601c4b42d739ae2ec164fba2560eb49 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Tue, 10 Mar 2009 22:44:34 +0200
-Subject: [PATCH 27/85] pulsecore: do not consider intermediate s-i in flat-vol
+Subject: [PATCH 27/87] pulsecore: do not consider intermediate s-i in flat-vol
---
src/pulsecore/sink.c | 33 ++++++++++++++++++++++++++-------
diff --git a/debian/patches/0028-remap-flat-remap-sink-volume.patch b/debian/patches/0028-remap-flat-remap-sink-volume.patch
index bed935a46..bc4c31f66 100644
--- a/debian/patches/0028-remap-flat-remap-sink-volume.patch
+++ b/debian/patches/0028-remap-flat-remap-sink-volume.patch
@@ -1,7 +1,7 @@
From 4faa8e49fad8ae4ca87f695137676cae5117580f Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Wed, 11 Mar 2009 20:14:49 +0200
-Subject: [PATCH 28/85] remap: flat remap sink volume
+Subject: [PATCH 28/87] remap: flat remap sink volume
---
src/modules/module-remap-sink.c | 3 +++
diff --git a/debian/patches/0029-stream-restore-extend-ext-stream-restore.patch b/debian/patches/0029-stream-restore-extend-ext-stream-restore.patch
index 0eccd1697..2c474f7fa 100644
--- a/debian/patches/0029-stream-restore-extend-ext-stream-restore.patch
+++ b/debian/patches/0029-stream-restore-extend-ext-stream-restore.patch
@@ -1,7 +1,7 @@
From d7b19ebb698870ac9cc9b43d7a11e5cfe2c02c53 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Thu, 7 May 2009 15:50:17 +0300
-Subject: [PATCH 29/85] stream-restore: extend ext-stream-restore
+Subject: [PATCH 29/87] stream-restore: extend ext-stream-restore
This time, the patch introduces new functions using a struct
pa_ext_stream_restore2_info.
diff --git a/debian/patches/0030-stream-restore-add-volume_is_absolute-bool-in-server.patch b/debian/patches/0030-stream-restore-add-volume_is_absolute-bool-in-server.patch
index f7e31265c..a19d06b05 100644
--- a/debian/patches/0030-stream-restore-add-volume_is_absolute-bool-in-server.patch
+++ b/debian/patches/0030-stream-restore-add-volume_is_absolute-bool-in-server.patch
@@ -1,7 +1,7 @@
From e1f9fb8df7f747ed90f72758f4a5cb430cdb3918 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Thu, 7 May 2009 17:07:37 +0300
-Subject: [PATCH 30/85] stream-restore: add volume_is_absolute bool in server side
+Subject: [PATCH 30/87] stream-restore: add volume_is_absolute bool in server side
---
configure.ac | 2 +-
diff --git a/debian/patches/0031-protocol-native-add-ext_supported-to-install_ext.patch b/debian/patches/0031-protocol-native-add-ext_supported-to-install_ext.patch
index c07d25f94..91395e037 100644
--- a/debian/patches/0031-protocol-native-add-ext_supported-to-install_ext.patch
+++ b/debian/patches/0031-protocol-native-add-ext_supported-to-install_ext.patch
@@ -1,7 +1,7 @@
From 2522efced262e752ef7def8a2f6d6fe1f871e6b8 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Mon, 11 May 2009 17:00:23 +0300
-Subject: [PATCH 31/85] protocol-native: add "ext_supported" to install_ext()
+Subject: [PATCH 31/87] protocol-native: add "ext_supported" to install_ext()
In order to support different extensions versions in the same module,
it introduces an array of supported extension strings. They are free
diff --git a/debian/patches/0032-native-protocol-send-supported-extensions-in-client-.patch b/debian/patches/0032-native-protocol-send-supported-extensions-in-client-.patch
index c0935e160..59edf5da7 100644
--- a/debian/patches/0032-native-protocol-send-supported-extensions-in-client-.patch
+++ b/debian/patches/0032-native-protocol-send-supported-extensions-in-client-.patch
@@ -1,7 +1,7 @@
From d620078de440452eb7fcf2ce130636e76a1f30c2 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Mon, 11 May 2009 21:54:10 +0300
-Subject: [PATCH 32/85] native-protocol: send supported extensions in client & server
+Subject: [PATCH 32/87] native-protocol: send supported extensions in client & server
The client will send a list of extension-id along with SET_NAME.
---
diff --git a/debian/patches/0033-match-don-t-double-free-in-case-of-missing-table-fil.patch b/debian/patches/0033-match-don-t-double-free-in-case-of-missing-table-fil.patch
index 8f6aa207b..416eab5fa 100644
--- a/debian/patches/0033-match-don-t-double-free-in-case-of-missing-table-fil.patch
+++ b/debian/patches/0033-match-don-t-double-free-in-case-of-missing-table-fil.patch
@@ -1,7 +1,7 @@
From 08903f06f5a0de4ddc344481c21f39661dbfa136 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@gmail.com>
Date: Wed, 13 May 2009 21:11:52 +0300
-Subject: [PATCH 33/85] match: don't double free in case of missing table file
+Subject: [PATCH 33/87] match: don't double free in case of missing table file
---
src/modules/module-match.c | 1 -
diff --git a/debian/patches/0034-match-match-rule-earlier-in-SINK_INPUT_NEW.patch b/debian/patches/0034-match-match-rule-earlier-in-SINK_INPUT_NEW.patch
index e3eec8412..45e7f3f7f 100644
--- a/debian/patches/0034-match-match-rule-earlier-in-SINK_INPUT_NEW.patch
+++ b/debian/patches/0034-match-match-rule-earlier-in-SINK_INPUT_NEW.patch
@@ -1,7 +1,7 @@
From ea035c7695cda6ce47901ece500bbbb308c4c0a1 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@gmail.com>
Date: Wed, 13 May 2009 21:32:03 +0300
-Subject: [PATCH 34/85] match: match rule earlier, in SINK_INPUT_NEW
+Subject: [PATCH 34/87] match: match rule earlier, in SINK_INPUT_NEW
---
src/modules/module-match.c | 30 +++++++++++-------------------
diff --git a/debian/patches/0035-stream-restore-simple-fallback-volume-table.patch b/debian/patches/0035-stream-restore-simple-fallback-volume-table.patch
index ff86a0f5a..fc060e0ca 100644
--- a/debian/patches/0035-stream-restore-simple-fallback-volume-table.patch
+++ b/debian/patches/0035-stream-restore-simple-fallback-volume-table.patch
@@ -1,7 +1,7 @@
From f7df7399497118cbfb6a6035daa1315068b1e17a Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@gmail.com>
Date: Fri, 15 May 2009 17:24:54 +0300
-Subject: [PATCH 35/85] stream-restore: simple fallback volume table
+Subject: [PATCH 35/87] stream-restore: simple fallback volume table
---
src/modules/module-stream-restore.c | 94 ++++++++++++++++++++++++++++++++++-
diff --git a/debian/patches/0036-stream-restore-some-misc-fixes.patch b/debian/patches/0036-stream-restore-some-misc-fixes.patch
index 6e3a5ed85..a1831ac0d 100644
--- a/debian/patches/0036-stream-restore-some-misc-fixes.patch
+++ b/debian/patches/0036-stream-restore-some-misc-fixes.patch
@@ -1,7 +1,7 @@
From 2485db27a63d3ef6543fe0fb50975fb703c200dc Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@gmail.com>
Date: Thu, 21 May 2009 17:38:17 +0300
-Subject: [PATCH 36/85] stream-restore: some misc fixes
+Subject: [PATCH 36/87] stream-restore: some misc fixes
Explicitely subscribe to CHANGE events on s-i & s-o.
Keep rules in sync by saving them by default.
diff --git a/debian/patches/0037-bluetooth-reset-u-sink-source-to-NULL-when-SCO-over-.patch b/debian/patches/0037-bluetooth-reset-u-sink-source-to-NULL-when-SCO-over-.patch
index 983957505..8cca5d6c1 100644
--- a/debian/patches/0037-bluetooth-reset-u-sink-source-to-NULL-when-SCO-over-.patch
+++ b/debian/patches/0037-bluetooth-reset-u-sink-source-to-NULL-when-SCO-over-.patch
@@ -1,7 +1,7 @@
From f3e454031097e16fd952ddbc979d585ecd69b752 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Wed, 22 Apr 2009 15:42:35 +0300
-Subject: [PATCH 37/85] bluetooth: reset u->{sink,source} to NULL when SCO over PCM fails
+Subject: [PATCH 37/87] bluetooth: reset u->{sink,source} to NULL when SCO over PCM fails
---
src/modules/bluetooth/module-bluetooth-device.c | 5 ++++-
diff --git a/debian/patches/0038-suspend-on-idle-add-per-device-timeout-property.patch b/debian/patches/0038-suspend-on-idle-add-per-device-timeout-property.patch
index d1aae4415..26bf6a7bc 100644
--- a/debian/patches/0038-suspend-on-idle-add-per-device-timeout-property.patch
+++ b/debian/patches/0038-suspend-on-idle-add-per-device-timeout-property.patch
@@ -1,7 +1,7 @@
From f7bd6ce2a684a3ec6158ee0990587bd4b3b6deda Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Tue, 12 May 2009 01:48:05 +0300
-Subject: [PATCH 38/85] suspend-on-idle: add per-device timeout property
+Subject: [PATCH 38/87] suspend-on-idle: add per-device timeout property
---
src/modules/module-suspend-on-idle.c | 15 ++++++++++++---
diff --git a/debian/patches/0039-Set-ESD-socket-to-tmp-.esd-socket-to-match-up-with-l.patch b/debian/patches/0039-Set-ESD-socket-to-tmp-.esd-socket-to-match-up-with-l.patch
index 6608ff5ca..10c893184 100644
--- a/debian/patches/0039-Set-ESD-socket-to-tmp-.esd-socket-to-match-up-with-l.patch
+++ b/debian/patches/0039-Set-ESD-socket-to-tmp-.esd-socket-to-match-up-with-l.patch
@@ -1,7 +1,7 @@
From 5b4b108d159304081ccf97994382741cecc212d0 Mon Sep 17 00:00:00 2001
From: CJ van den Berg <cj@vdbonline.com>
Date: Wed, 31 Oct 2007 13:59:31 +0100
-Subject: [PATCH 39/85] Set ESD socket to /tmp/.esd/socket to match up with libesd
+Subject: [PATCH 39/87] Set ESD socket to /tmp/.esd/socket to match up with libesd
---
src/daemon/default.pa.in | 2 +-
diff --git a/debian/patches/0040-module-new-null-source-module.patch b/debian/patches/0040-module-new-null-source-module.patch
index 68fc7f473..947592c56 100644
--- a/debian/patches/0040-module-new-null-source-module.patch
+++ b/debian/patches/0040-module-new-null-source-module.patch
@@ -1,7 +1,7 @@
From 9661fe55454d17aca5821234b40c504afe6abd71 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@gmail.com>
Date: Thu, 4 Dec 2008 18:02:21 +0200
-Subject: [PATCH 40/85] module: new null-source module
+Subject: [PATCH 40/87] module: new null-source module
---
src/Makefile.am | 6 +
diff --git a/debian/patches/0041-build-install-pulse-tests-under-libexecdir-pulse-tes.patch b/debian/patches/0041-build-install-pulse-tests-under-libexecdir-pulse-tes.patch
index 28bc21ad9..ee876ae74 100644
--- a/debian/patches/0041-build-install-pulse-tests-under-libexecdir-pulse-tes.patch
+++ b/debian/patches/0041-build-install-pulse-tests-under-libexecdir-pulse-tes.patch
@@ -1,7 +1,7 @@
From 6c48b3714e67e3a8b4a365138e44bc6b0fce3c17 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@gmail.com>
Date: Thu, 11 Dec 2008 22:05:31 +0200
-Subject: [PATCH 41/85] build: install pulse tests under $(libexecdir)/pulse-tests (Nokia specific)
+Subject: [PATCH 41/87] build: install pulse tests under $(libexecdir)/pulse-tests (Nokia specific)
---
src/Makefile.am | 11 ++++++-----
diff --git a/debian/patches/0042-build-add-pulsecore.pc-Nokia-specific.patch b/debian/patches/0042-build-add-pulsecore.pc-Nokia-specific.patch
index fefd15dfa..e02c42b4b 100644
--- a/debian/patches/0042-build-add-pulsecore.pc-Nokia-specific.patch
+++ b/debian/patches/0042-build-add-pulsecore.pc-Nokia-specific.patch
@@ -1,7 +1,7 @@
From 0e1337a3a72c936fe629387982ea58e026b2071a Mon Sep 17 00:00:00 2001
From: Ismo Puustinen <ismo.h.puustinen@nokia.com>
Date: Tue, 30 Sep 2008 18:45:55 +0300
-Subject: [PATCH 42/85] build: add pulsecore.pc (Nokia specific)
+Subject: [PATCH 42/87] build: add pulsecore.pc (Nokia specific)
Original patch updated for 0.9.14 with pulse/pulsecore/pulsecommon.
---
diff --git a/debian/patches/0043-build-add-pulsecore-install-hook-Nokia-specific.patch b/debian/patches/0043-build-add-pulsecore-install-hook-Nokia-specific.patch
index 3605b73ad..eff3cd7d6 100644
--- a/debian/patches/0043-build-add-pulsecore-install-hook-Nokia-specific.patch
+++ b/debian/patches/0043-build-add-pulsecore-install-hook-Nokia-specific.patch
@@ -1,7 +1,7 @@
From 21c566c10998410c98275595f9324bd33406b262 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@gmail.com>
Date: Fri, 9 Jan 2009 16:59:05 +0200
-Subject: [PATCH 43/85] build: add pulsecore install-hook (Nokia specific)
+Subject: [PATCH 43/87] build: add pulsecore install-hook (Nokia specific)
---
src/Makefile.am | 7 +++++++
diff --git a/debian/patches/0044-build-libtool-fails-to-link-module-s-library-during-.patch b/debian/patches/0044-build-libtool-fails-to-link-module-s-library-during-.patch
index 6677ab1dd..241bda424 100644
--- a/debian/patches/0044-build-libtool-fails-to-link-module-s-library-during-.patch
+++ b/debian/patches/0044-build-libtool-fails-to-link-module-s-library-during-.patch
@@ -1,7 +1,7 @@
From e047eb94c394fd421f8295ac5fbdf0666e00ad60 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@gmail.com>
Date: Thu, 11 Dec 2008 17:09:11 +0200
-Subject: [PATCH 44/85] build: libtool fails to link module's library during build time (Nokia specific)
+Subject: [PATCH 44/87] build: libtool fails to link module's library during build time (Nokia specific)
---
src/Makefile.am | 2 +-
diff --git a/debian/patches/0045-build-fix-build-on-scratchbox-with-rpath.patch b/debian/patches/0045-build-fix-build-on-scratchbox-with-rpath.patch
index 7bbe21cf4..4ecfd13d9 100644
--- a/debian/patches/0045-build-fix-build-on-scratchbox-with-rpath.patch
+++ b/debian/patches/0045-build-fix-build-on-scratchbox-with-rpath.patch
@@ -1,7 +1,7 @@
From 025b3f96b3b45e8e83d6c595c3fdd3def94da330 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@gmail.com>
Date: Wed, 7 Jan 2009 18:18:26 +0200
-Subject: [PATCH 45/85] build: fix build on scratchbox with rpath
+Subject: [PATCH 45/87] build: fix build on scratchbox with rpath
X11 depends on libraries that are not listed during link. Those
libraries symbol fail to be found, because -rpath seems to override
diff --git a/debian/patches/0046-pulsecore-Lower-pool-to-16MB-max-Nokia-specific.patch b/debian/patches/0046-pulsecore-Lower-pool-to-16MB-max-Nokia-specific.patch
index ce8604d7a..36e901c42 100644
--- a/debian/patches/0046-pulsecore-Lower-pool-to-16MB-max-Nokia-specific.patch
+++ b/debian/patches/0046-pulsecore-Lower-pool-to-16MB-max-Nokia-specific.patch
@@ -1,7 +1,7 @@
From 02969e3c123853faf608a0f5c869f260400910e5 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Wed, 18 Feb 2009 16:21:34 +0200
-Subject: [PATCH 46/85] pulsecore: Lower pool to 16MB max (Nokia specific)
+Subject: [PATCH 46/87] pulsecore: Lower pool to 16MB max (Nokia specific)
---
src/pulsecore/memblock.c | 2 +-
diff --git a/debian/patches/0047-pulsecore-add-eventfd-wrapper.patch b/debian/patches/0047-pulsecore-add-eventfd-wrapper.patch
index bf360b99f..a420c0de1 100644
--- a/debian/patches/0047-pulsecore-add-eventfd-wrapper.patch
+++ b/debian/patches/0047-pulsecore-add-eventfd-wrapper.patch
@@ -1,7 +1,7 @@
From b9e874b497048fd3cbbcbc655210ebe6558a872c Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Mon, 2 Mar 2009 15:58:53 +0200
-Subject: [PATCH 47/85] pulsecore: add eventfd wrapper
+Subject: [PATCH 47/87] pulsecore: add eventfd wrapper
---
src/Makefile.am | 1 +
diff --git a/debian/patches/0048-pulsecore-use-MOVE_FAIL-before-destroying-all-stream.patch b/debian/patches/0048-pulsecore-use-MOVE_FAIL-before-destroying-all-stream.patch
index f88ca9d9c..a8dfa7d3d 100644
--- a/debian/patches/0048-pulsecore-use-MOVE_FAIL-before-destroying-all-stream.patch
+++ b/debian/patches/0048-pulsecore-use-MOVE_FAIL-before-destroying-all-stream.patch
@@ -1,7 +1,7 @@
From 5b6a18bae6b96d7e13d83f0341bc5866fafc87dc Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Mon, 16 Mar 2009 20:03:33 +0200
-Subject: [PATCH 48/85] pulsecore: use MOVE_FAIL before destroying all streams
+Subject: [PATCH 48/87] pulsecore: use MOVE_FAIL before destroying all streams
---
src/pulsecore/sink.c | 4 ++++
diff --git a/debian/patches/0049-pulsecore-Send-PA_SINK_MESSAGE_SYNC_VOLUMES-always-a.patch b/debian/patches/0049-pulsecore-Send-PA_SINK_MESSAGE_SYNC_VOLUMES-always-a.patch
index 36686c5de..743a26a8e 100644
--- a/debian/patches/0049-pulsecore-Send-PA_SINK_MESSAGE_SYNC_VOLUMES-always-a.patch
+++ b/debian/patches/0049-pulsecore-Send-PA_SINK_MESSAGE_SYNC_VOLUMES-always-a.patch
@@ -1,7 +1,7 @@
From 0aeac53ec70407a3815992887ae907a31462e1ea Mon Sep 17 00:00:00 2001
From: Jyri Sarha <jyri.sarha@nokia.com>
Date: Fri, 5 Jun 2009 17:20:36 +0300
-Subject: [PATCH 49/85] pulsecore: Send PA_SINK_MESSAGE_SYNC_VOLUMES always after flat volume recalculations to all collapsed sinks.
+Subject: [PATCH 49/87] pulsecore: Send PA_SINK_MESSAGE_SYNC_VOLUMES always after flat volume recalculations to all collapsed sinks.
---
src/pulsecore/sink.c | 1 +
diff --git a/debian/patches/0050-core-make-sure-soft-mute-status-stays-in-sync-with-h.patch b/debian/patches/0050-core-make-sure-soft-mute-status-stays-in-sync-with-h.patch
index a1ce2e766..c65d20271 100644
--- a/debian/patches/0050-core-make-sure-soft-mute-status-stays-in-sync-with-h.patch
+++ b/debian/patches/0050-core-make-sure-soft-mute-status-stays-in-sync-with-h.patch
@@ -1,7 +1,7 @@
From 1fc104eb222b8517b03c66b67fc11746be83376a Mon Sep 17 00:00:00 2001
From: Lennart Poettering <lennart@poettering.net>
Date: Mon, 8 Jun 2009 00:02:15 +0200
-Subject: [PATCH 50/85] core: make sure soft mute status stays in sync with hw mute status
+Subject: [PATCH 50/87] core: make sure soft mute status stays in sync with hw mute status
This should close rhbz #494851, mandriva bz #51234.
diff --git a/debian/patches/0051-flat-sink-reset-relative-volume-to-1.0.patch b/debian/patches/0051-flat-sink-reset-relative-volume-to-1.0.patch
index 68eeac998..8d39e876c 100644
--- a/debian/patches/0051-flat-sink-reset-relative-volume-to-1.0.patch
+++ b/debian/patches/0051-flat-sink-reset-relative-volume-to-1.0.patch
@@ -1,7 +1,7 @@
From fa6d2d2d679935c32b95415495d40099ec6de560 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@gmail.com>
Date: Fri, 12 Jun 2009 20:06:04 +0300
-Subject: [PATCH 51/85] flat-sink: reset relative volume to 1.0
+Subject: [PATCH 51/87] flat-sink: reset relative volume to 1.0
Because we skip compute_soft_volume(), there is no chance
relative_volume[] is properly set. It remains at 0 all the time.
diff --git a/debian/patches/0052-bluetooth-device-Add-safe-guard-against-BT-streaming.patch b/debian/patches/0052-bluetooth-device-Add-safe-guard-against-BT-streaming.patch
index fc68150af..5e6a831ad 100644
--- a/debian/patches/0052-bluetooth-device-Add-safe-guard-against-BT-streaming.patch
+++ b/debian/patches/0052-bluetooth-device-Add-safe-guard-against-BT-streaming.patch
@@ -1,7 +1,7 @@
From 40a107c3558aa053b617d65d13c77b3c5ce9419f Mon Sep 17 00:00:00 2001
From: Jyri Sarha <jyri.sarha@nokia.com>
Date: Fri, 8 May 2009 13:25:21 +0300
-Subject: [PATCH 52/85] bluetooth-device: Add safe guard against BT streaming irregularities.
+Subject: [PATCH 52/87] bluetooth-device: Add safe guard against BT streaming irregularities.
Some bad quality BT-headsets block bluez socket sometimes for hundreds
of milliseconds, especially when changing mode. When the module tries
diff --git a/debian/patches/0053-bluetooth-warn-on-EAGAIN-after-POLLOUT.patch b/debian/patches/0053-bluetooth-warn-on-EAGAIN-after-POLLOUT.patch
index e2ef74d92..ae25c0c7a 100644
--- a/debian/patches/0053-bluetooth-warn-on-EAGAIN-after-POLLOUT.patch
+++ b/debian/patches/0053-bluetooth-warn-on-EAGAIN-after-POLLOUT.patch
@@ -1,7 +1,7 @@
From 382ac517f4781af95c2bc2071f91de7201bfe7dd Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Wed, 1 Jul 2009 13:11:33 +0300
-Subject: [PATCH 53/85] bluetooth: warn on EAGAIN after POLLOUT
+Subject: [PATCH 53/87] bluetooth: warn on EAGAIN after POLLOUT
---
src/modules/bluetooth/module-bluetooth-device.c | 3 +++
diff --git a/debian/patches/0054-bluetooth-drop-data-every-500ms-on-oor-condition.patch b/debian/patches/0054-bluetooth-drop-data-every-500ms-on-oor-condition.patch
index 68273be0c..8982daa0c 100644
--- a/debian/patches/0054-bluetooth-drop-data-every-500ms-on-oor-condition.patch
+++ b/debian/patches/0054-bluetooth-drop-data-every-500ms-on-oor-condition.patch
@@ -1,7 +1,7 @@
From c877e9800df2af9bc2aec90ac07ce91eaa750aad Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Wed, 1 Jul 2009 13:11:59 +0300
-Subject: [PATCH 54/85] bluetooth: drop data every 500ms on oor condition
+Subject: [PATCH 54/87] bluetooth: drop data every 500ms on oor condition
---
src/modules/bluetooth/module-bluetooth-device.c | 23 +++++++++++++----------
diff --git a/debian/patches/0055-bluetooth-don-t-connect-on-unconnected-profile.patch b/debian/patches/0055-bluetooth-don-t-connect-on-unconnected-profile.patch
index a6fea7fe3..29e623ec2 100644
--- a/debian/patches/0055-bluetooth-don-t-connect-on-unconnected-profile.patch
+++ b/debian/patches/0055-bluetooth-don-t-connect-on-unconnected-profile.patch
@@ -1,7 +1,7 @@
From 685e53819058dec1038de6ded898c05a115c2685 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@gmail.com>
Date: Mon, 29 Jun 2009 17:46:30 +0300
-Subject: [PATCH 55/85] bluetooth: don't connect on unconnected profile
+Subject: [PATCH 55/87] bluetooth: don't connect on unconnected profile
---
src/modules/bluetooth/module-bluetooth-device.c | 9 +++++++++
diff --git a/debian/patches/0056-bluetooth-don-t-call-pa_sink_render-with-0-bytes-req.patch b/debian/patches/0056-bluetooth-don-t-call-pa_sink_render-with-0-bytes-req.patch
index 5a9b8d066..699063a8b 100644
--- a/debian/patches/0056-bluetooth-don-t-call-pa_sink_render-with-0-bytes-req.patch
+++ b/debian/patches/0056-bluetooth-don-t-call-pa_sink_render-with-0-bytes-req.patch
@@ -1,7 +1,7 @@
From b02cfcceadde14421545aeac895011cec4547e81 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Mon, 6 Jul 2009 17:50:51 +0300
-Subject: [PATCH 56/85] bluetooth: don't call pa_sink_render with 0 bytes request
+Subject: [PATCH 56/87] bluetooth: don't call pa_sink_render with 0 bytes request
---
src/modules/bluetooth/module-bluetooth-device.c | 17 ++++++++++-------
diff --git a/debian/patches/0057-bluetooth-fix-set_volume_cb-on-sco-over-pcm.patch b/debian/patches/0057-bluetooth-fix-set_volume_cb-on-sco-over-pcm.patch
index 11b8053ac..568208551 100644
--- a/debian/patches/0057-bluetooth-fix-set_volume_cb-on-sco-over-pcm.patch
+++ b/debian/patches/0057-bluetooth-fix-set_volume_cb-on-sco-over-pcm.patch
@@ -1,7 +1,7 @@
From 2119629cd2cec3a524dd0c5c1d76188816ae3dfb Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Tue, 7 Jul 2009 18:00:14 +0300
-Subject: [PATCH 57/85] bluetooth: fix set_volume_cb on sco over pcm
+Subject: [PATCH 57/87] bluetooth: fix set_volume_cb on sco over pcm
The current implementation is totally bogus, it cast the over_sink
userdata to the bluetooth-device userdata... It was failing nicely
diff --git a/debian/patches/0058-bluetooth-restore-original-over_-sink-src-set_volume.patch b/debian/patches/0058-bluetooth-restore-original-over_-sink-src-set_volume.patch
index 9fd3d6acb..d9240c57c 100644
--- a/debian/patches/0058-bluetooth-restore-original-over_-sink-src-set_volume.patch
+++ b/debian/patches/0058-bluetooth-restore-original-over_-sink-src-set_volume.patch
@@ -1,7 +1,7 @@
From 97f4e2edd95ca02f8ef35f56c32dfda9df002000 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Thu, 9 Jul 2009 21:34:50 +0300
-Subject: [PATCH 58/85] bluetooth: restore original over_{sink,src}->set_volume when unloading
+Subject: [PATCH 58/87] bluetooth: restore original over_{sink,src}->set_volume when unloading
---
src/modules/bluetooth/module-bluetooth-device.c | 6 ++++++
diff --git a/debian/patches/0059-cli-text-print-internal-volume-for-debugging-purpose.patch b/debian/patches/0059-cli-text-print-internal-volume-for-debugging-purpose.patch
index c021997da..fc6c3b022 100644
--- a/debian/patches/0059-cli-text-print-internal-volume-for-debugging-purpose.patch
+++ b/debian/patches/0059-cli-text-print-internal-volume-for-debugging-purpose.patch
@@ -1,7 +1,7 @@
From edc24729f74f0b0a1f4ce3f26aba6d88d88de8cc Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Sat, 4 Apr 2009 14:47:30 +0300
-Subject: [PATCH 59/85] cli-text: print internal volume for debugging purposes
+Subject: [PATCH 59/87] cli-text: print internal volume for debugging purposes
---
src/pulsecore/cli-text.c | 20 +++++++++++++++-----
diff --git a/debian/patches/0060-bootstrap-enable-DEBUG_VOLUME-and-NOKIA.patch b/debian/patches/0060-bootstrap-enable-DEBUG_VOLUME-and-NOKIA.patch
index 370d9509a..705086ce0 100644
--- a/debian/patches/0060-bootstrap-enable-DEBUG_VOLUME-and-NOKIA.patch
+++ b/debian/patches/0060-bootstrap-enable-DEBUG_VOLUME-and-NOKIA.patch
@@ -1,7 +1,7 @@
From c83458cc1a308cb39ee3e7a6282735563b2602f9 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Sat, 4 Apr 2009 14:50:37 +0300
-Subject: [PATCH 60/85] bootstrap: enable DEBUG_VOLUME and NOKIA
+Subject: [PATCH 60/87] bootstrap: enable DEBUG_VOLUME and NOKIA
---
bootstrap.sh | 2 +-
diff --git a/debian/patches/0061-pulse-context-when-NOFAIL-don-t-try_next_connection-.patch b/debian/patches/0061-pulse-context-when-NOFAIL-don-t-try_next_connection-.patch
index 7894a6391..4e7dfffa9 100644
--- a/debian/patches/0061-pulse-context-when-NOFAIL-don-t-try_next_connection-.patch
+++ b/debian/patches/0061-pulse-context-when-NOFAIL-don-t-try_next_connection-.patch
@@ -1,7 +1,7 @@
From 315c4c2feb8bb5a56cc6dc0715c256ec59dc6916 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Fri, 17 Apr 2009 15:47:27 +0300
-Subject: [PATCH 61/85] pulse/context: when NOFAIL, don't try_next_connection() if c->client
+Subject: [PATCH 61/87] pulse/context: when NOFAIL, don't try_next_connection() if c->client
---
src/pulse/context.c | 3 ++-
diff --git a/debian/patches/0062-build-workaround-scratchbox-linker-issue.-Nokia-spec.patch b/debian/patches/0062-build-workaround-scratchbox-linker-issue.-Nokia-spec.patch
index adcfc7b95..f697414eb 100644
--- a/debian/patches/0062-build-workaround-scratchbox-linker-issue.-Nokia-spec.patch
+++ b/debian/patches/0062-build-workaround-scratchbox-linker-issue.-Nokia-spec.patch
@@ -1,7 +1,7 @@
From 30aa8e47a159b326eb845ab06f79cafa85d504fe Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Tue, 21 Apr 2009 14:12:46 +0300
-Subject: [PATCH 62/85] build: workaround scratchbox linker issue.. (Nokia specific)
+Subject: [PATCH 62/87] build: workaround scratchbox linker issue.. (Nokia specific)
---
src/Makefile.am | 82 +++++++++++++++++++++++++++---------------------------
diff --git a/debian/patches/0063-protocol-native-expose-sink-reference-volume-instead.patch b/debian/patches/0063-protocol-native-expose-sink-reference-volume-instead.patch
index 755898241..eb77a18ba 100644
--- a/debian/patches/0063-protocol-native-expose-sink-reference-volume-instead.patch
+++ b/debian/patches/0063-protocol-native-expose-sink-reference-volume-instead.patch
@@ -1,7 +1,7 @@
From 11d431882511e6edb10ebc73eef78cff2f29ef80 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Wed, 22 Apr 2009 13:07:01 +0300
-Subject: [PATCH 63/85] protocol-native: expose sink reference volume instead of virtual volume
+Subject: [PATCH 63/87] protocol-native: expose sink reference volume instead of virtual volume
---
src/pulsecore/protocol-native.c | 2 +-
diff --git a/debian/patches/0064-debug-default-who-try-to-set-default-sink-source.patch b/debian/patches/0064-debug-default-who-try-to-set-default-sink-source.patch
index fab5ca229..8bd67c893 100644
--- a/debian/patches/0064-debug-default-who-try-to-set-default-sink-source.patch
+++ b/debian/patches/0064-debug-default-who-try-to-set-default-sink-source.patch
@@ -1,7 +1,7 @@
From 6f202fe0302cb5bd947e00e2036dcb0cff12b283 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Fri, 15 May 2009 18:11:52 +0300
-Subject: [PATCH 64/85] debug default who try to set default sink/source
+Subject: [PATCH 64/87] debug default who try to set default sink/source
---
src/pulsecore/protocol-native.c | 4 ++++
diff --git a/debian/patches/0065-mainloop-log-as-deprecated-timeval-time_new.patch b/debian/patches/0065-mainloop-log-as-deprecated-timeval-time_new.patch
index ba7b99f2d..f67d93715 100644
--- a/debian/patches/0065-mainloop-log-as-deprecated-timeval-time_new.patch
+++ b/debian/patches/0065-mainloop-log-as-deprecated-timeval-time_new.patch
@@ -1,7 +1,7 @@
From f91e1a9dbb67637766f4d9fb904ddf010dc7c43b Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Mon, 1 Jun 2009 14:17:59 +0300
-Subject: [PATCH 65/85] mainloop: log as deprecated timeval time_new
+Subject: [PATCH 65/87] mainloop: log as deprecated timeval time_new
---
src/pulse/mainloop.c | 2 ++
diff --git a/debian/patches/0066-core-no-rewinding-on-volume-change-if-the-sink-does-.patch b/debian/patches/0066-core-no-rewinding-on-volume-change-if-the-sink-does-.patch
index 19268f316..e75fe47ae 100644
--- a/debian/patches/0066-core-no-rewinding-on-volume-change-if-the-sink-does-.patch
+++ b/debian/patches/0066-core-no-rewinding-on-volume-change-if-the-sink-does-.patch
@@ -1,7 +1,7 @@
From 83d000084004ee29cecd292a0eaa6006e9c4c823 Mon Sep 17 00:00:00 2001
From: Jyri Sarha <jyri.sarha@nokia.com>
Date: Fri, 3 Jul 2009 17:26:12 +0300
-Subject: [PATCH 66/85] core: no rewinding on volume change if the sink does not support it.
+Subject: [PATCH 66/87] core: no rewinding on volume change if the sink does not support it.
---
src/pulsecore/sink-input.c | 6 ++++--
diff --git a/debian/patches/0067-stream-restore-maemo-route-restore-hack.patch b/debian/patches/0067-stream-restore-maemo-route-restore-hack.patch
index d9f71e1b2..62e06dc4f 100644
--- a/debian/patches/0067-stream-restore-maemo-route-restore-hack.patch
+++ b/debian/patches/0067-stream-restore-maemo-route-restore-hack.patch
@@ -1,7 +1,7 @@
From 8e54078a240d8ff9ab3ed885b14a86dc61119c02 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@gmail.com>
Date: Thu, 21 May 2009 19:32:58 +0300
-Subject: [PATCH 67/85] stream-restore: maemo route restore hack
+Subject: [PATCH 67/87] stream-restore: maemo route restore hack
---
src/modules/module-stream-restore.c | 243 ++++++++++++++++++++++++++++++++---
diff --git a/debian/patches/0068-stream-restore-make-route-volume-optional.patch b/debian/patches/0068-stream-restore-make-route-volume-optional.patch
index 752180412..4426b17b9 100644
--- a/debian/patches/0068-stream-restore-make-route-volume-optional.patch
+++ b/debian/patches/0068-stream-restore-make-route-volume-optional.patch
@@ -1,7 +1,7 @@
From 83641c3473b5066719bc2b2b49c7ce7db0ee3cdd Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Tue, 2 Jun 2009 18:20:00 +0300
-Subject: [PATCH 68/85] stream-restore: make route volume optional
+Subject: [PATCH 68/87] stream-restore: make route volume optional
---
src/modules/module-stream-restore.c | 13 ++++++++++---
diff --git a/debian/patches/0069-stream-restore-workaroung-moving-stream-volume-resto.patch b/debian/patches/0069-stream-restore-workaroung-moving-stream-volume-resto.patch
index e6984422d..62defe069 100644
--- a/debian/patches/0069-stream-restore-workaroung-moving-stream-volume-resto.patch
+++ b/debian/patches/0069-stream-restore-workaroung-moving-stream-volume-resto.patch
@@ -1,7 +1,7 @@
From 9d059e544a42d35963a30a5c571ba44e2a03d2e8 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Tue, 23 Jun 2009 15:52:37 +0300
-Subject: [PATCH 69/85] stream-restore: workaroung moving stream volume restore
+Subject: [PATCH 69/87] stream-restore: workaroung moving stream volume restore
---
src/modules/module-stream-restore.c | 8 +++++++-
diff --git a/debian/patches/0070-stream-restore-don-t-override-volume-entry-when-appl.patch b/debian/patches/0070-stream-restore-don-t-override-volume-entry-when-appl.patch
index 0a38e99c6..ae5c0f9ef 100644
--- a/debian/patches/0070-stream-restore-don-t-override-volume-entry-when-appl.patch
+++ b/debian/patches/0070-stream-restore-don-t-override-volume-entry-when-appl.patch
@@ -1,7 +1,7 @@
From 04181589dfe9e28ee55354f3b8b482831272566f Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Tue, 23 Jun 2009 19:38:55 +0300
-Subject: [PATCH 70/85] stream-restore: don't override volume entry, when applied to different channel maps
+Subject: [PATCH 70/87] stream-restore: don't override volume entry, when applied to different channel maps
---
src/modules/module-stream-restore.c | 7 +++++--
diff --git a/debian/patches/0071-stream-restore-initialize-userdata-to-0.patch b/debian/patches/0071-stream-restore-initialize-userdata-to-0.patch
index 14b428617..6c8ade964 100644
--- a/debian/patches/0071-stream-restore-initialize-userdata-to-0.patch
+++ b/debian/patches/0071-stream-restore-initialize-userdata-to-0.patch
@@ -1,7 +1,7 @@
From 8632bb344f9aea3fc1189b90bc3d24e45c2f87dc Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Thu, 25 Jun 2009 13:13:43 +0300
-Subject: [PATCH 71/85] stream-restore: initialize userdata to 0
+Subject: [PATCH 71/87] stream-restore: initialize userdata to 0
This avoid crash when unloading and some slots are != NULL
---
diff --git a/debian/patches/0072-database-simple-pa_database-implementation.patch b/debian/patches/0072-database-simple-pa_database-implementation.patch
index e320d7a4c..3a277fde0 100644
--- a/debian/patches/0072-database-simple-pa_database-implementation.patch
+++ b/debian/patches/0072-database-simple-pa_database-implementation.patch
@@ -1,7 +1,7 @@
From 74230cc753ddd33ed9081ea34e82ab51f51ecfc8 Mon Sep 17 00:00:00 2001
From: Juho Hamalainen <jusa@IT-W1767.(none)>
Date: Fri, 3 Jul 2009 11:38:08 +0300
-Subject: [PATCH 72/85] database: simple pa_database implementation
+Subject: [PATCH 72/87] database: simple pa_database implementation
---
src/Makefile.am | 5 +-
diff --git a/debian/patches/0073-stream-restore-modify-to-use-pa_database.patch b/debian/patches/0073-stream-restore-modify-to-use-pa_database.patch
index b40a53f0a..37a004b01 100644
--- a/debian/patches/0073-stream-restore-modify-to-use-pa_database.patch
+++ b/debian/patches/0073-stream-restore-modify-to-use-pa_database.patch
@@ -1,7 +1,7 @@
From 4576196fc6d6c32ef11031427864823168a4a934 Mon Sep 17 00:00:00 2001
From: Juho Hamalainen <jusa@IT-W1767.(none)>
Date: Fri, 3 Jul 2009 14:37:11 +0300
-Subject: [PATCH 73/85] stream-restore: modify to use pa_database
+Subject: [PATCH 73/87] stream-restore: modify to use pa_database
---
src/modules/module-stream-restore.c | 202 +++++++++++++++-------------------
diff --git a/debian/patches/0074-db-simple-fix-double-free-to-squash.patch b/debian/patches/0074-db-simple-fix-double-free-to-squash.patch
index 2aba803d9..8d47a91c5 100644
--- a/debian/patches/0074-db-simple-fix-double-free-to-squash.patch
+++ b/debian/patches/0074-db-simple-fix-double-free-to-squash.patch
@@ -1,7 +1,7 @@
From 7d6f68979bc51c64954cac18e00eab302b8ae412 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Wed, 15 Jul 2009 20:21:22 +0300
-Subject: [PATCH 74/85] db-simple: fix double free (to squash)
+Subject: [PATCH 74/87] db-simple: fix double free (to squash)
---
src/pulsecore/database-simple.c | 27 ++++++++++++++-------------
diff --git a/debian/patches/0075-db-simple-remove-dead-code.patch b/debian/patches/0075-db-simple-remove-dead-code.patch
index 31f041863..b10311bf2 100644
--- a/debian/patches/0075-db-simple-remove-dead-code.patch
+++ b/debian/patches/0075-db-simple-remove-dead-code.patch
@@ -1,7 +1,7 @@
From 3ebb245cfec67a7f8e6f293223b30c14f2903fdb Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Wed, 15 Jul 2009 20:25:01 +0300
-Subject: [PATCH 75/85] db-simple: remove dead code
+Subject: [PATCH 75/87] db-simple: remove dead code
---
src/pulsecore/database-simple.c | 4 ----
diff --git a/debian/patches/0076-Remove-exploitable-LD_BIND_NOW-hack-CVE-2009-1894.patch b/debian/patches/0076-Remove-exploitable-LD_BIND_NOW-hack-CVE-2009-1894.patch
index f24f56637..9e121069e 100644
--- a/debian/patches/0076-Remove-exploitable-LD_BIND_NOW-hack-CVE-2009-1894.patch
+++ b/debian/patches/0076-Remove-exploitable-LD_BIND_NOW-hack-CVE-2009-1894.patch
@@ -1,7 +1,7 @@
From dbefa22d453d3644dcfacf8edd6cd0dc7a68d244 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Diego=20Elio=20'Flameeyes'=20Petten=C3=B2?= <flameeyes@gmail.com>
Date: Tue, 7 Jul 2009 20:51:53 +0200
-Subject: [PATCH 76/85] Remove exploitable LD_BIND_NOW hack (CVE-2009-1894).
+Subject: [PATCH 76/87] Remove exploitable LD_BIND_NOW hack (CVE-2009-1894).
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
diff --git a/debian/patches/0077-bluetooth-fix-typo-with-service_-read-write-_type.patch b/debian/patches/0077-bluetooth-fix-typo-with-service_-read-write-_type.patch
index 1002e8e13..929c14532 100644
--- a/debian/patches/0077-bluetooth-fix-typo-with-service_-read-write-_type.patch
+++ b/debian/patches/0077-bluetooth-fix-typo-with-service_-read-write-_type.patch
@@ -1,7 +1,7 @@
From 7299dd4515212bd76f3508c607169189b5b09aa9 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Mon, 20 Jul 2009 13:44:27 +0300
-Subject: [PATCH 77/85] bluetooth: fix typo with service_{read,write}_type
+Subject: [PATCH 77/87] bluetooth: fix typo with service_{read,write}_type
---
src/modules/bluetooth/module-bluetooth-device.c | 6 ++++--
diff --git a/debian/patches/0078-pulse-even-in-case-of-record-stream-let-s-initialize.patch b/debian/patches/0078-pulse-even-in-case-of-record-stream-let-s-initialize.patch
index ad5410245..132b09b1a 100644
--- a/debian/patches/0078-pulse-even-in-case-of-record-stream-let-s-initialize.patch
+++ b/debian/patches/0078-pulse-even-in-case-of-record-stream-let-s-initialize.patch
@@ -1,7 +1,7 @@
From d57102969a6bfa761684003c339e26e375b41992 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Mon, 20 Jul 2009 13:53:17 +0300
-Subject: [PATCH 78/85] pulse: even in case of record stream, let's initialize req_bytes to 0
+Subject: [PATCH 78/87] pulse: even in case of record stream, let's initialize req_bytes to 0
---
src/pulse/stream.c | 2 +-
diff --git a/debian/patches/0079-llist-add-PA_LLIST_FOREACH.patch b/debian/patches/0079-llist-add-PA_LLIST_FOREACH.patch
index cbaa0ed22..ae5542ce5 100644
--- a/debian/patches/0079-llist-add-PA_LLIST_FOREACH.patch
+++ b/debian/patches/0079-llist-add-PA_LLIST_FOREACH.patch
@@ -1,7 +1,7 @@
From 21aa19697c17207b4d06cc6ebac542a289691975 Mon Sep 17 00:00:00 2001
From: Lennart Poettering <lennart@poettering.net>
Date: Tue, 21 Apr 2009 21:23:53 +0200
-Subject: [PATCH 79/85] llist: add PA_LLIST_FOREACH
+Subject: [PATCH 79/87] llist: add PA_LLIST_FOREACH
---
src/pulsecore/llist.h | 3 +++
diff --git a/debian/patches/0080-flat-sink-sync-sink-volume-with-io-thread-recursivel.patch b/debian/patches/0080-flat-sink-sync-sink-volume-with-io-thread-recursivel.patch
index 395abb744..bd38f5139 100644
--- a/debian/patches/0080-flat-sink-sync-sink-volume-with-io-thread-recursivel.patch
+++ b/debian/patches/0080-flat-sink-sync-sink-volume-with-io-thread-recursivel.patch
@@ -1,7 +1,7 @@
From b588ec2cb2e6d852e4c86d604e05768467ce1578 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Mon, 13 Jul 2009 15:46:12 +0300
-Subject: [PATCH 80/85] flat-sink: sync sink volume with io thread recursively
+Subject: [PATCH 80/87] flat-sink: sync sink volume with io thread recursively
Also, get rid of PA_SINK_MESSAGE_SYNC_VOLUMES in a context where
intermediate sink are not ready (while moving, asycmsgq is NULL)
diff --git a/debian/patches/0081-core-Add-infrastructure-for-delayed-HW-volume-settin.patch b/debian/patches/0081-core-Add-infrastructure-for-delayed-HW-volume-settin.patch
index 7bbf506e7..aba2c0bbb 100644
--- a/debian/patches/0081-core-Add-infrastructure-for-delayed-HW-volume-settin.patch
+++ b/debian/patches/0081-core-Add-infrastructure-for-delayed-HW-volume-settin.patch
@@ -1,7 +1,7 @@
From d6cde519c0c41b98038ba6f27dfe28b277ccbb26 Mon Sep 17 00:00:00 2001
From: Jyri Sarha <jyri.sarha@nokia.com>
Date: Wed, 22 Jul 2009 12:00:59 +0300
-Subject: [PATCH 81/85] core: Add infrastructure for delayed HW volume setting
+Subject: [PATCH 81/87] core: Add infrastructure for delayed HW volume setting
To make concurrent use of SW and HW volume glitchles their application
needs to be syncronized. For accurate syncronization the HW volume
diff --git a/debian/patches/0082-sink-input-don-t-make-volume-relative-to-dest-sink-r.patch b/debian/patches/0082-sink-input-don-t-make-volume-relative-to-dest-sink-r.patch
index 717bdd43c..c12ced8a0 100644
--- a/debian/patches/0082-sink-input-don-t-make-volume-relative-to-dest-sink-r.patch
+++ b/debian/patches/0082-sink-input-don-t-make-volume-relative-to-dest-sink-r.patch
@@ -1,7 +1,7 @@
From ee1dc8d8b9fa43c76d3a5abb4e8cd9c8aaba11d1 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
Date: Wed, 29 Jul 2009 15:33:19 +0300
-Subject: [PATCH 82/85] sink-input: don't make volume relative to dest sink reference volume
+Subject: [PATCH 82/87] sink-input: don't make volume relative to dest sink reference volume
When sink-input is moving to a new sink, PulseAudio keep the relative
volume and multiply with the reference volume of the new sink. But
diff --git a/debian/patches/0083-alsa-port-the-old-alsa-modules.patch b/debian/patches/0083-alsa-port-the-old-alsa-modules.patch
index f3498691d..7744d5ae5 100644
--- a/debian/patches/0083-alsa-port-the-old-alsa-modules.patch
+++ b/debian/patches/0083-alsa-port-the-old-alsa-modules.patch
@@ -1,7 +1,7 @@
From 3a2b2d90f41ecb42d44eed634404419593366c05 Mon Sep 17 00:00:00 2001
From: Maemo Multimedia <multimedia@maemo.org>
Date: Fri, 17 Apr 2009 17:08:35 +0300
-Subject: [PATCH 83/85] alsa: port the old alsa modules
+Subject: [PATCH 83/87] alsa: port the old alsa modules
alsa-old: start as suspended
diff --git a/debian/patches/0084-alsa-sink-volume-a-complex-mixer-module.patch b/debian/patches/0084-alsa-sink-volume-a-complex-mixer-module.patch
index b4e178016..f613e30ec 100644
--- a/debian/patches/0084-alsa-sink-volume-a-complex-mixer-module.patch
+++ b/debian/patches/0084-alsa-sink-volume-a-complex-mixer-module.patch
@@ -1,7 +1,7 @@
From 8be6711ee42815d54cf337c2cb06741c3b608461 Mon Sep 17 00:00:00 2001
From: Maemo Multimedia <multimedia@maemo.org>
Date: Fri, 17 Apr 2009 17:09:01 +0300
-Subject: [PATCH 84/85] alsa: sink-volume, a complex mixer module
+Subject: [PATCH 84/87] alsa: sink-volume, a complex mixer module
volume: update delay
diff --git a/debian/patches/0085-bluetooth-handle-absence-of-bluez-D-Bus-service-prop.patch b/debian/patches/0085-bluetooth-handle-absence-of-bluez-D-Bus-service-prop.patch
new file mode 100644
index 000000000..d8d459d9a
--- /dev/null
+++ b/debian/patches/0085-bluetooth-handle-absence-of-bluez-D-Bus-service-prop.patch
@@ -0,0 +1,186 @@
+From 7bd936862fb41ff2081840ecc2182c5b6fa71e4f Mon Sep 17 00:00:00 2001
+From: Lennart Poettering <lennart@poettering.net>
+Date: Wed, 1 Jul 2009 02:20:23 +0200
+Subject: [PATCH 85/87] bluetooth: handle absence of bluez D-Bus service properly
+
+---
+ src/modules/bluetooth/bluetooth-util.c | 77 +++++++++++++++++++++++++++-----
+ 1 files changed, 66 insertions(+), 11 deletions(-)
+
+diff --git a/src/modules/bluetooth/bluetooth-util.c b/src/modules/bluetooth/bluetooth-util.c
+index 5c7681d..66e1c31 100644
+--- a/src/modules/bluetooth/bluetooth-util.c
++++ b/src/modules/bluetooth/bluetooth-util.c
+@@ -309,6 +309,17 @@ static void run_callback(pa_bluetooth_discovery *y, pa_bluetooth_device *d, pa_b
+ pa_hook_fire(&y->hook, d);
+ }
+
++static void remove_all_devices(pa_bluetooth_discovery *y) {
++ pa_bluetooth_device *d;
++
++ pa_assert(y);
++
++ while ((d = pa_hashmap_steal_first(y->devices))) {
++ run_callback(y, d, TRUE);
++ device_free(d);
++ }
++}
++
+ static void get_properties_reply(DBusPendingCall *pending, void *userdata) {
+ DBusMessage *r;
+ DBusMessageIter arg_i, element_i;
+@@ -332,6 +343,12 @@ static void get_properties_reply(DBusPendingCall *pending, void *userdata) {
+ if (dbus_message_is_method_call(p->message, "org.bluez.Device", "GetProperties"))
+ d->device_info_valid = valid;
+
++ if (dbus_message_is_error(r, DBUS_ERROR_SERVICE_UNKNOWN)) {
++ pa_log_debug("Bluetooth daemon is apparently not available.");
++ remove_all_devices(y);
++ goto finish2;
++ }
++
+ if (dbus_message_get_type(r) == DBUS_MESSAGE_TYPE_ERROR) {
+
+ if (!dbus_message_is_error(r, DBUS_ERROR_UNKNOWN_METHOD))
+@@ -383,6 +400,7 @@ static void get_properties_reply(DBusPendingCall *pending, void *userdata) {
+ finish:
+ run_callback(y, d, FALSE);
+
++finish2:
+ dbus_message_unref(r);
+
+ PA_LLIST_REMOVE(pa_dbus_pending, y->pending, p);
+@@ -412,6 +430,9 @@ static void found_device(pa_bluetooth_discovery *y, const char* path) {
+ pa_assert(y);
+ pa_assert(path);
+
++ if (pa_hashmap_get(y->devices, path))
++ return;
++
+ d = device_new(path);
+
+ pa_hashmap_put(y->devices, d->path, d);
+@@ -439,9 +460,15 @@ static void list_devices_reply(DBusPendingCall *pending, void *userdata) {
+ pa_assert_se(y = p->context_data);
+ pa_assert_se(r = dbus_pending_call_steal_reply(pending));
+
++ if (dbus_message_is_error(r, DBUS_ERROR_SERVICE_UNKNOWN)) {
++ pa_log_debug("Bluetooth daemon is apparently not available.");
++ remove_all_devices(y);
++ goto finish;
++ }
++
+ if (dbus_message_get_type(r) == DBUS_MESSAGE_TYPE_ERROR) {
+ pa_log("Error from ListDevices reply: %s", dbus_message_get_error_name(r));
+- goto end;
++ goto finish;
+ }
+
+ if (!dbus_message_get_args(r, &e, DBUS_TYPE_ARRAY, DBUS_TYPE_OBJECT_PATH, &paths, &num, DBUS_TYPE_INVALID)) {
+@@ -454,7 +481,7 @@ static void list_devices_reply(DBusPendingCall *pending, void *userdata) {
+ found_device(y, paths[i]);
+ }
+
+-end:
++finish:
+ if (paths)
+ dbus_free_string_array (paths);
+
+@@ -487,9 +514,15 @@ static void list_adapters_reply(DBusPendingCall *pending, void *userdata) {
+ pa_assert_se(y = p->context_data);
+ pa_assert_se(r = dbus_pending_call_steal_reply(pending));
+
++ if (dbus_message_is_error(r, DBUS_ERROR_SERVICE_UNKNOWN)) {
++ pa_log_debug("Bluetooth daemon is apparently not available.");
++ remove_all_devices(y);
++ goto finish;
++ }
++
+ if (dbus_message_get_type(r) == DBUS_MESSAGE_TYPE_ERROR) {
+ pa_log("Error from ListAdapters reply: %s", dbus_message_get_error_name(r));
+- goto end;
++ goto finish;
+ }
+
+ if (!dbus_message_get_args(r, &e, DBUS_TYPE_ARRAY, DBUS_TYPE_OBJECT_PATH, &paths, &num, DBUS_TYPE_INVALID)) {
+@@ -502,7 +535,7 @@ static void list_adapters_reply(DBusPendingCall *pending, void *userdata) {
+ found_adapter(y, paths[i]);
+ }
+
+-end:
++finish:
+ if (paths)
+ dbus_free_string_array (paths);
+
+@@ -616,6 +649,32 @@ static DBusHandlerResult filter_cb(DBusConnection *bus, DBusMessage *m, void *us
+ }
+
+ return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
++
++ } else if (dbus_message_is_signal(m, "org.freedesktop.DBus", "NameOwnerChanged")) {
++ const char *name, *old_owner, *new_owner;
++
++ if (!dbus_message_get_args(m, &err,
++ DBUS_TYPE_STRING, &name,
++ DBUS_TYPE_STRING, &old_owner,
++ DBUS_TYPE_STRING, &new_owner,
++ DBUS_TYPE_INVALID)) {
++ pa_log("Failed to parse org.freedesktop.DBus.NameOwnerChanged: %s", err.message);
++ goto fail;
++ }
++
++ if (pa_streq(name, "org.bluez")) {
++ if (old_owner && *old_owner) {
++ pa_log_debug("Bluetooth daemon disappeared.");
++ remove_all_devices(y);
++ }
++
++ if (new_owner && *new_owner) {
++ pa_log_debug("Bluetooth daemon appeared.");
++ list_adapters(y);
++ }
++ }
++
++ return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
+ }
+
+ fail:
+@@ -699,6 +758,7 @@ pa_bluetooth_discovery* pa_bluetooth_discovery_get(pa_core *c) {
+
+ if (pa_dbus_add_matches(
+ pa_dbus_connection_get(y->connection), &err,
++ "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged'",
+ "type='signal',sender='org.bluez',interface='org.bluez.Manager',member='AdapterAdded'",
+ "type='signal',sender='org.bluez',interface='org.bluez.Adapter',member='DeviceRemoved'",
+ "type='signal',sender='org.bluez',interface='org.bluez.Adapter',member='DeviceCreated'",
+@@ -734,8 +794,6 @@ pa_bluetooth_discovery* pa_bluetooth_discovery_ref(pa_bluetooth_discovery *y) {
+ }
+
+ void pa_bluetooth_discovery_unref(pa_bluetooth_discovery *y) {
+- pa_bluetooth_device *d;
+-
+ pa_assert(y);
+ pa_assert(PA_REFCNT_VALUE(y) > 0);
+
+@@ -745,16 +803,13 @@ void pa_bluetooth_discovery_unref(pa_bluetooth_discovery *y) {
+ pa_dbus_free_pending_list(&y->pending);
+
+ if (y->devices) {
+- while ((d = pa_hashmap_steal_first(y->devices))) {
+- run_callback(y, d, TRUE);
+- device_free(d);
+- }
+-
++ remove_all_devices(y);
+ pa_hashmap_free(y->devices, NULL, NULL);
+ }
+
+ if (y->connection) {
+ pa_dbus_remove_matches(pa_dbus_connection_get(y->connection),
++ "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged'",
+ "type='signal',sender='org.bluez',interface='org.bluez.Manager',member='AdapterAdded'",
+ "type='signal',sender='org.bluez',interface='org.bluez.Manager',member='AdapterRemoved'",
+ "type='signal',sender='org.bluez',interface='org.bluez.Adapter',member='DeviceRemoved'",
+--
+1.6.3.3
+
diff --git a/debian/patches/0085-autofoo.patch b/debian/patches/0086-autofoo.patch
index b7ae0154b..224d0438c 100644
--- a/debian/patches/0085-autofoo.patch
+++ b/debian/patches/0086-autofoo.patch
@@ -1,7 +1,7 @@
-From bf4080f43100974517e9a64fb7a7712a128d0272 Mon Sep 17 00:00:00 2001
+From 364aba912c2783f5dadc5ce3f12ae1e94722a050 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
-Date: Wed, 5 Aug 2009 17:33:33 +0300
-Subject: [PATCH 85/85] autofoo
+Date: Tue, 11 Aug 2009 14:12:18 +0300
+Subject: [PATCH 86/87] autofoo
---
ABOUT-NLS | 1068 ++
@@ -1169,11 +1169,11 @@ index 0000000..83bc72e
+
diff --git a/ChangeLog b/ChangeLog
new file mode 100644
-index 0000000..3557213
+index 0000000..fb9edbf
--- /dev/null
+++ b/ChangeLog
@@ -0,0 +1,5 @@
-+2009-08-05 gettextize <bug-gnu-gettext@gnu.org>
++2009-08-11 gettextize <bug-gnu-gettext@gnu.org>
+
+ * Makefile.am (EXTRA_DIST): Add config.rpath, m4/ChangeLog.
+ * configure.ac (AC_CONFIG_FILES): Add po/Makefile.in.
@@ -49981,11 +49981,11 @@ index 0000000..6939dcc
+
diff --git a/m4/ChangeLog b/m4/ChangeLog
new file mode 100644
-index 0000000..f25b793
+index 0000000..8fca537
--- /dev/null
+++ b/m4/ChangeLog
@@ -0,0 +1,11 @@
-+2009-08-05 gettextize <bug-gnu-gettext@gnu.org>
++2009-08-11 gettextize <bug-gnu-gettext@gnu.org>
+
+ * gettext.m4: New file, from gettext-0.17.
+ * iconv.m4: New file, from gettext-0.17.
@@ -61425,11 +61425,11 @@ index 0000000..1c8ff70
+# End:
diff --git a/po/ChangeLog b/po/ChangeLog
new file mode 100644
-index 0000000..6cfe5b1
+index 0000000..5cc3193
--- /dev/null
+++ b/po/ChangeLog
@@ -0,0 +1,11 @@
-+2009-08-05 gettextize <bug-gnu-gettext@gnu.org>
++2009-08-11 gettextize <bug-gnu-gettext@gnu.org>
+
+ * Makefile.in.in: New file, from gettext-0.17.
+ * boldquot.sed: New file, from gettext-0.17.
diff --git a/debian/patches/0087-bluetooth-match-org.bluez-NameOwnerChanged.patch b/debian/patches/0087-bluetooth-match-org.bluez-NameOwnerChanged.patch
new file mode 100644
index 000000000..8dbceb10a
--- /dev/null
+++ b/debian/patches/0087-bluetooth-match-org.bluez-NameOwnerChanged.patch
@@ -0,0 +1,34 @@
+From 3c7cae3d80622d8390b2ec8ff939216a403cd5de Mon Sep 17 00:00:00 2001
+From: =?utf-8?q?Marc-Andr=C3=A9=20Lureau?= <marc-andre.lureau@nokia.com>
+Date: Tue, 11 Aug 2009 15:53:48 +0300
+Subject: [PATCH 87/87] bluetooth: match org.bluez NameOwnerChanged
+
+---
+ src/modules/bluetooth/bluetooth-util.c | 4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/modules/bluetooth/bluetooth-util.c b/src/modules/bluetooth/bluetooth-util.c
+index 66e1c31..326bd8b 100644
+--- a/src/modules/bluetooth/bluetooth-util.c
++++ b/src/modules/bluetooth/bluetooth-util.c
+@@ -758,7 +758,7 @@ pa_bluetooth_discovery* pa_bluetooth_discovery_get(pa_core *c) {
+
+ if (pa_dbus_add_matches(
+ pa_dbus_connection_get(y->connection), &err,
+- "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged'",
++ "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.bluez'",
+ "type='signal',sender='org.bluez',interface='org.bluez.Manager',member='AdapterAdded'",
+ "type='signal',sender='org.bluez',interface='org.bluez.Adapter',member='DeviceRemoved'",
+ "type='signal',sender='org.bluez',interface='org.bluez.Adapter',member='DeviceCreated'",
+@@ -809,7 +809,7 @@ void pa_bluetooth_discovery_unref(pa_bluetooth_discovery *y) {
+
+ if (y->connection) {
+ pa_dbus_remove_matches(pa_dbus_connection_get(y->connection),
+- "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged'",
++ "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.bluez'",
+ "type='signal',sender='org.bluez',interface='org.bluez.Manager',member='AdapterAdded'",
+ "type='signal',sender='org.bluez',interface='org.bluez.Manager',member='AdapterRemoved'",
+ "type='signal',sender='org.bluez',interface='org.bluez.Adapter',member='DeviceRemoved'",
+--
+1.6.3.3
+
diff --git a/debian/patches/series b/debian/patches/series
index 88c4c5ea7..ae94a6e8f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -82,4 +82,6 @@
0082-sink-input-don-t-make-volume-relative-to-dest-sink-r.patch
0083-alsa-port-the-old-alsa-modules.patch
0084-alsa-sink-volume-a-complex-mixer-module.patch
-0085-autofoo.patch
+0085-bluetooth-handle-absence-of-bluez-D-Bus-service-prop.patch
+0086-autofoo.patch
+0087-bluetooth-match-org.bluez-NameOwnerChanged.patch