Please find attached the debdiff I did between the current version
shipped by ubuntu and my own.
I don't know if this is a the proper way to do a patch for a deb
package. Don't hesitate to tell me if it is wrong.

Regards
diff -u pulseaudio-0.9.14/debian/pulseaudio.install pulseaudio-0.9.14/debian/pulseaudio.install
--- pulseaudio-0.9.14/debian/pulseaudio.install
+++ pulseaudio-0.9.14/debian/pulseaudio.install
@@ -31,15 +31,9 @@
 usr/lib/pulse-*/modules/module-alsa-sink.so
 usr/lib/pulse-*/modules/module-alsa-source.so
 usr/lib/pulse-*/modules/module-always-sink.so
-usr/lib/pulse-*/modules/libbluetooth-ipc.so
-usr/lib/pulse-*/modules/libbluetooth-sbc.so
-usr/lib/pulse-*/modules/module-bluetooth-device.so
-usr/lib/pulse-*/modules/module-bluetooth-discover.so
-usr/lib/pulse-*/modules/module-bluetooth-proximity.so
 usr/lib/pulse-*/modules/module-console-kit.so
 usr/lib/pulse-*/modules/module-device-restore.so
 usr/lib/pulse-*/modules/module-stream-restore.so
-usr/lib/pulseaudio/pulse/proximity-helper
 usr/lib/pulse-*/modules/module-cli-protocol-tcp.so
 usr/lib/pulse-*/modules/module-cli-protocol-unix.so
 usr/lib/pulse-*/modules/module-cli.so
diff -u pulseaudio-0.9.14/debian/control pulseaudio-0.9.14/debian/control
--- pulseaudio-0.9.14/debian/control
+++ pulseaudio-0.9.14/debian/control
@@ -220,6 +220,31 @@
  .
  This package contains debugging symbols for the PulseAudio GConf module.
 
+Package: pulseaudio-module-bluetooth
+Architecture: any
+Priority: extra
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Bluetooth module for PulseAudio sound server
+ PulseAudio, previously known as Polypaudio, is a sound server for POSIX and
+ WIN32 systems. It is a drop in replacement for the ESD sound server with
+ much better latency, mixing/re-sampling quality and overall architecture.
+ .
+ This module enables PulseAudio to work with bluetooth devices, like headset 
+ or audio gateway.
+ .
+ The module is called module-bluetooth
+
+Package: pulseaudio-module-bluetooth-dbg
+Architecture: any
+Priority: extra
+Depends: ${misc:Depends}, pulseaudio-module-bluetooth (= ${binary:Version})
+Description: Bluetooth module for PulseAudio sound server
+ PulseAudio, previously known as Polypaudio, is a sound server for POSIX and
+ WIN32 systems. It is a drop in replacement for the ESD sound server with
+ much better latency, mixing/re-sampling quality and overall architecture.
+ .
+ This package contains debugging symbols for the PulseAudio bluetooth module.
+
 Package: pulseaudio-module-x11
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}, pulseaudio-utils
diff -u pulseaudio-0.9.14/debian/changelog pulseaudio-0.9.14/debian/changelog
--- pulseaudio-0.9.14/debian/changelog
+++ pulseaudio-0.9.14/debian/changelog
@@ -1,3 +1,14 @@
+pulseaudio (0.9.14-0ubuntu3) jaunty; urgency=low
+
+  * debian/control:
+    - create a separate package for bluetooth module
+  * debian/pulseaudio-module-bluetooth.install
+    - put files for the separate bluetooth module package
+  * debian/pulseaudio.install
+    - remove files of the separate bluetooth module package
+
+ -- Baptiste Mille-Mathias <baptiste.millemath...@gmail.com>  Sun, 01 Feb 2009 15:03:45 +0100
+
 pulseaudio (0.9.14-0ubuntu2) jaunty; urgency=low
 
   * Add fixes from trunk:
only in patch2:
unchanged:
--- pulseaudio-0.9.14.orig/debian/pulseaudio-module-bluetooth.install
+++ pulseaudio-0.9.14/debian/pulseaudio-module-bluetooth.install
@@ -0,0 +1,6 @@
+usr/lib/pulse-*/modules/module-bluetooth-proximity.so
+usr/lib/pulse-*/modules/module-bluetooth-device.so
+usr/lib/pulse-*/modules/module-bluetooth-discover.so
+usr/lib/pulse-*/modules/libbluetooth-ipc.so
+usr/lib/pulse-*/modules/libbluetooth-sbc.so
+usr/lib/pulseaudio/pulse/proximity-helper

Reply via email to