Changeset 45f715c for pst/scanning


Ignore:
Timestamp:
09/05/2013 08:01:24 PM (11 years ago)
Author:
Fernando de Oliveira <fernando@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
2a2112b4
Parents:
d3789ec7
Message:

Tags for sane and xsane; text, dependencies, install instructions, and configuration were modified.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@11772 af4574ff-66df-0310-9fd7-8a98e5e911e0

Location:
pst/scanning
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pst/scanning/sane.xml

    rd3789ec7 r45f715c  
    5050    front ends are user interfaces to access the backends.</para>
    5151
    52     &lfs73_checked;
     52    &lfs74_checked;
    5353
    5454    <!-- This note is not applicable. First, there is no issue downloading the
     
    204204      </note>
    205205
    206       <para>Install <application>SANE</application>-backends by
    207       running the following commands:</para>
     206      <para>For a USB scanner, if you are linking to <xref linkend="libusb"/>,
     207      include --enable-libusb_1_0 configure switch. Install
     208      <application>SANE</application>-backends by running the following
     209      commands:</para>
    208210
    209211            <!-- Not sure why this was there as it works if TeX is installed
     
    227229                  /etc/udev/rules.d/65-scanner.rules &amp;&amp;
    228230chgrp -v scanner  /var/lock/sane</userinput></screen>
     231
     232      <para>With the scanner on, run <command>scanimage -L</command> and the
     233      name and location of the device will appear, if the installation was
     234      successful.</para>
    229235
    230236    </sect3>
     
    321327        <para>Add any desired users to the <systemitem
    322328        class="groupname">scanner</systemitem> group.</para>
     329
     330        <para>If you want to access a network scanner, include two lines in
     331        <filename>net.conf</filename>, as <systemitem class="username">root</systemitem> user
     332        (make sure to replace &lt;server_ip&gt; by the actual value, below):</para>
     333
     334<screen role="root"><userinput>cat &gt;&gt; /etc/sane.d/net.conf &lt;&lt; "EOF" &amp;&amp;
     335connect_timeout = 60
     336&lt;server_ip&gt;
     337EOF</userinput></screen>
     338
     339        <para>On the server side, include the client ip in the access list of
     340        <filename>/etc/sane.d/saned.conf</filename>, restart the
     341        <command>saned</command> daemon, and make sure the firewall, if any, is
     342        open to the client.</para>
    323343
    324344      </sect4>
  • pst/scanning/xsane.xml

    rd3789ec7 r45f715c  
    3434    quality and ease of use compared to <command>xscanimage</command>.</para>
    3535
    36     &lfs73_checked;
     36    &lfs74_checked;
    3737
    3838    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    6666    </para>
    6767
     68    <bridgehead renderas="sect4">Recommended</bridgehead>
     69    <para role="required">
     70      <xref linkend="xdg-utils"/> (for the help docummentation at runtime)
     71    </para>
     72
    6873    <bridgehead renderas="sect4">Optional</bridgehead>
    6974    <para role="optional">
     
    95100
    96101<screen role="root"><userinput>make xsanedocdir=/usr/share/doc/xsane-&xsane-version; install &amp;&amp;
    97 ln -v -s ../../doc/xsane-&xsane-version; /usr/share/sane/xsane/doc &amp;&amp;
    98 ln -v -s &lt;browser&gt; /usr/bin/netscape</userinput></screen>
     102ln -v -s ../../doc/xsane-&xsane-version; /usr/share/sane/xsane/doc</userinput></screen>
     103
     104    <para>If you have not installed <xref linkend="xdg-utils"/> and have not
     105    issued the first sed:</para>
     106
     107<screen role="root"><userinput>ln -v -s &lt;browser&gt; /usr/bin/netscape</userinput></screen>
    99108
    100109    <note><para>Be sure to replace &lt;browser&gt; with the browser of your
     
    110119  <sect2 role="commands">
    111120    <title>Command Explanations</title>
     121
     122    <para><command>sed -i -e 's/netscape/xdg-open/' src/xsane.h </command>:
     123    This is to use<command>xdg-open</command> for the help documentation,
     124    instead of the hardcoded browser.</para>
    112125
    113126    <para><command>ln -v -s ../../doc/xsane-&xsane-version;
Note: See TracChangeset for help on using the changeset viewer.