Changeset ac38e9dc for pst/scanning
- Timestamp:
- 08/01/2015 04:26:22 AM (9 years ago)
- Branches:
- systemd-13485
- Children:
- ad6910d
- Parents:
- 4a83293
- Location:
- pst/scanning
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pst/scanning/sane.xml
r4a83293 rac38e9dc 13 13 <!ENTITY sane-be-size "5.6 MB"> 14 14 <!ENTITY sane-be-buildsize "97 MB"> 15 <!ENTITY sane-be-time "1 SBU">15 <!ENTITY sane-be-time "1.0 SBU"> 16 16 17 17 <!ENTITY sane-fe-download-http "http://alioth.debian.org/frs/download.php/file/1140/sane-frontends-&sane-fe-version;.tar.gz"> … … 51 51 front ends are user interfaces to access the backends.</para> 52 52 53 &lfs7 6_checked;53 &lfs77_checked; 54 54 55 55 <!-- The upstream web site has the md5sums for the tarballs: … … 137 137 <xref linkend="libtiff"/>, 138 138 <xref linkend="libusb"/>, 139 <xref linkend="v4l-utils"/>, 139 140 <ulink url="http://www.net-snmp.org/">Net-SNMP</ulink>, 140 141 <ulink url="http://cyberelk.net/tim/libieee1284/">libieee1284</ulink>, 141 <ulink url="http://www.gphoto.org/">libgphoto2</ulink>, 142 <ulink url="http://linuxtv.org/downloads/v4l-utils/">Video4Linux</ulink>, and 143 <xref linkend="texlive"/> 142 <ulink url="http://www.gphoto.org/">libgphoto2</ulink>, and 143 <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>) 144 144 </para> 145 145 … … 213 213 </note> 214 214 215 <para> 216 Fix linking with the systemd library when using <application>systemd</application> 217 210 and later: 218 </para> 219 220 <screen><userinput>sed -i "s:systemd-daemon:systemd:g" configure configure.in</userinput></screen> 221 215 222 <para>For a USB scanner, if you are linking to <xref linkend="libusb"/>, 216 223 include the configure switch --enable-libusb_1_0. Install … … 245 252 <para>Now, as the <systemitem class="username">root</systemitem> user:</para> 246 253 247 <screen role="root"><userinput>make install 248 install - m 644 -vtools/udev/libsane.rules \249 250 chgrp -v scanner 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> 251 258 252 259 <para>With the scanner on, run <command>scanimage -L</command> and the 253 name and location of the device should appear. Of course, you need the254 device drivers configured,in order to run this test.</para>260 name and location of the device should appear. You need to configure 261 the device drivers in order to run this test.</para> 255 262 256 263 </sect3> … … 271 278 272 279 <screen><userinput>sed -i -e "/SANE_CAP_ALWAYS_SETTABLE/d" src/gtkglue.c && 273 ./configure --prefix=/usr &&280 ./configure --prefix=/usr --mandir=/usr/share/man && 274 281 make</userinput></screen> 275 282 … … 287 294 command as the <systemitem class="username">root</systemitem> user:</para> 288 295 289 <screen role="root"><userinput>ln - v -s../../../../bin/xscanimage /usr/lib/gimp/2.0/plug-ins</userinput></screen>296 <screen role="root"><userinput>ln -sfv ../../../../bin/xscanimage /usr/lib/gimp/2.0/plug-ins</userinput></screen> 290 297 291 298 <note> … … 388 395 EOF 389 396 390 ln -s vf../sane/xscanimage-icon-48x48-2.png /usr/share/pixmaps/xscanimage.png</userinput></screen>397 ln -sfv ../sane/xscanimage-icon-48x48-2.png /usr/share/pixmaps/xscanimage.png</userinput></screen> 391 398 392 399 </sect4> -
pst/scanning/xsane.xml
r4a83293 rac38e9dc 35 35 quality and ease of use compared to <command>xscanimage</command>.</para> 36 36 37 &lfs7 6_checked;37 &lfs77_checked; 38 38 39 39 <bridgehead renderas="sect3">Package Information</bridgehead> … … 90 90 91 91 <!--sed -i -e 's/netscape/xdg-open/' src/xsane.h &&--> 92 <screen><userinput>sed -i -e 's/png_ptr->jmpbuf/png_jmpbuf(png_ptr)/' src/xsane-save.c && 93 ./configure --prefix=/usr && 92 <screen><userinput>sed -e 's/png_ptr->jmpbuf/png_jmpbuf(png_ptr)/' \ 93 -i src/xsane-save.c && 94 ./configure --prefix=/usr && 94 95 make</userinput></screen> 95 96 … … 99 100 100 101 <screen role="root"><userinput>make xsanedocdir=/usr/share/doc/xsane-&xsane-version; install && 101 ln - v -s../../doc/xsane-&xsane-version; /usr/share/sane/xsane/doc</userinput></screen>102 ln -sfv ../../doc/xsane-&xsane-version; /usr/share/sane/xsane/doc</userinput></screen> 102 103 <!-- 103 104 <para>If you have not installed <xref linkend="xdg-utils"/> and have not … … 107 108 user:</para> 108 109 109 <screen role="root"><userinput>ln - v -s<browser> /usr/bin/netscape</userinput></screen>110 <screen role="root"><userinput>ln -sfv <browser> /usr/bin/netscape</userinput></screen> 110 111 111 112 <note><para>Be sure to replace <browser> with the browser of your … … 113 114 114 115 <para>Alternatively, if the environment variable BROWSER is set to the 115 browser you want to use, eg, BROWSER="/usr/bin/firefox", the first time you116 run <command>xsane</command>, it will be recorded in ~/.sane/xsane/xsane.rc.117 If you wish to change it, edit this file, or remove it, and use the118 instructions above, so that a new one is created.</para>116 browser you want to use, eg, BROWSER="/usr/bin/firefox", it will be 117 saved in ~/.sane/xsane/xsane.rc the first time you run 118 <command>xsane</command>. If you wish to change it, edit or remove the 119 mentioned file and use the instructions above to create a new one.</para> 119 120 120 121 <para>If <application>GIMP</application> is installed, issue the following 121 122 command as the <systemitem class="username">root</systemitem> user:</para> 122 123 123 <screen role="root"><userinput>ln - v -s/usr/bin/xsane /usr/lib/gimp/2.0/plug-ins/</userinput></screen>124 <screen role="root"><userinput>ln -sfv /usr/bin/xsane /usr/lib/gimp/2.0/plug-ins/</userinput></screen> 124 125 125 126 </sect2> … … 132 133 instead of the hardcoded browser.</para>--> 133 134 134 <para><command>ln - v -s../../doc/xsane-&xsane-version;135 <para><command>ln -sfv ../../doc/xsane-&xsane-version; 135 136 /usr/share/sane/xsane/doc</command>: This symlink is created to ensure that 136 137 any program that looks for the <application>XSane</application> … … 139 140 <command>make install</command> command.</para> 140 141 141 <para><command>ln - v -s/usr/bin/xsane /usr/lib/gimp/2.0/plug-ins/</command>:142 <para><command>ln -sfv /usr/bin/xsane /usr/lib/gimp/2.0/plug-ins/</command>: 142 143 This creates a link in the system-wide <application>GIMP</application> 143 144 <filename class='directory'>plug-ins</filename> directory so that users can
Note:
See TracChangeset
for help on using the changeset viewer.