source: archive/xsane.xml

trunk
Last change on this file was 1032bfd, checked in by Douglas R. Reno <renodr@…>, 7 months ago

Archive XSane. It's been replaced with Simple Scan

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