ports/opt (3.4): [notify] pulseaudio: updated to 11.1. New deps:

crux at crux.nu crux at crux.nu
Tue May 29 14:59:45 UTC 2018


commit fb88c609c11d20b877ea075599f1ab68515d8820
Author: Fredrik Rinnestam <fredrik at crux.nu>
Date:   Tue May 29 16:59:23 2018 +0200

    [notify] pulseaudio: updated to 11.1. New deps:
    
    -libsndfile speexdsp json-c dbus p5-xml-parser glib
    +dbus glib xorg-libsm xorg-libxtst libsndfile intltool consolekit

diff --git a/pulseaudio/.footprint b/pulseaudio/.footprint
index 6772a676d..080b24fc3 100644
--- a/pulseaudio/.footprint
+++ b/pulseaudio/.footprint
@@ -1,9 +1,3 @@
-drwxr-xr-x	root/root	etc/
-drwxr-xr-x	root/root	etc/pulse/
--rw-r--r--	root/root	etc/pulse/client.conf
--rw-r--r--	root/root	etc/pulse/daemon.conf
--rw-r--r--	root/root	etc/pulse/default.pa
--rw-r--r--	root/root	etc/pulse/system.pa
 drwxr-xr-x	root/root	lib/
 drwxr-xr-x	root/root	lib/udev/
 drwxr-xr-x	root/root	lib/udev/rules.d/
@@ -14,17 +8,27 @@ drwxr-xr-x	root/root	usr/bin/
 -rwxr-xr-x	root/root	usr/bin/pacat
 -rwxr-xr-x	root/root	usr/bin/pacmd
 -rwxr-xr-x	root/root	usr/bin/pactl
+-rwxr-xr-x	root/root	usr/bin/padsp
 lrwxrwxrwx	root/root	usr/bin/pamon -> pacat
 lrwxrwxrwx	root/root	usr/bin/paplay -> pacat
 lrwxrwxrwx	root/root	usr/bin/parec -> pacat
 lrwxrwxrwx	root/root	usr/bin/parecord -> pacat
 -rwxr-xr-x	root/root	usr/bin/pasuspender
+-rwxr-xr-x	root/root	usr/bin/pax11publish
 -rwxr-xr-x	root/root	usr/bin/pulseaudio
 -rwxr-xr-x	root/root	usr/bin/start-pulseaudio-x11
 drwxr-xr-x	root/root	usr/etc/
 drwxr-xr-x	root/root	usr/etc/dbus-1/
 drwxr-xr-x	root/root	usr/etc/dbus-1/system.d/
 -rw-r--r--	root/root	usr/etc/dbus-1/system.d/pulseaudio-system.conf
+drwxr-xr-x	root/root	usr/etc/pulse/
+-rw-r--r--	root/root	usr/etc/pulse/client.conf
+-rw-r--r--	root/root	usr/etc/pulse/daemon.conf
+-rw-r--r--	root/root	usr/etc/pulse/default.pa
+-rw-r--r--	root/root	usr/etc/pulse/system.pa
+drwxr-xr-x	root/root	usr/etc/xdg/
+drwxr-xr-x	root/root	usr/etc/xdg/autostart/
+-rw-r--r--	root/root	usr/etc/xdg/autostart/pulseaudio.desktop
 drwxr-xr-x	root/root	usr/include/
 drwxr-xr-x	root/root	usr/include/pulse/
 -rw-r--r--	root/root	usr/include/pulse/cdecl.h
@@ -69,95 +73,118 @@ lrwxrwxrwx	root/root	usr/lib/libpulse-mainloop-glib.so -> libpulse-mainloop-glib
 lrwxrwxrwx	root/root	usr/lib/libpulse-mainloop-glib.so.0 -> libpulse-mainloop-glib.so.0.0.5
 -rwxr-xr-x	root/root	usr/lib/libpulse-mainloop-glib.so.0.0.5
 -rwxr-xr-x	root/root	usr/lib/libpulse-simple.la
