source: pst/scanning/xsane.xml@ 53192f0

systemd-13485
Last change on this file since 53192f0 was ac38e9dc, checked in by Douglas R. Reno <renodr@…>, 9 years ago

Import back into SVN from Github

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@16309 af4574ff-66df-0310-9fd7-8a98e5e911e0

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