Changeset 2b3ffa0
- Timestamp:
- 02/07/2013 09:05:35 PM (11 years ago)
- 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:
- a162375
- Parents:
- 558985f9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pst/scanning/sane.xml
r558985f9 r2b3ffa0 5 5 %general-entities; 6 6 7 <!ENTITY sane-be-download-http "http://alioth.debian.org/frs/?group_id=30186"> 8 <!ENTITY sane-be-download-ftp "ftp://ftp2.sane-project.org/pub/sane/"> 7 <!-- <!ENTITY sane-be-download-http "http://alioth.debian.org/frs/?group_id=30186"> --> 8 <!ENTITY sane-be-download-http " "> 9 <!ENTITY sane-be-download-ftp "ftp://ftp2.sane-project.org/pub/sane/sane-backends-&sane-version;.tar.gz"> 9 10 <!--<!ENTITY sane-be-download-ftp "&gentoo-ftp-repo;/sane-backends-&sane-version;.tar.gz">--> 10 <!ENTITY sane-be-md5sum " e226a89c54173efea80e91e9a5eb6573">11 <!ENTITY sane-be-md5sum "979c9dbb23920d04e322be23122c7de7"> 11 12 <!ENTITY sane-be-size "5.1 MB"> 12 13 <!ENTITY sane-be-buildsize "120 MB"> … … 39 40 40 41 <para><application>SANE</application> is short for Scanner Access Now Easy. 41 Scanner access ,however, is far from easy, since every vendor has their own42 Scanner access; however, is far from easy, since every vendor has their own 42 43 protocols. The only known protocol that should bring some unity into this 43 44 chaos is the TWAIN interface, but this is too imprecise to allow a stable … … 51 52 &lfs72_checked; 52 53 54 <!-- This note is not applicable. First, there is no issue downloading the 55 ftp://ftp2.sane-project.org/pub/sane/sane-backends-1.0.23.tar.gz 56 tarball with wget. Next, the combined tarball exists on the SANE FTP 57 site, but the MD5sum is wrong. We can simply point the download to 58 the SANE FTP site and create our own MD5sum (as we do on many packages). 59 53 60 <note><para>The upstream web site uses a self signed security 54 certificate. If using <command>wget</command>, the option - -no-check-certificate61 certificate. If using <command>wget</command>, the option -no-check-certificate 55 62 needs to be added.</para> 56 63 … … 60 67 the correct md5sum is located at <ulink 61 68 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> 69 --> 62 70 63 71 <bridgehead renderas="sect3">Back Ends Package Information</bridgehead> … … 118 126 <bridgehead renderas="sect4">Optional (Back Ends)</bridgehead> 119 127 <para role="optional"> 128 <xref linkend="avahi"/>, 129 <xref linkend="cups"/>, 120 130 <xref linkend="libjpeg"/>, 121 131 <xref linkend="libtiff"/>, 122 <xref linkend="libusb-compat"/>, 132 <xref linkend="libusb"/>, 133 <ulink url="http://www.net-snmp.org/">Net-SNMP</ulink>, 123 134 <ulink url="http://cyberelk.net/tim/libieee1284/">libieee1284</ulink>, 124 <ulink url="http://www.gphoto.org/">libgphoto2</ulink>, and 135 <ulink url="http://www.gphoto.org/">libgphoto2</ulink>, 136 <ulink url="http://linuxtv.org/downloads/v4l-utils/">Video4Linux</ulink>, and 125 137 <xref linkend="texlive"/> 126 138 </para> … … 149 161 drivers, a parallel port scanner needs parallel port support (you should 150 162 use enhanced EPP modes) and perhaps <ulink 151 url="http://cyberelk.net/tim/libieee1284/">libieee1284</ulink> and a USB163 url="http://cyberelk.net/tim/libieee1284/">libieee1284</ulink>, and a USB 152 164 scanner will need the <xref linkend="libusb"/> package. Ensure you have 153 165 the necessary drivers properly configured to access the devices.</para> … … 160 172 <sect3> 161 173 <title>Installation of SANE Back Ends</title> 174 175 <note> 176 <para> 177 You may safely disregard any messages printed on the screen when you 178 unpack the tarball. 179 </para> 180 </note> 162 181 163 182 <para>The <application>SANE</application> daemon should run with its own … … 167 186 <screen><userinput>groupadd -g 70 scanner</userinput></screen> 168 187 169 <note><para>The user building <application>SANE</application>-backends 170 should be a member of the scanner group before proceeding. The easiest 171 way to ensure the system knows you have been added to a new group is to 172 log out log in again. You can check with the output of the 173 <userinput>groups</userinput> command.</para></note> 188 <note> 189 <para> 190 The user building <application>SANE</application>-backends should be 191 a member of the <systemitem class="groupname">scanner</systemitem> 192 group before proceeding. After you have added the user building the 193 package to the <systemitem class="groupname">scanner</systemitem> 194 group, issue the following command to create a new shell: 195 </para> 196 197 <screen><userinput>su $(whoami)</userinput></screen> 198 199 <para> 200 Check the output of the <userinput>groups</userinput> command and 201 ensure the user is a member of the 202 <systemitem class="groupname">scanner</systemitem> group. 203 </para> 204 </note> 174 205 175 206 <para>Install <application>SANE</application>-backends by 176 207 running the following commands:</para> 177 208 178 <screen><userinput>./configure --prefix=/usr \ 179 --sysconfdir=/etc \ 180 --with-group=scanner \ 181 --localstatedir=/var \ 182 --disable-latex && 183 make</userinput></screen> 184 185 <para>This package does not come with a test suite.</para> 209 <!-- Not sure why this was there as it works if TeX is installed 210 and it doesn't try to use it if TeX is not installed 211 -disable-latex && --> 212 213 <screen><userinput>./configure --prefix=/usr \ 214 --sysconfdir=/etc \ 215 --localstatedir=/var \ 216 --with-docdir=/usr/share/doc/sane-backend-1.0.23 \ 217 --with-group=scanner && 218 make && 219 exit</userinput></screen> 220 221 <para>To test the results, issue: <command>make check</command>.</para> 186 222 187 223 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 188 224 189 <screen role="root"><userinput>make install && 190 install -m 644 -v tools/udev/libsane.rules /etc/udev/rules.d/65-scanner.rules</userinput></screen> 225 <screen role="root"><userinput>make install && 226 install -m 644 -v tools/udev/libsane.rules \ 227 /etc/udev/rules.d/65-scanner.rules && 228 chgrp -v scanner /var/lock/sane</userinput></screen> 191 229 192 230 </sect3> … … 236 274 instead of <filename class="directory">/usr/etc/sane.d</filename>.</para> 237 275 276 <para><parameter>--with-group=scanner</parameter>: This parameter causes 277 the directory created for the locking files to be group owned by the 278 <systemitem class="groupname">scanner</systemitem> group instead of the 279 default <systemitem class="groupname">uucp</systemitem> group.</para> 280 281 <para><command>exit</command>: This command is used to exit the shell 282 created by the <command>su</command> command.</para> 238 283 </sect2> 239 284
Note:
See TracChangeset
for help on using the changeset viewer.