-lrwxrwxrwx	root/root	usr/lib/libpulse-simple.so -> libpulse-simple.so.0.1.0
-lrwxrwxrwx	root/root	usr/lib/libpulse-simple.so.0 -> libpulse-simple.so.0.1.0
--rwxr-xr-x	root/root	usr/lib/libpulse-simple.so.0.1.0
+lrwxrwxrwx	root/root	usr/lib/libpulse-simple.so -> libpulse-simple.so.0.1.1
+lrwxrwxrwx	root/root	usr/lib/libpulse-simple.so.0 -> libpulse-simple.so.0.1.1
+-rwxr-xr-x	root/root	usr/lib/libpulse-simple.so.0.1.1
 -rwxr-xr-x	root/root	usr/lib/libpulse.la
-lrwxrwxrwx	root/root	usr/lib/libpulse.so -> libpulse.so.0.20.1
-lrwxrwxrwx	root/root	usr/lib/libpulse.so.0 -> libpulse.so.0.20.1
--rwxr-xr-x	root/root	usr/lib/libpulse.so.0.20.1
+lrwxrwxrwx	root/root	usr/lib/libpulse.so -> libpulse.so.0.20.2
+lrwxrwxrwx	root/root	usr/lib/libpulse.so.0 -> libpulse.so.0.20.2
+-rwxr-xr-x	root/root	usr/lib/libpulse.so.0.20.2
 drwxr-xr-x	root/root	usr/lib/pkgconfig/
 -rw-r--r--	root/root	usr/lib/pkgconfig/libpulse-mainloop-glib.pc
 -rw-r--r--	root/root	usr/lib/pkgconfig/libpulse-simple.pc
 -rw-r--r--	root/root	usr/lib/pkgconfig/libpulse.pc
-drwxr-xr-x	root/root	usr/lib/pulse-10.0/
-drwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/libalsa-util.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/libcli.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/libprotocol-cli.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/libprotocol-http.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/libprotocol-native.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/libprotocol-simple.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/libraop.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/librtp.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-allow-passthrough.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-alsa-card.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-alsa-sink.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-alsa-source.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-always-sink.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-augment-properties.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-card-restore.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-cli-protocol-tcp.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-cli-protocol-unix.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-cli.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-combine-sink.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-combine.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-console-kit.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-dbus-protocol.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-default-device-restore.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-detect.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-device-manager.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-device-restore.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-echo-cancel.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-filter-apply.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-filter-heuristics.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-http-protocol-tcp.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-http-protocol-unix.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-intended-roles.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-ladspa-sink.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-loopback.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-match.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-mmkbd-evdev.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-native-protocol-fd.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-native-protocol-tcp.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-native-protocol-unix.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-null-sink.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-null-source.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-pipe-sink.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-pipe-source.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-position-event-sounds.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-raop-sink.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-remap-sink.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-remap-source.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-rescue-streams.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-role-cork.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-role-ducking.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-rtp-recv.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-rtp-send.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-rygel-media-server.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-simple-protocol-tcp.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-simple-protocol-unix.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-sine-source.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-sine.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-stream-restore.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-suspend-on-idle.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-switch-on-connect.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-switch-on-port-available.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-tunnel-sink-new.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-tunnel-sink.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-tunnel-source-new.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-tunnel-source.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-udev-detect.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-virtual-sink.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-virtual-source.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-virtual-surround-sink.so
--rwxr-xr-x	root/root	usr/lib/pulse-10.0/modules/module-volume-restore.so
+drwxr-xr-x	root/root	usr/lib/pulse-11.1/
+drwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/libalsa-util.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/libcli.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/liboss-util.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/libprotocol-cli.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/libprotocol-esound.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/libprotocol-http.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/libprotocol-native.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/libprotocol-simple.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/librtp.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-allow-passthrough.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-alsa-card.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-alsa-sink.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-alsa-source.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-always-sink.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-augment-properties.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-card-restore.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-cli-protocol-tcp.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-cli-protocol-unix.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-cli.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-combine-sink.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-combine.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-console-kit.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-dbus-protocol.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-default-device-restore.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-detect.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-device-manager.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-device-restore.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-echo-cancel.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-esound-compat-spawnfd.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-esound-compat-spawnpid.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-esound-protocol-tcp.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-esound-protocol-unix.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-esound-sink.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-filter-apply.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-filter-heuristics.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-http-protocol-tcp.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-http-protocol-unix.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-intended-roles.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-ladspa-sink.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-loopback.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-match.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-mmkbd-evdev.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-native-protocol-fd.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-native-protocol-tcp.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-native-protocol-unix.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-null-sink.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-null-source.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-oss.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-pipe-sink.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-pipe-source.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-position-event-sounds.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-remap-sink.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-remap-source.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-rescue-streams.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-role-cork.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-role-ducking.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-rtp-recv.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-rtp-send.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-rygel-media-server.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-simple-protocol-tcp.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-simple-protocol-unix.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-sine-source.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-sine.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-stream-restore.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-suspend-on-idle.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-switch-on-connect.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-switch-on-port-available.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-tunnel-sink-new.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-tunnel-sink.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-tunnel-source-new.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-tunnel-source.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-udev-detect.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-virtual-sink.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-virtual-source.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-virtual-surround-sink.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-volume-restore.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-x11-bell.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-x11-cork-request.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-x11-publish.so
+-rwxr-xr-x	root/root	usr/lib/pulse-11.1/modules/module-x11-xsmp.so
 drwxr-xr-x	root/root	usr/lib/pulseaudio/
