package/pulseaudio: bump version to 11.0
PATCH 1/1 package/pulseaudio: bump version to 11.0
Release notes:
https://www.freedesktop.org/wiki/Software/PulseAudio/Notes/10.0/
https://www.freedesktop.org/wiki/Software/PulseAudio/Notes/11.0/
Dependency to json-c was dropped, updated reverse dependencies as well and added optional dependency to libatomic_ops
https://cgit.freedesktop.org/pulseaudio/pulseaudio/tree/configure.ac#n250
when __sync_bool_compare_and_swap is not available.
Removed patch applied upstream:
0002-webrtc-C-11-is-only-required-for-WebRTC-support.patch
--- package/efl/Config.in | 1 - package/espeak/Config.in | 1 - package/gstreamer/gst-plugins-good/Config.in | 1 - package/gstreamer1/gst1-plugins-good/Config.in | 1 - package/kodi/Config.in | 1 - package/mpd/Config.in | 1 - ...-C-11-is-only-required-for-WebRTC-support.patch | 41 ---------------------- package/pulseaudio/Config.in | 15 ++++++-- package/pulseaudio/pulseaudio.hash | 8 +++-- package/pulseaudio/pulseaudio.mk | 20 +++++------ 10 files changed, 26 insertions(+), 64 deletions(-) delete mode 100644 package/pulseaudio/0002-webrtc-C-11-is-only-required-for-WebRTC-support.patch
package/efl/Config.in +0 -1
@@ -97,7 +97,6 @@ config BR2_PACKAGE_EFL_LIBSNDFILE config BR2_PACKAGE_EFL_PULSEAUDIO bool "Enable pulseaudio support (recommended)" default y - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pulseaudio -> json-c select BR2_PACKAGE_PULSEAUDIO help The only audio output method supported by Ecore right now is
package/espeak/Config.in +0 -1
@@ -35,7 +35,6 @@ config BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_ALSA config BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_PULSEAUDIO bool "pulseaudio" - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pulseaudio -> json-c select BR2_PACKAGE_PULSEAUDIO endchoice
package/gstreamer/gst-plugins-good/Config.in +0 -1
@@ -205,7 +205,6 @@ config BR2_PACKAGE_GST_PLUGINS_GOOD_PLUGIN_PULSE depends on BR2_TOOLCHAIN_HAS_THREADS # pulseaudio depends on BR2_USE_MMU # pulseaudio depends on !BR2_STATIC_LIBS # pulseaudio - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pulseaudio -> json-c select BR2_PACKAGE_PULSEAUDIO comment "pulseaudio support needs a toolchain w/ threads, dynamic library"
package/gstreamer1/gst1-plugins-good/Config.in +0 -1
@@ -320,7 +320,6 @@ config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_PULSE depends on BR2_TOOLCHAIN_HAS_THREADS # pulseaudio depends on BR2_USE_MMU # pulseaudio depends on !BR2_STATIC_LIBS # pulseaudio - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pulseaudio -> json-c select BR2_PACKAGE_PULSEAUDIO help PulseAudio plugin library
package/kodi/Config.in +0 -1
@@ -194,7 +194,6 @@ config BR2_PACKAGE_KODI_NONFREE config BR2_PACKAGE_KODI_PULSEAUDIO bool "pulseaudio" - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pulseaudio -> json-c # Pulseaudio support in kodi needs glib support in Pulseaudio, # see FindPulseAudio.cmake. Kodi meets all dependencies of # libglib2, so there is no need to propagate them here.
package/mpd/Config.in +0 -1
@@ -274,7 +274,6 @@ config BR2_PACKAGE_MPD_OSS config BR2_PACKAGE_MPD_PULSEAUDIO bool "pulseaudio" depends on !BR2_STATIC_LIBS # pulseaudio - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pulseaudio -> json-c select BR2_PACKAGE_PULSEAUDIO help Enable pulseaudio output support.
package/pulseaudio/0002-webrtc-C-11-is-only-required-for-WebRTC-support.patch deleted +0 -41
41 lines not on this page · raw message
package/pulseaudio/Config.in +12 -3
@@ -1,13 +1,22 @@ +config BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC + bool + default y if BR2_PACKAGE_LIBATOMIC_OPS_ARCH_SUPPORTS || \ + BR2_TOOLCHAIN_HAS_SYNC_4 + +config BR2_PACKAGE_PULSEAUDIO_ENABLE_ATOMIC + bool + select BR2_PACKAGE_LIBATOMIC_OPS if !BR2_TOOLCHAIN_HAS_SYNC_4 + config BR2_PACKAGE_PULSEAUDIO bool "pulseaudio" + depends on BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC depends on BR2_USE_WCHAR depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_STATIC_LIBS - depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-c depends on BR2_USE_MMU # fork() select BR2_PACKAGE_LIBTOOL - select BR2_PACKAGE_JSON_C select BR2_PACKAGE_LIBSNDFILE + select BR2_PACKAGE_PULSEAUDIO_ENABLE_ATOMIC select BR2_PACKAGE_SPEEX help PulseAudio is a sound system for POSIX OSes, meaning that it
@@ -33,5 +42,5 @@ endif comment "pulseaudio needs a toolchain w/ wchar, threads, dynamic library" depends on BR2_USE_MMU - depends on BR2_TOOLCHAIN_HAS_SYNC_4 + depends on BR2_PACKAGE_PULSEAUDIO_HAS_ATOMIC depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
package/pulseaudio/pulseaudio.hash +5 -3
@@ -1,3 +1,5 @@ -# From http://freedesktop.org/software/pulseaudio/releases/pulseaudio-9.0.tar.xz.{md5,sha1} -md5 da7162541b3a9bc20576dbd0d7d1489a pulseaudio-9.0.tar.xz -sha1 d9a9d7cb667ed95ee1de4b6544d5c7444c5a0064 pulseaudio-9.0.tar.xz +# From http://freedesktop.org/software/pulseaudio/releases/pulseaudio-11.0.tar.xz.{md5,sha1} +md5 c5fe1cd05f5306b1a0fba5099f0e9e37 pulseaudio-11.0.tar.xz +sha1 df04f9ffb3fc1de9255f8b88e5d824fcd942607d pulseaudio-11.0.tar.xz +# Locally computed +sha256 072305d4018fc5e75bb1b45ee6b938fa52fc9fd27493bf327415ef89ed14c969 pulseaudio-11.0.tar.xz
package/pulseaudio/pulseaudio.mk +9 -11
@@ -4,7 +4,7 @@ # ################################################################################ -PULSEAUDIO_VERSION = 9.0 +PULSEAUDIO_VERSION = 11.0 PULSEAUDIO_SOURCE = pulseaudio-$(PULSEAUDIO_VERSION).tar.xz PULSEAUDIO_SITE = http://freedesktop.org/software/pulseaudio/releases PULSEAUDIO_INSTALL_STAGING = YES
@@ -15,17 +15,8 @@ PULSEAUDIO_CONF_OPTS = \ --disable-legacy-database-entry-format \ --disable-manpages -# Make sure we don't detect libatomic_ops. Indeed, since pulseaudio -# requires json-c, which needs 4 bytes __sync builtins, there should -# be no need for pulseaudio to rely on libatomic_ops. -PULSEAUDIO_CONF_ENV += \ - ac_cv_header_atomic_ops_h=no - -# 0002-webrtc-C-11-is-only-required-for-WebRTC-support.patch -PULSEAUDIO_AUTORECONF = YES - PULSEAUDIO_DEPENDENCIES = \ - host-pkgconf libtool json-c libsndfile speex host-intltool \ + host-pkgconf libtool libsndfile speex host-intltool \ $(if $(BR2_PACKAGE_LIBSAMPLERATE),libsamplerate) \ $(if $(BR2_PACKAGE_ALSA_LIB),alsa-lib) \ $(if $(BR2_PACKAGE_LIBGLIB2),libglib2) \
@@ -49,6 +40,13 @@ else PULSEAUDIO_CONF_OPTS += --disable-jack endif +ifeq ($(BR2_PACKAGE_LIBATOMIC_OPS),y) +PULSEAUDIO_DEPENDENCIES += libatomic_ops +ifeq ($(BR2_sparc_v8)$(BR2_sparc_leon3),y) +PULSEAUDIO_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -DAO_NO_SPARC_V9" +endif +endif + ifeq ($(BR2_PACKAGE_ORC),y) PULSEAUDIO_DEPENDENCIES += orc PULSEAUDIO_CONF_ENV += ORCC=$(HOST_DIR)/bin/orcc
Signature · 1 line
2.11.0
PATCH 1/1 package/pulseaudio: bump version to 11.0
Hello,
Quoted 5 lines · Bernd Kuhls
Release notes:
https://www.freedesktop.org/wiki/Software/PulseAudio/Notes/10.0/
https://www.freedesktop.org/wiki/Software/PulseAudio/Notes/11.0/Dependency to json-c was dropped, updated reverse dependencies as well
When doing this propagation, you removed depends on BR2_TOOLCHAIN_HAS_SYNC_4 from the options, but not from the Config.in comment. Example with BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_PULSE, where you did not modify:
comment "pulseaudio support needs a toolchain w/ threads, dynamic library"
depends on BR2_USE_MMU
depends on BR2_TOOLCHAIN_HAS_SYNC_4
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
Best regards,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com