[9f18cc0] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[a52f879] | 7 | <!ENTITY scour-download-http "https://github.com/scour-project/scour/archive/v0.38.2/scour-&scour-version;.tar.gz">
|
---|
[9f18cc0] | 8 | <!ENTITY scour-download-ftp " ">
|
---|
[a52f879] | 9 | <!ENTITY scour-md5sum "ae30f52602802f8c7df3a32e1f72b325">
|
---|
[18841f3] | 10 | <!ENTITY scour-size "100 KB">
|
---|
[a52f879] | 11 | <!ENTITY scour-buildsize "1.3 MB">
|
---|
[9f18cc0] | 12 | <!ENTITY scour-time "less than 0.1 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <!-- Begin scour -->
|
---|
| 16 | <sect2 id="scour" xreflabel="Scour-&scour-version;">
|
---|
| 17 |
|
---|
| 18 | <title>Scour-&scour-version;</title>
|
---|
| 19 |
|
---|
| 20 | <indexterm zone="scour">
|
---|
| 21 | <primary sortas="a-scour">scour</primary>
|
---|
| 22 | </indexterm>
|
---|
| 23 |
|
---|
| 24 | <sect3 role="package">
|
---|
[b9a4450] | 25 | <title>Introduction to Scour Module</title>
|
---|
[9f18cc0] | 26 |
|
---|
| 27 | <para>
|
---|
| 28 | <application>Scour</application> is an SVG (Scalable Vector Graphics)
|
---|
| 29 | optimizer/cleaner that reduces their size by optimizing structure and
|
---|
| 30 | removing unnecessary data.
|
---|
| 31 | </para>
|
---|
| 32 |
|
---|
[98fd8b9] | 33 | &lfs111_checked;
|
---|
[9f18cc0] | 34 |
|
---|
| 35 | <bridgehead renderas="sect4">Package Information</bridgehead>
|
---|
| 36 | <itemizedlist spacing="compact">
|
---|
| 37 | <listitem>
|
---|
| 38 | <para>
|
---|
| 39 | Download (HTTP): <ulink url="&scour-download-http;"/>
|
---|
| 40 | </para>
|
---|
| 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>
|
---|
| 44 | Download (FTP): <ulink url="&scour-download-ftp;"/>
|
---|
| 45 | </para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>
|
---|
| 49 | Download MD5 sum: &scour-md5sum;
|
---|
| 50 | </para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>
|
---|
| 54 | Download size: &scour-size;
|
---|
| 55 | </para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>
|
---|
| 59 | Estimated disk space required: &scour-buildsize;
|
---|
| 60 | </para>
|
---|
| 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>
|
---|
| 64 | Estimated build time: &scour-time;
|
---|
| 65 | </para>
|
---|
| 66 | </listitem>
|
---|
| 67 | </itemizedlist>
|
---|
| 68 |
|
---|
| 69 | <bridgehead renderas="sect4">Scour Dependencies</bridgehead>
|
---|
| 70 |
|
---|
[d0331db] | 71 | <bridgehead renderas="sect5">Required</bridgehead>
|
---|
| 72 | <para role="required">
|
---|
[b9a4450] | 73 | <xref linkend="six"/>
|
---|
[d0331db] | 74 | </para>
|
---|
[b9a4450] | 75 |
|
---|
[9f18cc0] | 76 | <para condition="html" role="usernotes">
|
---|
| 77 | User Notes: <ulink url="&blfs-wiki;/scour"/>
|
---|
| 78 | </para>
|
---|
| 79 | </sect3>
|
---|
| 80 |
|
---|
| 81 | <sect3 role="installation">
|
---|
| 82 | <title>Installation of scour</title>
|
---|
| 83 |
|
---|
[b9a4450] | 84 | <para>When building, the procedure thinks that that the current version of
|
---|
| 85 | <xref linkend="six"/> is less than six-1.9. Fix that with:</para>
|
---|
[9f18cc0] | 86 |
|
---|
[b9a4450] | 87 | <screen><userinput>sed -i '/requires/s/9/10/' setup.py</userinput></screen>
|
---|
[9f18cc0] | 88 |
|
---|
| 89 | <para>
|
---|
[b9a4450] | 90 | Build the module:
|
---|
[9f18cc0] | 91 | </para>
|
---|
| 92 |
|
---|
[b9a4450] | 93 | <screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
|
---|
| 94 |
|
---|
[9f18cc0] | 95 | <para>
|
---|
[b9a4450] | 96 | To install the module, run the following command as the &root; user:
|
---|
[9f18cc0] | 97 | </para>
|
---|
| 98 |
|
---|
[b9a4450] | 99 | <screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir scour</userinput></screen>
|
---|
[9f18cc0] | 100 |
|
---|
| 101 | </sect3>
|
---|
| 102 |
|
---|
[b9a4450] | 103 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 104 | href="../../xincludes/pip3-cmd-explain.xml"/>
|
---|
| 105 |
|
---|
[9f18cc0] | 106 | <sect3 role="content">
|
---|
| 107 | <title>Contents</title>
|
---|
| 108 |
|
---|
| 109 | <segmentedlist>
|
---|
| 110 | <segtitle>Installed Programs</segtitle>
|
---|
| 111 | <segtitle>Installed Libraries</segtitle>
|
---|
| 112 | <segtitle>Installed Directories</segtitle>
|
---|
| 113 |
|
---|
| 114 | <seglistitem>
|
---|
| 115 | <seg>
|
---|
| 116 | scour
|
---|
| 117 | </seg>
|
---|
| 118 | <seg>
|
---|
| 119 | None
|
---|
| 120 | </seg>
|
---|
| 121 | <seg>
|
---|
[b9a4450] | 122 | /usr/lib/python3.10/site-packages/scour and
|
---|
| 123 | /usr/lib/python3.10/site-packages/scour-&scour-version;.dist-info
|
---|
[9f18cc0] | 124 | </seg>
|
---|
| 125 | </seglistitem>
|
---|
| 126 | </segmentedlist>
|
---|
| 127 |
|
---|
| 128 | <variablelist>
|
---|
| 129 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 130 | <?dbfo list-presentation="list"?>
|
---|
| 131 | <?dbhtml list-presentation="table"?>
|
---|
| 132 |
|
---|
| 133 | <varlistentry id="scour-prog">
|
---|
| 134 | <term><command>scour</command></term>
|
---|
| 135 | <listitem>
|
---|
| 136 | <para>
|
---|
[4c24eb0a] | 137 | is a program to optimize and clean SVG files
|
---|
[9f18cc0] | 138 | </para>
|
---|
[2630345] | 139 | <indexterm zone="scour scour-prog">
|
---|
| 140 | <primary sortas="b-scour">scour</primary>
|
---|
[9f18cc0] | 141 | </indexterm>
|
---|
| 142 | </listitem>
|
---|
| 143 | </varlistentry>
|
---|
| 144 |
|
---|
| 145 | </variablelist>
|
---|
| 146 |
|
---|
| 147 | </sect3>
|
---|
| 148 |
|
---|
| 149 | </sect2>
|
---|