summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2024-01-30tests: remove check2 timeouts in favor of mesonmatoro20-32/+1
Meson already handles timeouts, configurable on the command line with --timeout-multiplier. They are set to 300s for all tests. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/807>
2023-09-01ci: Force build of webrtc-aecArun Raghavan1-5/+5
Makes sure we build this, either with system deps or the fallback wrap file. We also bump the CI meson version to support [provide] in the wrap file. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/795>
2023-04-21daemon/meson.build: Install dbus policy in /usr, not /etcGioele Barabucci1-1/+1
From https://bugs.debian.org/1006631: > dbus supports policy files in both `/usr/share/dbus-1/system.d` and > `/etc/dbus-1/systemd`. [The] recently released dbus 1.14.0, officially > deprecates installing packages' default policies into `/etc/dbus-1/systemd`, > instead reserving it for the sysadmin. This is the same idea as the > difference between `/usr/lib/udev/rules.d` and `/etc/udev/rules.d`. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/783>
2023-03-16meson: Add DEF file to export APIs in WindowsBiswapriyo Nath3-5/+393
This helps to export correct APIs for compiler toolchain which does not support version script file. For example, mingw clang. The APIs in libpulse.def are similar with map-file except those are in pulse-simple and pulse-mainloop-glib. Those are exported in different shared library in Windows platform. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/761>
2022-09-21meson: use proper type for boolswael1-1/+1
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/749>
2022-08-15meson.build: fix build without C++Fabrice Fontaine2-1/+4
Fix the following build failure without C++: ../output-1/build/pulseaudio-16.1/meson.build:1:0: ERROR: Unknown compiler(s): [['/home/autobuild/autobuild/instance-1/output-1/per-package/pulseaudio/host/bin/powerpc64-buildroot-linux-gnu-g++']] The following exception(s) were encountered: Running "/home/autobuild/autobuild/instance-1/output-1/per-package/pulseaudio/host/bin/powerpc64-buildroot-linux-gnu-g++ --version" gave "[Errno 2] No such file or directory: '/home/autobuild/autobuild/instance-1/output-1/per-package/pulseaudio/host/bin/powerpc64-buildroot-linux-gnu-g++'" Fixes: - http://autobuild.buildroot.org/results/6526a21bd4da3b8458188f27c1ec04c381e4b673 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/737>
2022-08-01meson: fix meson warningsRosen Penev1-2/+4
Signed-off-by: Rosen Penev <rosenp@gmail.com> Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/739>
2022-07-18build-sys: meson: Move qpaeq to daemon buildIgor V. Kovalenko1-4/+4
Equalizer control requires server modules only available when daemon is built. Move qpaeq script to be installed together with daemon. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/734>
2022-06-13build-sys: meson: Make module-console-kit optionalIgor V. Kovalenko3-1/+14
Default build configuration would fail to run on a system without systemd-logind (or elogind) and without ConsoleKit daemon responding on dbus interface. Here, module-console-kit would fail to initialize, preventing daemon from starting. Make module-console-kit an optional build feature to allow opt-out. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/719>
2022-01-05meson: Enable GStreamer-based RTP by default (when available)Tanu Kaskinen1-1/+1
The feature was added in 14.0 and was declared experimental at that point. It should be stable enough to enable by default now. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/680>
2021-11-17tests: Add passthrough test back to daemon testsArun Raghavan1-0/+2
This got dropped during the move to meson. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/665>
2021-11-17build-sys: meson: Make glib and fftw common dependenciesIgor V. Kovalenko3-15/+15
GSettings module (daemon) requires both gio and glib, move glib to common block. qpaeq requires fftw, move fftw to common block. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/659>
2021-11-17build-sys: meson: Fix indentation in daemon/client blocksIgor V. Kovalenko4-170/+169
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/659>
2021-11-17build-sys: meson: Rearrange shell completion between daemon and clientIgor V. Kovalenko4-16/+22
Rename bash completion file to pactl and install it with client build. Completions specific to daemon are now just symlinks, create target directory first to install them. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/659>
2021-11-17build-sys: meson: Rearrange dependencies under client and daemon optionsIgor V. Kovalenko2-240/+261
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/659>
2021-11-17build-sys: meson: Move remaining tests under daemon and client buildsIgor V. Kovalenko1-64/+62
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/659>
2021-11-17build-sys: meson: change daemon-only to clientIgor V. Kovalenko7-16/+16
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/659>
2021-11-17build-sys: meson: Allow building the daemon onlyMart Raudsepp10-16/+54
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/659>
2021-11-17build-sys: meson: Relax sanity checks for daemonless buildsMart Raudsepp1-3/+3
Echo canceller, udev and speex resampling is only used by the daemon, so don't error or warn about those in -Ddaemon=false builds. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/659>
2021-11-05gitlab-ci: Turn on Werror for meson buildsMarijn Suijten1-1/+1
Prevent simple warnings like !651 from slipping into the build. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/653>
2021-08-11build-sys: meson: Check if cpuid.h header is usableIgor V. Kovalenko1-1/+13
With clang compiler including cpuid.h will produce error if architecture is not x86-based, and cheching if cpuid.h exists via Meson has_header() is not enough. Fix this by creating a list of headers checked to be usable via Meson check_header() function, and move cpuid.h to that list. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/614>
2021-08-11build-sys: meson: Require xice, xsm and xtst for daemon onlyIgor V. Kovalenko1-3/+3
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/613>
2021-06-21build-sys: meson: Require bluez dependency if bluez5 feature is enabledIgor V. Kovalenko4-7/+9
Build breaks if bluez5 and bluez5-native-headset are both enabled but bluez headers are not available. Fix this by changing `bluez5` to Meson feature requiring `bluez` dependency. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/583>
2021-06-21build-sys: meson: require GIO dependency for RTP-GStreamerIgor V. Kovalenko2-3/+5
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/584>
2021-06-05build-sys: meson: check if NEON code can be compiled on armgarrison1-10/+31
When Meson SIMD module returns HAVE_NEON=1 on arm host, do extra compile check to verify compiler can actually handle NEON code. Related Meson issue #6361 https://github.com/mesonbuild/meson/issues/6361 Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/574>
2021-06-05build-sys: meson: check HAVE_MMX and HAVE_SSE before calling initializersIgor V. Kovalenko3-6/+14
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/575>
2021-06-03build-sys: meson: restore big endian detectionIgor V. Kovalenko1-0/+4
Autotools used AC_C_BIGENDIAN to set WORDS_BIGENDIAN, add Meson implementation. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/572>
2021-05-19build-sys: meson: make doxygen optionalIgor V. Kovalenko2-1/+6
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/558>
2021-05-18build-sys: meson: only require libltdl if daemon is builtIgor V. Kovalenko1-2/+5
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/557>
2021-05-17build-sys: Fix a couple of meson warningsv14.99.1Arun Raghavan2-2/+3
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/556>
2021-05-12build-sys: meson: Add missing include dirJan Alexander Steffens (heftig)1-1/+1
Otherwise building module-echo-cancel fails here: FAILED: src/modules/module-echo-cancel.so.p/echo-cancel_adrian-aec.c.o cc -Isrc/modules/module-echo-cancel.so.p -I. -I../pulseaudio -Isrc -I../pulseaudio/src -I/usr/include/orc-0.4 -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -march=x86-64 -mtune=generic -O2 -p> ../pulseaudio/src/modules/echo-cancel/adrian-aec.c:30:10: fatal error: adrian-aec-orc-gen.h: No such file or directory 30 | #include "adrian-aec-orc-gen.h" | ^~~~~~~~~~~~~~~~~~~~~~ Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/552>
2021-04-23build-sys: meson: Merge system_conf config data from default_confPatrick Gaskin1-3/+1
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/547>
2021-04-19build-sys: meson: do not install manpages for disabled partsIgor V. Kovalenko1-2/+12
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/540>
2021-04-19build-sys: meson: allow building client libraries onlyIgor V. Kovalenko9-190/+293
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/540>
2021-03-15build-sys: meson: fix meson dist versionIgor V. Kovalenko3-0/+12
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/516>
2021-03-01buildsys/autotools: add pulseaudio-x11.service.inFaidon Liambotis4-1/+6
Commit 4868fcf5f344af613172f61d9105c02f3f07e1ab ("daemon: Rely on systemd unit file for X11 plugin initialization") added a new systemd unit file, pulseaudio-x11.service, generated from a respective .in file. Unfortunately, this was only hooked up to meson, and is not currently installed by autotools. Among other breakage, "make dist" produces a tarball that meson is then unable to build (because a file is missing). Signed-off-by: Faidon Liambotis <paravoid@debian.org> Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/514>
2021-02-12build-sys: meson: support elogind alternative for module-systemd-loginIgor V. Kovalenko3-2/+11
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/502>
2021-02-12build-sys: meson: add tcp-wrappersIgor V. Kovalenko3-2/+10
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/498>
2021-01-19bluetooth: Prevent registration of an unavailable codec at runtimeSanchayan Maity2-6/+20
When it comes to codecs provided via GStreamer, we register all codecs if GStreamer option is enabled for bluez5 via meson. However, the GStreamer plugin required for the codec might not be present on the system. This results in the codec being available for registration with the bluez stack or selection by the user, but, trying to use the said codec then fails. To prevent the above, we now use the can_be_supported codec API to check if the codec is usable and if not, we do not register the said codec and also prevent users from switching to it. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/440>
2021-01-18buildsys: meson: implement update-map-file targetIgor V. Kovalenko2-1/+28
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/461>
2021-01-18build-sys: meson: only warn about lack of udev on LinuxGreg V1-1/+1
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/277>
2021-01-18build-sys: meson: support memfd without SYS_memfd_create (FreeBSD 13)Greg V1-1/+2
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/277>
2021-01-18build-sys: meson: add execinfo dependency for FreeBSDGreg V2-1/+4
For 'backtrace' and related symbols Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/277>
2021-01-18build-sys: meson: add missing pthread dependency on alsa testsGreg V1-1/+1
For symbol 'pthread_setschedparam' Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/277>
2021-01-18build-sys: meson: check for shm_open even if it's in libc (FreeBSD), not librtGreg V1-1/+1
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/277>
2021-01-18build-sys: meson: when libc iconv is used, tell libiconv header to pretend ↵Greg V1-0/+2
to be libc's iconv The libiconv header on FreeBSD would be preferred by include path, but we don't want to link to libiconv, so tell its header to act like the system header. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/277>
2021-01-18build-sys: meson: set HAVE_DLADDR even if it's in libc (FreeBSD), not libdlGreg V1-1/+1
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/277>
2021-01-13win32: Fix WSAStartup issuesPatrick Gaskin3-57/+21
WSAStartup was not being called for pacat and pactl built with meson, causing them to fail in pa_mainloop_new with "cannot create wakeup pipe". This issue also affects other applications linking to libpulse other than the pulseaudio daemon, which calls WSAStartup itself. When built with autotools, WSAStartup would have been called in DllMain, which is recommended against by the documentation [1]. To fix these issues, the WSAStartup/WSACleanup calls can be moved into pa_mainloop_new/pa_mainloop_free. [1] https://docs.microsoft.com/en-us/windows/win32/api/winsock/nf-winsock-wsastartup Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/456>
2021-01-07database: use existing database matching same architecture prefixIgor V. Kovalenko3-2/+41
State database binary file format may depend on system architecture, for instance gdbm binary format depends on architecture word size, making x86 and x64 gdbm files incompatible. If this is the case, it is handled by adding system architecture name to database file name using automatically configured CANONICAL_HOST string. Meson build define CANONICAL_HOST to be system architecture name, while autotools build extends this with vendor and and operating system components. Switch autotools build to use host_cpu for CANONICAL_HOST to match Meson configuration. For backwards compatibility always use existing database file matching CANONICAL_HOST prefix if it exists. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/425>
2020-12-16win32: Fix meson build system for Windows.Edward Lee7-55/+127
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/360>