--rwxr-xr-x	root/root	usr/lib/pulseaudio/libpulsecommon-10.0.la
--rwxr-xr-x	root/root	usr/lib/pulseaudio/libpulsecommon-10.0.so
--rwxr-xr-x	root/root	usr/lib/pulseaudio/libpulsecore-10.0.la
--rwxr-xr-x	root/root	usr/lib/pulseaudio/libpulsecore-10.0.so
+-rwxr-xr-x	root/root	usr/lib/pulseaudio/libpulsecommon-11.1.la
+-rwxr-xr-x	root/root	usr/lib/pulseaudio/libpulsecommon-11.1.so
+-rwxr-xr-x	root/root	usr/lib/pulseaudio/libpulsecore-11.1.la
+-rwxr-xr-x	root/root	usr/lib/pulseaudio/libpulsecore-11.1.so
+-rwxr-xr-x	root/root	usr/lib/pulseaudio/libpulsedsp.la
+-rwxr-xr-x	root/root	usr/lib/pulseaudio/libpulsedsp.so
 drwxr-xr-x	root/root	usr/share/
+drwxr-xr-x	root/root	usr/share/bash-completion/
+drwxr-xr-x	root/root	usr/share/bash-completion/completions/
+lrwxrwxrwx	root/root	usr/share/bash-completion/completions/pacat -> pulseaudio
+lrwxrwxrwx	root/root	usr/share/bash-completion/completions/pacmd -> pulseaudio
+lrwxrwxrwx	root/root	usr/share/bash-completion/completions/pactl -> pulseaudio
+lrwxrwxrwx	root/root	usr/share/bash-completion/completions/padsp -> pulseaudio
+lrwxrwxrwx	root/root	usr/share/bash-completion/completions/paplay -> pulseaudio
+lrwxrwxrwx	root/root	usr/share/bash-completion/completions/parec -> pulseaudio
+lrwxrwxrwx	root/root	usr/share/bash-completion/completions/parecord -> pulseaudio
+lrwxrwxrwx	root/root	usr/share/bash-completion/completions/pasuspender -> pulseaudio
+-rw-r--r--	root/root	usr/share/bash-completion/completions/pulseaudio
 drwxr-xr-x	root/root	usr/share/man/
 drwxr-xr-x	root/root	usr/share/man/man1/
 -rw-r--r--	root/root	usr/share/man/man1/esdcompat.1.gz
