Ignore:
Timestamp:
01/31/2016 08:31:08 AM (9 years ago)
Author:
DJ Lucas <dj@…>
Branches:
systemd-13485
Children:
5ee2c13
Parents:
2df08064
Message:

Merge changes from trunk Chpater 45 (systemd Chapter 37)

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@16886 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • multimedia/libdriv/pulseaudio.xml

    r2df08064 rd19fb65  
    88           "http://freedesktop.org/software/pulseaudio/releases/pulseaudio-&pulseaudio-version;.tar.xz">
    99  <!ENTITY pulseaudio-download-ftp  " ">
    10   <!ENTITY pulseaudio-md5sum        "09668b660ffb32f2639cfd6fdc9d3b37">
    11   <!ENTITY pulseaudio-size          "1.4 MB">
    12   <!ENTITY pulseaudio-buildsize     "113 MB (with tests)">
    13   <!ENTITY pulseaudio-time          "2.5 SBU (with tests)">
     10  <!ENTITY pulseaudio-md5sum        "8678442ba0bb4b4c33ac6f62542962df">
     11  <!ENTITY pulseaudio-size          "1.5 MB">
     12  <!ENTITY pulseaudio-buildsize     "110 MB (with tests)">
     13  <!ENTITY pulseaudio-time          "2.2 SBU (with tests)">
    1414]>
    1515
     
    3434      <application>PulseAudio</application> is a sound system for POSIX OSes,
    3535      meaning that it is a proxy for sound applications. It allows you to do
    36       advanced operations on your sound data as it passes between your application
    37       and your hardware. Things like transferring the audio to a different machine,
    38       changing the sample format or channel count and mixing several sounds into
    39       one are easily achieved using a sound server.
     36      advanced operations on your sound data as it passes between your
     37      application and your hardware. Things like transferring the audio to a
     38      different machine, changing the sample format or channel count and mixing
     39      several sounds into one are easily achieved using a sound server.
    4040    </para>
    4141
     
    8989      <xref linkend="dbus"/>,
    9090      <xref linkend="glib2"/>,
     91      <xref linkend="libcap-pam"/>,
    9192      <xref linkend="openssl"/>,
    9293      <xref linkend="speex"/> and
     
    99100      <xref linkend="bluez"/> (runtime),
    100101      <xref linkend="check"/>,
     102<!--      <xref linkend="consolekit"/> (runtime), -->
    101103      <xref linkend="GConf"/>,
    102104      <xref linkend="gtk3"/>,
    103       <xref linkend="libsamplerate"/> (deprecated),
     105      <xref linkend="libsamplerate"/>,
    104106      <xref linkend="sbc"/> (Bluetooth support),
    105107      <xref linkend="valgrind"/>,
     
    108110      <ulink url="http://0pointer.de/lennart/projects/libasyncns/">libasyncns</ulink>,
    109111      <ulink url="http://www.lirc.org/">LIRC</ulink>,
    110       <ulink url="https://www.kernel.org/pub/linux/network/ofono/">oFono</ulink>,
    111       <ulink url="http://code.entropywave.com/projects/orc/">ORC</ulink>,
     112      <ulink url="http://gstreamer.freedesktop.org/src/orc/">ORC</ulink>,
    112113      <ulink url="http://tdb.samba.org/">TDB</ulink>,
    113114      <ulink url="http://freedesktop.org/software/pulseaudio/webrtc-audio-processing/">
    114115      WebRTC AudioProcessing</ulink> and
    115       <ulink url="http://www.xen.org/">XEN</ulink>
     116      <ulink url="http://www.xenproject.org/">XEN</ulink>
    116117    </para>
    117118
     
    124125    <title>Installation of PulseAudio</title>
    125126
     127    <note><para>The build procedure emits a lot of invalid warnings.
     128    If desired, remove them with:</para>
     129
     130<screen><userinput>sed -i "/seems to be moved/s/^/#/" build-aux/ltmain.sh</userinput></screen>
     131    </note>
     132
    126133    <para>
    127134      Install <application>PulseAudio</application> by running the following
     
    129136    </para>
    130137
    131 <screen><userinput>find . -name "Makefile.in" | xargs sed -i "s|(libdir)/@PACKAGE@|(libdir)/pulse|" &amp;&amp;
    132 ./configure --prefix=/usr         \
    133             --sysconfdir=/etc     \
    134             --localstatedir=/var  \
    135             --disable-bluez4      \
    136             --disable-rpath       \
    137             --with-module-dir=/usr/lib/pulse/modules &amp;&amp;
     138<screen><userinput>./configure --prefix=/usr        \
     139            --sysconfdir=/etc    \
     140            --localstatedir=/var \
     141            --disable-bluez4     \
     142            --disable-rpath      &amp;&amp;
    138143make</userinput></screen>
    139144
     
    156161    </para>
    157162
    158 <screen role="root"><userinput>rm -fv /etc/dbus-1/system.d/pulseaudio-system.conf</userinput></screen>
     163<screen role="root"><userinput>rm /etc/dbus-1/system.d/pulseaudio-system.conf</userinput></screen>
    159164
    160165  </sect2>
     
    164169
    165170    <para>
    166       <command>find . -name Makefile.in ...</command>: This sed changes
    167       the build system to install <application>PulseAudio</application>
    168       private libraries into
    169       <filename class="directory">/usr/lib/pulse</filename> instead of
    170       <filename class="directory">/usr/lib/pulseaudio</filename>.
    171     </para>
    172 
    173     <para>
    174171      <parameter>--disable-bluez4</parameter>: This switch disables
    175       support for <application>BlueZ</application> version 4 in favor
     172      support for <application>BlueZ</application> version 4 in favour
    176173      of <application>BlueZ</application> version 5 since the latter
    177174      also installs compatibility library for the earlier version.
     
    184181    </para>
    185182
    186     <para>
    187       <parameter>--with-module-dir=/usr/lib/pulse/modules</parameter>:
    188       This parameter ensures that <application>PulseAudio</application>
    189       modules are installed in <filename class="directory">/usr/lib/pulse/modules
    190       </filename> instead of <filename class="directory">
    191       /usr/lib/pulse-&pulseaudio-major-version;/modules</filename>.
    192     </para>
    193 
     183  </sect2>
     184
     185  <sect2 role="configuration">
     186    <title>Configuring PulseAudio</title>
     187
     188    <sect3 id="pulseaudio-config">
     189      <title>Config Files</title>
     190      <para>
     191        There are system wide configuration files:
     192        <filename>/etc/pulse/daemon.conf</filename>,
     193        <filename>/etc/pulse/client.conf</filename>,
     194        <filename>/etc/pulse/default.pa</filename>, and user configuration
     195        files with the same names in
     196        <filename class="directory">~/.config/pulse</filename>. User
     197        configuration files take precedence over system wide ones.
     198      </para>
     199
     200      <indexterm zone="pulseaudio pulseaudio-config">
     201        <primary sortas="e-AA.config-pulse">~/.config/pulse</primary>
     202      </indexterm>
     203
     204      <indexterm zone="pulseaudio pulseaudio-config">
     205        <primary
     206        sortas="e-etc-pulse-daemon.conf">/etc/pulse/daemon.conf</primary>
     207      </indexterm>
     208
     209      <indexterm zone="pulseaudio pulseaudio-config">
     210        <primary
     211        sortas="e-etc-pulse-client.conf">/etc/pulse/client.conf</primary>
     212      </indexterm>
     213
     214      <indexterm zone="pulseaudio pulseaudio-config">
     215        <primary
     216        sortas="e-etc-pulse-default.pa">/etc/pulse/default.pa</primary>
     217      </indexterm>
     218    </sect3>
     219
     220    <sect3><title>Configuration Information</title>
     221
     222      <para>
     223        The default configuration files allow setting up a working installation.
     224        However, a reference to Console-Kit needs to be removed if it is
     225        not installed. For example, issue the following command as the
     226        <systemitem class="username">root</systemitem> user:
     227      </para>
     228
     229<screen role="root"><userinput>sed -i '/load-module module-console-kit/s/^/#/' /etc/pulse/default.pa</userinput></screen>
     230
     231      <para>
     232        You may also have to configure the audio system. You can start
     233        <application>pulseaudio</application> in command line mode using
     234        <command>pulseaudio -C</command> and then list various
     235        information and change settings. See
     236        <command>man pulse-cli-syntax</command>.
     237      </para>
     238    </sect3>
    194239  </sect2>
    195240
     
    204249      <seglistitem>
    205250        <seg>
    206           esdcompat, pacat, pacmd, pactl, padsp, pamon, paplay,
    207           parec, parecord, pasuspender, pax11publish, pulseaudio,
    208           qpaeq and start-pulseaudio-x11
     251          esdcompat, pacat, pacmd, pactl, padsp, pamon (symlink to pacat),
     252          paplay (symlink to pacat), parec (symlink to pacat),
     253          parecord (symlink to pacat), pasuspender,
     254          pax11publish, pulseaudio, and
     255          <!-- it looks like the equalizer needs FFTW: qpaeq, -->
     256          start-pulseaudio-x11
    209257        </seg>
    210258        <seg>
    211           libpulsecore-&pulseaudio-major-version;.so, libpulse-mainloop-glib.so,
    212           libpulse-simple.so and libpulse.so
     259          libpulse-mainloop-glib.so,
     260          libpulse-simple.so and
     261          libpulse.so
    213262        </seg>
    214263        <seg>
     
    216265          /usr/include/pulse,
    217266          /usr/lib/cmake/PulseAudio,
    218           /usr/lib/pulse,
    219           /usr/libexec/pulse and
     267          /usr/lib/{pulseaudio,pulse-&pulseaudio-major-version;},
     268          /usr/libexec/pulse, and
    220269          /usr/share/pulseaudio
    221270        </seg>
     
    244293        <listitem>
    245294          <para>
    246             Plays back or records raw or encoded audio streams on a
     295            plays back or records raw or encoded audio streams on a
    247296            <application>PulseAudio</application> sound server.
    248297          </para>
     
    380429      </varlistentry>
    381430
     431<!-- only installed if FFTW is present
    382432      <varlistentry id="qpaeq">
    383433        <term><command>qpaeq</command></term>
     
    392442        </listitem>
    393443      </varlistentry>
    394 
     444-->
     445<!-- Not found in PA 7.0
     446      <varlistentry id="start-pulseaudio-kde">
     447        <term><command>start-pulseaudio-kde</command></term>
     448        <listitem>
     449          <para>
     450            Starts <application>PulseAudio</application> and loads
     451            module-device-manager to use KDE routing policies.
     452          </para>
     453          <indexterm zone="pulseaudio start-pulseaudio-kde">
     454            <primary sortas="b-start-pulseaudio-kde">start-pulseaudio-kde</primary>
     455          </indexterm>
     456        </listitem>
     457      </varlistentry>
     458-->
    395459      <varlistentry id="start-pulseaudio-x11">
    396460        <term><command>start-pulseaudio-x11</command></term>
    397461        <listitem>
    398462          <para>
    399             Starts <application>PulseAudio</application> and registers it to
     463            starts <application>PulseAudio</application> and registers it to
    400464            the X11 session manager.
    401465          </para>
Note: See TracChangeset for help on using the changeset viewer.