mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 15:12:11 +08:00
3df8ea4735
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24255 af4574ff-66df-0310-9fd7-8a98e5e911e0
158 lines
4.4 KiB
XML
158 lines
4.4 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</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>
|
|
|
|
&lfs101_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"/> (will be automatically downloaded and installed
|
|
if not already present)
|
|
</para>
|
|
<!--
|
|
<note>
|
|
<para>
|
|
Although the download link works fine with wget, in this case downloading
|
|
with a browser such as firefox will create scour-038.1.tar.gz.
|
|
</para>
|
|
</note>
|
|
-->
|
|
<para condition="html" role="usernotes">
|
|
User Notes: <ulink url="&blfs-wiki;/scour"/>
|
|
</para>
|
|
</sect3>
|
|
|
|
<sect3 role="installation">
|
|
<title>Installation of scour</title>
|
|
|
|
<!-- Editors note: Use - -root= instead of DESTDIR= when updating. -->
|
|
<para>
|
|
To build the <application>Python 3</application> module
|
|
run the following commands:
|
|
</para>
|
|
|
|
<screen><userinput>python3 setup.py build</userinput></screen>
|
|
|
|
<para>
|
|
To partially test the results, issue: <command>python3 test_css.py</command>.
|
|
If you have installed <application>Six</application> you can run the main
|
|
tests by issuing: <command>python3 test_scour.py</command>.
|
|
</para>
|
|
|
|
<para>
|
|
To install the module, run the following command as the
|
|
<systemitem class="username">root</systemitem> user:
|
|
</para>
|
|
|
|
<screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen>
|
|
|
|
</sect3>
|
|
|
|
<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>
|
|
None
|
|
</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>
|