Author: pierre
Date: Tue Aug 20 08:55:54 2019
New Revision: 22010

Log:
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

Modified:
   trunk/BOOK/general/sysutils/logrotate.xml
   trunk/BOOK/gnome/platform/dconf.xml
   trunk/BOOK/gnome/platform/gnome-menus.xml
   trunk/BOOK/multimedia/libdriv/faac.xml
   trunk/BOOK/multimedia/libdriv/faad2.xml
   trunk/BOOK/multimedia/libdriv/speex.xml
   trunk/BOOK/networking/netprogs/ncftp.xml
   trunk/BOOK/pst/scanning/sane.xml
   trunk/BOOK/xsoft/other/rox-filer.xml

Modified: trunk/BOOK/general/sysutils/logrotate.xml
==============================================================================
--- trunk/BOOK/general/sysutils/logrotate.xml   Tue Aug 20 07:15:07 2019        
(r22009)
+++ trunk/BOOK/general/sysutils/logrotate.xml   Tue Aug 20 08:55:54 2019        
(r22010)
@@ -194,7 +194,7 @@
 
   <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 @@
      (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

Modified: trunk/BOOK/gnome/platform/dconf.xml
==============================================================================
--- trunk/BOOK/gnome/platform/dconf.xml Tue Aug 20 07:15:07 2019        (r22009)
+++ trunk/BOOK/gnome/platform/dconf.xml Tue Aug 20 08:55:54 2019        (r22010)
@@ -90,7 +90,7 @@
       </listitem>
     </itemizedlist>
 
-    <bridgehead renderas="sect3">Additional Package Information</bridgehead>
+    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
     <itemizedlist spacing="compact">
       <listitem>
         <para>

Modified: trunk/BOOK/gnome/platform/gnome-menus.xml
==============================================================================
--- trunk/BOOK/gnome/platform/gnome-menus.xml   Tue Aug 20 07:15:07 2019        
(r22009)
+++ trunk/BOOK/gnome/platform/gnome-menus.xml   Tue Aug 20 08:55:54 2019        
(r22010)
@@ -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

Modified: trunk/BOOK/multimedia/libdriv/faac.xml
==============================================================================
--- trunk/BOOK/multimedia/libdriv/faac.xml      Tue Aug 20 07:15:07 2019        
(r22009)
+++ trunk/BOOK/multimedia/libdriv/faac.xml      Tue Aug 20 08:55:54 2019        
(r22010)
@@ -77,14 +77,14 @@
     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

Modified: trunk/BOOK/multimedia/libdriv/faad2.xml
==============================================================================
--- trunk/BOOK/multimedia/libdriv/faad2.xml     Tue Aug 20 07:15:07 2019        
(r22009)
+++ trunk/BOOK/multimedia/libdriv/faad2.xml     Tue Aug 20 08:55:54 2019        
(r22010)
@@ -84,7 +84,7 @@
     <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 @@
     <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

Modified: trunk/BOOK/multimedia/libdriv/speex.xml
==============================================================================
--- trunk/BOOK/multimedia/libdriv/speex.xml     Tue Aug 20 07:15:07 2019        
(r22009)
+++ trunk/BOOK/multimedia/libdriv/speex.xml     Tue Aug 20 08:55:54 2019        
(r22010)
@@ -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>

Modified: trunk/BOOK/networking/netprogs/ncftp.xml
==============================================================================
--- trunk/BOOK/networking/netprogs/ncftp.xml    Tue Aug 20 07:15:07 2019        
(r22009)
+++ trunk/BOOK/networking/netprogs/ncftp.xml    Tue Aug 20 08:55:54 2019        
(r22010)
@@ -103,14 +103,14 @@
     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>
 

Modified: trunk/BOOK/pst/scanning/sane.xml
==============================================================================
--- trunk/BOOK/pst/scanning/sane.xml    Tue Aug 20 07:15:07 2019        (r22009)
+++ trunk/BOOK/pst/scanning/sane.xml    Tue Aug 20 08:55:54 2019        (r22010)
@@ -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 @@
       <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>
 

Modified: trunk/BOOK/xsoft/other/rox-filer.xml
==============================================================================
--- trunk/BOOK/xsoft/other/rox-filer.xml        Tue Aug 20 07:15:07 2019        
(r22009)
+++ trunk/BOOK/xsoft/other/rox-filer.xml        Tue Aug 20 08:55:54 2019        
(r22010)
@@ -195,7 +195,7 @@
         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%/*}"
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to