[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 |
|
---|
[eca63e4] | 7 | <!ENTITY xsane-download-http "&sources-anduin-http;/xsane/xsane-&xsane-version;.tar.gz">
|
---|
| 8 | <!ENTITY xsane-download-ftp "&sources-anduin-ftp;/xsane/xsane-&xsane-version;.tar.gz">
|
---|
[6b8a7875] | 9 | <!ENTITY xsane-md5sum "9927f21e1ab6ba96315e7f0e30746deb">
|
---|
| 10 | <!ENTITY xsane-size "2.9 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 |
|
---|
| 19 | <title>XSane-&xsane-version;</title>
|
---|
| 20 |
|
---|
| 21 | <indexterm zone="xsane">
|
---|
| 22 | <primary sortas="a-XSane">XSane</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to XSane</title>
|
---|
| 27 |
|
---|
[fa3edfef] | 28 | <para>
|
---|
| 29 | <application>XSane</application> is another front end for
|
---|
| 30 | <xref linkend="sane"/>. It has additional features to improve the image
|
---|
| 31 | quality and ease of use compared to <command>xscanimage</command>.
|
---|
| 32 | </para>
|
---|
[60268ba] | 33 |
|
---|
[d0caf17a] | 34 | &lfs113_checked;
|
---|
[b1c63cc] | 35 |
|
---|
[60268ba] | 36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
[fa3edfef] | 39 | <para>
|
---|
| 40 | Download (HTTP): <ulink url="&xsane-download-http;"/>
|
---|
| 41 | </para>
|
---|
[60268ba] | 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
[fa3edfef] | 44 | <para>
|
---|
| 45 | Download (FTP): <ulink url="&xsane-download-ftp;"/>
|
---|
| 46 | </para>
|
---|
[60268ba] | 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
[fa3edfef] | 49 | <para>
|
---|
| 50 | Download MD5 sum: &xsane-md5sum;
|
---|
| 51 | </para>
|
---|
[60268ba] | 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
[fa3edfef] | 54 | <para>
|
---|
| 55 | Download size: &xsane-size;
|
---|
| 56 | </para>
|
---|
[60268ba] | 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
[fa3edfef] | 59 | <para>
|
---|
| 60 | Estimated disk space required: &xsane-buildsize;
|
---|
| 61 | </para>
|
---|
[60268ba] | 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
[fa3edfef] | 64 | <para>
|
---|
| 65 | Estimated build time: &xsane-time;
|
---|
| 66 | </para>
|
---|
[60268ba] | 67 | </listitem>
|
---|
| 68 | </itemizedlist>
|
---|
| 69 |
|
---|
| 70 | <bridgehead renderas="sect3">XSane Dependencies</bridgehead>
|
---|
| 71 |
|
---|
| 72 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[3b10fa8] | 73 | <para role="required">
|
---|
[0d7900a] | 74 | <xref linkend="gtk2"/> and
|
---|
[67fcdc1] | 75 | <xref linkend="sane"/> (back ends)
|
---|
| 76 | </para>
|
---|
[6b8a7875] | 77 | <!--
|
---|
[45f715c] | 78 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[6b8a7875] | 79 | <para role="recommended">
|
---|
[17b685f1] | 80 | <xref linkend="xdg-utils"/> (for the help documentation at runtime)
|
---|
[6b8a7875] | 81 | </para>-->
|
---|
[45f715c] | 82 |
|
---|
[60268ba] | 83 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[67fcdc1] | 84 | <para role="optional">
|
---|
[6b8a7875] | 85 | <xref linkend="lcms"/> and
|
---|
[67fcdc1] | 86 | <xref linkend="gimp"/>
|
---|
| 87 | </para>
|
---|
[60268ba] | 88 |
|
---|
[977061b0] | 89 | <para condition="html" role="usernotes">User Notes:
|
---|
| 90 | <ulink url="&blfs-wiki;/xsane"/></para>
|
---|
| 91 |
|
---|
[60268ba] | 92 | </sect2>
|
---|
| 93 |
|
---|
| 94 | <sect2 role="installation">
|
---|
| 95 | <title>Installation of XSane</title>
|
---|
| 96 |
|
---|
[fa3edfef] | 97 | <para>
|
---|
| 98 | Install <application>XSane</application> by running the following
|
---|
| 99 | commands:
|
---|
| 100 | </para>
|
---|
[60268ba] | 101 |
|
---|
[6b8a7875] | 102 | <!--sed -i -e 's/netscape/xdg-open/' src/xsane.h &&-->
|
---|
| 103 | <screen><userinput>sed -i -e 's/png_ptr->jmpbuf/png_jmpbuf(png_ptr)/' src/xsane-save.c &&
|
---|
[67fcdc1] | 104 | ./configure --prefix=/usr &&
|
---|
[60268ba] | 105 | make</userinput></screen>
|
---|
| 106 |
|
---|
[fa3edfef] | 107 | <para>
|
---|
| 108 | This package does not come with a test suite.
|
---|
| 109 | </para>
|
---|
[d00ea0b] | 110 |
|
---|
[fa3edfef] | 111 | <para>
|
---|
| 112 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 113 | </para>
|
---|
[60268ba] | 114 |
|
---|
[d00ea0b] | 115 | <screen role="root"><userinput>make xsanedocdir=/usr/share/doc/xsane-&xsane-version; install &&
|
---|
[45f715c] | 116 | ln -v -s ../../doc/xsane-&xsane-version; /usr/share/sane/xsane/doc</userinput></screen>
|
---|
[6b8a7875] | 117 | <!--
|
---|
[fa3edfef] | 118 | <para>
|
---|
| 119 | If you have not installed <xref linkend="xdg-utils"/> and have not
|
---|
| 120 | issued the first sed:
|
---|
| 121 | </para>-->
|
---|
| 122 | <para>
|
---|
| 123 | A browser of your choice can be used to get inline help, using the
|
---|
| 124 | following command, as the <systemitem class="username">root</systemitem>
|
---|
| 125 | user:
|
---|
| 126 | </para>
|
---|
[45f715c] | 127 |
|
---|
| 128 | <screen role="root"><userinput>ln -v -s <browser> /usr/bin/netscape</userinput></screen>
|
---|
[b1c63cc] | 129 |
|
---|
[fa3edfef] | 130 | <note>
|
---|
| 131 | <para>
|
---|
| 132 | Be sure to replace <browser> with the browser of your
|
---|
| 133 | choice on your system.
|
---|
| 134 | </para>
|
---|
| 135 | </note>
|
---|
| 136 |
|
---|
| 137 | <para>
|
---|
| 138 | Alternatively, if the environment variable BROWSER is set to the browser
|
---|
| 139 | you want to use, eg, BROWSER="/usr/bin/firefox", the first time you run
|
---|
| 140 | <command>xsane</command>, it will be recorded in <filename>
|
---|
| 141 | ~/.sane/xsane/xsane.rc</filename>. If you wish to change it, edit this
|
---|
| 142 | file, or remove it, and use the instructions above, so that a new one is
|
---|
| 143 | created.
|
---|
| 144 | </para>
|
---|
[6b8a7875] | 145 |
|
---|
[fa3edfef] | 146 | <para>
|
---|
| 147 | If <application>GIMP</application> is installed, issue the following
|
---|
| 148 | command as the <systemitem class="username">root</systemitem> user:
|
---|
| 149 | </para>
|
---|
[60268ba] | 150 |
|
---|
| 151 | <screen role="root"><userinput>ln -v -s /usr/bin/xsane /usr/lib/gimp/2.0/plug-ins/</userinput></screen>
|
---|
| 152 |
|
---|
| 153 | </sect2>
|
---|
| 154 |
|
---|
| 155 | <sect2 role="commands">
|
---|
| 156 | <title>Command Explanations</title>
|
---|
[6b8a7875] | 157 | <!--
|
---|
[fa3edfef] | 158 | <para>
|
---|
| 159 | <command>sed -i -e 's/netscape/xdg-open/' src/xsane.h </command>:
|
---|
| 160 | This is to use <command>xdg-open</command> for the help documentation,
|
---|
| 161 | instead of the hardcoded browser.
|
---|
| 162 | </para>-->
|
---|
| 163 |
|
---|
| 164 | <para>
|
---|
| 165 | <command>ln -v -s ../../doc/xsane-&xsane-version;
|
---|
| 166 | /usr/share/sane/xsane/doc</command>: This symlink is created to ensure
|
---|
| 167 | that any program that looks for the <application>XSane</application>
|
---|
| 168 | documentation in the default location will find it, as the documentation
|
---|
| 169 | is installed in an alternate location specified in the <command>make
|
---|
| 170 | install</command> command.
|
---|
| 171 | </para>
|
---|
| 172 |
|
---|
| 173 | <para>
|
---|
| 174 | <command>ln -v -s /usr/bin/xsane /usr/lib/gimp/2.0/plug-ins/</command>:
|
---|
| 175 | This creates a link in the system-wide <application>GIMP</application>
|
---|
| 176 | <filename class='directory'>plug-ins</filename> directory so that users
|
---|
| 177 | can access <application>XSane</application> directly from
|
---|
| 178 | <application>GIMP</application>. <application>GIMP</application> must
|
---|
| 179 | be available before building <application>XSane</application> for this
|
---|
| 180 | to work. Alternatively, create the link in <filename
|
---|
| 181 | class='directory'>~/.gimp-2.0/plug-ins/</filename> to provide individual
|
---|
| 182 | user access. <command>man xsane</command> for additional information.
|
---|
| 183 | </para>
|
---|
[60268ba] | 184 |
|
---|
| 185 | </sect2>
|
---|
| 186 |
|
---|
| 187 | <sect2 role="content">
|
---|
| 188 | <title>Contents</title>
|
---|
| 189 |
|
---|
| 190 | <segmentedlist>
|
---|
| 191 | <segtitle>Installed Program</segtitle>
|
---|
| 192 | <segtitle>Installed Libraries</segtitle>
|
---|
| 193 | <segtitle>Installed Directory</segtitle>
|
---|
| 194 |
|
---|
| 195 | <seglistitem>
|
---|
| 196 | <seg>xsane</seg>
|
---|
| 197 | <seg>None</seg>
|
---|
[d00ea0b] | 198 | <seg>/usr/share/doc/xsane-&xsane-version; and
|
---|
| 199 | /usr/share/sane/xsane</seg>
|
---|
[60268ba] | 200 | </seglistitem>
|
---|
| 201 | </segmentedlist>
|
---|
| 202 |
|
---|
| 203 | <variablelist>
|
---|
| 204 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 205 | <?dbfo list-presentation="list"?>
|
---|
| 206 | <?dbhtml list-presentation="table"?>
|
---|
| 207 |
|
---|
| 208 | <varlistentry id="xsane-prog">
|
---|
| 209 | <term><command>xsane</command></term>
|
---|
| 210 | <listitem>
|
---|
[fa3edfef] | 211 | <para>
|
---|
| 212 | is a graphical user-interface to control an image acquisition
|
---|
[4c24eb0a] | 213 | device such as a flatbed scanner
|
---|
[fa3edfef] | 214 | </para>
|
---|
[60268ba] | 215 | <indexterm zone="xsane xsane-prog">
|
---|
| 216 | <primary sortas="b-xsane">xsane</primary>
|
---|
| 217 | </indexterm>
|
---|
| 218 | </listitem>
|
---|
| 219 | </varlistentry>
|
---|
| 220 |
|
---|
| 221 | </variablelist>
|
---|
| 222 |
|
---|
| 223 | </sect2>
|
---|
[7008de1] | 224 |
|
---|
| 225 | </sect1>
|
---|