Updated to sane-backends-1.0.19.

Added instructions to create a new scanner group ( gid 70 ).
Copied sane udev file to 65-scanner.rules


git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7691 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Bruce Dubbs 2008-12-30 07:51:39 +00:00
parent 233a7e64a2
commit c67fd68c20
4 changed files with 34 additions and 12 deletions

View File

@ -3,7 +3,7 @@ $LastChangedBy$
$Date$
-->
<!ENTITY day "29"> <!-- Always 2 digits -->
<!ENTITY day "30"> <!-- Always 2 digits -->
<!ENTITY month "12"> <!-- Always 2 digits -->
<!ENTITY year "2008">
<!ENTITY copyrightdate "2001-&year;">
@ -694,7 +694,7 @@ $Date$
-->
<!-- Chapter 43 -->
<!ENTITY sane-version "1.0.18">
<!ENTITY sane-version "1.0.19">
<!ENTITY xsane-version "0.994">
<!-- Chapter 44 -->

View File

@ -40,6 +40,16 @@
</listitem>
-->
<listitem>
<para>December 30th, 2008</para>
<itemizedlist>
<listitem>
<para>[bdubbs] - Update to sane-backends-1.0.19. Added
scanner group.</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>December 29th, 2008</para>
<itemizedlist>

View File

@ -96,6 +96,7 @@
<row><entry>svn </entry><entry>56</entry><entry>56</entry></row>
<row><entry>svntest </entry><entry> </entry><entry>57</entry></row>
<row><entry>games </entry><entry>60</entry><entry>60</entry></row>
<row><entry>scanner </entry><entry> </entry><entry>70</entry></row>
<row><entry>anonymous</entry><entry>98</entry><entry> </entry></row>
<row><entry>nobody </entry><entry>99</entry><entry> </entry></row>
<row><entry>nogroup </entry><entry> </entry><entry>99</entry></row>

View File

@ -4,13 +4,13 @@
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY sane-be-download-http "http://alioth.debian.org/download.php/1347/sane-backends-&sane-version;.tar.gz">
<!ENTITY sane-be-download-ftp "ftp://ftp2.sane-project.org/pub/sane/old-versions/sane-backends-&sane-version;/sane-backends-&sane-version;.tar.gz">
<!ENTITY sane-be-download-http "http://alioth.debian.org/download.php/2318/sane-backends-&sane-version;.tar.gz">
<!ENTITY sane-be-download-ftp "ftp://ftp2.sane-project.org/pub/sane/sane-backends-&sane-version;/sane-backends-&sane-version;.tar.gz">
<!ENTITY sane-be-download-ftp "&gentoo-ftp-repo;/sane-backends-&sane-version;.tar.gz">
<!ENTITY sane-be-md5sum "7ca7e2908e24721471de92cf40c75e60">
<!ENTITY sane-be-size "3.7 MB">
<!ENTITY sane-be-buildsize "67 MB">
<!ENTITY sane-be-time "1.4 SBU">
<!ENTITY sane-be-md5sum "8c0936272dcfd4e98c51512699f1c06f">
<!ENTITY sane-be-size "4.1 MB">
<!ENTITY sane-be-buildsize "71 MB">
<!ENTITY sane-be-time "1.5 SBU">
<!ENTITY sane-fe-version "1.0.14">
<!ENTITY sane-fe-download-http "http://alioth.debian.org/download.php/1140/sane-frontends-&sane-fe-version;.tar.gz">
@ -136,17 +136,24 @@
<sect3>
<title>Installation of SANE Back Ends</title>
<para>The <application>SANE</application> daemon should run with its own
group. Set this up by issuing the following commands as the
<systemitem class="username">root</systemitem> user:</para>
<screen><userinput>groupadd -g 50 scanner</userinput></screen>
<para>Install <application>SANE</application>-backends by
running the following commands:</para>
<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
<screen><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="root"><userinput>make install &amp;&amp;
install -m 644 -v tools/udev/libsane.rules /etc/udev/rules.d/65-scanner.rules</userinput></screen>
</sect3>
@ -164,14 +171,14 @@ make</userinput></screen>
<para>To install <application>SANE</application>-frontends,
use the following commands:</para>
<screen><userinput>./configure --prefix=/usr &amp;&amp;
<screen><userinput>./configure --prefix=/usr &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 &amp;&amp;
<screen role="root"><userinput>make install &amp;&amp;
install -v -m644 doc/sane.png xscanimage-icon-48x48-2.png \
/usr/share/sane</userinput></screen>
@ -254,6 +261,10 @@ install -v -m644 doc/sane.png xscanimage-icon-48x48-2.png \
daemon can be found at
<ulink url="http://penguin-breeder.org/sane/saned/"/>.</para>
<para>Once the <command>saned</command> daemon has been configured, add
any desired users to the <systemitem class="groupname">scanner</systemitem>
group.</para>
</sect4>
</sect3>