@@ -237,3 +264,6 @@ drwxr-xr-x	root/root	usr/share/vala/vapi/
 -rw-r--r--	root/root	usr/share/vala/vapi/libpulse-simple.vapi
 -rw-r--r--	root/root	usr/share/vala/vapi/libpulse.deps
 -rw-r--r--	root/root	usr/share/vala/vapi/libpulse.vapi
+drwxr-xr-x	root/root	usr/share/zsh/
+drwxr-xr-x	root/root	usr/share/zsh/site-functions/
+-rw-r--r--	root/root	usr/share/zsh/site-functions/_pulseaudio
diff --git a/pulseaudio/.md5sum b/pulseaudio/.md5sum
index 2f9b45dc9..bdc29e43c 100644
--- a/pulseaudio/.md5sum
+++ b/pulseaudio/.md5sum
@@ -1 +1,2 @@
-4950d2799bf55ab91f6b7f990b7f0971  pulseaudio-10.0.tar.xz
+fb3d6d75f51d38cb643b00554fe803bd  0001-memfd-wrappers-only-define-memfd_create-if-not-alrea.patch
+390de38231d5cdd6b43ada8939eb74f1  pulseaudio-11.1.tar.xz
diff --git a/pulseaudio/.signature b/pulseaudio/.signature
index 952831dfc..e87a9f737 100644
--- a/pulseaudio/.signature
+++ b/pulseaudio/.signature
@@ -1,5 +1,6 @@
 untrusted comment: verify with /etc/ports/opt.pub
