Ignore:
Timestamp:
04/13/2021 09:31:15 PM (3 years ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
kde5-14269
Parents:
1ec0251
git-author:
Krejzi <krejzi@…> (09/13/2014 05:36:06 PM)
git-committer:
Xi Ruoyao <xry111@…> (04/13/2021 09:31:15 PM)
Message:

Begin manually (while modifying stuff) merging trunk and systemd branches since revision 14087.

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

File:
1 edited

Legend:

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

    r1ec0251 r64135787  
    9999    <title>Installation of ALSA Tools</title>
    100100
     101&as_root;
     102
     103    <para>First, start a subshell that will exit on error:</para>
     104
     105<screen><userinput>bash -e</userinput></screen>
     106
    101107    <para>
    102       The <application>ALSA Tools</application> package is only
    103       needed by those with advanced requirements for their sound
    104       card. The tools are not all built together, instead you
    105       need to <command>cd</command> into the directory of each
    106       tool you wish to compile and run the following commands:
    107     </para>
    108 
    109 <screen><userinput>./configure --prefix=/usr &amp;&amp;
    110 make</userinput></screen>
     108      Now, remove a tool that needs <application>Qt2 or 3</application> and two
     109      unneed files (for the BLFS instructions below):
     110    </para>
     111
     112<screen><userinput>rm -rf qlo10k1 Makefile gitcompile</userinput></screen>
    111113
    112114    <para>
    113       This package does not come with a test suite.
     115      The <application>ALSA Tools</application> package is only needed by those
     116      with advanced requirements for their sound card. The tools can be built
     117      all together at once, but if only a subset is needed, you need to
     118      <command>cd</command> into the directory of each tool you wish to compile
     119      and run the commands. Here, we present instructions to build all tools.
    114120    </para>
    115121
    116122    <para>
    117       Now, as the <systemitem class="username">root</systemitem> user:
    118     </para>
    119 
    120 <screen role="root"><userinput>make install</userinput></screen>
     123      Install all <application>ALSA Tools</application> by running the
     124      following commands:
     125    </para>
     126
     127<screen><userinput>for tool in *
     128do
     129  case $tool in
     130    seq )
     131      tool_dir=seq/sbiload
     132    ;;
     133    * )
     134      tool_dir=$tool
     135    ;;
     136  esac
     137
     138  pushd $tool_dir
     139    ./configure --prefix=/usr
     140    make
     141    as_root make install
     142    as_root /sbin/ldconfig
     143  popd
     144
     145done
     146unset tool tool_dir</userinput></screen>
     147
     148    <para>Finally, exit the shell that was started earlier:</para>
     149
     150<screen><userinput>exit</userinput></screen>
    121151
    122152  </sect2>
Note: See TracChangeset for help on using the changeset viewer.