r7691 - in trunk/BOOK: . introduction/welcome postlfs/config pst/scanning

bdubbs at linuxfromscratch.org bdubbs at linuxfromscratch.org
Mon Dec 29 23:51:39 PST 2008


Author: bdubbs
Date: 2008-12-30 00:51:39 -0700 (Tue, 30 Dec 2008)
New Revision: 7691

Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/postlfs/config/users.xml
   trunk/BOOK/pst/scanning/sane.xml
Log:
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


Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2008-12-30 00:39:09 UTC (rev 7690)
+++ trunk/BOOK/general.ent	2008-12-30 07:51:39 UTC (rev 7691)
@@ -3,7 +3,7 @@
 $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 @@
 -->
 
 <!-- Chapter 43 -->
-<!ENTITY sane-version                 "1.0.18">
+<!ENTITY sane-version                 "1.0.19">
 <!ENTITY xsane-version                "0.994">
 
 <!-- Chapter 44 -->

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2008-12-30 00:39:09 UTC (rev 7690)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2008-12-30 07:51:39 UTC (rev 7691)
@@ -41,6 +41,16 @@
 
 -->
     <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>
         <listitem>

Modified: trunk/BOOK/postlfs/config/users.xml
===================================================================
--- trunk/BOOK/postlfs/config/users.xml	2008-12-30 00:39:09 UTC (rev 7690)
+++ trunk/BOOK/postlfs/config/users.xml	2008-12-30 07:51:39 UTC (rev 7691)
@@ -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>

Modified: trunk/BOOK/pst/scanning/sane.xml
===================================================================
--- trunk/BOOK/pst/scanning/sane.xml	2008-12-30 00:39:09 UTC (rev 7690)
+++ trunk/BOOK/pst/scanning/sane.xml	2008-12-30 07:51:39 UTC (rev 7691)
@@ -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 &&
+      <screen><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="root"><userinput>make install &&
+install -m 644 -v tools/udev/libsane.rules /etc/udev/rules.d/65-scanner.rules</userinput></screen>
 
     </sect3>
 
@@ -164,14 +171,14 @@
       <para>To install <application>SANE</application>-frontends,
       use the following commands:</para>
 
-<screen><userinput>./configure --prefix=/usr &&
+      <screen><userinput>./configure --prefix=/usr &&
 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 &&
+      <screen role="root"><userinput>make install &&
 install -v -m644 doc/sane.png xscanimage-icon-48x48-2.png \
     /usr/share/sane</userinput></screen>
 
@@ -254,6 +261,10 @@
         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>




More information about the blfs-book mailing list