source: pst/scanning/xsane.xml@ 942360aa

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 942360aa was 3f2db3a6, checked in by Pierre Labastie <pierre.labastie@…>, 17 months ago

Remove sect1info tags

They only contain a date tag that is nowhere used.

  • Property mode set to 100644
File size: 7.1 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 &lfs112_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 <para condition="html" role="usernotes">User Notes:
90 <ulink url="&blfs-wiki;/xsane"/></para>
91
92 </sect2>
93
94 <sect2 role="installation">
95 <title>Installation of XSane</title>
96
97 <para>
98 Install <application>XSane</application> by running the following
99 commands:
100 </para>
101
102<!--sed -i -e 's/netscape/xdg-open/' src/xsane.h &amp;&amp;-->
103<screen><userinput>sed -i -e 's/png_ptr->jmpbuf/png_jmpbuf(png_ptr)/' src/xsane-save.c &amp;&amp;
104./configure --prefix=/usr &amp;&amp;
105make</userinput></screen>
106
107 <para>
108 This package does not come with a test suite.
109 </para>
110
111 <para>
112 Now, as the <systemitem class="username">root</systemitem> user:
113 </para>
114
115<screen role="root"><userinput>make xsanedocdir=/usr/share/doc/xsane-&xsane-version; install &amp;&amp;
116ln -v -s ../../doc/xsane-&xsane-version; /usr/share/sane/xsane/doc</userinput></screen>
117<!--
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>
127
128<screen role="root"><userinput>ln -v -s &lt;browser&gt; /usr/bin/netscape</userinput></screen>
129
130 <note>
131 <para>
132 Be sure to replace &lt;browser&gt; 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>
145
146 <para>
147 If <application>GIMP</application> is installed, issue the following
148 command as the <systemitem class="username">root</systemitem> user:
149 </para>
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>
157<!--
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>
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>
198 <seg>/usr/share/doc/xsane-&xsane-version; and
199 /usr/share/sane/xsane</seg>
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>
211 <para>
212 is a graphical user-interface to control an image acquisition
213 device such as a flatbed scanner
214 </para>
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>
224
225</sect1>
Note: See TracBrowser for help on using the repository browser.