pulseaudio 0.9.8 needs patch for corner case when you build with dbus but without HAL
authorMichael Lauer <mickey@vanille-media.de>
Tue, 4 Dec 2007 23:56:51 +0000 (23:56 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Tue, 4 Dec 2007 23:56:51 +0000 (23:56 +0000)
packages/pulseaudio/files/fix-dbus-without-hal.patch [new file with mode: 0644]
packages/pulseaudio/pulseaudio_0.9.8.bb

diff --git a/packages/pulseaudio/files/fix-dbus-without-hal.patch b/packages/pulseaudio/files/fix-dbus-without-hal.patch
new file mode 100644 (file)
index 0000000..f8ac567
--- /dev/null
@@ -0,0 +1,15 @@
+Index: pulseaudio-0.9.8/src/Makefile.am
+===================================================================
+--- pulseaudio-0.9.8.orig/src/Makefile.am
++++ pulseaudio-0.9.8/src/Makefile.am
+@@ -1424,8 +1424,8 @@
+ # HAL
+ libdbus_util_la_SOURCES = modules/dbus-util.c modules/dbus-util.h
+ libdbus_util_la_LDFLAGS = -avoid-version
+-libdbus_util_la_LIBADD = $(AM_LIBADD) $(HAL_LIBS) libpulsecore.la
+-libdbus_util_la_CFLAGS = $(AM_CFLAGS) $(HAL_CFLAGS)
++libdbus_util_la_LIBADD = $(AM_LIBADD) $(HAL_LIBS) $(DBUS_LIBS) libpulsecore.la
++libdbus_util_la_CFLAGS = $(AM_CFLAGS) $(HAL_CFLAGS) $(DBUS_CFLAGS)
+ module_hal_detect_la_SOURCES = modules/module-hal-detect.c
+ module_hal_detect_la_LDFLAGS = -module -avoid-version
index 0677fc8..93c8ffb 100644 (file)
@@ -3,12 +3,15 @@ require pulse.inc
 DEPENDS += "dbus"
 
 # this is not correct (see below)
-SRC_URI += "file://disable-using-glibc-tls.patch;patch=1"
+SRC_URI += "\
+  file://disable-using-glibc-tls.patch;patch=1 \
+  file://fix-dbus-without-hal.patch;patch=1 \
+"            
 
 PR = "r0"
 
 # problems w/ pulseaudio 0.9.8 atm:
-# 1.) needs libtool >= 1.5.24 (yes, any older version will NOT work)
+# 1.) needs libltdl >= 1.5.24 (yes, any older version will NOT work at runtime)
 # 2.) doesn't build w/ glibc TLS support (hence patched out)
 DEFAULT_PREFERENCE = "-1"