Ticket #4667: pulseaudio.patch
File pulseaudio.patch, 7.1 KB (added by , 9 years ago) |
---|
-
general.ent
803 803 <!ENTITY libvpx-version "1.3.0"> 804 804 <!ENTITY opal-version "3.10.10"> 805 805 <!ENTITY opus-version "1.1"> 806 <!ENTITY pulseaudio-version "4.0"> 806 <!ENTITY pulseaudio-major-version "4.99"> 807 <!ENTITY pulseaudio-version "&pulseaudio-major-version;.3"> 807 808 <!ENTITY sdl-version "1.2.15"> 808 809 <!ENTITY soundtouch-version "1.8.0"> 809 810 <!ENTITY speex-version "1.2rc1"> -
multimedia/libdriv/pulseaudio.xml
7 7 <!ENTITY pulseaudio-download-http 8 8 "http://freedesktop.org/software/pulseaudio/releases/pulseaudio-&pulseaudio-version;.tar.xz"> 9 9 <!ENTITY pulseaudio-download-ftp " "> 10 <!ENTITY pulseaudio-md5sum " 591f211db2790a7e4d222f2dc6858db3">10 <!ENTITY pulseaudio-md5sum "7c0d8f0edbe4556da05b51f8f31cf073"> 11 11 <!ENTITY pulseaudio-size "1.4 MB"> 12 <!ENTITY pulseaudio-buildsize "1 05MB">12 <!ENTITY pulseaudio-buildsize "110 MB"> 13 13 <!ENTITY pulseaudio-time "2.0 SBU"> 14 14 ]> 15 15 … … 88 88 <para role="recommended"> 89 89 <xref linkend="alsa-lib"/>, 90 90 <xref linkend="dbus"/>, 91 <xref linkend="glib2"/>, 91 92 <xref linkend="libcap"/>, 92 93 <xref linkend="openssl"/>, 93 94 <xref linkend="speex"/> and 94 <xref linkend="xorg7-lib"/> <!-- Useful for KDE, too -->95 <xref linkend="xorg7-lib"/> 95 96 </para> 96 97 97 <bridgehead renderas="sect4">Optional (Required if building GNOME)</bridgehead>98 <para role="optional">99 <xref linkend="GConf"/>,100 <xref linkend="glib2"/> and101 <xref linkend="gtk2"/>102 </para>103 104 98 <bridgehead renderas="sect4">Optional</bridgehead> 105 99 <para role="optional"> 106 100 <xref linkend="avahi"/>, 107 <xref linkend="bluez"/> and <xref linkend="sbc"/>,101 <xref linkend="bluez"/> (runtime), 108 102 <xref linkend="check"/>, 109 103 <ulink url="http://www.fftw.org/">FFTW</ulink>, 104 <xref linkend="GConf"/>, 105 <xref linkend="gtk3"/>, 110 106 <ulink url="http://www.jackaudio.org/">JACK</ulink>, 111 107 <ulink url="http://0pointer.de/lennart/projects/libasyncns/">libasyncns</ulink>, 112 108 <xref linkend="libsamplerate"/>, 113 109 <ulink url="http://www.lirc.org/">LIRC</ulink>, 114 110 <ulink url="http://code.entropywave.com/projects/orc/">ORC</ulink>, 111 <xref linkend="sbc"/> (Bluetooth support), 115 112 <ulink url="http://tdb.samba.org/">TDB</ulink>, 116 113 <ulink url="http://valgrind.org/">Valgrind</ulink>, 117 114 <ulink url="http://freedesktop.org/software/pulseaudio/webrtc-audio-processing/"> … … 118 115 WebRTC AudioProcessing</ulink> and 119 116 <ulink url="http://www.xen.org/">XEN</ulink> 120 117 </para> 118 121 119 <para condition="html" role="usernotes">User Notes: 122 120 <ulink url="&blfs-wiki;/pulseaudio"/> 123 121 </para> … … 127 125 <title>Installation of PulseAudio</title> 128 126 129 127 <para> 130 In order for <application>PulseAudio</application> to communicate131 properly with D-BUS, create a unique user. As the <systemitem132 class="username">root</systemitem> user, run:133 </para>134 135 <screen role="root"><userinput>groupadd -g 58 pulse &&136 groupadd -g 59 pulse-access &&137 useradd -c "Pulseaudio User" -d /var/run/pulse -g pulse \138 -s /bin/false -u 58 pulse &&139 usermod -a -G audio pulse</userinput></screen>140 141 <para>142 128 Install <application>PulseAudio</application> by running the following 143 129 commands: 144 130 </para> 145 131 146 132 <screen><userinput>find . -name "Makefile.in" | xargs sed -i "s|(libdir)/@PACKAGE@|(libdir)/pulse|" && 147 ./configure --prefix=/usr \148 --sysconfdir=/etc \149 --localstatedir=/var \133 ./configure --prefix=/usr \ 134 --sysconfdir=/etc \ 135 --localstatedir=/var \ 150 136 --libexecdir=/usr/lib \ 137 --disable-bluez4 \ 138 --disable-rpath \ 151 139 --with-module-dir=/usr/lib/pulse/modules && 152 140 make</userinput></screen> 153 141 … … 161 149 162 150 <screen role="root"><userinput>make install</userinput></screen> 163 151 152 <!-- http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/SystemWide/ --> 153 <para> 154 While still as the <systemitem class="username">root</systemitem> 155 user, remove the <application>D-Bus</application> configuration file 156 for the system wide daemon to avoid creating unnecessary system 157 users and grups: 158 </para> 159 160 <screen role="root"><userinput>rm /etc/dbus-1/system.d/pulseaudio-system.conf</userinput></screen> 161 164 162 </sect2> 165 163 166 164 <sect2 role="commands"> … … 175 173 </para> 176 174 177 175 <para> 176 <parameter>--disable-bluez4</parameter>: This switch disables 177 support for <application>BlueZ</application> version 4 in favour 178 of <application>BlueZ</application> version 5 since the latter 179 also installs compatibility library for the earlier version. 180 </para> 181 182 <para> 183 <parameter>--disable-rpath</parameter>: This switch prevents 184 linker from adding a hardcoded runtime path to the installed 185 programs and libraries. 186 </para> 187 188 <para> 178 189 <parameter>--with-module-dir=/usr/lib/pulse/modules</parameter>: 179 190 This parameter ensures that <application>PulseAudio</application> 180 191 modules are installed in <filename class="directory">/usr/lib/pulse/modules 181 192 </filename> instead of <filename class="directory"> 182 /usr/lib/pulse-&pulseaudio- version;/modules</filename>.193 /usr/lib/pulse-&pulseaudio-major-version;/modules</filename>. 183 194 </para> 184 195 185 196 </sect2> … … 199 210 start-pulseaudio-kde and start-pulseaudio-x11 200 211 </seg> 201 212 <seg> 202 libpulsecore-&pulseaudio- version;.so, libpulse-mainloop-glib.so,213 libpulsecore-&pulseaudio-major-version;.so, libpulse-mainloop-glib.so, 203 214 libpulse-simple.so and libpulse.so 204 215 </seg> 205 216 <seg> -
postlfs/config/users.xml
102 102 <row><entry>stunnel </entry><entry>51</entry><entry>51</entry></row> 103 103 <row><entry>svn </entry><entry>56</entry><entry>56</entry></row> 104 104 <row><entry>svntest </entry><entry> </entry><entry>57</entry></row> 105 < row><entry>pulse </entry><entry>58</entry><entry>58</entry></row>106 <row><entry>pulse-access</entry><entry></entry><entry>59</entry></row> 105 <!-- <row><entry>pulse </entry><entry>58</entry><entry>58</entry></row> 106 <row><entry>pulse-access</entry><entry></entry><entry>59</entry></row> --> 107 107 <row><entry>games </entry><entry>60</entry><entry>60</entry></row> 108 108 <row><entry>kvm </entry><entry> </entry><entry>61</entry></row> 109 109 <row><entry>wireshark</entry><entry> </entry><entry>62</entry></row>