Tweaked sane-backends instructions for

proper udev and gid settings.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7709 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Bruce Dubbs 2009-01-01 19:22:28 +00:00
parent 7ebb931b4b
commit d47868aac3
2 changed files with 12 additions and 5 deletions

View File

@ -43,6 +43,10 @@
<listitem>
<para>January 1st, 2009</para>
<itemizedlist>
<listitem>
<para>[bdubbs] - Tweaked sane-backends instructions for
proper udev and gid settings.</para>
</listitem>
<listitem>
<para>[bdubbs] - Updated to subversion-1.5.4.</para>
</listitem>

View File

@ -145,7 +145,8 @@
<para>Install <application>SANE</application>-backends by
running the following commands:</para>
<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
<screen><userinput>sed -i 's/SYSFS/ATTRS/g' tools/sane-desc.c &amp;&amp;
./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
make</userinput></screen>
<para>This package does not come with a test suite.</para>
@ -196,6 +197,9 @@ install -v -m644 doc/sane.png xscanimage-icon-48x48-2.png \
<sect2 role="commands">
<title>Command Explanations</title>
<para><command>sed -i 's/SYSFS/ATTRS/g' tools/sane-desc.c</command>: This
command fixes an obsolete <application>udev</application> parameter.</para>
<para><parameter>--sysconfdir=/etc</parameter>: This switch installs the
configuration files in <filename class="directory">/etc/sane.d</filename>
instead of <filename class="directory">/usr/etc/sane.d</filename>.</para>
@ -229,6 +233,9 @@ install -v -m644 doc/sane.png xscanimage-icon-48x48-2.png \
<command>man sane-<replaceable>&lt;backend&gt;</replaceable></command>,
substituting the desired backend.</para>
<para>Add any desired users to the <systemitem
class="groupname">scanner</systemitem> group.</para>
</sect4>
<sect4>
@ -261,10 +268,6 @@ 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>