-RWSE3ohX2g5d/QExqqx/3yTmGUXWgj/BtSGno8K/Bl08p50FqciYXcQ9BkLN7WkvI/hN8M2WVR4HiGhxioHdfPQGmMjWVV+heAU=
-SHA256 (Pkgfile) = 1d1e136dcdc62b9c1c3a0c56e6d888b4cc9d175e8a9bcc758980e03d2c23331c
-SHA256 (.footprint) = 0246d3f97178bd5572801519846fbbc63eaa51ff8d1712c7eba2a21eca2d15f2
-SHA256 (pulseaudio-10.0.tar.xz) = a3186824de9f0d2095ded5d0d0db0405dc73133983c2fbb37291547e37462f57
+RWSE3ohX2g5d/SIwA/dySiYxDiy5xSO8PYP9myyCHFaNk0mjoCXmT61jfOMNNjoHZFrMBGHsu6P3Q50wC+/Q8FfHYZGgU8YNDQE=
+SHA256 (Pkgfile) = 4fb11f00c68e69491a30729a72e78d1cf8b87560556299d329d07a380f203996
+SHA256 (.footprint) = 7615f584e82f09771a4f7f48ac0dd055a39c94947be977dcd1c93b706dfc672e
+SHA256 (pulseaudio-11.1.tar.xz) = f2521c525a77166189e3cb9169f75c2ee2b82fa3fcf9476024fbc2c3a6c9cd9e
+SHA256 (0001-memfd-wrappers-only-define-memfd_create-if-not-alrea.patch) = c7e75566cf198ecf09c01b606eb9618ff06528d3a2b3980615684db30f7e5a06
diff --git a/pulseaudio/0001-memfd-wrappers-only-define-memfd_create-if-not-alrea.patch b/pulseaudio/0001-memfd-wrappers-only-define-memfd_create-if-not-alrea.patch
new file mode 100644
index 000000000..2c9f7497a
--- /dev/null
+++ b/pulseaudio/0001-memfd-wrappers-only-define-memfd_create-if-not-alrea.patch
@@ -0,0 +1,63 @@
+From 01239c23f57e74ec40c92144d22fe153ee65f4ff Mon Sep 17 00:00:00 2001
+From: Tanu Kaskinen <tanuk at iki.fi>
+Date: Wed, 24 Jan 2018 03:51:49 +0200
+Subject: [PATCH] memfd-wrappers: only define memfd_create() if not already
+ defined
+
+glibc 2.27 is to be released soon, and it will provide memfd_create().
+If glibc provides the function, we must not define it ourselves,
+otherwise building fails due to conflict between the two implementations
+of the same function.
+
+BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=104733
+---
+ configure.ac                   | 3 +++
+ src/pulsecore/memfd-wrappers.h | 7 ++++---
+ 2 files changed, 7 insertions(+), 3 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 013918f1a..1095ae8cb 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -607,6 +607,9 @@ AS_IF([test "x$enable_memfd" = "xyes" && test "x$HAVE_MEMFD" = "x0"],
+     [AC_MSG_ERROR([*** Your Linux kernel does not support memfd shared memory.
+                   *** Use linux v3.17 or higher for such a feature.])])
+ 
++AS_IF([test "x$HAVE_MEMFD" = "x1"],
++    AC_CHECK_FUNCS([memfd_create]))
++
+ AC_SUBST(HAVE_MEMFD)
+ AM_CONDITIONAL([HAVE_MEMFD], [test "x$HAVE_MEMFD" = x1])
+ AS_IF([test "x$HAVE_MEMFD" = "x1"], AC_DEFINE([HAVE_MEMFD], 1, [Have memfd shared memory.]))
+diff --git a/src/pulsecore/memfd-wrappers.h b/src/pulsecore/memfd-wrappers.h
+index 3bed9b2b1..c7aadfd3c 100644
+--- a/src/pulsecore/memfd-wrappers.h
++++ b/src/pulsecore/memfd-wrappers.h
+@@ -20,13 +20,14 @@
+   License along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
+ ***/
+ 
+-#ifdef HAVE_MEMFD
++#if defined(HAVE_MEMFD) && !defined(HAVE_MEMFD_CREATE)
+ 
+ #include <sys/syscall.h>
+ #include <fcntl.h>
+ 
+ /*
+- * No glibc wrappers exist for memfd_create(2), so provide our own.
++ * Before glibc version 2.27 there was no wrapper for memfd_create(2),
++ * so we have to provide our own.
+  *
+  * Also define memfd fcntl sealing macros. While they are already
+  * defined in the kernel header file <linux/fcntl.h>, that file as
+@@ -63,6 +64,6 @@ static inline int memfd_create(const char *name, unsigned int flags) {
+ #define F_SEAL_WRITE    0x0008  /* prevent writes */
+ #endif
+ 
+-#endif /* HAVE_MEMFD */
++#endif /* HAVE_MEMFD && !HAVE_MEMFD_CREATE */
+ 
+ #endif
+-- 
+2.15.1
+
diff --git a/pulseaudio/Pkgfile b/pulseaudio/Pkgfile
index 83176c415..d93001723 100644
--- a/pulseaudio/Pkgfile
+++ b/pulseaudio/Pkgfile
@@ -1,63 +1,32 @@
-# Description:	PulseAudio is a cross-platform, networked sound server
-# URL:		http://pulseaudio.org/
-# Maintainer:	Alan Mizrahi, alan at mizrahi dot com dot ve
-# Depends on:	libsndfile speexdsp json-c dbus p5-xml-parser glib
-# Optional:	libsamplerate bluez avahi sbc orc lirc pyqt4
+# Description: A sound system for POSIX OSes
+# URL: http://www.freedesktop.org/wiki/Software/PulseAudio/
+# Maintainer: Fredrik Rinnestam, fredrik at crux dot guru
+# Depends on: dbus glib xorg-libsm xorg-libxtst libsndfile intltool consolekit
 
 name=pulseaudio
-version=10.0
+version=11.1
 release=3
