source: pst/scanning/xsane.xml@ 3eeb0ce7

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 3eeb0ce7 was 3eeb0ce7, checked in by Bruce Dubbs <bdubbs@…>, 4 years ago

Finish tagging pst packages
Archive a2ps and psutils

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23613 af4574ff-66df-0310-9fd7-8a98e5e911e0

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