lfs-ru/chapter12/pst/scanning/simple-scan.xml
2024-04-09 10:13:26 +05:00

164 lines
4.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY simple-scan-download-http "&gnome-download-http;/simple-scan/&gnome-44;/simple-scan-&simple-scan-version;.tar.xz">
<!ENTITY simple-scan-download-ftp " ">
<!ENTITY simple-scan-md5sum "c64648c3190d27885e9d8aed70f70005">
<!ENTITY simple-scan-size "1.1 MB">
<!ENTITY simple-scan-buildsize "25 MB">
<!ENTITY simple-scan-time "0.1 SBU">
]>
<sect1 id="simple-scan" xreflabel="Simple-scan-&simple-scan-version;">
<?dbhtml filename="simple-scan.html"?>
<title>Simple-scan-&simple-scan-version;</title>
<indexterm zone="simple-scan">
<primary sortas="a-simple-scan">Simple-scan</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Simple-scan</title>
<para>
The <application>Simple-scan</application> package contains a modern
document scanning application. It captures images using SANE, and
supports the latest color management and graphics standards.
</para>
&lfs121_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&simple-scan-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&simple-scan-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &simple-scan-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &simple-scan-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &simple-scan-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &simple-scan-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Simple-scan Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="colord"/>,
<xref linkend="itstool"/>,
<xref linkend="libgusb"/>,
<xref linkend="libhandy1"/>,
<xref linkend="libwebp"/>, and
<xref linkend="sane"/> (backends)
</para>
</sect2>
<sect2 role="installation">
<title>Installation of Simple-scan</title>
<para>
Install <application>Simple-scan</application> by running the following
commands:
</para>
<screen><userinput>mkdir build &amp;&amp;
cd build &amp;&amp;
meson setup --prefix=/usr --buildtype=release .. &amp;&amp;
ninja</userinput></screen>
<para>
This package does not come with a test suite.
</para>
<para>
Now, as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>ninja install &amp;&amp;
gtk-update-icon-cache -qtf /usr/share/icons/hicolor</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/meson-buildtype-release.xml"/>
<para>
<command>gtk-update-icon-cache [...]</command>: This command updates the
system-wide GTK+ icon cache since Simple-scan's build system does not
update it to account for the icons that it installs.
</para>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
simple-scan
</seg>
<seg>
None
</seg>
<seg>
/usr/share/help/*/simple-scan
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="simple-scan-prog">
<term><command>simple-scan</command></term>
<listitem>
<para>
is a modern document scanning application
</para>
<indexterm zone="simple-scan simple-scan-prog">
<primary sortas="b-simple-scan">simple-scan</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>