Author: fernando
Date: Thu Sep 5 13:01:24 2013
New Revision: 11772
Log:
Tags for sane and xsane; text, dependencies, install instructions, and
configuration were modified.
Modified:
trunk/BOOK/pst/scanning/sane.xml
trunk/BOOK/pst/scanning/xsane.xml
Modified: trunk/BOOK/pst/scanning/sane.xml
==============================================================================
--- trunk/BOOK/pst/scanning/sane.xml Thu Sep 5 10:23:42 2013 (r11771)
+++ trunk/BOOK/pst/scanning/sane.xml Thu Sep 5 13:01:24 2013 (r11772)
@@ -49,7 +49,7 @@
ends. The back ends are drivers for the supported scanners and cameras. The
front ends are user interfaces to access the backends.</para>
- &lfs73_checked;
+ &lfs74_checked;
<!-- This note is not applicable. First, there is no issue downloading the
ftp://ftp2.sane-project.org/pub/sane/sane-backends-1.0.23.tar.gz
@@ -203,8 +203,10 @@
</para>
</note>
- <para>Install <application>SANE</application>-backends by
- running the following commands:</para>
+ <para>For a USB scanner, if you are linking to <xref linkend="libusb"/>,
+ include --enable-libusb_1_0 configure switch. Install
+ <application>SANE</application>-backends by running the following
+ commands:</para>
<!-- Not sure why this was there as it works if TeX is installed
and it doesn't try to use it if TeX is not installed
@@ -227,6 +229,10 @@
/etc/udev/rules.d/65-scanner.rules &&
chgrp -v scanner /var/lock/sane</userinput></screen>
+ <para>With the scanner on, run <command>scanimage -L</command> and the
+ name and location of the device will appear, if the installation was
+ successful.</para>
+
</sect3>
<sect3>
@@ -321,6 +327,20 @@
<para>Add any desired users to the <systemitem
class="groupname">scanner</systemitem> group.</para>
+ <para>If you want to access a network scanner, include two lines in
+ <filename>net.conf</filename>, as <systemitem
class="username">root</systemitem> user
+ (make sure to replace <server_ip> by the actual value,
below):</para>
+
+<screen role="root"><userinput>cat >> /etc/sane.d/net.conf <<
"EOF" &&
+connect_timeout = 60
+<server_ip>
+EOF</userinput></screen>
+
+ <para>On the server side, include the client ip in the access list of
+ <filename>/etc/sane.d/saned.conf</filename>, restart the
+ <command>saned</command> daemon, and make sure the firewall, if any, is
+ open to the client.</para>
+
</sect4>
<sect4>
Modified: trunk/BOOK/pst/scanning/xsane.xml
==============================================================================
--- trunk/BOOK/pst/scanning/xsane.xml Thu Sep 5 10:23:42 2013 (r11771)
+++ trunk/BOOK/pst/scanning/xsane.xml Thu Sep 5 13:01:24 2013 (r11772)
@@ -33,7 +33,7 @@
<xref linkend="sane"/>. It has additional features to improve the image
quality and ease of use compared to <command>xscanimage</command>.</para>
- &lfs73_checked;
+ &lfs74_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
@@ -65,6 +65,11 @@
<xref linkend="sane"/> (back ends)
</para>
+ <bridgehead renderas="sect4">Recommended</bridgehead>
+ <para role="required">
+ <xref linkend="xdg-utils"/> (for the help docummentation at runtime)
+ </para>
+
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="libtiff"/>,
@@ -94,8 +99,12 @@
<para>Now, as the <systemitem class="username">root</systemitem>
user:</para>
<screen role="root"><userinput>make
xsanedocdir=/usr/share/doc/xsane-&xsane-version; install &&
-ln -v -s ../../doc/xsane-&xsane-version; /usr/share/sane/xsane/doc &&
-ln -v -s <browser> /usr/bin/netscape</userinput></screen>
+ln -v -s ../../doc/xsane-&xsane-version;
/usr/share/sane/xsane/doc</userinput></screen>
+
+ <para>If you have not installed <xref linkend="xdg-utils"/> and have not
+ issued the first sed:</para>
+
+<screen role="root"><userinput>ln -v -s <browser>
/usr/bin/netscape</userinput></screen>
<note><para>Be sure to replace <browser> with the browser of your
choice on your system.</para></note>
@@ -110,6 +119,10 @@
<sect2 role="commands">
<title>Command Explanations</title>
+ <para><command>sed -i -e 's/netscape/xdg-open/' src/xsane.h </command>:
+ This is to use<command>xdg-open</command> for the help documentation,
+ instead of the hardcoded browser.</para>
+
<para><command>ln -v -s ../../doc/xsane-&xsane-version;
/usr/share/sane/xsane/doc</command>: This symlink is created to ensure that
any program that looks for the <application>XSane</application>
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page