mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 14:47:17 +08:00
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:
parent
cdbf1b4601
commit
f67554b09a
@ -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 > /etc/logrotate.d/example.log << EOF
|
||||
<screen role="nodump"><userinput>cat > /etc/logrotate.d/example.log << 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 > /etc/cron.daily/logrotate.sh << "EOF" &&
|
||||
<screen role="root" revision="sysv"><userinput>install -vdm 754 /etc/cron.daily &&
|
||||
cat > /etc/cron.daily/logrotate.sh << "EOF" &&
|
||||
<literal>#!/bin/bash
|
||||
/usr/sbin/logrotate /etc/logrotate.conf</literal>
|
||||
EOF
|
||||
|
@ -90,7 +90,7 @@
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<bridgehead renderas="sect3">Additional Package Information</bridgehead>
|
||||
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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>
|
||||
|
@ -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 &&
|
||||
<screen role="nodump"><userinput>./configure --prefix=/usr --sysconfdir=/etc &&
|
||||
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>
|
||||
|
||||
|
@ -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 &&
|
||||
<screen><userinput>tar -xf ../sane-frontends-&sane-fe-version;.tar.gz &&
|
||||
cd sane-frontends-&sane-fe-version; &&
|
||||
|
||||
sed -i -e "/SANE_CAP_ALWAYS_SETTABLE/d" src/gtkglue.c &&
|
||||
./configure --prefix=/usr --mandir=/usr/share/man &&
|
||||
make</userinput></screen>
|
||||
|
||||
|
@ -195,7 +195,7 @@ ln -sv application-{msword,rtf}.png</userinput></screen>
|
||||
the hostname of the remote computer:
|
||||
</para>
|
||||
|
||||
<screen><userinput>cat > /path/to/hostname/AppRun << "HERE_DOC"
|
||||
<screen role="nodump"><userinput>cat > /path/to/hostname/AppRun << "HERE_DOC"
|
||||
#!/bin/bash
|
||||
|
||||
MOUNT_PATH="${0%/*}"
|
||||
|
Loading…
Reference in New Issue
Block a user