pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/pulseaudio Update to 5.0 from 2.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/5d14f76e4784
branches: trunk
changeset: 635638:5d14f76e4784
user: ryoon <ryoon%pkgsrc.org@localhost>
date: Mon Jun 09 13:08:19 2014 +0000
description:
Update to 5.0 from 2.1
* Remove dependency to sysutils/hal, hald backend is removed.
* Use deprecated OSS backend under NetBSD (alsa backend should be used?)
Changelog:
PulseAudio 5.0
Changes at a glance:
* BlueZ 5 support (A2DP only)
* Reimplementation of the tunnel modules
* Native log target support for systemd-journal
* Resampler refactoring
* --monitor-stream option for parecord and parec
* "latency_msec" argument for module-rtp-recv
* "inhibit_auto_suspend" argument for module-rtp-send
* "auto" argument for module-tunnel-sink and module-tunnel-source
* Removed module-bluetooth-proximity
* Jack detection for line out
* Laptop internal surround speaker volume support
* Improved float->s16 and s16->float sample conversion for ARM NEON
* "Available" flag for card profiles
* Removed module-dbus-protocol from the default configuration
* Lots of other enhancements, bug fixes, and documenation and i18n updates
Detailed change log:
http://www.freedesktop.org/wiki/Software/PulseAudio/Notes/5.0
PulseAudio 4.0
Changes at a glance:
* Better handling of low latency requests
* Optimisations while mixing (generic, ARM NEON)
* Default resampler is now speex-float-1 (lower CPU usage)
* Major Bluetooth refactoring for better reliability and easier maintenance
* Fixes for graceful hand-off to/from JACK
* New module to apply ducking based on stream roles
* Echo canceller infrastructure fixes
* Bash and zsh completion for command line tools
* Solaris and OS X fixes
* Lots of other enhancements, bug fixes, and documenation and i18n updates
Detailed change log:
http://www.freedesktop.org/wiki/Software/PulseAudio/Notes/4.0
PulseAudio 3.0 Release Notes
We're, back with another shiny PulseAudio release! While the 3.0 release was a little delayed, it brings a number of important improvements, and bug fixes. A summary of changes follows.
Notable Changes
ALSA Use Case Manager (UCM) support
Runtime editable LADSPA filter parameters
Out-of-the-box support for Bluetooth sources
ARM NEON optimisations
Configurable device latency offset
Adhere to the XDG Base Directory Specification
Various ALSA changes
Lots of infrastructure improvements
Packaging
Bluetooth support requires now "sbc", a library for the SBC codec. The codec used to be included within PulseAudio, but it has now been split off into a separate library. It's available at
http://www.bluez.org.
Support for the "socket API" of BlueZ has been dropped in favour of the D-Bus based "media API". Due to this change, the minimum supported version of BlueZ is now 4.99. Also, make sure that you
don't have "Disable=Media" in /etc/bluetooth/audio.conf. And due to a bug in BlueZ, it's probably necessary to have "Disable=Socket", otherwise there will be problems with the A2DP profile.
Support for HAL has been removed. This shouldn't affect anyone, but if it does, please configure PulseAudio to use udev instead. module-hal-detect still exists for maintaining configuration file
compatibility, but all it does is to load module-udev-detect. module-hal-detect may get completely removed in 4.0.
diffstat:
audio/pulseaudio/Makefile | 19 +-
audio/pulseaudio/PLIST | 31 +-
audio/pulseaudio/buildlink3.mk | 6 +-
audio/pulseaudio/distinfo | 28 +-
audio/pulseaudio/patches/patch-aa | 20 +-
audio/pulseaudio/patches/patch-configure | 99 ----------
audio/pulseaudio/patches/patch-configure.ac | 83 +++++++++
audio/pulseaudio/patches/patch-dc | 19 --
audio/pulseaudio/patches/patch-src_Makefile.am | 24 ++
audio/pulseaudio/patches/patch-src_daemon_caps.c | 17 +
audio/pulseaudio/patches/patch-src_daemon_main.c | 19 ++
audio/pulseaudio/patches/patch-src_modules_module-detect.c | 32 +++
audio/pulseaudio/patches/patch-src_modules_oss_module-oss.c | 18 +
audio/pulseaudio/patches/patch-src_pulsecore_sample-util.h | 21 ++
audio/pulseaudio/patches/patch-src_pulsecore_semaphore-osx.c | 101 -----------
audio/pulseaudio/patches/patch-src_pulsecore_svolume__mmx.c | 20 +-
audio/pulseaudio/patches/patch-src_pulsecore_svolume__sse.c | 20 +-
audio/pulseaudio/patches/patch-src_tests_mult-s16-test.c | 21 ++
audio/pulseaudio/patches/patch-src_tests_once-test.c | 28 ---
audio/pulseaudio/patches/patch-src_tests_rtpoll-test.c | 22 ++
audio/pulseaudio/patches/patch-src_tests_rtstutter.c | 28 ---
21 files changed, 336 insertions(+), 340 deletions(-)
diffs (truncated from 964 to 300 lines):
diff -r 28ddaa496062 -r 5d14f76e4784 audio/pulseaudio/Makefile
--- a/audio/pulseaudio/Makefile Mon Jun 09 12:51:52 2014 +0000
+++ b/audio/pulseaudio/Makefile Mon Jun 09 13:08:19 2014 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.86 2014/05/27 15:51:45 pho Exp $
+# $NetBSD: Makefile,v 1.87 2014/06/09 13:08:19 ryoon Exp $
-DISTNAME= pulseaudio-2.1
-PKGREVISION= 17
+DISTNAME= pulseaudio-5.0
CATEGORIES= audio
MASTER_SITES= http://freedesktop.org/software/pulseaudio/releases/
EXTRACT_SUFX= .tar.xz
@@ -13,9 +12,11 @@
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
-USE_TOOLS+= gmake gm4 intltool msgfmt pkg-config
+USE_TOOLS+= aclocal autoheader autoconf automake gmake gm4 intltool msgfmt pkg-config
USE_LANGUAGES= c c++
+REPLACE_BASH= shell-completion/pulseaudio-bash-completion.sh
+
.include "../../mk/bsd.prefs.mk"
# Some tests are incompatible for NetBSD at least
.if ${OPSYS} == "NetBSD"
@@ -26,6 +27,8 @@
CONFIGURE_ENV+= ac_cv_tls=none
.endif
+CONFIGURE_ENV+= DATADIRNAME=${PKGLOCALEDIR}
+
# Wrong sys/capability.h assumptions, incompatible implementation:
.if ${OPSYS} == "FreeBSD"
CONFIGURE_ARGS+= --without-caps
@@ -34,6 +37,8 @@
CONFIGURE_ENV+= EGDIR=${EGDIR}
MAKE_ENV+= EGDIR=${EGDIR}
+MAKE_FLAGS+= bashcompletiondir=${PREFIX}/share/bash-completion/completions
+
CONFIGURE_ARGS+= --enable-samplerate
CONFIGURE_ARGS+= --disable-tcpwrap
CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q}
@@ -86,7 +91,6 @@
.if ${OPSYS} == "SunOS"
PLIST.sun= yes
. if ${OS_VERSION} == "5.11"
-PLIST.hal= yes
PLIST.oss= yes
. endif
.elif ${OPSYS} == "Darwin"
@@ -102,6 +106,10 @@
PKG_GROUPS+= ${PULSE_GROUP_ACCESS}
PKG_USERS= ${PULSE_USER}:${PULSE_GROUP}
+pre-configure:
+ set -e; cd ${WRKSRC}; \
+ aclocal; autoheader; automake -a --foreign -i; autoconf
+
.if ${OPSYS} != "Darwin"
.include "../../sysutils/consolekit/buildlink3.mk"
.endif
@@ -115,7 +123,6 @@
.include "../../security/openssl/buildlink3.mk"
.include "../../security/policykit/buildlink3.mk"
.include "../../sysutils/dbus/buildlink3.mk"
-.include "../../sysutils/hal/buildlink3.mk"
.include "../../textproc/json-c/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 28ddaa496062 -r 5d14f76e4784 audio/pulseaudio/PLIST
--- a/audio/pulseaudio/PLIST Mon Jun 09 12:51:52 2014 +0000
+++ b/audio/pulseaudio/PLIST Mon Jun 09 13:08:19 2014 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.13 2014/05/27 15:51:45 pho Exp $
+@comment $NetBSD: PLIST,v 1.14 2014/06/09 13:08:19 ryoon Exp $
bin/esdcompat
bin/pacat
bin/pacmd
@@ -13,8 +13,6 @@
bin/pulseaudio
${PLIST.x11}bin/start-pulseaudio-kde
${PLIST.x11}bin/start-pulseaudio-x11
-${PLIST.x11}share/examples/pulseaudio/pulseaudio-kde.desktop
-${PLIST.x11}share/examples/pulseaudio/pulseaudio.desktop
include/pulse/cdecl.h
include/pulse/channelmap.h
include/pulse/context.h
@@ -125,8 +123,6 @@
lib/pulse-${PKGVERSION}/modules/module-filter-apply.so
lib/pulse-${PKGVERSION}/modules/module-filter-heuristics.a
lib/pulse-${PKGVERSION}/modules/module-filter-heuristics.so
-${PLIST.hal}lib/pulse-${PKGVERSION}/modules/module-hal-detect.a
-${PLIST.hal}lib/pulse-${PKGVERSION}/modules/module-hal-detect.so
lib/pulse-${PKGVERSION}/modules/module-http-protocol-tcp.a
lib/pulse-${PKGVERSION}/modules/module-http-protocol-tcp.so
lib/pulse-${PKGVERSION}/modules/module-http-protocol-unix.a
@@ -137,8 +133,6 @@
lib/pulse-${PKGVERSION}/modules/module-ladspa-sink.so
lib/pulse-${PKGVERSION}/modules/module-loopback.a
lib/pulse-${PKGVERSION}/modules/module-loopback.so
-${PLIST.evdev}lib/pulse-${PKGVERSION}/modules/module-mmkbd-evdev.a
-${PLIST.evdev}lib/pulse-${PKGVERSION}/modules/module-mmkbd-evdev.so
lib/pulse-${PKGVERSION}/modules/module-match.a
lib/pulse-${PKGVERSION}/modules/module-match.so
lib/pulse-${PKGVERSION}/modules/module-native-protocol-fd.a
@@ -151,24 +145,28 @@
lib/pulse-${PKGVERSION}/modules/module-null-sink.so
lib/pulse-${PKGVERSION}/modules/module-null-source.a
lib/pulse-${PKGVERSION}/modules/module-null-source.so
-${PLIST.oss}lib/pulse-${PKGVERSION}/modules/module-oss.a
-${PLIST.oss}lib/pulse-${PKGVERSION}/modules/module-oss.so
+lib/pulse-${PKGVERSION}/modules/module-oss.a
+lib/pulse-${PKGVERSION}/modules/module-oss.so
lib/pulse-${PKGVERSION}/modules/module-pipe-sink.a
lib/pulse-${PKGVERSION}/modules/module-pipe-sink.so
lib/pulse-${PKGVERSION}/modules/module-pipe-source.a
lib/pulse-${PKGVERSION}/modules/module-pipe-source.so
lib/pulse-${PKGVERSION}/modules/module-position-event-sounds.a
lib/pulse-${PKGVERSION}/modules/module-position-event-sounds.so
-${PLIST.avahi}lib/pulse-${PKGVERSION}/modules/module-raop-discover.a
-${PLIST.avahi}lib/pulse-${PKGVERSION}/modules/module-raop-discover.so
+lib/pulse-${PKGVERSION}/modules/module-raop-discover.a
+lib/pulse-${PKGVERSION}/modules/module-raop-discover.so
lib/pulse-${PKGVERSION}/modules/module-raop-sink.a
lib/pulse-${PKGVERSION}/modules/module-raop-sink.so
lib/pulse-${PKGVERSION}/modules/module-remap-sink.a
lib/pulse-${PKGVERSION}/modules/module-remap-sink.so
+lib/pulse-${PKGVERSION}/modules/module-remap-source.a
+lib/pulse-${PKGVERSION}/modules/module-remap-source.so
lib/pulse-${PKGVERSION}/modules/module-rescue-streams.a
lib/pulse-${PKGVERSION}/modules/module-rescue-streams.so
lib/pulse-${PKGVERSION}/modules/module-role-cork.a
lib/pulse-${PKGVERSION}/modules/module-role-cork.so
+lib/pulse-${PKGVERSION}/modules/module-role-ducking.a
+lib/pulse-${PKGVERSION}/modules/module-role-ducking.so
lib/pulse-${PKGVERSION}/modules/module-rtp-recv.a
lib/pulse-${PKGVERSION}/modules/module-rtp-recv.so
lib/pulse-${PKGVERSION}/modules/module-rtp-send.a
@@ -183,8 +181,6 @@
lib/pulse-${PKGVERSION}/modules/module-sine-source.so
lib/pulse-${PKGVERSION}/modules/module-sine.a
lib/pulse-${PKGVERSION}/modules/module-sine.so
-${PLIST.sun}lib/pulse-${PKGVERSION}/modules/module-solaris.a
-${PLIST.sun}lib/pulse-${PKGVERSION}/modules/module-solaris.so
lib/pulse-${PKGVERSION}/modules/module-stream-restore.a
lib/pulse-${PKGVERSION}/modules/module-stream-restore.so
lib/pulse-${PKGVERSION}/modules/module-suspend-on-idle.a
@@ -193,8 +189,12 @@
lib/pulse-${PKGVERSION}/modules/module-switch-on-connect.so
lib/pulse-${PKGVERSION}/modules/module-switch-on-port-available.a
lib/pulse-${PKGVERSION}/modules/module-switch-on-port-available.so
+lib/pulse-${PKGVERSION}/modules/module-tunnel-sink-new.a
+lib/pulse-${PKGVERSION}/modules/module-tunnel-sink-new.so
lib/pulse-${PKGVERSION}/modules/module-tunnel-sink.a
lib/pulse-${PKGVERSION}/modules/module-tunnel-sink.so
+lib/pulse-${PKGVERSION}/modules/module-tunnel-source-new.a
+lib/pulse-${PKGVERSION}/modules/module-tunnel-source-new.so
lib/pulse-${PKGVERSION}/modules/module-tunnel-source.a
lib/pulse-${PKGVERSION}/modules/module-tunnel-source.so
lib/pulse-${PKGVERSION}/modules/module-virtual-sink.a
@@ -234,10 +234,13 @@
man/man5/pulse-cli-syntax.5
man/man5/pulse-client.conf.5
man/man5/pulse-daemon.conf.5
+share/bash-completion/completions/pulseaudio-bash-completion.sh
share/examples/pulseaudio/client.conf
share/examples/pulseaudio/daemon.conf
share/examples/pulseaudio/default.pa
+${PLIST.x11}share/examples/pulseaudio/pulseaudio-kde.desktop
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/bn_IN/LC_MESSAGES/pulseaudio.mo
@@ -253,6 +256,7 @@
share/locale/he/LC_MESSAGES/pulseaudio.mo
share/locale/hi/LC_MESSAGES/pulseaudio.mo
share/locale/hu/LC_MESSAGES/pulseaudio.mo
+share/locale/id/LC_MESSAGES/pulseaudio.mo
share/locale/it/LC_MESSAGES/pulseaudio.mo
share/locale/ja/LC_MESSAGES/pulseaudio.mo
share/locale/kn/LC_MESSAGES/pulseaudio.mo
@@ -278,4 +282,3 @@
share/vala/vapi/libpulse.deps
share/vala/vapi/libpulse.vapi
@pkgdir share/examples/pulse
-@pkgdir libexec/pulse
diff -r 28ddaa496062 -r 5d14f76e4784 audio/pulseaudio/buildlink3.mk
--- a/audio/pulseaudio/buildlink3.mk Mon Jun 09 12:51:52 2014 +0000
+++ b/audio/pulseaudio/buildlink3.mk Mon Jun 09 13:08:19 2014 +0000
@@ -1,12 +1,12 @@
-# $NetBSD: buildlink3.mk,v 1.21 2014/04/20 02:27:49 ryoon Exp $
+# $NetBSD: buildlink3.mk,v 1.22 2014/06/09 13:08:19 ryoon Exp $
BUILDLINK_TREE+= pulseaudio
.if !defined(PULSEAUDIO_BUILDLINK3_MK)
PULSEAUDIO_BUILDLINK3_MK:=
-BUILDLINK_API_DEPENDS.pulseaudio+= pulseaudio>=2.1
-BUILDLINK_ABI_DEPENDS.pulseaudio+= pulseaudio>=2.1nb16
+BUILDLINK_API_DEPENDS.pulseaudio+= pulseaudio>=5.0
+BUILDLINK_ABI_DEPENDS.pulseaudio+= pulseaudio>=5.0
BUILDLINK_PKGSRCDIR.pulseaudio?= ../../audio/pulseaudio
.include "../../mk/bsd.fast.prefs.mk"
diff -r 28ddaa496062 -r 5d14f76e4784 audio/pulseaudio/distinfo
--- a/audio/pulseaudio/distinfo Mon Jun 09 12:51:52 2014 +0000
+++ b/audio/pulseaudio/distinfo Mon Jun 09 13:08:19 2014 +0000
@@ -1,14 +1,18 @@
-$NetBSD: distinfo,v 1.40 2013/12/16 19:00:03 asau Exp $
+$NetBSD: distinfo,v 1.41 2014/06/09 13:08:19 ryoon Exp $
-SHA1 (pulseaudio-2.1.tar.xz) = 56b4ad9207ea3aec0ad1b8be4b55793b426a4f01
-RMD160 (pulseaudio-2.1.tar.xz) = 87f6051bbbe59c26e505a9765f388d3ee4d3a485
-Size (pulseaudio-2.1.tar.xz) = 1355004 bytes
-SHA1 (patch-aa) = 2fb8b36669e34f3ca0108176171be567a9eeda44
-SHA1 (patch-configure) = 8754fc3493e43baef14c99a6b9a24bbb2800b2ea
-SHA1 (patch-dc) = 1e8d79a37617aae18f55564757b5065fef2b9025
+SHA1 (pulseaudio-5.0.tar.xz) = e420931a0b9cf37331cd06e30ba415046317ab85
+RMD160 (pulseaudio-5.0.tar.xz) = 4ba13e92c58f8ada4542d521131094a55e3b6991
+Size (pulseaudio-5.0.tar.xz) = 1455428 bytes
+SHA1 (patch-aa) = c8bd0e5b6e4c4068d8706aea62ce248bb79184d7
+SHA1 (patch-configure.ac) = 38e2b4b1da406cd59c29b0ee5d17d92498265e01
+SHA1 (patch-src_Makefile.am) = debe40be5d1155f6cb0d5ae90119dece4e090b02
SHA1 (patch-src_Makefile.in) = 21daf6069ae067dd235de6d43a013e4e70bbca78
-SHA1 (patch-src_pulsecore_semaphore-osx.c) = f9b1962a700932434e05471b2d4df4a5ff5c1b00
-SHA1 (patch-src_pulsecore_svolume__mmx.c) = a3af18563fd11e3813d7a474ff8807ee9bf62390
-SHA1 (patch-src_pulsecore_svolume__sse.c) = 6d2406ad0889219bae96f52f9b525da9b19b9af9
-SHA1 (patch-src_tests_once-test.c) = ba0ca03e9f1cbc47e7985497397d03e7406420c6
-SHA1 (patch-src_tests_rtstutter.c) = e6d1627cb8a150cc5a106bb98ed31147ce8689d2
+SHA1 (patch-src_daemon_caps.c) = e819c26cd3d91d93ae5877725ed6a1b59183d89a
+SHA1 (patch-src_daemon_main.c) = e87f764d18345056210427bea52bf27f3f2999b6
+SHA1 (patch-src_modules_module-detect.c) = 1679519bc8a46a85790babe9c729850d10b9da6c
+SHA1 (patch-src_modules_oss_module-oss.c) = 43a0c2eeb5a9a37c7a231a531caa3658fe8d49b0
+SHA1 (patch-src_pulsecore_sample-util.h) = b6bd83cfdc1c337453d9a728f07205a2cf0af831
+SHA1 (patch-src_pulsecore_svolume__mmx.c) = b500530bcc9792b97050c7fa6e47639ac8e261a2
+SHA1 (patch-src_pulsecore_svolume__sse.c) = 07da6faa8529d7308d8a6a9f11958ef9faf46409
+SHA1 (patch-src_tests_mult-s16-test.c) = 3a0fbec804ebefbd88688e84b8d45e0aca597b84
+SHA1 (patch-src_tests_rtpoll-test.c) = 3584aeda2b6f7eb14af9cb5c665a31d972a306ae
diff -r 28ddaa496062 -r 5d14f76e4784 audio/pulseaudio/patches/patch-aa
--- a/audio/pulseaudio/patches/patch-aa Mon Jun 09 12:51:52 2014 +0000
+++ b/audio/pulseaudio/patches/patch-aa Mon Jun 09 13:08:19 2014 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.14 2013/11/25 10:14:37 wiz Exp $
+$NetBSD: patch-aa,v 1.15 2014/06/09 13:08:19 ryoon Exp $
ioctl() takes u_long argument on NetBSD.
On NetBSD<6 and 6.99.0-6.99.7, use third parameter in ioctl instead of varargs.
@@ -6,7 +6,7 @@
Try more typical device names.
SOUND_PCM_* is not available on SunOS.
---- src/utils/padsp.c.orig 2012-07-16 11:37:55.000000000 +0000
+--- src/utils/padsp.c.orig 2014-01-23 18:57:55.000000000 +0000
+++ src/utils/padsp.c
@@ -49,6 +49,9 @@
#ifdef __linux__
@@ -39,7 +39,7 @@
+do { \
+ pthread_mutex_lock(&func_mutex); \
+ if (!_ioctl) \
-+ _ioctl = (int (*)(int, u_long, void*)) dlsym_fn(RTLD_NEXT, "ioctl"); \
++ _ioctl = (int (*)(int, u_long, void*)) dlsym_fn(RTLD_NEXT, "ioctl"); \
+ pthread_mutex_unlock(&func_mutex); \
+} while(0)
+#else
@@ -76,7 +76,7 @@
pthread_mutex_unlock(&func_mutex); \
} while(0)
-@@ -2264,6 +2290,7 @@ static int dsp_ioctl(fd_info *i, unsigne
+@@ -2277,6 +2303,7 @@ static int dsp_ioctl(fd_info *i, unsigne
break;
}
@@ -84,15 +84,15 @@
case SOUND_PCM_READ_RATE:
debug(DEBUG_LEVEL_NORMAL, __FILE__": SOUND_PCM_READ_RATE\n");
-@@ -2288,6 +2315,7 @@ static int dsp_ioctl(fd_info *i, unsigne
+@@ -2284,6 +2311,7 @@ static int dsp_ioctl(fd_info *i, unsigne
+ *(int*) argp = i->sample_spec.rate;
pa_threaded_mainloop_unlock(i->mainloop);
break;
++#endif
-+#endif
- case SNDCTL_DSP_GETOPTR: {
- count_info *info;
-
-@@ -2357,21 +2385,35 @@ fail:
+ case SOUND_PCM_READ_CHANNELS:
+ debug(DEBUG_LEVEL_NORMAL, __FILE__": SOUND_PCM_READ_CHANNELS\n");
+@@ -2370,21 +2398,35 @@ fail:
return ret;
}
Home |
Main Index |
Thread Index |
Old Index