mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-25 07:42:13 +08:00
0aeb69629f
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5951 af4574ff-66df-0310-9fd7-8a98e5e911e0
161 lines
5.6 KiB
XML
161 lines
5.6 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!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;
|
|
|
|
<!-- Inserted as a reminder to do this. The mention of a test suite
|
|
is usually right before the root user installation commands. Please
|
|
delete these 12 (including one blank) lines after you are done.-->
|
|
|
|
<!-- Use one of the two mentions below about a test suite,
|
|
delete the line that is not applicable. Of course, if the
|
|
test suite uses syntax other than "make check", revise the
|
|
line to reflect the actual syntax to run the test suite -->
|
|
|
|
<!-- <para>This package does not come with a test suite.</para> -->
|
|
<!-- <para>To test the results, issue: <command>make check</command>.</para> -->
|
|
|
|
<!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;">
|
|
<?dbhtml filename="xsane.html"?>
|
|
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
<keywordset>
|
|
<keyword role="package">xsane-&xsane-version;.tar</keyword>
|
|
<keyword role="ftpdir">xsane</keyword>
|
|
</keywordset>
|
|
</sect1info>
|
|
|
|
<title>XSane-&xsane-version;</title>
|
|
|
|
<indexterm zone="xsane">
|
|
<primary sortas="a-XSane">XSane</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to XSane</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>
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<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>
|
|
|
|
<bridgehead renderas="sect3">XSane Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
<para role="required"><xref linkend="gtk2"/> or <xref linkend="GTK"/> and
|
|
<xref linkend="sane"/> (back ends)</para>
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
<para role="optional"><xref linkend="libtiff"/>,
|
|
<xref linkend="libjpeg"/> and
|
|
<xref linkend="gimp"/></para>
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
<ulink url="&blfs-wiki;/xsane"/></para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of XSane</title>
|
|
|
|
<para>Install <application>XSane</application> by running the following
|
|
commands:</para>
|
|
|
|
<screen><userinput>./configure --prefix=/usr &&
|
|
make</userinput></screen>
|
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
<para>If <application>GIMP</application> is installed, issue the following
|
|
command as the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
<screen role="root"><userinput>ln -v -s /usr/bin/xsane /usr/lib/gimp/2.0/plug-ins/</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<para><command>ln -v -s /usr/bin/xsane /usr/lib/gimp/2.0/plug-ins/</command>:
|
|
This creates a link in the system-wide <application>GIMP</application>
|
|
<filename class='directory'>plug-ins</filename> directory so that users can
|
|
access <application>XSane</application> directly from
|
|
<application>GIMP</application>. <application>GIMP</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 role="content">
|
|
<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"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<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>
|