1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY xsane-download-http "http://gd.tuwien.ac.at/hci/sane/xsane/xsane-&xsane-version;.tar.gz">
|
---|
8 | <!ENTITY xsane-download-ftp "ftp://ftp2.sane-project.org/pub/sane/xsane/xsane-&xsane-version;.tar.gz">
|
---|
9 | <!ENTITY xsane-md5sum "7d02656026797a46a84bda63006f5668">
|
---|
10 | <!ENTITY xsane-size "3.3 MB">
|
---|
11 | <!ENTITY xsane-buildsize "23 MB">
|
---|
12 | <!ENTITY xsane-time "0.2 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="xsane" xreflabel="XSane-&xsane-version;">
|
---|
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 |
|
---|
36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
37 | <itemizedlist spacing="compact">
|
---|
38 | <listitem>
|
---|
39 | <para>Download (HTTP): <ulink url="&xsane-download-http;"/></para>
|
---|
40 | </listitem>
|
---|
41 | <listitem>
|
---|
42 | <para>Download (FTP): <ulink url="&xsane-download-ftp;"/></para>
|
---|
43 | </listitem>
|
---|
44 | <listitem>
|
---|
45 | <para>Download MD5 sum: &xsane-md5sum;</para>
|
---|
46 | </listitem>
|
---|
47 | <listitem>
|
---|
48 | <para>Download size: &xsane-size;</para>
|
---|
49 | </listitem>
|
---|
50 | <listitem>
|
---|
51 | <para>Estimated disk space required: &xsane-buildsize;</para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>Estimated build time: &xsane-time;</para>
|
---|
55 | </listitem>
|
---|
56 | </itemizedlist>
|
---|
57 |
|
---|
58 | <bridgehead renderas="sect3">XSane Dependencies</bridgehead>
|
---|
59 |
|
---|
60 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
61 | <para role="required">
|
---|
62 | <xref linkend="gtk2"/> and <xref linkend="sane"/> (back ends)</para>
|
---|
63 |
|
---|
64 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
65 | <para role="optional"><xref linkend="libtiff"/>,
|
---|
66 | <xref linkend="libjpeg"/>,
|
---|
67 | <xref linkend="lcms"/>, and
|
---|
68 | <xref linkend="gimp"/></para>
|
---|
69 |
|
---|
70 | <para condition="html" role="usernotes">User Notes:
|
---|
71 | <ulink url="&blfs-wiki;/xsane"/></para>
|
---|
72 |
|
---|
73 | </sect2>
|
---|
74 |
|
---|
75 | <sect2 role="installation">
|
---|
76 | <title>Installation of XSane</title>
|
---|
77 |
|
---|
78 | <para>Install <application>XSane</application> by running the following
|
---|
79 | commands:</para>
|
---|
80 |
|
---|
81 | <screen><userinput>./configure --prefix=/usr &&
|
---|
82 | make</userinput></screen>
|
---|
83 |
|
---|
84 | <para>This package does not come with a test suite.</para>
|
---|
85 |
|
---|
86 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
87 |
|
---|
88 | <screen role="root"><userinput>make xsanedocdir=/usr/share/doc/xsane-&xsane-version; install &&
|
---|
89 | ln -v -s ../../doc/xsane-&xsane-version; \
|
---|
90 | /usr/share/sane/xsane/doc</userinput></screen>
|
---|
91 |
|
---|
92 | <para>If <application>GIMP</application> is installed, issue the following
|
---|
93 | command as the <systemitem class="username">root</systemitem> user:</para>
|
---|
94 |
|
---|
95 | <screen role="root"><userinput>ln -v -s /usr/bin/xsane /usr/lib/gimp/2.0/plug-ins/</userinput></screen>
|
---|
96 |
|
---|
97 | </sect2>
|
---|
98 |
|
---|
99 | <sect2 role="commands">
|
---|
100 | <title>Command Explanations</title>
|
---|
101 |
|
---|
102 | <para><command>ln -v -s ../../doc/xsane-&xsane-version;
|
---|
103 | /usr/share/sane/xsane/doc</command>: This symlink is created to ensure that
|
---|
104 | any program that looks for the <application>XSane</application>
|
---|
105 | documentation in the default location will find it, as the documentation
|
---|
106 | is installed in an alternate location specified in the
|
---|
107 | <command>make install</command> command.</para>
|
---|
108 |
|
---|
109 | <para><command>ln -v -s /usr/bin/xsane /usr/lib/gimp/2.0/plug-ins/</command>:
|
---|
110 | This creates a link in the system-wide <application>GIMP</application>
|
---|
111 | <filename class='directory'>plug-ins</filename> directory so that users can
|
---|
112 | access <application>XSane</application> directly from
|
---|
113 | <application>GIMP</application>. <application>GIMP</application> must be
|
---|
114 | available before building <application>XSane</application> for this to work.
|
---|
115 | Alternatively, create the link in <filename
|
---|
116 | class='directory'>~/.gimp-2.0/plug-ins/</filename> to provide individual
|
---|
117 | user access. <command>man xsane</command> for additional information.</para>
|
---|
118 |
|
---|
119 | </sect2>
|
---|
120 |
|
---|
121 | <sect2 role="content">
|
---|
122 | <title>Contents</title>
|
---|
123 |
|
---|
124 | <segmentedlist>
|
---|
125 | <segtitle>Installed Program</segtitle>
|
---|
126 | <segtitle>Installed Libraries</segtitle>
|
---|
127 | <segtitle>Installed Directory</segtitle>
|
---|
128 |
|
---|
129 | <seglistitem>
|
---|
130 | <seg>xsane</seg>
|
---|
131 | <seg>None</seg>
|
---|
132 | <seg>/usr/share/doc/xsane-&xsane-version; and
|
---|
133 | /usr/share/sane/xsane</seg>
|
---|
134 | </seglistitem>
|
---|
135 | </segmentedlist>
|
---|
136 |
|
---|
137 | <variablelist>
|
---|
138 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
139 | <?dbfo list-presentation="list"?>
|
---|
140 | <?dbhtml list-presentation="table"?>
|
---|
141 |
|
---|
142 | <varlistentry id="xsane-prog">
|
---|
143 | <term><command>xsane</command></term>
|
---|
144 | <listitem>
|
---|
145 | <para>is a graphical user-interface to control an image acquisition
|
---|
146 | device such as a flatbed scanner.</para>
|
---|
147 | <indexterm zone="xsane xsane-prog">
|
---|
148 | <primary sortas="b-xsane">xsane</primary>
|
---|
149 | </indexterm>
|
---|
150 | </listitem>
|
---|
151 | </varlistentry>
|
---|
152 |
|
---|
153 | </variablelist>
|
---|
154 |
|
---|
155 | </sect2>
|
---|
156 |
|
---|
157 | </sect1>
|
---|