source: pst/scanning/xsane.xml@ 7ff0948

systemd-13485
Last change on this file since 7ff0948 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
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
[6b8a7875]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">
[d00ea0b]12 <!ENTITY xsane-buildsize "23 MB">
13 <!ENTITY xsane-time "0.2 SBU">
[5d1668d]14]>
15
[781a3e82]16<sect1 id="xsane" xreflabel="XSane-&xsane-version;">
[60268ba]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
[ac38e9dc]37 &lfs77_checked;
[b1c63cc]38
[60268ba]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>
[3b10fa8]64 <para role="required">
[0d7900a]65 <xref linkend="gtk2"/> and
[67fcdc1]66 <xref linkend="sane"/> (back ends)
67 </para>
[6b8a7875]68<!--
[45f715c]69 <bridgehead renderas="sect4">Recommended</bridgehead>
[6b8a7875]70 <para role="recommended">
[45f715c]71 <xref linkend="xdg-utils"/> (for the help docummentation at runtime)
[6b8a7875]72 </para>-->
[45f715c]73
[60268ba]74 <bridgehead renderas="sect4">Optional</bridgehead>
[67fcdc1]75 <para role="optional">
[6b8a7875]76 <xref linkend="lcms"/> and
[67fcdc1]77 <xref linkend="gimp"/>
78 </para>
[60268ba]79
[977061b0]80 <para condition="html" role="usernotes">User Notes:
81 <ulink url="&blfs-wiki;/xsane"/></para>
82
[60268ba]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
[6b8a7875]91<!--sed -i -e 's/netscape/xdg-open/' src/xsane.h &amp;&amp;-->
[ac38e9dc]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;
[60268ba]95make</userinput></screen>
96
[d00ea0b]97 <para>This package does not come with a test suite.</para>
98
[60268ba]99 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
100
[d00ea0b]101<screen role="root"><userinput>make xsanedocdir=/usr/share/doc/xsane-&xsane-version; install &amp;&amp;
[ac38e9dc]102ln -sfv ../../doc/xsane-&xsane-version; /usr/share/sane/xsane/doc</userinput></screen>
[6b8a7875]103<!--
[45f715c]104 <para>If you have not installed <xref linkend="xdg-utils"/> and have not
[6b8a7875]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>
[45f715c]109
[ac38e9dc]110<screen role="root"><userinput>ln -sfv &lt;browser&gt; /usr/bin/netscape</userinput></screen>
[b1c63cc]111
112 <note><para>Be sure to replace &lt;browser&gt; with the browser of your
113 choice on your system.</para></note>
[60268ba]114
[6b8a7875]115 <para>Alternatively, if the environment variable BROWSER is set to the
[ac38e9dc]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>
[6b8a7875]120
[60268ba]121 <para>If <application>GIMP</application> is installed, issue the following
122 command as the <systemitem class="username">root</systemitem> user:</para>
123
[ac38e9dc]124<screen role="root"><userinput>ln -sfv /usr/bin/xsane /usr/lib/gimp/2.0/plug-ins/</userinput></screen>
[60268ba]125
126 </sect2>
127
128 <sect2 role="commands">
129 <title>Command Explanations</title>
[6b8a7875]130<!--
[45f715c]131 <para><command>sed -i -e 's/netscape/xdg-open/' src/xsane.h </command>:
[2a2112b4]132 This is to use <command>xdg-open</command> for the help documentation,
[6b8a7875]133 instead of the hardcoded browser.</para>-->
[45f715c]134
[ac38e9dc]135 <para><command>ln -sfv ../../doc/xsane-&xsane-version;
[d00ea0b]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
[ac38e9dc]142 <para><command>ln -sfv /usr/bin/xsane /usr/lib/gimp/2.0/plug-ins/</command>:
[60268ba]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>
[d00ea0b]165 <seg>/usr/share/doc/xsane-&xsane-version; and
166 /usr/share/sane/xsane</seg>
[60268ba]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>
[7008de1]189
190</sect1>
Note: See TracBrowser for help on using the repository browser.