Changeset 293e9cdc for pst/scanning/sane.xml
- Timestamp:
- 02/10/2016 07:29:53 AM (9 years ago)
- Branches:
- systemd-13485
- Children:
- 062e1f05
- Parents:
- 53192f0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pst/scanning/sane.xml
r53192f0 r293e9cdc 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-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"> 9 8 <!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)"> 16 13 17 14 <!ENTITY sane-fe-download-http "http://alioth.debian.org/frs/download.php/file/1140/sane-frontends-&sane-fe-version;.tar.gz"> … … 51 48 front ends are user interfaces to access the backends.</para> 52 49 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; 76 51 77 52 <bridgehead renderas="sect3">Back Ends Package Information</bridgehead> … … 182 157 <title>Installation of SANE Back Ends</title> 183 158 184 <note>185 <para>186 You may safely disregard any messages printed on the screen when you187 unpack the tarball.188 </para>189 </note>190 191 159 <para>The <application>SANE</application> daemon should run with its own 192 160 group. Create this group by issuing the following commands as the … … 214 182 215 183 <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: 218 186 </para> 219 187 … … 225 193 commands:</para> 226 194 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 && --> 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 && 236 make && 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; && 200 make</userinput></screen> 238 201 239 202 <para>If you want to test the results, some files need to be fixed:</para> 240 203 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.2 4/'\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 \ 248 211 testsuite/tools/data/udev.ref</userinput></screen> 249 212 250 213 <para>To test the results, issue: <command>make check</command>.</para> 251 214 252 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 253 254 <screen role="root"><userinput>make install && 255 install -v -m644 tools/udev/libsane.rules \ 256 /etc/udev/rules.d/65-scanner.rules && 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 && 219 install -m 644 -v tools/udev/libsane.rules \ 220 /etc/udev/rules.d/65-scanner.rules && 221 chgrp -v scanner /var/lock/sane</userinput></screen> 258 222 259 223 <para>With the scanner on, run <command>scanimage -L</command> and the 260 name and location of the device should appear. You need to configure261 the device driversin 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> 262 226 263 227 </sect3> … … 283 247 <para>This package does not come with a test suite.</para> 284 248 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> 286 251 287 252 <screen role="root"><userinput>make install && … … 294 259 command as the <systemitem class="username">root</systemitem> user:</para> 295 260 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> 297 262 298 263 <note> … … 356 321 357 322 <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 <server_ip> by the actual value, below):</para> 323 <filename>net.conf</filename>, as 324 <systemitem class="username">root</systemitem> user (make sure to 325 replace <server_ip> by the actual value, below):</para> 360 326 361 327 <screen role="root"><userinput>cat >> /etc/sane.d/net.conf << "EOF" … … 395 361 EOF 396 362 397 ln -s fv../sane/xscanimage-icon-48x48-2.png /usr/share/pixmaps/xscanimage.png</userinput></screen>363 ln -svf ../sane/xscanimage-icon-48x48-2.png /usr/share/pixmaps/xscanimage.png</userinput></screen> 398 364 399 365 </sect4> … … 448 414 and scanimage</seg> 449 415 <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, 451 417 and /usr/share/doc/sane-&sane-version;</seg> 452 418 </seglistitem>
Note:
See TracChangeset
for help on using the changeset viewer.