Various tweaks for the sake of jhalfs:

dconf, speex, sane: change the second package information to
                    "Additional Downloads". Include unpack instructions
                    for the second package in all cases. Also remove
                    the requirement that the user be in group sane for
                    building (works without that)
faac, faad2: add remap="test" to tests
rox-filer, logrotate: make some configuration instruction nodump
gnome-menus: make the (almost deprecated) gsettings instruction nodump
ncftp: make second method nodump

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22010 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Pierre Labastie 2019-08-20 15:55:54 +00:00
parent cdbf1b4601
commit f67554b09a
9 changed files with 21 additions and 15 deletions

View File

@ -194,7 +194,7 @@ chmod -v 0644 /etc/logrotate.d/sys.log</userinput></screen>
<para>You can designate multiple files in one entry:</para>
<screen role="root"><userinput>cat &gt; /etc/logrotate.d/example.log &lt;&lt; EOF
<screen role="nodump"><userinput>cat &gt; /etc/logrotate.d/example.log &lt;&lt; EOF
<literal>file1
file2
file3 {
@ -233,7 +233,8 @@ chmod -v 0644 /etc/logrotate.d/example.log</userinput></screen>
(local time):</phrase>
</para>
<screen role="root" revision="sysv"><userinput>cat &gt; /etc/cron.daily/logrotate.sh &lt;&lt; "EOF" &amp;&amp;
<screen role="root" revision="sysv"><userinput>install -vdm 754 /etc/cron.daily &amp;&amp;
cat &gt; /etc/cron.daily/logrotate.sh &lt;&lt; "EOF" &amp;&amp;
<literal>#!/bin/bash
/usr/sbin/logrotate /etc/logrotate.conf</literal>
EOF

View File

@ -90,7 +90,7 @@
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Additional Package Information</bridgehead>
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>

View File

@ -105,7 +105,7 @@
log in and out of your session.
</para>
<screen role="root"><userinput>gsettings reset-recursively org.gnome.desktop.app-folders</userinput></screen></note>
<screen role="nodump"><userinput>gsettings reset-recursively org.gnome.desktop.app-folders</userinput></screen></note>
<para>
Install <application>GNOME Menus</application> by running the following

View File

@ -77,14 +77,14 @@ make</userinput></screen>
functionality can be tested by encoding a sample WAV file (the sample
file is installed by the <xref linkend="alsa-utils"/> package:</para>
<screen><userinput>./frontend/faac -o Front_Left.mp4 /usr/share/sounds/alsa/Front_Left.wav</userinput></screen>
<screen remap="test"><userinput>./frontend/faac -o Front_Left.mp4 /usr/share/sounds/alsa/Front_Left.wav</userinput></screen>
<para>Then, decode the result using the <command>faad</command> program
from the <xref linkend="faad2"/> package and play back the decoded file
(requires the <command>aplay</command> program from the
<xref linkend="alsa-utils"/> package:</para>
<screen><userinput>faad Front_Left.mp4
<screen remap="test"><userinput>faad Front_Left.mp4
aplay Front_Left.wav</userinput></screen>
<para><command>aplay</command> should identify the file as

View File

@ -84,7 +84,7 @@ make</userinput></screen>
<para>This package does not come with a test suite. However, basic
functionality can be tested by decoding the sample AAC file:</para>
<screen><userinput>./frontend/faad -o sample.wav ../sample.aac</userinput></screen>
<screen remap="test"><userinput>./frontend/faad -o sample.wav ../sample.aac</userinput></screen>
<para>This should display a copyright message and the following
information about the sample file:</para>
@ -104,7 +104,7 @@ ADTS, 4.608 sec, 13 kbps, 16000 Hz
<para>Now play the result (requires the <command>aplay</command> program
from the <xref linkend="alsa-utils"/> package):</para>
<screen><userinput>aplay sample.wav</userinput></screen>
<screen remap="test"><userinput>aplay sample.wav</userinput></screen>
<para><command>aplay</command> should identify the file as
<quote>Signed 16 bit Little Endian, Rate 16000 Hz, Stereo</quote>, and you

View File

@ -66,7 +66,7 @@
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Additional Package Information</bridgehead>
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&speexdsp-download-http;"/></para>

View File

@ -103,14 +103,14 @@ make install</userinput></screen>
second method (with the <filename class="libraryfile">libncftp</filename>
functionality linked in statically) run the following commands:</para>
<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
<screen role="nodump"><userinput>./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
make</userinput></screen>
<para>This package does not come with a test suite.</para>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role='root'><userinput>make install</userinput></screen>
<screen role="nodump"><userinput>make install</userinput></screen>
</sect2>

View File

@ -71,7 +71,7 @@
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Front Ends Package Information</bridgehead>
<bridgehead renderas="sect3">Additional Downloads (Front Ends)</bridgehead>
<itemizedlist spacing='compact'>
<listitem>
<para>Download (HTTP): <ulink url="&sane-fe-download-http;"/></para>
@ -153,6 +153,8 @@
<screen role="root"><userinput>groupadd -g 70 scanner</userinput></screen>
<!-- The following seems to be obsolete: I've built sane several times
as user pierre without adding it to the scanner group
<note>
<para>
The user building <application>SANE</application>-backends should be
@ -170,7 +172,7 @@
<systemitem class="groupname">scanner</systemitem> group.
</para>
</note>
-->
<para>For a USB scanner, if you are linking to <xref linkend="libusb"/>,
include the configure switch --enable-libusb_1_0. Install
<application>SANE</application>-backends by running the following
@ -212,7 +214,10 @@ chgrp -v scanner /var/lock/sane</userinput></screen>
<para>To install <application>SANE</application>-frontends,
use the following commands:</para>
<screen><userinput>sed -i -e "/SANE_CAP_ALWAYS_SETTABLE/d" src/gtkglue.c &amp;&amp;
<screen><userinput>tar -xf ../sane-frontends-&sane-fe-version;.tar.gz &amp;&amp;
cd sane-frontends-&sane-fe-version; &amp;&amp;
sed -i -e "/SANE_CAP_ALWAYS_SETTABLE/d" src/gtkglue.c &amp;&amp;
./configure --prefix=/usr --mandir=/usr/share/man &amp;&amp;
make</userinput></screen>

View File

@ -195,7 +195,7 @@ ln -sv application-{msword,rtf}.png</userinput></screen>
the hostname of the remote computer:
</para>
<screen><userinput>cat &gt; /path/to/hostname/AppRun &lt;&lt; "HERE_DOC"
<screen role="nodump"><userinput>cat &gt; /path/to/hostname/AppRun &lt;&lt; "HERE_DOC"
#!/bin/bash
MOUNT_PATH="${0%/*}"