Commit graph

177 commits

Author SHA1 Message Date
wiz
bff4597ffc Bump PKGREVISION for gdbm shlib major bump 2018-01-28 20:10:34 +00:00
rillig
17e39f419d Fix indentation in buildlink3.mk files.
The actual fix as been done by "pkglint -F */*/buildlink3.mk", and was
reviewed manually.

There are some .include lines that still are indented with zero spaces
although the surrounding .if is indented. This is existing practice.
2018-01-07 13:03:53 +00:00
wiz
20f7c989fe recursive bump for libxkbcommon removal from at-spi2-core 2017-11-23 17:19:40 +00:00
ryoon
c8eb5f218b Update to 11.1
Changelog:
 * Fix a crash in filter modules related to flat volumes and volume
   sharing
 * Fix a crash when the bluetooth adapter reports weird MTU size
 * Disable bluetooth MTU autodetection by default
 * Add mixer handling back for hardware that doesn't have any alsa-lib
   configuration
 * Prioritize USB devices over built-in sound cards (11.0 was supposed
   to have this feature, but the implementation turned out to be
   incomplete)
2017-10-02 19:21:15 +00:00
jperkin
04910e5334 pulseaudio: Fix cpp statements, fixes SunOS build. 2017-09-20 13:19:29 +00:00
ryoon
6e6abf31b4 Update to 11.0
Changelog:
PulseAudio 11.0 release notes
Changes at a glance

    Support for newer AirPlay hardware
    USB and bluetooth devices preferred over internal sound cards
    The default sink and source configuration is remembered better
    Bluetooth HSP headset role implemented
    Bluetooth HFP audio gateway role implemented (requires oFono)
    Bluetooth HSP audio gateway and HFP hands-free unit roles can be enabled simultaneously
    Upmixing can now be disabled without bad side effects
    Avoid having unavailable sinks or sources as the default
    Option to avoid resampling more often
    Option to automatically switch bluetooth profile to HSP more often
    Better latency regulation in module-loopback
    Changed module argument names in module-ladspa-sink and module-virtual-surround-sink
    Fixed input device handling on Windows
    Improved bluetooth MTU configuration (warning! this causes some hardware to not work any more, see the details below for how to fix it)
    GNU Hurd support
    Applications can request LADSPA or virtual surround filtering for their streams
    Support for 32-bit applications on 64-bit systems in padsp
