pulseaudio: uses fork(), not available on noMMU platforms
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 17 May 2014 14:40:31 +0000 (16:40 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 17 May 2014 21:27:42 +0000 (23:27 +0200)
Even though pulseaudio has some HAVE_FORK compile-time conditionals to
avoid using fork(), those parts of pulseaudio are not using it. Since
using pulseaudio on !MMU platforms is fairly unlikely, we simply
disable it when no MMU is available, and propagate this dependency to
the appropriate locations.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/gstreamer/gst-plugins-good/Config.in
package/gstreamer1/gst1-plugins-good/Config.in
package/mpd/Config.in
package/pulseaudio/Config.in

index 9c2b884dea13810da96879f016d956f39aaaf3ca..3ec93cfa10bb7ccf3ac97038f3356e22650b61e0 100644 (file)
@@ -207,6 +207,7 @@ config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_OSS4
 config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_PULSE
        depends on BR2_TOOLCHAIN_HAS_THREADS # pulseaudio
        depends on BR2_LARGEFILE # pulseaudio -> libsndfile
+       depends on BR2_USE_MMU # pulseaudio
        select BR2_PACKAGE_PULSEAUDIO
        bool "pulseaudio"
 
index 9fd6114f3b5d50bd39c857f5f23d8ce2e1dc53e3..7159c5a0a34e3d04bd85da45f77a1486bbe84e56 100644 (file)
@@ -303,6 +303,7 @@ comment "gdkpixbuf needs a toolchain w/ wchar, threads"
 config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_PULSE
        depends on BR2_TOOLCHAIN_HAS_THREADS # pulseaudio
        depends on BR2_LARGEFILE # pulseaudio -> libsndfile
+       depends on BR2_USE_MMU # pulseaudio
        select BR2_PACKAGE_PULSEAUDIO
        bool "pulseaudio"
        help
index 7237b89d3f9a751d05bee258612ba2636ff2904f..1bf7ad121d1ac766b083e2ce525dd20d4b445261 100644 (file)
@@ -48,6 +48,7 @@ config BR2_PACKAGE_MPD_PULSEAUDIO
        bool "pulseaudio"
        depends on BR2_TOOLCHAIN_HAS_THREADS # pulseaudio
        depends on BR2_LARGEFILE # pulseaudio -> libsndfile
+       depends on BR2_USE_MMU # pulseaudio
        select BR2_PACKAGE_PULSEAUDIO
        help
          Enable pulseaudio output support.
index e5b9d8a476dab3b2059e4e6b3a0581c30c035d29..ac6222c59ac145019081913ff668d7350bd792b4 100644 (file)
@@ -7,6 +7,7 @@ config BR2_PACKAGE_PULSEAUDIO
        select BR2_PACKAGE_LIBSNDFILE
        select BR2_PACKAGE_SPEEX
        depends on BR2_LARGEFILE
+       depends on BR2_USE_MMU # fork()
        help
          PulseAudio is a sound system for POSIX OSes, meaning that it
          is a proxy for your sound applications. It allows you to do
@@ -30,4 +31,5 @@ config BR2_PACKAGE_PULSEAUDIO_DAEMON
 endif
 
 comment "pulseaudio needs a toolchain w/ wchar, largefile, threads"
+       depends on BR2_USE_MMU
        depends on !BR2_USE_WCHAR || !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS