summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorryoon <ryoon>2017-01-21 19:32:11 +0000
committerryoon <ryoon>2017-01-21 19:32:11 +0000
commitca9830f1470ff0b1ae8124c9a666c0fac8a26ffb (patch)
tree1ea6b48b199bf1b3b4ef242756a9380a6828629f
parent86be9d7eb6a294ffb635dc01b4f9fee50f14559c (diff)
downloadpkgsrc-ca9830f1470ff0b1ae8124c9a666c0fac8a26ffb.tar.gz
Update to 10.0
Changelog: # PulseAudio 10.0 release notes ## Changes at a glance * Automatically switch Bluetooth profile when using VoIP applications * New module for prioritizing passthrough streams (module-allow-passthrough) * Fixed hotplugging support for USB surround sound cards * Separate volumes for Bluetooth A2DP and HSP profiles * memfd-based shared memory mechanism enabled by default * Removed module-xenpv-sink * Dropped dependency to json-c * When using systemd to start PulseAudio, pulseaudio.socket is always started first * Compatibility with OpenSSL 1.1.0 * Clarified qpaeq license ## Notes for end users ### Automatically switch Bluetooth profile when using VoIP applications Bluetooth headsets typically support both the A2DP profile, which is suitable for music, and the HSP profile, which is suitable for telephony use cases. module-bluetooth-policy will now automatically switch the profile of a Bluetooth headset from A2DP to HSP/HFP when an application creates a recording stream with property media.role=phone (telephony applications should set that property for their streams). When the stream goes away, the profile gets restored back to A2DP. This way the user doesn't have to manually switch the profiles when starting and stopping a call. This behaviour can be disabled by giving argument auto_switch=false to module-bluetooth-policy. ### New module for prioritizing passthrough streams (module-allow-passthrough) Passthrough streams are streams whose content must go completely unaltered from the application to the sound card, and they are mainly used for playing back compressed audio through an S/PDIF connection. When a passthrough stream is playing to a device, no other streams can play at the same time to the same device, and if there's already something playing when a passthrough stream is created, the passthrough stream creation will normally fail. Now we have a new module, called module-allow-passthrough, which will give higher priority to passthrough streams, so that if there are other streams playing when a passthrough stream is created, those other streams will be moved out of the way to a dummy device. ### Fixed hotplugging support for USB surround sound cards A long-standing bug that prevented PulseAudio from using any hotplugged USB surround sound cards has been fixed. ### Separate volumes for Bluetooth A2DP and HSP profiles The Bluetooth sink and source names are now different depending on whether the active profile is A2DP or HSP. This allows PulseAudio to store different volumes for A2DP and HSP. Due to different mechanisms for implementing volume control between the profiles, trying to use the same volume value in PulseAudio doesn't actually result in the same perceived volume, so it's better not to try to use the same volume. As an unfortunate transition effect, volumes saved earlier with an older PulseAudio version won't have effect in the new PulseAudio version, so all Bluetooth devices will have their volume reset to the default value when running the new PulseAudio version for the first time. This only affects BlueZ 5 users. The same change was done already earlier for PulseAudio's BlueZ 4 code. ### memfd-based shared memory mechanism enabled by default The memfd-based shared memory mechanism that was implemented in 9.0 is now enabled by default. This shouldn't cause any user-visible changes in behaviour, except if you're using the Firejail sandboxing software, which doesn't work with PulseAudio's old shared memory mechanism. If desired, the feature can still be disabled by setting "enable-memfd = no" either in daemon.conf (for disabling it at the server side) or in client.conf (for disabling it at the client side). ### Removed module-xenpv-sink module-xenpv-sink was removed, because it's probably not used by anyone. If you use it, please let us know. ## Notes for packagers ### Dropped dependency to json-c libpulse previously used json-c internally, which forced applications to link to json-c too. That caused crashing in some GLib applications, because json-c and json-glib both use the same name for some functions. To solve this, we implemented the necessary JSON functionality directly in libpulse, so we don't depend on json-c any more. ### When using systemd to start PulseAudio, pulseaudio.socket is always started first The pulseaudio.service unit now depends on pulseaudio.socket, meaning that before systemd starts PulseAudio, it will always first set up the socket. This is done to avoid confusing behaviour in certain corner cases (see the comments in pulseaudio.service for a more detailed explanation). ### Compatibility with OpenSSL 1.1.0 OpenSSL, which is used by module-raop-sink, broke backwards compatibility in the 1.1.0 release. PulseAudio now supports both 1.1.0 and older versions. ### Clarified qpaeq license Most of PulseAudio is licensed under LGPL, but the "qpaeq" equalizer GUI is licensed under AGPL. That hasn't previously been mentioned anywhere else than in the qpaeq source code itself. Therefore, distributions that tag their packages with license information have likely used incorrect information. The license of qpaeq hasn't changed, but the use of AGPL is now correctly noted in the top-level LICENSE file.
-rw-r--r--audio/pulseaudio/Makefile6
-rw-r--r--audio/pulseaudio/PLIST7
-rw-r--r--audio/pulseaudio/distinfo12
-rw-r--r--audio/pulseaudio/patches/patch-configure.ac4
4 files changed, 16 insertions, 13 deletions
diff --git a/audio/pulseaudio/Makefile b/audio/pulseaudio/Makefile
index 9c0a2169c87..294db1281f9 100644
--- a/audio/pulseaudio/Makefile
+++ b/audio/pulseaudio/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.116 2016/12/03 21:57:47 marino Exp $
+# $NetBSD: Makefile,v 1.117 2017/01/21 19:32:11 ryoon Exp $
-DISTNAME= pulseaudio-9.0
-PKGREVISION= 1
+DISTNAME= pulseaudio-10.0
CATEGORIES= audio
MASTER_SITES= http://freedesktop.org/software/pulseaudio/releases/
EXTRACT_SUFX= .tar.xz
@@ -125,6 +124,5 @@ pre-configure:
.include "../../devel/libltdl/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../sysutils/dbus/buildlink3.mk"
-.include "../../textproc/json-c/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/audio/pulseaudio/PLIST b/audio/pulseaudio/PLIST
index 2c54c72f904..648f8409ce5 100644
--- a/audio/pulseaudio/PLIST
+++ b/audio/pulseaudio/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.23 2016/08/06 15:56:50 richard Exp $
+@comment $NetBSD: PLIST,v 1.24 2017/01/21 19:32:11 ryoon Exp $
bin/esdcompat
bin/pacat
bin/pacmd
@@ -81,6 +81,8 @@ ${PLIST.alsa}lib/pulse-${PKGVERSION}/modules/module-alsa-sink.a
${PLIST.alsa}lib/pulse-${PKGVERSION}/modules/module-alsa-sink.so
${PLIST.alsa}lib/pulse-${PKGVERSION}/modules/module-alsa-source.a
${PLIST.alsa}lib/pulse-${PKGVERSION}/modules/module-alsa-source.so
+lib/pulse-${PKGVERSION}/modules/module-allow-passthrough.a
+lib/pulse-${PKGVERSION}/modules/module-allow-passthrough.so
lib/pulse-${PKGVERSION}/modules/module-always-sink.a
lib/pulse-${PKGVERSION}/modules/module-always-sink.so
lib/pulse-${PKGVERSION}/modules/module-augment-properties.a
@@ -267,6 +269,7 @@ share/examples/pulseaudio/pulseaudio-system.conf
${PLIST.x11}share/examples/pulseaudio/pulseaudio.desktop
share/examples/pulseaudio/system.pa
share/locale/as/LC_MESSAGES/pulseaudio.mo
+share/locale/be/LC_MESSAGES/pulseaudio.mo
share/locale/bn_IN/LC_MESSAGES/pulseaudio.mo
share/locale/ca/LC_MESSAGES/pulseaudio.mo
share/locale/cs/LC_MESSAGES/pulseaudio.mo
@@ -276,6 +279,7 @@ share/locale/el/LC_MESSAGES/pulseaudio.mo
share/locale/es/LC_MESSAGES/pulseaudio.mo
share/locale/fi/LC_MESSAGES/pulseaudio.mo
share/locale/fr/LC_MESSAGES/pulseaudio.mo
+share/locale/gl/LC_MESSAGES/pulseaudio.mo
share/locale/gu/LC_MESSAGES/pulseaudio.mo
share/locale/he/LC_MESSAGES/pulseaudio.mo
share/locale/hi/LC_MESSAGES/pulseaudio.mo
@@ -285,6 +289,7 @@ share/locale/it/LC_MESSAGES/pulseaudio.mo
share/locale/ja/LC_MESSAGES/pulseaudio.mo
share/locale/kn/LC_MESSAGES/pulseaudio.mo
share/locale/ko/LC_MESSAGES/pulseaudio.mo
+share/locale/lt/LC_MESSAGES/pulseaudio.mo
share/locale/ml/LC_MESSAGES/pulseaudio.mo
share/locale/mr/LC_MESSAGES/pulseaudio.mo
share/locale/nl/LC_MESSAGES/pulseaudio.mo
diff --git a/audio/pulseaudio/distinfo b/audio/pulseaudio/distinfo
index 17811e3846e..5f2081b809e 100644
--- a/audio/pulseaudio/distinfo
+++ b/audio/pulseaudio/distinfo
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.59 2016/08/04 16:45:55 ryoon Exp $
+$NetBSD: distinfo,v 1.60 2017/01/21 19:32:11 ryoon Exp $
-SHA1 (pulseaudio-9.0.tar.xz) = d9a9d7cb667ed95ee1de4b6544d5c7444c5a0064
-RMD160 (pulseaudio-9.0.tar.xz) = bab63483ff39e462a0701fcd612fea9f1ebe1173
-SHA512 (pulseaudio-9.0.tar.xz) = 2177d4ab2ab7ded43d6eb5ece763504bdd614f9bdc27ab007894f8f7eed3fd0006a5b7550e5fd099d1877423524bc2baa22775372c8cefd9b772c28134d3e55a
-Size (pulseaudio-9.0.tar.xz) = 1537568 bytes
+SHA1 (pulseaudio-10.0.tar.xz) = ab7cc41a2dc2b9da0794e3a51a4eb7e82e7da511
+RMD160 (pulseaudio-10.0.tar.xz) = e237245db82ddb9069b7b80435ef1d4867d7609e
+SHA512 (pulseaudio-10.0.tar.xz) = 11d98b4b2000a41bdea92df253409452bc9b77d8bb309b6d14c439e3b902e3f90c69da00daff409e3859a54ad01c63a75be5723616bdcb492801d622a6406481
+Size (pulseaudio-10.0.tar.xz) = 1608040 bytes
SHA1 (patch-aa) = 01d6a4f3db5b61e3e8cb2956b53676d86692f846
-SHA1 (patch-configure.ac) = e8b4abd2f5a51668b3ba370a2c3b49ba5bcc9c6a
+SHA1 (patch-configure.ac) = d1bc64acb4ec29126cdbf1e186d4d9fd92aa4241
SHA1 (patch-src_Makefile.am) = debe40be5d1155f6cb0d5ae90119dece4e090b02
SHA1 (patch-src_modules_module-detect.c) = f202194b03a2023959d772392d58297f963f0ada
SHA1 (patch-src_modules_oss_module-oss.c) = 399ac178ae832619253ce8dd985edbed23db86e7
diff --git a/audio/pulseaudio/patches/patch-configure.ac b/audio/pulseaudio/patches/patch-configure.ac
index 054a061c5ff..4e6c0890c02 100644
--- a/audio/pulseaudio/patches/patch-configure.ac
+++ b/audio/pulseaudio/patches/patch-configure.ac
@@ -1,4 +1,4 @@
-$NetBSD: patch-configure.ac,v 1.7 2016/08/04 16:45:55 ryoon Exp $
+$NetBSD: patch-configure.ac,v 1.8 2017/01/21 19:32:11 ryoon Exp $
* Don't assume sys/capability.h is guaranteed present on Linux.
* Fix NetBSD detection for libatomics_ops check.
@@ -15,7 +15,7 @@ $NetBSD: patch-configure.ac,v 1.7 2016/08/04 16:45:55 ryoon Exp $
AC_PREREQ(2.63)
-AC_INIT([pulseaudio],[m4_esyscmd(./git-version-gen .tarball-version)],[pulseaudio-discuss (at) lists (dot) freedesktop (dot) org],[pulseaudio],[http://pulseaudio.org/])
-+AC_INIT([pulseaudio],[9.0],[pulseaudio-discuss (at) lists (dot) freedesktop (dot) org],[pulseaudio],[http://pulseaudio.org/])
++AC_INIT([pulseaudio],[10.0],[pulseaudio-discuss (at) lists (dot) freedesktop (dot) org],[pulseaudio],[http://pulseaudio.org/])
AC_CONFIG_SRCDIR([src/daemon/main.c])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_HEADERS([config.h])