2017-09-08 02:27:44 +00:00
ryoon
72c3cb198b Recursive revbump from fonts/harfbuzz 2017-02-12 06:24:36 +00:00
wiz
7ac05101c6 Recursive bump for harfbuzz's new graphite2 dependency. 2017-02-06 13:54:36 +00:00
wiz
2d0ff4e336 json-c is not a dependency of pulseaudio any longer, remove it from bl3.mk. 2017-01-23 12:24:18 +00:00
ryoon
d167e5bf79 Bump versions in buildlink 2017-01-21 19:45:21 +00:00
ryoon
556b001a1b 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.
2017-01-21 19:32:11 +00:00
marino
36cf0df62c audio/pulseaudio: Disable building on DragonFly
PulseAudio builds on DragonFly but doesn't function correctly (one
core spins at 100% and sound still doesn't work.  PA has been banished
from DPorts, so follow suit here.
2016-12-03 21:57:47 +00:00
gdt
8d6b8ac22d Test for clang with "!empty(PKGSRC_COMPILER:Mclang)"
Avoids failure to notice clang (and use tls workaround) when
PKGSRC_COMPILER is "ccache clang" or similar.  Resolves build failure;
binary should be unchanged if it built before.
2016-11-12 00:50:19 +00:00
wiz
2eea170464 Remove libsamplerate dependency. Bump PKGREVISION.
From the 6.0 release notes (https://freedesktop.org/wiki/Software/PulseAudio/Notes/6.0/):

The libsamplerate based resamplers are now deprecated, because they
offer no particular advantage over speex. Packagers can drop the
dependency to libsamplerate, unless they specifically want to keep
enabling the libsamplerate based resamplers for some reason.
2016-10-30 12:10:50 +00:00
maya
69a04273a7 pulseaudio: require gcc 4.8.
configure tests if --std=gnu11 works, gcc 4.5.3 (netbsd-6.1.5) does not pass
this check.
2016-09-04 18:33:03 +00:00
jperkin
51ffc7a746 Fix build on Darwin/clang. 2016-08-15 09:26:20 +00:00
richard
f05f5c65eb SunOS needs c99 and at the same time add option for 'fftw' enabling the use
of the Discrete Fourier Transforms library.
2016-08-06 15:56:50 +00:00
ryoon
2329e24f62 Update to 9.0
Changelog:
PulseAudio 9.0

Changes at a glance:

 * Automatic routing improvements
 * Beamforming and various other new features in the WebRTC echo canceller
 * Various improvements in module-role-cork and module-role-ducking
 * LFE remixing disabled by default
 * memfd-backed shared memory transport
 * Support for sample rates up to 384 kHz
 * webrtc-audio-processing dependency minimum version bumped to 0.2
 * Changed the C standard from C99 to C11.

Detailed change log:

  http://www.freedesktop.org/wiki/Software/PulseAudio/Notes/9.0

Contributors

  Ahmed S. Darwish
  Alexander E. Patrakov
  Arun Raghavan
  Barun Kumar Singh
  David Henningsson
  Deepak Srivastava
  Gabor Kelemen
  Georg Chini
  Jeremy Huddleston Sequoia
  Jonathan Perkin
  Juho Hämäläinen
  Jungsup Lee
  Kamil Rytarowski
  Marcin Lewandowski
  Milo Casagrande
  Muhammet Kara
  Nazar Mokrynskyi
  Peter Meerwald
  Piotr Drąg
  Sachin Kumar Chauhan
  Sangchul Lee
  Tanu Kaskinen
  YunQiang Su
2016-08-04 16:45:55 +00:00
adam
77b8ed74db Revbump after graphics/gd update 2016-08-03 10:22:08 +00:00
youri
c547b469b6 Remove policykit include, consolekit already depends on it.
From Piotr Meyer.
2016-06-04 16:25:04 +00:00
jperkin
17661ff9a5 Bump PKGREVISION for security/openssl ABI bump. 2016-03-05 11:27:40 +00:00
jperkin
dee1e03ce6 Use OPSYSVARS. 2016-02-25 10:15:45 +00:00
ryoon
01087a57c7 Update to 8.0
* Based on wip/pulseaudio by kamil@

Changelog:
    Automatic routing more likely to change profile
    OS X and NetBSD support improvements
    Systemd journal logging for clients
    New LFE balance programming interface
    Module-dbus-protocol improvements
    More flexible configuration file handling
    pulsecore-8.0.so moved to a private directory
    New script for measuring memory consumption
    Various bug fixes and small improvements
2016-01-22 19:29:11 +00:00
markd
955d1dbead On linux include alsa support. 2016-01-06 10:24:43 +00:00
dholland
a3d1589e21 Whitespace. 2015-12-29 04:54:34 +00:00
ryoon
7f01abd30b Fix high CPU usage from Onno van der Linden. Bump PKGREVISION 2015-12-25 23:09:49 +00:00
taca
2547cc9fc5 Fix build problem on NetBSD 6.1_STABLE.
Avoid to multiple declaration by typedef.
2015-12-18 11:21:17 +00:00
ryoon
8a25b80101 Bump PKGREVISION. Remove rejected patch. 2015-12-10 10:54:50 +00:00
ryoon
cb22bfd6fe Update to 7.1
Changelog:
Since we had a couple of annoying bugs in 7.0, we thought it'd be a
good idea to do a 7.1 to address those.

Changes at a glance:

  * Fix a crasher when using srbchannel
  * Fix a build system typo that caused symlinks to turn up in /
  * Make Xonar cards work better
  * Other minor  bug fixes and improvements
2015-11-02 13:40:41 +00:00
ryoon
22b8a6f18c Update to 7.0
Changelog:
PulseAudio 7.0

Changes at a glance:

  * LFE channel synthesis with low-pass filtering
  * New libsoxr based resamplers
  * Socket activation support for TCP
  * The "srbchannel" IPC mechanism enabled by default
  * More flexible jack detection support when using UCM
  * Exiting due to SIGTERM isn't considered a failure
  * Better support for Creative SoundBlaster Omni Surround 5.1
2015-09-25 14:37:27 +00:00
tnn
255d0cb0b8 Recursive revbump following MesaLib update, categories a through f. 2015-04-25 14:20:17 +00:00
wiz
51728e7420 Wrap libtool arguments (instead of cxx) and do it for all pulseaudio users
instead of only qt5-qtmultimedia.

Fixes build failures in qt5-qtmultimedia users like kid3.
Suggested by joerg.
2015-04-19 06:42:02 +00:00
jperkin
1927101929 Fix build on SunOS, catch up with latest API. 2015-03-16 14:57:49 +00:00
joerg
16347aa703 Use NEON intrinsics in Clang to avoid the unsupported assembler
modifiers. It is beyond common sense why pulseaudio devs considered the
mechanical conversion to inline asm an improvement...
2015-02-28 23:41:58 +00:00
ryoon
6987c03f72 Fix git spam in different way.
Previous fix by tnn@ requires devel/gettext-tools.
It is too heavy.
2015-02-25 23:40:35 +00:00
tnn
21923e9d80 fix "git: command not found" spam during build 2015-02-25 12:27:13 +00:00
ryoon
5853af2416 Remove a patch that was taken from upstream. 2015-02-23 23:53:14 +00:00
ryoon
1fc3d8707a Update to 6.0
* Remove obsolete hal option for PLIST.

Changelog:
PulseAudio 6.0 Release Notes
Changes at a Glance

    BlueZ 5 native HSP (headset) support
    BlueZ 5 HFP (hands-free) profile support via oFono
    systemd socket activation support
    Better support for multichannel and 2.1 profiles
    Remap optimisations
    Many minor improvements, bug fixes, and i18n updates

Notes for Application Developers

New function in libpulse: pa_stream_write_ext_free(). The function allows more flexible use of free callbacks than the regular pa_stream_write() function. This is useful if an audio buffer is part of a bigger structure that needs to be freed or unreferenced when the audio buffer is no longer needed.

We now have Vala bindings for libpulse-simple.
2015-02-21 23:13:10 +00:00
snj
41aabbf175 pulseaudio wants speexdsp, not just speex. bump PKGREVISION. 2015-02-06 07:20:14 +00:00
dbj
ef7d9c20e4 try even harder to remove paths on darwin 2015-01-27 04:04:50 +00:00
jperkin
f4677f1113 Avoid hardcoded SDK paths on Darwin. Fixes build on Mavericks at least. 2015-01-26 14:08:21 +00:00
spz
83ed10ba99 fix for CVE-2014-3970 taken from pulseaudio git
mkpatches refresh of the previously existing patches
2014-08-07 07:43:48 +00:00
jperkin
7f4aac6799 Fix CPP logic for the __APPLE__ case. Fixes Darwin 32-bit build. 2014-06-30 11:08:54 +00:00
jperkin
58c39c46f2 Put module-oss back behind PLIST.oss, lost on recent update. 2014-06-30 11:00:15 +00:00
ryoon
4453d92d00 Bump PKGREVISION
Use /dev/audio instead of /dev/sound under NetBSD.
This change fixes unstable audio output.
O.k. by wiz@.
2014-06-25 15:26:40 +00:00
jperkin
fdb88ef3be Fix install on SunOS. 2014-06-18 11:12:05 +00:00
ryoon
ecbda21700 Fix PR pkg/48894
Pulseaudio 5.0 requires libtool 2.4 or later.
Set LIBTOOL_REQD. Thank you, joerg@.
2014-06-17 13:10:09 +00:00
jperkin
15745b4115 Exclude more unimplemented SOUND_PCM_* ioctls on SunOS. 2014-06-16 13:26:25 +00:00
dsainty
37d17d1b04 Disable the blanket assumption that sys/capability.h is guaranteed present
on Linux.  What were they thinking...  If there is one platform that it's
rash to make assumptions about API consistency on, it's Linux...

Fixes build on Ubuntu 11.10.
2014-06-11 01:33:59 +00:00
dsainty
115626c822 Fix the PLIST if:
- PLIST.evdev is set: Linux-only module module-mmkbd-evdev is installed

- PLIST.avahi is not set: module-raop-discover is also not installed
2014-06-11 01:23:07 +00:00