-source=(http://freedesktop.org/software/pulseaudio/releases/pulseaudio-$version.tar.xz)
+source=(http://freedesktop.org/software/$name/releases/$name-$version.tar.xz \
+	0001-memfd-wrappers-only-define-memfd_create-if-not-alrea.patch)
 
 build() {
-	cd $name-$version
-	./configure \
-		--prefix=/usr \
-		--libexecdir=/usr/lib/pulseaudio/libexec \
-		--sysconfdir=/etc \
-		--localstatedir=/var \
-		--disable-nls \
-		--disable-rpath \
-		--disable-tcpwrap \
-		--disable-esound \
-		--disable-x11 \
-		--disable-gtk3 \
-		--disable-oss-output \
-		--disable-oss-wrapper \
-		--disable-ipv6 \
-		--disable-legacy-database-entry-format \
-		--disable-hal-compat \
-		--with-database=gdbm \
-		--disable-tests
+    cd $name-$version
 
-	# fight unused direct deps
-	sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+    patch -p1 -i $SRC/0001-memfd-wrappers-only-define-memfd_create-if-not-alrea.patch
 
-	make
-	make DESTDIR="$PKG" install
+    NOCONFIGURE=1 ./bootstrap.sh
 
-	# Workaround the /usr/etc CRUX oddity
-	mkdir $PKG/usr/etc
-	mv $PKG/etc/dbus-1 $PKG/usr/etc
-
-	rm -rf $PKG/etc/bash_completion.d
-	rm -f $PKG/usr/share/man/man1/start-pulseaudio-kde.1
-
-	install -D -m755 src/start-pulseaudio-x11 $PKG/usr/bin/start-pulseaudio-x11
-
-	# If proximity helper was installed, remove setuid bit
-	# To use capabilities instead of the setuid bit, run:
-	# setcap cap_net_raw=ep /usr/lib/pulseaudio/libexec/pulse/proximity-helper
-	if [ -x $PKG/usr/lib/pulseaudio/libexec/pulse/proximity-helper ]; then
-		 chmod -s $PKG/usr/lib/pulseaudio/libexec/pulse/proximity-helper
-	fi
-
-	# remove zsh completion functions
-	rm -rf $PKG/usr/share/zsh
-
-	# Remove bash-completion config unless it's installed
-	if [ ! -f /usr/lib/pkgconfig/bash-completion.pc ]; then
-		rm -rf $PKG/usr/share/bash-completion
-	fi
+    ./configure --prefix=/usr \
+        --libexecdir=/usr/lib/$name \
+        --disable-bluez4 --disable-bluez5 \
+        --disable-default-build-tests \
+        --disable-gtk3 \
+        --disable-rpath \
+        --disable-tcpwrap \
+	--disable-hal-compat \
+	--disable-openssl
+    make
+    make -j1 DESTDIR=$PKG install
 
+    rm -r $PKG/usr/share/locale
 }
diff --git a/pulseaudio/README b/pulseaudio/README
new file mode 100644
index 000000000..799a5f2d9
--- /dev/null
+++ b/pulseaudio/README
@@ -0,0 +1,8 @@
+If you are not running a fully fledged DE you might have trouble
+with pulseaudio shutting down after being idle for a while. You can
+work around this by starting pulseaudio like this:
+
+~/.xinitrc
+#!/bin/bash
+pulseaudio --start --exit-idle-time=-1 --log-target=syslog &
+exec /usr/bin/myawesomewm
diff --git a/pulseaudio/pre-install b/pulseaudio/pre-install
index cfb5a2c7e..0bf1b2c62 100755
--- a/pulseaudio/pre-install
+++ b/pulseaudio/pre-install
@@ -1,11 +1,10 @@
 #!/bin/sh
 
-# check for pulseaudio group or add one
-getent group pulse || /usr/sbin/groupadd -g 90 pulse
-getent group pulse-access || /usr/sbin/groupadd -g 91 pulse-access
+if [ -z "$(getent group pulse)" ]; then
+	/usr/sbin/groupadd -r pulse
+fi
 
-# check for pulseaudio user or add one
-getent passwd pulse || /usr/sbin/useradd -g pulse -u 90 -d /var/run/pulse -s /bin/false -c "Pulseaudio User" pulse
-
-# lock the account
-/usr/bin/passwd -l pulse
+if [ -z "$(getent passwd pulse)" ]; then
+	/usr/sbin/useradd -r -g pulse -d /var/run/pulse -s /bin/false -c "Pulseaudio System User" pulse
+	/usr/bin/passwd -l pulse
+fi


More information about the CRUX mailing list