mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-26 08:42:12 +08:00
ff769b8c61
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3656 af4574ff-66df-0310-9fd7-8a98e5e911e0
129 lines
4.1 KiB
XML
129 lines
4.1 KiB
XML
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY xsane-download-http "http://gd.tuwien.ac.at/hci/sane/xsane/xsane-&xsane-version;.tar.gz">
|
|
<!ENTITY xsane-download-ftp "ftp://ftp.sane-project.org/pub/sane/xsane/xsane-&xsane-version;.tar.gz">
|
|
<!ENTITY xsane-md5sum "3d1f889d88c3462594febd53be58c561">
|
|
<!ENTITY xsane-size "3.1 MB">
|
|
<!ENTITY xsane-buildsize "21.3 MB">
|
|
<!ENTITY xsane-time "0.22 SBU">
|
|
]>
|
|
|
|
<sect1 id="xsane" xreflabel="XSane-&xsane-version;">
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
<?dbhtml filename="xsane.html"?>
|
|
<title>XSane-&xsane-version;</title>
|
|
<indexterm zone="xsane">
|
|
<primary sortas="a-XSane">XSane</primary></indexterm>
|
|
|
|
<sect2>
|
|
<title>Introduction to <application>XSane</application></title>
|
|
|
|
<para><application>XSane</application> is another front end for
|
|
<xref linkend="sane"/>. It has additional features to improve the image
|
|
quality and ease of use compared to <command>xscanimage</command>.</para>
|
|
|
|
<sect3><title>Package information</title>
|
|
<itemizedlist spacing='compact'>
|
|
<listitem><para>Download (HTTP): <ulink
|
|
url="&xsane-download-http;"/></para></listitem>
|
|
<listitem><para>Download (FTP): <ulink
|
|
url="&xsane-download-ftp;"/></para></listitem>
|
|
<listitem><para>Download MD5 sum: &xsane-md5sum;</para></listitem>
|
|
<listitem><para>Download size: &xsane-size;</para></listitem>
|
|
<listitem><para>Estimated disk space required:
|
|
&xsane-buildsize;</para></listitem>
|
|
<listitem><para>Estimated build time:
|
|
&xsane-time;</para></listitem></itemizedlist>
|
|
</sect3>
|
|
|
|
<sect3><title><application>XSane</application> dependencies</title>
|
|
<sect4><title>Required</title>
|
|
<para><xref linkend="gtk2"/> or <xref linkend="GTK"/> and
|
|
<xref linkend="sane"/> (back ends)</para>
|
|
</sect4>
|
|
|
|
<sect4><title>Optional</title>
|
|
<para><xref linkend="libtiff"/>,
|
|
<xref linkend="libjpeg"/> and
|
|
<xref linkend="gimp"/></para>
|
|
</sect4>
|
|
</sect3>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Installation of <application>XSane</application></title>
|
|
|
|
<para>Install <application>XSane</application> by running the following
|
|
commands:</para>
|
|
|
|
<screen><userinput><command>./configure --prefix=/usr &&
|
|
make</command></userinput></screen>
|
|
|
|
<para>Now, as the root user:</para>
|
|
|
|
<screen><userinput role='root'><command>make install</command></userinput></screen>
|
|
|
|
<para>If <application><acronym>GIMP</acronym></application> is installed,
|
|
issue the following command as the root user:</para>
|
|
|
|
<screen><userinput role='root'><command>ln -s /usr/bin/xsane /usr/lib/gimp/2.0/plug-ins/</command></userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Command explanations</title>
|
|
|
|
<para><command>ln -s /usr/bin/xsane /usr/lib/gimp/2.0/plug-ins/</command>:
|
|
This creates a link in the system-wide
|
|
<application><acronym>GIMP</acronym></application>
|
|
<filename class='directory'>plug-ins</filename> directory so that users can
|
|
access <application>XSane</application> directly from
|
|
<application><acronym>GIMP</acronym></application>.
|
|
<application><acronym>GIMP</acronym></application> must be available before
|
|
building <application>XSane</application> for this to work. Alternatively,
|
|
create the link in <filename class='directory'>~/.gimp-2.0/plug-ins/</filename>
|
|
to provide individual user access. <command>man xsane</command> for
|
|
additional information.</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Program</segtitle>
|
|
<segtitle>Installed Libraries</segtitle>
|
|
<segtitle>Installed Directory</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>xsane</seg>
|
|
<seg>None</seg>
|
|
<seg>/usr/share/sane/xsane</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<varlistentry id="xsane-prog">
|
|
<term><command>xsane</command></term>
|
|
<listitem><para>is a graphical user-interface to control an image acquisition
|
|
device such as a flatbed scanner.</para>
|
|
<indexterm zone="xsane xsane-prog">
|
|
<primary sortas="b-xsane">xsane</primary>
|
|
</indexterm></listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|