Ignore:
Timestamp:
02/10/2016 07:29:53 AM (9 years ago)
Author:
DJ Lucas <dj@…>
Branches:
systemd-13485
Children:
062e1f05
Parents:
53192f0
Message:

Merge PST and Printing section from trunk.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@16929 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pst/scanning/sane.xml

    r53192f0 r293e9cdc  
    55  %general-entities;
    66
    7   <!-- <!ENTITY sane-be-download-http "http://alioth.debian.org/frs/?group_id=30186"> -->
    8   <!ENTITY sane-be-download-http "http://fossies.org/linux/misc//sane-backends-&sane-version;.tar.gz">
     7  <!ENTITY sane-be-download-http "http://fossies.org/linux/misc/sane-backends-&sane-version;.tar.gz">
    98  <!ENTITY sane-be-download-ftp  " ">
    10   <!--<!ENTITY sane-be-download-ftp  "ftp://ftp2.sane-project.org/pub/sane/sane-backends-&sane-version;.tar.gz">-->
    11   <!--<!ENTITY sane-be-download-ftp  "&gentoo-ftp-repo;/sane-backends-&sane-version;.tar.gz">-->
    12   <!ENTITY sane-be-md5sum        "1ca68e536cd7c1852322822f5f6ac3a4">
    13   <!ENTITY sane-be-size          "5.6 MB">
    14   <!ENTITY sane-be-buildsize     "97 MB">
    15   <!ENTITY sane-be-time          "1.0 SBU">
     9  <!ENTITY sane-be-md5sum        "f9ed5405b3c12f07c6ca51ee60225fe7">
     10  <!ENTITY sane-be-size          "5.7 MB">
     11  <!ENTITY sane-be-buildsize     "129 MB (additional 34 MB for tests)">
     12  <!ENTITY sane-be-time          "1.0 SBU (additional 0.1 SBU for tests)">
    1613
    1714  <!ENTITY sane-fe-download-http "http://alioth.debian.org/frs/download.php/file/1140/sane-frontends-&sane-fe-version;.tar.gz">
     
    5148    front ends are user interfaces to access the backends.</para>
    5249
    53     &lfs77_checked;
    54 
    55     <!-- The upstream web site has the md5sums for the tarballs:
    56          http://www.sane-project.org/sane-md5sums.txt.
    57          But they do not provide the tarballs, so, the following paragraph
    58          seems not applicable, starting with sane-backends-1.0.24.tar.gz.
    59 
    60          This note is not applicable. First, there is no issue downloading the
    61          ftp://ftp2.sane-project.org/pub/sane/sane-backends-1.0.23.tar.gz
    62          tarball with wget. Next, the combined tarball exists on the SANE FTP
    63          site, but the MD5sum is wrong. We can simply point the download to
    64          the SANE FTP site and create our own MD5sum (as we do on many packages).
    65 
    66     <note><para>The upstream web site uses a self signed security
    67     certificate.  If using <command>wget</command>, the option -no-check-certificate
    68     needs to be added.</para>
    69 
    70     <para>The md5sum of the backend file does not match unless the three parts
    71     of the divided tarball on the upstream server,
    72     sane-backends-1.0.23.tar.gz.[1-3], are combined.  A combined tarball with
    73     the correct md5sum is located at <ulink
    74     url="http://anduin.linuxfromscratch.org/sources/other/sane-backends-1.0.23.tar.gz">http://anduin.linuxfromscratch.org/sources/other/sane-backends-1.0.23.tar.gz</ulink>.</para></note>
    75     -->
     50    &lfs78_checked;
    7651
    7752    <bridgehead renderas="sect3">Back Ends Package Information</bridgehead>
     
    182157      <title>Installation of SANE Back Ends</title>
    183158
    184       <note>
    185         <para>
    186           You may safely disregard any messages printed on the screen when you
    187           unpack the tarball.
    188         </para>
    189       </note>
    190 
    191159      <para>The <application>SANE</application> daemon should run with its own
    192160      group.  Create this group by issuing the following commands as the
     
    214182
    215183      <para>
    216         Fix linking with the systemd library when using <application>systemd</application>
    217         210 and later:
     184        Fix linking with the systemd library when using
     185        <application>systemd</application> 210 and later:
    218186      </para>
    219187
     
    225193      commands:</para>
    226194
    227             <!-- Not sure why this was there as it works if TeX is installed
    228                  and it doesn't try to use it if TeX is not installed
    229                  -disable-latex &amp;&amp; -->
    230 
    231 <screen><userinput>./configure --prefix=/usr                                    \
    232             --sysconfdir=/etc                                \
    233             --localstatedir=/var                             \
    234             --with-docdir=/usr/share/doc/sane-backend-&sane-version; \
    235             --with-group=scanner                             &amp;&amp;
    236 make                                                         &amp;&amp;
    237 exit</userinput></screen>
     195<screen><userinput>./configure --prefix=/usr        \
     196            --sysconfdir=/etc    \
     197            --localstatedir=/var \
     198            --with-group=scanner \
     199            --with-docdir=/usr/share/doc/sane-backend-&sane-version; &amp;&amp;
     200make</userinput></screen>
    238201
    239202      <para>If you want to test the results, some files need to be fixed:</para>
    240203
    241 <screen><userinput>sed -i -e 's/Jul 31 07:52:48/Oct  7 08:58:33/'      \
    242        -e 's/1.0.24git/1.0.24/'                     \
    243        testsuite/tools/data/db.ref                  \
    244        testsuite/tools/data/html-mfgs.ref           \
    245        testsuite/tools/data/usermap.ref             \
    246        testsuite/tools/data/html-backends-split.ref \
    247        testsuite/tools/data/udev+acl.ref            \
     204<screen><userinput>sed -i -e 's/Jul 31 07:52:48 2013/Oct 19 13:25:20 2015/'  \
     205       -e 's/1.0.24git/1.0.25/'                           \
     206       testsuite/tools/data/db.ref                        \
     207       testsuite/tools/data/html-mfgs.ref                 \
     208       testsuite/tools/data/usermap.ref                   \
     209       testsuite/tools/data/html-backends-split.ref       \
     210       testsuite/tools/data/udev+acl.ref                  \
    248211       testsuite/tools/data/udev.ref</userinput></screen>
    249212
    250213      <para>To test the results, issue: <command>make check</command>.</para>
    251214
    252       <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
    253 
    254 <screen role="root"><userinput>make install                                        &amp;&amp;
    255 install -v -m644 tools/udev/libsane.rules           \
    256                  /etc/udev/rules.d/65-scanner.rules &amp;&amp;
    257 chgrp -v scanner /var/lock/sane</userinput></screen>
     215      <para>Now, as the <systemitem class="username">root</systemitem>
     216      user:</para>
     217
     218<screen role="root"><userinput>make install                                         &amp;&amp;
     219install -m 644 -v tools/udev/libsane.rules           \
     220                  /etc/udev/rules.d/65-scanner.rules &amp;&amp;
     221chgrp -v scanner  /var/lock/sane</userinput></screen>
    258222
    259223      <para>With the scanner on, run <command>scanimage -L</command> and the
    260       name and location of the device should appear. You need to configure
    261       the device drivers in order to run this test.</para>
     224      name and location of the device should appear. Of course, you need the
     225      device drivers configured, in order to run this test.</para>
    262226
    263227    </sect3>
     
    283247      <para>This package does not come with a test suite.</para>
    284248
    285       <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
     249      <para>Now, as the <systemitem class="username">root</systemitem>
     250      user:</para>
    286251
    287252<screen role="root"><userinput>make install &amp;&amp;
     
    294259      command as the <systemitem class="username">root</systemitem> user:</para>
    295260
    296 <screen role="root"><userinput>ln -sfv ../../../../bin/xscanimage /usr/lib/gimp/2.0/plug-ins</userinput></screen>
     261<screen role="root"><userinput>ln -v -s ../../../../bin/xscanimage /usr/lib/gimp/2.0/plug-ins</userinput></screen>
    297262
    298263      <note>
     
    356321
    357322        <para>If you want to access a network scanner, include two lines in
    358         <filename>net.conf</filename>, as <systemitem class="username">root</systemitem> user
    359         (make sure to replace &lt;server_ip&gt; by the actual value, below):</para>
     323        <filename>net.conf</filename>, as
     324        <systemitem class="username">root</systemitem> user (make sure to
     325        replace &lt;server_ip&gt; by the actual value, below):</para>
    360326
    361327<screen role="root"><userinput>cat &gt;&gt; /etc/sane.d/net.conf &lt;&lt; "EOF"
     
    395361EOF
    396362
    397 ln -sfv ../sane/xscanimage-icon-48x48-2.png /usr/share/pixmaps/xscanimage.png</userinput></screen>
     363ln -svf ../sane/xscanimage-icon-48x48-2.png /usr/share/pixmaps/xscanimage.png</userinput></screen>
    398364
    399365      </sect4>
     
    448414        and scanimage</seg>
    449415        <seg>libsane.so and numerous scanner backend modules</seg>
    450         <seg>/etc/sane.d, /usr/include/sane, /usr/lib/sane, /usr/share/sane,
     416        <seg>/etc/sane.d, /usr/{include,lib,share}/sane,
    451417        and /usr/share/doc/sane-&sane-version;</seg>
    452418      </seglistitem>
Note: See TracChangeset for help on using the changeset viewer.