Ignore:
Timestamp:
09/12/2012 05:18:06 PM (12 years ago)
Author:
Krejzi <krejzi@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
7298aa7
Parents:
db248d06
Message:

ALSA 1.0.26.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10657 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • multimedia/libdriv/alsa-lib.xml

    rdb248d06 r0d50cca  
    77  <!ENTITY alsa-lib-download-http "&alsa-download-http;/lib/alsa-lib-&alsa-lib-version;.tar.bz2">
    88  <!ENTITY alsa-lib-download-ftp  "&alsa-download-ftp;/lib/alsa-lib-&alsa-lib-version;.tar.bz2">
    9   <!ENTITY alsa-lib-md5sum        "06fe5819020c6684b991dcffc5471304">
    10   <!ENTITY alsa-lib-size          "820 KB">
    11   <!ENTITY alsa-lib-buildsize     "32 MB (additional 17 MB to build and install docs)">
    12   <!ENTITY alsa-lib-time          "0.3 SBU (less than 0.1 SBU to build and install docs)">
     9  <!ENTITY alsa-lib-md5sum        "2dfa35d28471d721e592b616beedf965">
     10  <!ENTITY alsa-lib-size          "864 KB">
     11  <!ENTITY alsa-lib-buildsize     "16 MB">
     12  <!ENTITY alsa-lib-time          "0.2 SBU">
    1313]>
    1414
     
    2424
    2525  <indexterm zone="alsa-lib">
    26     <primary sortas="a-ALSA-Library">ALSA Library</primary>
     26    <primary sortas="a-alsa-lib">alsa-lib</primary>
    2727  </indexterm>
    2828
     
    3030    <title>Introduction to ALSA Library</title>
    3131
    32     <para>The <application>ALSA Library</application> package contains
    33     the ALSA library.  This is used by programs (including <application>ALSA
    34     Utilities</application>) requiring access to the ALSA sound interface.</para>
     32    <para>
     33      The <application>ALSA Library</application> package contains
     34      the ALSA library used by programs (including <application>ALSA
     35      Utilities</application>) requiring access to the ALSA sound
     36      interface.
     37    </para>
    3538
    3639    &lfs72_checked;
     
    3942    <itemizedlist spacing="compact">
    4043      <listitem>
    41         <para>Download (HTTP): <ulink url="&alsa-lib-download-http;"/></para>
    42       </listitem>
    43       <listitem>
    44         <para>Download (FTP): <ulink url="&alsa-lib-download-ftp;"/></para>
    45       </listitem>
    46       <listitem>
    47         <para>Download MD5 sum: &alsa-lib-md5sum;</para>
    48       </listitem>
    49       <listitem>
    50         <para>Download size: &alsa-lib-size;</para>
    51       </listitem>
    52       <listitem>
    53         <para>Estimated disk space required: &alsa-lib-buildsize;</para>
    54       </listitem>
    55       <listitem>
    56         <para>Estimated build time: &alsa-lib-time;</para>
     44        <para>
     45          Download (HTTP): <ulink url="&alsa-lib-download-http;"/>
     46        </para>
     47      </listitem>
     48      <listitem>
     49        <para>
     50          Download (FTP): <ulink url="&alsa-lib-download-ftp;"/>
     51        </para>
     52      </listitem>
     53      <listitem>
     54        <para>
     55          Download MD5 sum: &alsa-lib-md5sum;
     56        </para>
     57      </listitem>
     58      <listitem>
     59        <para>
     60          Download size: &alsa-lib-size;
     61        </para>
     62      </listitem>
     63      <listitem>
     64        <para>
     65          Estimated disk space required: &alsa-lib-buildsize;
     66        </para>
     67      </listitem>
     68      <listitem>
     69        <para>
     70          Estimated build time: &alsa-lib-time;
     71        </para>
    5772      </listitem>
    5873    </itemizedlist>
     
    6176
    6277    <bridgehead renderas="sect4">Optional</bridgehead>
    63     <para role="optional"><xref linkend="doxygen"/> and
    64     <ulink url="ftp://ftp.lst.de/pub/people/okir/resmgr/">resmgr</ulink></para>
     78    <para role="optional">
     79      <xref linkend="doxygen"/> and
     80      <xref linkend="python2"/>
     81    </para>
    6582
    6683    <para condition="html" role="usernotes">User Notes:
    67     <ulink url="&blfs-wiki;/alsa-lib"/></para>
    68 
     84      <ulink url="&blfs-wiki;/alsa-lib"/>
     85    </para>
    6986  </sect2>
    7087
     
    7289    <title>Kernel Configuration</title>
    7390
    74     <para>In the Device Drivers &rArr; Sound card support &rArr; Advanced Linux
    75     Sound Architecture section of the kernel configuration, select the settings
    76     and drivers appropriate for your hardware.  Ensure that the deprecated Device
    77     Drivers &rArr; Sound card support &rArr; Open Sound System is
    78     <emphasis>not</emphasis> selected.  If necessary, recompile and install your
    79     new kernel.</para>
     91    <para>
     92      In the Device Drivers &rArr; Sound card support &rArr; Advanced Linux
     93      Sound Architecture section of the kernel configuration, select the settings
     94      and drivers appropriate for your hardware.  Ensure that the deprecated Device
     95      Drivers &rArr; Sound card support &rArr; Open Sound System is
     96      <emphasis>not</emphasis> selected.  If necessary, recompile and install your
     97      new kernel.
     98    </para>
    8099
    81100    <indexterm zone="alsa-lib alsa-lib-kernel">
     
    88107    <title>Installation of ALSA Library</title>
    89108
    90     <para>Install <application>ALSA Library</application> by
    91     running the following commands:</para>
     109    <para>
     110      Install <application>ALSA Library</application> by
     111      running the following commands:
     112    </para>
    92113
    93114<screen><userinput>./configure &amp;&amp;
    94115make</userinput></screen>
    95116
    96     <para>This package does not come with a test suite.</para>
    97 
    98     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
    99 
    100 <screen role="root"><userinput>make install &amp;&amp;
    101 install -v -m644 -D doc/asoundrc.txt \
    102     /usr/share/doc/alsa-lib-&alsa-lib-version;/asoundrc.txt</userinput></screen>
    103 
    104    <para>If you have <application>Doxygen</application> installed and you wish to
    105     build the library API documentation, run the following
    106     commands from the top-level directory of the source tree:</para>
     117    <para>
     118      This package does not come with a test suite.
     119    </para>
     120
     121    <para>
     122      Now, as the <systemitem class="username">root</systemitem> user:
     123    </para>
     124
     125<screen role="root"><userinput>make install</userinput></screen>
     126
     127   <para>
     128     If you have <application>Doxygen</application> installed and you wish to
     129     build the library API documentation, run the following
     130     commands from the top-level directory of the source tree:
     131   </para>
    107132
    108133<screen><userinput>make doc</userinput></screen>
    109134
    110     <para>Now, to install the API documentation, as the <systemitem
    111     class="username">root</systemitem> user:</para>
     135    <para>
     136      To install the API documentation, run the following command as
     137      the <systemitem class="username">root</systemitem> user:
     138    </para>
    112139
    113140<screen role="root"><userinput>install -v -d -m755 /usr/share/doc/alsa-lib-&alsa-lib-version;/html &amp;&amp;
    114141install -v -m644 doc/doxygen/html/* /usr/share/doc/alsa-&alsa-lib-version;/html</userinput></screen>
    115142
    116     <para>Due to bug in libtool script it is no longer possible to build
    117     shared and static libraries together. If you need static alsa library,
    118     issue following commands:</para>
    119 
    120     <screen><userinput>make clean &amp;&amp;
    121 ./configure --disable-shared --enable-static  &amp;&amp;
    122 make</userinput></screen>
    123 
    124    <para>Now, as the <systemitem class="username">root</systemitem> user
    125    run: </para>
    126 
    127    <screen role="root"><userinput>install -m644 src/.libs/libasound.a /usr/lib</userinput></screen>
    128 
    129   </sect2>
    130 
    131   <sect2 role="commands">
    132     <title>Command Explanations</title>
    133 
    134     <para><parameter>--enable-static</parameter>: This switch is used to enable
    135     building the static library as some programs link against it.</para>
    136 
    137143  </sect2>
    138144
     
    143149      <title>Config Files</title>
    144150
    145       <para><filename>~/.asoundrc</filename>,
    146       <filename>/etc/asound.conf</filename>,
    147       <filename>/usr/share/alsa/alsa.conf</filename>, and
    148       <filename>/usr/share/alsa/{cards,pcm}/*.conf</filename></para>
     151      <para>
     152        <filename>~/.asoundrc</filename> and
     153        <filename>/etc/asound.conf</filename>
     154      </para>
    149155
    150156      <indexterm zone="alsa-lib alsa-lib-config">
     
    156162      </indexterm>
    157163
    158       <indexterm zone="alsa-lib alsa-lib-config">
    159         <primary sortas="e-usr-share-alsa-alsa.conf">/usr/share/alsa/alsa.conf</primary>
    160       </indexterm>
    161 
    162       <indexterm zone="alsa-lib alsa-lib-config">
    163         <primary sortas="e-usr-share-alsa-alsa1">/usr/share/alsa/{cards,pcm}/*.conf</primary>
    164       </indexterm>
    165 
    166164    </sect3>
    167165
     
    169167      <title>Configuration Information</title>
    170168
    171       <para>The default <filename>alsa.conf</filename> is adequate for most
    172       installations. For extra functionality and/or advanced control of your sound
    173       device, you may need to create additional configuration files. For
    174       information on the available configuration parameters, visit <ulink
    175       url="http://www.alsa-project.org/alsa-doc/doc-php/asoundrc.php"/>.</para>
     169      <para>
     170        The default <filename>alsa.conf</filename> is adequate for most
     171        installations. For extra functionality and/or advanced control of your
     172        sound device, you may need to create additional configuration files.
     173        For information on the available configuration parameters, visit
     174        <ulink url="http://www.alsa-project.org/alsa-doc/doc-php/asoundrc.php"/>.
     175      </para>
    176176
    177177    </sect3>
     
    184184    <segmentedlist>
    185185      <segtitle>Installed Program</segtitle>
    186       <segtitle>Installed Libraries</segtitle>
     186      <segtitle>Installed Library</segtitle>
    187187      <segtitle>Installed Directories</segtitle>
    188188
    189189      <seglistitem>
    190         <seg>aserver</seg>
    191         <seg>libasound.{so,a} and smixer-*.{so,a}</seg>
    192         <seg>/usr/include/alsa, /usr/lib/alsa-lib, /usr/share/alsa and
    193         /usr/share/doc/alsa-lib-&alsa-lib-version;</seg>
     190        <seg>
     191          aserver
     192        </seg>
     193        <seg>
     194          libasound.so
     195        </seg>
     196        <seg>
     197          /usr/include/alsa,
     198          /usr/lib/alsa-lib,
     199          /usr/share/alsa and
     200          /usr/share/doc/alsa-lib-&alsa-lib-version;</seg>
    194201      </seglistitem>
    195202    </segmentedlist>
     
    203210        <term><command>aserver</command></term>
    204211        <listitem>
    205           <para>provides the ALSA server.</para>
     212          <para>
     213            is the ALSA server.
     214          </para>
    206215          <indexterm zone="alsa-lib aserver">
    207216            <primary sortas="b-aserver">aserver</primary>
     
    211220
    212221      <varlistentry id="libasound">
    213         <term><filename class='libraryfile'>libasound.{so,a}</filename></term>
     222        <term><filename class="libraryfile">libasound.so</filename></term>
    214223        <listitem>
    215           <para>provides ALSA functions for application programs.</para>
     224          <para>
     225            contains the ALSA API functions.
     226          </para>
    216227          <indexterm zone="alsa-lib libasound">
    217             <primary sortas="c-libasound">libasound.{so,a}</primary>
     228            <primary sortas="c-libasound">libasound.so</primary>
    218229          </indexterm>
    219230        </listitem>
    220231      </varlistentry>
    221232
    222       <varlistentry id="smixer">
    223         <term><filename class='libraryfile'>smixer-*.{so,a}</filename></term>
    224         <listitem>
    225           <para>provides hardware dependent ALSA mixer functions.</para>
    226           <indexterm zone="alsa-lib smixer">
    227             <primary sortas="c-smixer">smixer-*.{so,a}</primary>
    228           </indexterm>
    229         </listitem>
    230       </varlistentry>
    231 
    232233    </variablelist>
    233234
Note: See TracChangeset for help on using the changeset viewer.