glfs/general/prog/scour.xml
2022-11-07 08:58:45 -06:00

145 lines
4.0 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!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 scour-download-http "https://github.com/scour-project/scour/archive/v0.38.2/scour-&scour-version;.tar.gz">
<!ENTITY scour-download-ftp " ">
<!ENTITY scour-md5sum "ae30f52602802f8c7df3a32e1f72b325">
<!ENTITY scour-size "100 KB">
<!ENTITY scour-buildsize "1.3 MB">
<!ENTITY scour-time "less than 0.1 SBU">
]>
<!-- Begin scour -->
<sect2 id="scour" xreflabel="Scour-&scour-version;">
<title>Scour-&scour-version;</title>
<indexterm zone="scour">
<primary sortas="a-scour">scour</primary>
</indexterm>
<sect3 role="package">
<title>Introduction to Scour Module</title>
<para>
<application>Scour</application> is an SVG (Scalable Vector Graphics)
optimizer/cleaner that reduces their size by optimizing structure and
removing unnecessary data.
</para>
&lfs112_checked;
<bridgehead renderas="sect4">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&scour-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&scour-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &scour-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &scour-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &scour-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &scour-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect4">Scour Dependencies</bridgehead>
<bridgehead renderas="sect5">Required</bridgehead>
<para role="required">
<xref linkend="six"/>
</para>
<para condition="html" role="usernotes">
User Notes: <ulink url="&blfs-wiki;/scour"/>
</para>
</sect3>
<sect3 role="installation">
<title>Installation of scour</title>
<para>
Build the module:
</para>
<screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
<para>
To install the module, run the following command as the &root; user:
</para>
<screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir --no-user scour</userinput></screen>
</sect3>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/pip3-cmd-explain.xml"/>
<sect3 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>
scour
</seg>
<seg>
None
</seg>
<seg>
/usr/lib/python&python3-majorver;/site-packages/scour and
/usr/lib/python&python3-majorver;/site-packages/scour-&scour-version;.dist-info
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="scour-prog">
<term><command>scour</command></term>
<listitem>
<para>
is a program to optimize and clean SVG files
</para>
<indexterm zone="scour scour-prog">
<primary sortas="b-scour">scour</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect3>
</sect2>