Opened 14 years ago

Closed 12 years ago

Last modified 10 years ago

#3042 closed enhancement (duplicate)

PulseAudio-0.9.22

Reported by: DJ Lucas Owned by: DJ Lucas
Priority: normal Milestone:
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

New sound server package, many apps in BLFS support it already.

Wish all packages were this easy on the dependencies:

http://pulseaudio.org/wiki/DownloadPulseAudio#Requirements

Change History (8)

comment:1 by DJ Lucas, 14 years ago

Status: newassigned

comment:2 by Randy McMurchy, 13 years ago

Milestone: future6.7

Updated milestone to 6.7

comment:3 by Randy McMurchy, 13 years ago

Summary: pulseaudio-0.9.21PulseAudio-0.9.22

Version increment to 0.9.22

At a minimum:

./configure --prefix=/usr \
            --sysconfdir=/etc \
            --libexecdir=/usr/lib/pulse \
            --with-module-dir=/usr/lib/pulse/modules \
            --localstatedir=/var/lib/pulse

Additionally we could pass `alsaprofilesetsdir=/usr/share/pulse' to configure (or use a sed on src/Makefile.in) so that there is not a /usr/share/pulseaudio. I say this because by default there is

/usr/include/pulse
/usr/lib/pulse
/etc/pulse
/var/lib/pulse

Changing the /usr/share name provides consistency.

comment:4 by Randy McMurchy, 13 years ago

Additionally,

--with-udev-rules-dir=/etc/udev/rules.d

should be passed to configure else the udev rules end up in /usr/lib/udev/rules.d which should only be used by udev itself.

comment:5 by Randy McMurchy, 13 years ago

Please disregard the above comments as they are incomplete and erroneous. Following is what I hope are solid instructions:

First, if Linux-PAM is installed, add these two lines to /etc/security/limits.conf:

@audio   -  rtprio     99
@audio   -  memlock    unlimited

Next run a sed so that stuff ends up in /usr/share/pulse, instead of /usr/share/pulseaudio:

sed -i 's|pulseaudio/alsa-mixer|pulse/alsa-mixer|' src/Makefile.in

Now here is what should be a correct ./configure command:

./configure --prefix=/usr \
            --sysconfdir=/etc \
            --libexecdir=/usr/lib/pulse \
            --with-module-dir=/usr/lib/pulse/modules \
            --localstatedir=/var \
            --with-udev-rules-dir=/etc/udev/rules.d

This ends up with the following directories and files created and used:

/etc/pulse
/etc/udev/rules.d/90-pulseaudio.rules
/etc/xdg/autostart/pulseaudio.desktop
/etc/xdg/autostart/pulseaudio-kde.desktop
/etc/dbus-1/system.d/pulseaudio-system.conf
/usr/include/pulse
/usr/lib/pulse
/usr/share/pulse
/usr/share/vala/vapi/libpulse.vapi (not sure what it is for)
/var/lib/pulse
/var/run/pulse

Doxygen docs can be created via a Makefile, I'm not sure if the Makefile will install them.

Lastly, view http://www.pulseaudio.org/wiki/PerfectSetup for hints how to create a setup that will work with the users hardware and existing packages.

comment:6 by Wayne Blaszczyk, 13 years ago

Is there a trick to creating the /var/... directories? I've tried various options during the build process and I cannot get 'make install' to create any localstatedir directories. Further to this, what are they used for? the system daemon? If so, the developers seem to discourage the use of it. http://pulseaudio.org/wiki/WhatIsWrongWithSystemMode

comment:7 by DJ Lucas, 12 years ago

Resolution: duplicate
Status: assignedclosed

Already in the book.

comment:8 by bdubbs@…, 10 years ago

Milestone: 6.7

Milestone 6.7 deleted

Note: See TracTickets for help on using tickets.