source: general/prog/scour.xml@ 2630345

10.0 10.1 11.0 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind ken/refactor-virt lazarus perl-modules qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 2630345 was 2630345, checked in by Pierre Labastie <pieere@…>, 4 years ago

Fix a few longindex entries again

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19938 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.1 KB
Line 
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
7 <!ENTITY scour-download-http "https://github.com/scour-project/scour/archive/v&scour-version;/scour-&scour-version;.tar.gz">
8 <!ENTITY scour-download-ftp " ">
9 <!ENTITY scour-md5sum "f7d03395a9ce51f822e5741034783e04">
10 <!ENTITY scour-size "90 KB">
11 <!ENTITY scour-buildsize "1.6 MB">
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">
25 <title>Introduction to Scour</title>
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
33 &lfs82_checked;
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
71 <!-- Required: only setuptools, which is available from our Python and
72 Python3 installs via pypi (it has a recursive dependency) -->
73
74 <bridgehead renderas="sect5">Optional (for the main test)</bridgehead>
75 <para role="optional">
76 <xref linkend="six"/>
77 </para>
78
79 <para condition="html" role="usernotes">
80 User Notes: <ulink url="&blfs-wiki;/scour"/>
81 </para>
82 </sect3>
83
84 <sect3 role="installation">
85 <title>Installation of scour</title>
86
87 <note>
88 <para>
89 Although this package installs modules for <application>Python
90 2</application> <emphasis>or</emphasis> <application>Python
91 3</application> they are usually invoked by <command>scour</command>
92 which is a script using the version of
93 <application>Python</application> for which it was compiled.
94 </para>
95
96 <para>
97 For the moment, use of <application>Python 2</application> will
98 normally be adequate.
99 </para>
100 </note>
101
102<!-- Editors note: Use \-\-root= instead of DESTDIR= when updating. -->
103
104 <para>
105 To build the <application>Python 2</application> module, issue:
106 </para>
107
108<screen><userinput>python setup.py build</userinput></screen>
109
110 <para>
111 To partially test the results, issue: <command>python testcss.py</command>.
112 If you have installed <application>Six</application> you can run the main
113 tests by issuing: <command>python testscour.py</command>.
114 </para>
115
116 <para>
117 To install the <application>Python 2</application> module
118 run the following command as the
119 <systemitem class="username">root</systemitem> user:
120 </para>
121
122<screen role="root"><userinput>python setup.py install --optimize=1</userinput></screen>
123
124 <note>
125 <para>
126 If you wish to install the <application>Python 3</application>
127 modules, change 'python' to 'python3' in each of the above steps.
128 </para>
129 </note>
130
131 </sect3>
132
133 <sect3 role="content">
134 <title>Contents</title>
135
136 <segmentedlist>
137 <segtitle>Installed Programs</segtitle>
138 <segtitle>Installed Libraries</segtitle>
139 <segtitle>Installed Directories</segtitle>
140
141 <seglistitem>
142 <seg>
143 scour
144 </seg>
145 <seg>
146 None
147 </seg>
148 <seg>
149 None
150 </seg>
151 </seglistitem>
152 </segmentedlist>
153
154 <variablelist>
155 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
156 <?dbfo list-presentation="list"?>
157 <?dbhtml list-presentation="table"?>
158
159 <varlistentry id="scour-prog">
160 <term><command>scour</command></term>
161 <listitem>
162 <para>
163 is a program to optimize and clean SVG files.
164 </para>
165 <indexterm zone="scour scour-prog">
166 <primary sortas="b-scour">scour</primary>
167 </indexterm>
168 </listitem>
169 </varlistentry>
170
171 </variablelist>
172
173 </sect3>
174
175 </sect2>
176 <!--End scour -->
Note: See TracBrowser for help on using the repository browser.