PulseAudio, previously known as Polypaudio, is a sound server for POSIX and
Win32 systems. A sound server is basically a proxy for your sound applications.
It allows you to do advanced operations on your sound data as it passes between
your application and your hardware. Things like transferring the audio to a
different machine, changing the sample format or channel count and mixing
several sounds into one are easily achieved using a sound server.
===> The following configuration options are available for pulseaudio-17.0_6:
AVAHI=on: Zeroconf support via Avahi
GSETTINGS=off: GSettings configuration backend support
SIMD=on: Use CPU-specific optimizations
TEST=off: Build and/or run tests
X11=on: X11 (graphics) support
====> Audio support
ALSA=off: ALSA audio architecture support
JACK=off: JACK audio server support
SOXR=on: SoX resampler support via libsoxr
SPEEX=on: Speex resampler and AEC support
WEBRTC_AEC=on: WebRTC-based echo canceller
====> Database support: you have to select exactly one of them
TDB=off: Trivial database support
GDBM=off: GNU database manager support
SIMPLE=on: Simple database support
===> Use 'make config' to modify these settings
audio/pulseaudio: Improve OSS support
- Set vol or pcm for oss module, but not both. Setting both channels results
in drastic volume change.
- Set / read monitor channel.
Reviewed by: arrowd, christos
Differential Revision: D60197
audio/pulseaudio: fix build on armv7
The inline assembly template modifier h is not supported by clang. With
gcc, it prints a 128 bit NEON register as a pair of halves. Emulate its
effect through the e and f modifiers, which are supported by both.
Approved by: portmgr (build fix blanket)
MFH: 2023Q4
audio/pulseaudio: fix build with lld 17
Building audio/pulseaudio with lld 17 results in the following link
errors:
cc -o src/pulse/libpulse.so.0.24.2
src/pulse/libpulse.so.0.24.2.p/channelmap.c.o
src/pulse/libpulse.so.0.24.2.p/context.c.o
src/pulse/libpulse.so.0.24.2.p/direction.c.o
src/pulse/libpulse.so.0.24.2.p/error.c.o
src/pulse/libpulse.so.0.24.2.p/ext-device-manager.c.o
src/pulse/libpulse.so.0.24.2.p/ext-device-restore.c.o
src/pulse/libpulse.so.0.24.2.p/ext-stream-restore.c.o
src/pulse/libpulse.so.0.24.2.p/format.c.o
src/pulse/libpulse.so.0.24.2.p/introspect.c.o
src/pulse/libpulse.so.0.24.2.p/mainloop-api.c.o
src/pulse/libpulse.so.0.24.2.p/mainloop-signal.c.o
src/pulse/libpulse.so.0.24.2.p/mainloop.c.o
src/pulse/libpulse.so.0.24.2.p/operation.c.o
src/pulse/libpulse.so.0.24.2.p/proplist.c.o
src/pulse/libpulse.so.0.24.2.p/rtclock.c.o
src/pulse/libpulse.so.0.24.2.p/sample.c.o
src/pulse/libpulse.so.0.24.2.p/scache.c.o
src/pulse/libpulse.so.0.24.2.p/stream.c.o
src/pulse/libpulse.so.0.24.2.p/subscribe.c.o
src/pulse/libpulse.so.0.24.2.p/thread-mainloop.c.o
src/pulse/libpulse.so.0.24.2.p/timeval.c.o
src/pulse/libpulse.so.0.24.2.p/utf8.c.o src/pulse/libpulse.so.0.24.2.p/util.c.o
src/pulse/libpulse.so.0.24.2.p/volume.c.o
src/pulse/libpulse.so.0.24.2.p/xmalloc.c.o -L/usr/local/lib -Wl,--as-needed
-Wl,--allow-shlib-undefined -Wl,-O1 -shared -fPIC -Wl,--start-group
-Wl,-soname,libpulse.so.0 -fstack-protector-strong -O2 -pipe
-fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing
-DLIBICONV_PLUG -isystem /usr/local/include
'-Wl,-rpath,$ORIGIN/..:/usr/local/lib'
-Wl,-rpath-link,/wrkdirs/share/dim/ports/audio/pulseaudio/work/pulseaudio-16.1/_build/src
-Wl,-rpath-link,/usr/local/lib src/libpulsecommon-16.1.so -Wl,-z,nodelete
-Wl,-version-script=/wrkdirs/share/dim/ports/audio/pulseaudio/work/pulseaudio-16.1/src/pulse/map-file
-lm -pthread /usr/local/lib/libdbus-1.so -ldl -lintl -Wl,--end-group
ld: error: version script assignment of 'PULSE_0' to symbol
'pa_glib_mainloop_free' failed: symbol not defined
ld: error: version script assignment of 'PULSE_0' to symbol
'pa_glib_mainloop_get_api' failed: symbol not defined
ld: error: version script assignment of 'PULSE_0' to symbol
'pa_glib_mainloop_new' failed: symbol not defined
ld: error: version script assignment of 'PULSE_0' to symbol 'pa_simple_drain'
failed: symbol not defined
ld: error: version script assignment of 'PULSE_0' to symbol 'pa_simple_flush'
failed: symbol not defined
ld: error: version script assignment of 'PULSE_0' to symbol 'pa_simple_free'
failed: symbol not defined
ld: error: version script assignment of 'PULSE_0' to symbol
'pa_simple_get_latency' failed: symbol not defined
ld: error: version script assignment of 'PULSE_0' to symbol 'pa_simple_new'
failed: symbol not defined
ld: error: version script assignment of 'PULSE_0' to symbol 'pa_simple_read'
failed: symbol not defined
(Only the first 15 lines of the commit message are shown above )
audio/pulseaudio: fix typo in SPEEX option handling
b1ecad53b0b32916e5db596b26334db8015e4299 introduced a small typo:
MESONP_ENABLED vs MESON_ENABLED.
This lead to the speex-option not being able to turned off.
Reported by: mord0d@firemail.cc
PR: 273100
audio/pulseaudio: unbreak build with clang 15
checking whether C compiler accepts -std=gnu11... no
configure: error: *** Compiler does not support -std=gnu11
[...]
configure:9379: cc -c -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-isystem /usr/local/include -fno-strict-aliasing -pedantic -Werror -std=gnu11
-DLIBICONV_PLUG -isystem /usr/local/include conftest.c >&5
conftest.c:33:6: error: a function declaration without a prototype is deprecated
in all versions of C [-Werror,-Wstrict-prototypes]
main ()
^
void
https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/1afd23363018https://git.savannah.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=1717921aa6c1
PR: 268250
Reported by: antoine (via bug 265425 exp-run)
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
audio/pulseaudio: Fix for detachable USB audio devices.
Make sure the pulseaudio OSS module does not keep the mixer device opened
forever. Instead open and close the mixer device for every access. Also
fix some bad code mixing get- and set- volume while at it.
Reported by: several
PR: 194727
Approved by: pi (implicit)
audio/pulseaudio: parse /dev/sndstat correctly to get device name
This provides nice human-readable strings for devices in PA-
aware applications (e.g. Firefox shows something nicer than "pcm0").
This bumps PORTREVISION again, even though there's a sequence
of PA updates and fixes (which could conceivably be mashed into
a single PORTREVISION increase).
PR: 245156
Provided by: Henry Hu (original patches)
Provided by: lightside (v3 patches)
audio/pulseaudio: fix build on ARMv6 in QEMU
Switches to using GNU m4 (gm4) for processing PA configuration
files; regular m4 behaves oddly in some build situations.
PR: 208535
Submitted by: swills
audio/jack: Update to Jack2: 0.125.0 -> 1.9.16
Big thank you to Florian Walpen <dev@submerge.ch> and
Goran Mekić <meka@tilda.center> for working on Jack2.
PR: 251125
Submitted by: Florian Walpen <dev@submerge.ch> (original version)
Move some gnome@ ports to desktop@
As gnome@ is lacking active committers at the moment, transfer some of its
ports [1] up the stack to the desktop@ group, in hope that this way we get some
updates in as the set of people that "should feel responsible" grows.
As soon as gnome@ grows some committers again, this can (and should) of course
be reverted again.
[1] The list of ports chosen in this move consits of all the ports that are
required to build x11/kde5.
Approved by: portmgr (bapt)
Differential Revision: https://reviews.freebsd.org/D26362
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
Remove esound support from pulseaudio as audio/esound expired.
Bump PORTREVISIONs of dependent ports.
Build-tested in poudriere on a head-amd64 jail for audio/pulseaudio*
audio/pulseaudio: Fix gsettings schema installation
Schema should be installed with GLIB_SCHEMAS, otherwise
glib-compile-schemas does not get called and the installed schema
is non-functional.
PR: 235926
Submitted by: romain
Approved by: gnome (maintainer timeout, a month)
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590
Update `databases/gdbm' to version 1.18.1, an important bugfix release
which restores compatibility with old databases (version 1.8) and some
later versions which were built without mmap(2) support. Due to shlib
version change, bump port revisions of the consumer ports.
PR: 233059
Exp-run by: antoine
Approved by: maintainer (johans, numerous timeouts)
audio/pulseaudio: track webrtc-aec upstream default
$ pkg install webrtc-audio-processing
$ make
$ make check-plist
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: lib/pulse-%%PULSE_VERSION%%/modules/libwebrtc-util.so
===> Checking for items in pkg-plist which are not in STAGEDIR
===> Error: Plist issues found.
*** Error code 1
$ make stage-qa
====> Running Q/A tests (stage-qa)
Error: /usr/local/lib/pulse-11.1/modules/libwebrtc-util.so is linked to
/usr/local/lib/libwebrtc_audio_processing.so.1 from
audio/webrtc-audio-processing but it is not declared as a dependency
Warning: you need
LIB_DEPENDS+=libwebrtc_audio_processing.so:audio/webrtc-audio-processing
Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.
This includes ports
- featuring USE_GCC=yes or USE_GCC=any,
- featuring USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and those
- with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.
PR: 222542
Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
c++14-lang, c++0x, c11, or gcc-c++11-lib.
PR: 219275
Update consolekit to 1.2.0.
* Rename consolekit to consolekit2 to reflect that consolekit2 is a new
project, even if it the continuation of the old consolekit project.
* Expand pkg-descr with some background info.
* Add license
* ConsoleKit2 has been ported to GDbus, so dbus-glib is not anymore required
* Add GObject introspection support for desktops environment such Pantheon or
Deepin.
* Thanks to Jesper Schmitz Mouridsen, Ben Woods and Olivier Duchateau for
assisting with there versions of the port, suggesting changes and testing.
PR: 202269
Bump PORTREVISIONs for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using using Mk/bsd.octave.mk which in turn has USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
c++11-lang, c++0x, c11, or gcc-c++11-lib.
PR: 216707
Bump PORTREVISIONS for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.8.5 to GCC 4.9.4 (at least under some
circumstances such as versions of FreeBSD or platforms).
In particular that is ports with USE_GCC=yes, USE_GCC=any, or one of
gcc-c++11-lib, openmp, nestedfct, c++11-lib as well as c++14-lang,
c++11-lang, c++0x, c11 requested via USES=compiler.
audio/pulseaudio: update to 9.0
- Add xcb to USE_XORG, required by bin/pacat
- Add iconv to USES, required by bin/pacat
- Add ssl to USES and correct OPENSSL_CFLAGS and OPENSSL_LIBS
- Replace --disable-systemd with correct --disable-systemd-* configure arguments
- Move ALSA and JACK to AUDIO options group
- Move BASH and ZSH to COMPLETIONS options group
- Add DATABASE single option to be able to select supported database
- Add SIMPLE (database support) to default options
- Silence mkdir
- Replace files/patch-src_daemon_default.pa.in with sed patch
- Adapt pkg-plist
Changes: https://www.freedesktop.org/wiki/Software/PulseAudio/Notes/9.0/
ABI: https://abi-laboratory.pro/tracker/timeline/pulseaudio/
PR: 210548
Submitted by: lightside@gmx.com
Approved by: maintainer timeout (4 months)
The FreeBSD GNOME team proudly presents GNOME 3.18 for FreeBSD.
The offical GNOME 3.18 release notes can be found at
https://help.gnome.org/misc/release-notes/3.18/
This update doesn't contain the glib/gtk c++ bindings which will
be done in a another update due to the requirement on c++11 and the
amount of fallout this probably will give.
GDM is still at version 3.16 due to some issues.
Bump mate-themes to use the gtk 3.18 version of the themes.
Thanks to Antoine Brodin for running the exp-runs.
This release was made possible by the following people:
Gustau Perez
Ting-Wei_Lan
PR: 207006
Improve shebangfix framework
- Support multiple values in *_OLD_CMD, i.e. we can now fix both
"/usr/bin/python" and "/usr/bin/env python" at the same time
- Default *_OLD_CMD values are now always appended, so you don't need to specify
them in individual ports
- Add lua support (depends on USES=lua)
- Add more default values, such as "/usr/bin/env foo" for python, perl, bash,
ruby and lua
- Shebangfix now matches whole words, e.g. we will no longer (erroneously)
replace "/usr/bin/perl5.005" with "${perl_CMD}5.005" (but "/usr/bin/perl -tt" is
still (correctly) replaced with "${perl_CMD} -tt")
Note that *_OLD_CMD items containing spaces must now be quoted (e.g.
perl_OLD_CMD=/bin/perl /usr/bin/perl "/usr/bin/env perl")
Update shebangfix usage according to new rules in many ports:
- Remove *_OLD_CMD for patterns now replaced by default
- Quote custom *_OLD_CMD which contain spaces
Fix shebangfix usage in many ports (irrelevant to infrastructure change):
- Remove redundant SHEBANG_LANG (no need to duplicate default langs)
- Remove redundant *_CMD (such as
python_CMD=${LOCALBASE}/bin/python${PYTHON_VER} when USES=python is present)
- Never use *_OLD_CMD in REINPLACE_CMD matchers, these should always look for
exact string
Approved by: portmgr (bapt)
Differential Revision: D3756
Convert ports to use the options helpers in categories [abc]*, and minor fixes.
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D3412?
Disable xen option by adding '--disable-xen' to CONFIGURE_ARGS. Xen extension
is currently broken on FreeBSD and pusleaudio tries to build it when it finds
Xen libraries on the host, so build fails in this case.
PR: 202170
Approved by: kwm
* Fix segfault on HEAD part 2.
* Make sure that linux/kFreeBSD code isn't run on FreeBSD itself.
* Pass the correct value back via the argument of the calling function. [1]
* Fix white space to match the rest of the file, so upstream can't complain
about that.
* Drop freedesktop-sound-theme it isn't used by default. Add line to
pkg-message to mention that it needs to be installed if enabled in
default.pa.
* Don't use ETCDIR in pkg-message.in, it gets expanded to
${LOCALBASE}/etc/pulseaudio which isn't correct since pulseaudio uses
etc/pulse/
[1] I have no idea what I did to break this in the first version, while
it worked at the time localy.
Fix a segfault by using some FreeBSD sysctl to get the info needed.
This can happen when /proc isn't mounted.
While here, teach where the dbus machine-id file lives.
> Description of fields to fill in above: 76 columns --|
> PR: If a GNATS PR is affected by the change.
> Differential Revision: https://reviews.freebsd.org/D### (*full* phabric URL
needed).
> Submitted by: If someone else sent in the change.
> Reviewed by: If someone else reviewed your modification.
> Approved by: If you needed approval for this commit.
> Obtained from: If the change is from a third party.
> MFC after: N [day[s]|week[s]|month[s]]. Request a reminder
email.
> MFH: Ports tree branch name. Request approval for merge.
> Relnotes: Set to 'yes' for mention in release notes.
> Security: Vulnerability reference (one per line) or
description.
> Sponsored by: If the change was sponsored by an organization.
> Empty fields above will be automatically removed.
M pulseaudio/Makefile
AM pulseaudio/files/patch-src_pulse_util.c
The _DISABLE used by the zsh option doesn't exist, change it to _OFF [1]
Fix plist when the ALSA option is enabled. [2]
Submitted by: jbeich@ [1], Barbara Guida <barbara.freebsd@gmail.com> [2]
Update pulseaudio to 6.0 [1].
* Correct some paths in the default config file (default.pa). [1]
* Add run depend freedesktop-sound-theme since pulse tries to run these files.
* Add a small patch to allow 24bit audio formats, it not clear why this is
disabled by default. [2]
* Add pkg-message with instructions how to set input/output channel.
* The kde start script was merged into the normal x11 start script.
PR: 198567 [1], [2]
Submitted by: olivierd@ [1], romain@ [2]
Replace USES=libtool:oldver with USES=libtool or USES=libtool:keepla in
the 32 ports that still use it. Bump PORTREVISION on their dependent
ports except the ones that depend on these:
audio/libogg
audio/libvorbis
devel/pcre
ftp/curl
graphics/jpeg
graphics/libart_lgpl
graphics/tiff
textproc/expat2
textproc/libxslt
In these cases the same trick as in the recent gettext update is used.
(Only the first 15 lines of the commit message are shown above )
The FreeBSD GNOME team proudly presents GNOME 3.14 and Cinnamon 2.2.
Gnome 3.14.1 and Cinnamon 2.2.16 are supported on FreeBSD 9.3-RELEASE and up.
This commit removes the old GNOME 2 desktop, bindings and some ports that
can't be compiled. A few ports where updated to more recent versions to
allow them to compile with this update.
Apart from updating ports to newer versions
GDM is more integrated with gnome-shell now, and handles several things for
the GNOME desktop such as screen locking. If you want to use GNOME 3 via
startx, you will have to add your own lock screen/screensaver. For example
xscreensaver
can be used for sessions started without GDM.
Shell Extensions can be installed via https://extensions.gnome.org/ , we have
(Only the first 15 lines of the commit message are shown above )
Replace USE_AUTOTOOLS=libltdl with an ordinary LIB_DEPENDS in all ports.
There are only 60 such ports so there doesn't need to be a separate
keyword or USES for this.
Approved by: portmgr (bapt)
Support LIBS like LDFLAGS.
- Add LIBS="${LIBS}" to MAKE_ENV and CONFIGURE_ENV.
- Add an option helper for LIBS.
- Adjust all ports that already use LIBS. Also remove references to
PTHREAD_CFLAGS and PTHREAD_LIBS while here.
- Some ports did not support having a LIBS environment variable and
required additional patches.
Somewhat simplified a linker command line looks like:
${CC} ${src_LDFLAGS} ${LDFLAGS} ${src_LIBS} ${LIBS}
where src_LDFLAGS and src_LIBS are controlled by upstream and LDFLAGS and
LIBS can be controlled by us. If possible -L and -l flags need to be
(Only the first 15 lines of the commit message are shown above )
Implict depend on libsndfile, since libsndfile was made a optional depend in
the libsamplerate port..
Submitted by: Luca Pizzamiglio <luca.pizzamiglio@gmail.com>
John Hein <gnome-jfbml@snkmail.com>
Adjust necesary ports to build with xcb-util 0.3.8
audio/pulseaudio is being updated to 0.9.23
x11/startup-notification is being updated to 0.12
Both was approved by kwm@
x11-wm/awesome is being updated to 3.4.11
Exp-run by: pav@
Update MASTER_SITE
Don't pickup linux/input.h, this should fix plist failure because the evdev
modules is build (which is useless for us). [2]
Disable alsa support..
Remove FreeBSD 6.x patch.
Disable mmap support on FreeBSD versions that don't have support for it. [1]
PR: ports/161567 [2]
Submitted by: avg@ [1]
Reported by: Takefu <takefu@airport.fm> [2]
- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead
PR: 157936
Submitted by: myself
Exp-runs by: pav
Approved by: pav
Number of commits found: 172 (showing only 100 on this page)