source: archive/xsane.xml@ 9b39ca60

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

Archive XSane. It's been replaced with Simple Scan

  • Property mode set to 100644
File size: 7.0 KB
RevLine 
[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
[24a928e]34 &lfs120_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
[60268ba]90 </sect2>
91
92 <sect2 role="installation">
93 <title>Installation of XSane</title>
94
[fa3edfef]95 <para>
96 Install <application>XSane</application> by running the following
97 commands:
98 </para>
[60268ba]99
[6b8a7875]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;
[67fcdc1]102./configure --prefix=/usr &amp;&amp;
[60268ba]103make</userinput></screen>
104
[fa3edfef]105 <para>
106 This package does not come with a test suite.
107 </para>
[d00ea0b]108
[fa3edfef]109 <para>
110 Now, as the <systemitem class="username">root</systemitem> user:
111 </para>
[60268ba]112
[d00ea0b]113<screen role="root"><userinput>make xsanedocdir=/usr/share/doc/xsane-&xsane-version; install &amp;&amp;
[45f715c]114ln -v -s ../../doc/xsane-&xsane-version; /usr/share/sane/xsane/doc</userinput></screen>
[6b8a7875]115<!--
[fa3edfef]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>
[45f715c]125
126<screen role="root"><userinput>ln -v -s &lt;browser&gt; /usr/bin/netscape</userinput></screen>
[b1c63cc]127
[fa3edfef]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>
[6b8a7875]143
[fa3edfef]144 <para>
145 If <application>GIMP</application> is installed, issue the following
146 command as the <systemitem class="username">root</systemitem> user:
147 </para>
[60268ba]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>
[6b8a7875]155<!--
[fa3edfef]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>
[60268ba]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>
[d00ea0b]196 <seg>/usr/share/doc/xsane-&xsane-version; and
197 /usr/share/sane/xsane</seg>
[60268ba]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>
[fa3edfef]209 <para>
210 is a graphical user-interface to control an image acquisition
[4c24eb0a]211 device such as a flatbed scanner
[fa3edfef]212 </para>
[60268ba]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>
[7008de1]222
223</sect1>
Note: See TracBrowser for help on using the repository browser.