[60268ba] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[5d1668d] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
[014030f] | 6 |
|
---|
[67fcdc1] | 7 | <!ENTITY xsane-download-http " ">
|
---|
[07354067] | 8 | <!ENTITY xsane-download-ftp "ftp://ftp2.sane-project.org/pub/sane/xsane/xsane-&xsane-version;.tar.gz">
|
---|
[67fcdc1] | 9 | <!ENTITY xsane-md5sum "936f1cc76b37caa8f285e1e15ac7e0aa">
|
---|
| 10 | <!ENTITY xsane-size "2.8 MB">
|
---|
[d00ea0b] | 11 | <!ENTITY xsane-buildsize "23 MB">
|
---|
| 12 | <!ENTITY xsane-time "0.2 SBU">
|
---|
[5d1668d] | 13 | ]>
|
---|
| 14 |
|
---|
[781a3e82] | 15 | <sect1 id="xsane" xreflabel="XSane-&xsane-version;">
|
---|
[60268ba] | 16 | <?dbhtml filename="xsane.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>XSane-&xsane-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="xsane">
|
---|
| 26 | <primary sortas="a-XSane">XSane</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to XSane</title>
|
---|
| 31 |
|
---|
| 32 | <para><application>XSane</application> is another front end for
|
---|
| 33 | <xref linkend="sane"/>. It has additional features to improve the image
|
---|
| 34 | quality and ease of use compared to <command>xscanimage</command>.</para>
|
---|
| 35 |
|
---|
[45f715c] | 36 | &lfs74_checked;
|
---|
[b1c63cc] | 37 |
|
---|
[60268ba] | 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (HTTP): <ulink url="&xsane-download-http;"/></para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (FTP): <ulink url="&xsane-download-ftp;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download MD5 sum: &xsane-md5sum;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download size: &xsane-size;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated disk space required: &xsane-buildsize;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated build time: &xsane-time;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | </itemizedlist>
|
---|
| 59 |
|
---|
| 60 | <bridgehead renderas="sect3">XSane Dependencies</bridgehead>
|
---|
| 61 |
|
---|
| 62 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[3b10fa8] | 63 | <para role="required">
|
---|
[0d7900a] | 64 | <xref linkend="gtk2"/> and
|
---|
[67fcdc1] | 65 | <xref linkend="sane"/> (back ends)
|
---|
| 66 | </para>
|
---|
[60268ba] | 67 |
|
---|
[45f715c] | 68 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 69 | <para role="required">
|
---|
| 70 | <xref linkend="xdg-utils"/> (for the help docummentation at runtime)
|
---|
| 71 | </para>
|
---|
| 72 |
|
---|
[60268ba] | 73 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[67fcdc1] | 74 | <para role="optional">
|
---|
| 75 | <xref linkend="libtiff"/>,
|
---|
| 76 | <xref linkend="libjpeg"/>,
|
---|
| 77 | <xref linkend="lcms"/>, and
|
---|
| 78 | <xref linkend="gimp"/>
|
---|
| 79 | </para>
|
---|
[60268ba] | 80 |
|
---|
[977061b0] | 81 | <para condition="html" role="usernotes">User Notes:
|
---|
| 82 | <ulink url="&blfs-wiki;/xsane"/></para>
|
---|
| 83 |
|
---|
[60268ba] | 84 | </sect2>
|
---|
| 85 |
|
---|
| 86 | <sect2 role="installation">
|
---|
| 87 | <title>Installation of XSane</title>
|
---|
| 88 |
|
---|
| 89 | <para>Install <application>XSane</application> by running the following
|
---|
| 90 | commands:</para>
|
---|
| 91 |
|
---|
[d92b93c] | 92 | <screen><userinput>sed -i -e 's/netscape/xdg-open/' src/xsane.h &&
|
---|
| 93 | sed -i -e 's/png_ptr->jmpbuf/png_jmpbuf(png_ptr)/' src/xsane-save.c &&
|
---|
[67fcdc1] | 94 | ./configure --prefix=/usr &&
|
---|
[60268ba] | 95 | make</userinput></screen>
|
---|
| 96 |
|
---|
[d00ea0b] | 97 | <para>This package does not come with a test suite.</para>
|
---|
| 98 |
|
---|
[60268ba] | 99 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 100 |
|
---|
[d00ea0b] | 101 | <screen role="root"><userinput>make xsanedocdir=/usr/share/doc/xsane-&xsane-version; install &&
|
---|
[45f715c] | 102 | ln -v -s ../../doc/xsane-&xsane-version; /usr/share/sane/xsane/doc</userinput></screen>
|
---|
| 103 |
|
---|
| 104 | <para>If you have not installed <xref linkend="xdg-utils"/> and have not
|
---|
| 105 | issued the first sed:</para>
|
---|
| 106 |
|
---|
| 107 | <screen role="root"><userinput>ln -v -s <browser> /usr/bin/netscape</userinput></screen>
|
---|
[b1c63cc] | 108 |
|
---|
| 109 | <note><para>Be sure to replace <browser> with the browser of your
|
---|
| 110 | choice on your system.</para></note>
|
---|
[60268ba] | 111 |
|
---|
| 112 | <para>If <application>GIMP</application> is installed, issue the following
|
---|
| 113 | command as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 114 |
|
---|
| 115 | <screen role="root"><userinput>ln -v -s /usr/bin/xsane /usr/lib/gimp/2.0/plug-ins/</userinput></screen>
|
---|
| 116 |
|
---|
| 117 | </sect2>
|
---|
| 118 |
|
---|
| 119 | <sect2 role="commands">
|
---|
| 120 | <title>Command Explanations</title>
|
---|
| 121 |
|
---|
[45f715c] | 122 | <para><command>sed -i -e 's/netscape/xdg-open/' src/xsane.h </command>:
|
---|
[2a2112b4] | 123 | This is to use <command>xdg-open</command> for the help documentation,
|
---|
[45f715c] | 124 | instead of the hardcoded browser.</para>
|
---|
| 125 |
|
---|
[d00ea0b] | 126 | <para><command>ln -v -s ../../doc/xsane-&xsane-version;
|
---|
| 127 | /usr/share/sane/xsane/doc</command>: This symlink is created to ensure that
|
---|
| 128 | any program that looks for the <application>XSane</application>
|
---|
| 129 | documentation in the default location will find it, as the documentation
|
---|
| 130 | is installed in an alternate location specified in the
|
---|
| 131 | <command>make install</command> command.</para>
|
---|
| 132 |
|
---|
[60268ba] | 133 | <para><command>ln -v -s /usr/bin/xsane /usr/lib/gimp/2.0/plug-ins/</command>:
|
---|
| 134 | This creates a link in the system-wide <application>GIMP</application>
|
---|
| 135 | <filename class='directory'>plug-ins</filename> directory so that users can
|
---|
| 136 | access <application>XSane</application> directly from
|
---|
| 137 | <application>GIMP</application>. <application>GIMP</application> must be
|
---|
| 138 | available before building <application>XSane</application> for this to work.
|
---|
| 139 | Alternatively, create the link in <filename
|
---|
| 140 | class='directory'>~/.gimp-2.0/plug-ins/</filename> to provide individual
|
---|
| 141 | user access. <command>man xsane</command> for additional information.</para>
|
---|
| 142 |
|
---|
| 143 | </sect2>
|
---|
| 144 |
|
---|
| 145 | <sect2 role="content">
|
---|
| 146 | <title>Contents</title>
|
---|
| 147 |
|
---|
| 148 | <segmentedlist>
|
---|
| 149 | <segtitle>Installed Program</segtitle>
|
---|
| 150 | <segtitle>Installed Libraries</segtitle>
|
---|
| 151 | <segtitle>Installed Directory</segtitle>
|
---|
| 152 |
|
---|
| 153 | <seglistitem>
|
---|
| 154 | <seg>xsane</seg>
|
---|
| 155 | <seg>None</seg>
|
---|
[d00ea0b] | 156 | <seg>/usr/share/doc/xsane-&xsane-version; and
|
---|
| 157 | /usr/share/sane/xsane</seg>
|
---|
[60268ba] | 158 | </seglistitem>
|
---|
| 159 | </segmentedlist>
|
---|
| 160 |
|
---|
| 161 | <variablelist>
|
---|
| 162 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 163 | <?dbfo list-presentation="list"?>
|
---|
| 164 | <?dbhtml list-presentation="table"?>
|
---|
| 165 |
|
---|
| 166 | <varlistentry id="xsane-prog">
|
---|
| 167 | <term><command>xsane</command></term>
|
---|
| 168 | <listitem>
|
---|
| 169 | <para>is a graphical user-interface to control an image acquisition
|
---|
| 170 | device such as a flatbed scanner.</para>
|
---|
| 171 | <indexterm zone="xsane xsane-prog">
|
---|
| 172 | <primary sortas="b-xsane">xsane</primary>
|
---|
| 173 | </indexterm>
|
---|
| 174 | </listitem>
|
---|
| 175 | </varlistentry>
|
---|
| 176 |
|
---|
| 177 | </variablelist>
|
---|
| 178 |
|
---|
| 179 | </sect2>
|
---|
[7008de1] | 180 |
|
---|
| 181 | </sect1>
|
---|