Patchwork pulseaudio: add missing switch-on-port-available dependency to the server

login
register
mail settings
Submitter Ross Burton
Date Oct. 11, 2012, 3:18 p.m.
Message ID <1349968730-24071-1-git-send-email-ross.burton@intel.com>
Download mbox | patch
Permalink /patch/38095/
State Accepted
Commit b0fd984dd132e332056863dcc11b312141d443fd
Headers show

Comments

Ross Burton - Oct. 11, 2012, 3:18 p.m.
The PulseAudio server recently added a dependency by default on the
switch-if-port-available module, but this was not enforced by the package
dependencies so the server won't start.

Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/recipes-multimedia/pulseaudio/pulseaudio.inc    |    3 ++-
 meta/recipes-multimedia/pulseaudio/pulseaudio_2.1.bb |    2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)
Saul Wold - Oct. 18, 2012, 8:21 p.m.
On 10/11/2012 08:18 AM, Ross Burton wrote:
> The PulseAudio server recently added a dependency by default on the
> switch-if-port-available module, but this was not enforced by the package
> dependencies so the server won't start.
>
> Signed-off-by: Ross Burton <ross.burton@intel.com>
> ---
>   meta/recipes-multimedia/pulseaudio/pulseaudio.inc    |    3 ++-
>   meta/recipes-multimedia/pulseaudio/pulseaudio_2.1.bb |    2 +-
>   2 files changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
> index 3003eaa..46e84c3 100644
> --- a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
> +++ b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
> @@ -137,7 +137,8 @@ RDEPENDS_pulseaudio-server = " \
>       pulseaudio-module-always-sink \
>       pulseaudio-module-suspend-on-idle \
>       pulseaudio-module-position-event-sounds \
> -    pulseaudio-module-role-cork "
> +    pulseaudio-module-role-cork \
> +    pulseaudio-module-switch-on-port-available"
>
>   RDEPENDS_pulseaudio-module-console-kit =+ "consolekit"
>   RDEPENDS_pulseaudio-server += "\
> diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio_2.1.bb b/meta/recipes-multimedia/pulseaudio/pulseaudio_2.1.bb
> index 1c2c9f7..a10b953 100644
> --- a/meta/recipes-multimedia/pulseaudio/pulseaudio_2.1.bb
> +++ b/meta/recipes-multimedia/pulseaudio/pulseaudio_2.1.bb
> @@ -1,6 +1,6 @@
>   require pulseaudio.inc
>
> -PR = "r6"
> +PR = "r7"
>
>   DEPENDS += "libjson gdbm speex libxml-parser-perl-native"
>
>

Merged into OE-Core

Thanks
	Sau!

Patch

diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
index 3003eaa..46e84c3 100644
--- a/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
+++ b/meta/recipes-multimedia/pulseaudio/pulseaudio.inc
@@ -137,7 +137,8 @@  RDEPENDS_pulseaudio-server = " \
     pulseaudio-module-always-sink \
     pulseaudio-module-suspend-on-idle \
     pulseaudio-module-position-event-sounds \
-    pulseaudio-module-role-cork "
+    pulseaudio-module-role-cork \
+    pulseaudio-module-switch-on-port-available"
 
 RDEPENDS_pulseaudio-module-console-kit =+ "consolekit"
 RDEPENDS_pulseaudio-server += "\
diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio_2.1.bb b/meta/recipes-multimedia/pulseaudio/pulseaudio_2.1.bb
index 1c2c9f7..a10b953 100644
--- a/meta/recipes-multimedia/pulseaudio/pulseaudio_2.1.bb
+++ b/meta/recipes-multimedia/pulseaudio/pulseaudio_2.1.bb
@@ -1,6 +1,6 @@ 
 require pulseaudio.inc
 
-PR = "r6"
+PR = "r7"
 
 DEPENDS += "libjson gdbm speex libxml-parser-perl-native"