source: general/prog/scour.xml@ f6ee672

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.4 9.0 9.1 bdubbs/svn kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since f6ee672 was f6ee672, checked in by Pierre Labastie <pieere@…>, 5 years ago

Make coherent dependencies for Python Modules, see ticket #11425

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

  • Property mode set to 100644
File size: 5.4 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 "1de595a0b1627d47b01b4e5fa2976087">
10 <!ENTITY scour-size "96 KB">
11 <!ENTITY scour-buildsize "1.3 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 &lfs83_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">Recommended</bridgehead>
75 <para role="recommended">
76 <xref linkend="python2"/>
77 </para>
78
79 <note>
80 <para>
81 The only use of Scour in this book is by applications which
82 require Python2.
83 </para>
84 </note>
85
86 <bridgehead renderas="sect5">Optional (for the main test)</bridgehead>
87 <para role="optional">
88 <xref linkend="six"/>
89 </para>
90
91 <para condition="html" role="usernotes">
92 User Notes: <ulink url="&blfs-wiki;/scour"/>
93 </para>
94 </sect3>
95
96 <sect3 role="installation">
97 <title>Installation of scour</title>
98
99
100 <note>
101 <para>
102 Both <application>Python 2</application> and
103 <application>Python 3</application> modules can
104 be built and installed without any conflicts.
105 </para>
106 </note>
107
108<!-- Editors note: Use - -root= instead of DESTDIR= when updating. -->
109
110 <para>
111 To build the <application>Python 2</application> module,
112 run the following command:
113 </para>
114
115<screen><userinput>python setup.py build</userinput></screen>
116
117 <para>
118 To partially test the results, issue: <command>python testcss.py</command>.
119 If you have installed <application>Six</application> you can run the main
120 tests by issuing: <command>python testscour.py</command>.
121 </para>
122
123 <para>
124 To install the <application>Python 2</application> module
125 run the following command as the
126 <systemitem class="username">root</systemitem> user:
127 </para>
128
129<screen role="root"><userinput>python setup.py install --optimize=1</userinput></screen>
130
131 <para>
132 To build the <application>Python 3</application> module,
133 run the following command:
134 </para>
135
136<screen><userinput>python3 setup.py build</userinput></screen>
137
138 <para>
139 To install the <application>Python 3</application> module,
140 run the following command as the
141 <systemitem class="username">root</systemitem> user:
142 </para>
143
144<screen role="root"><userinput>python3 setup.py install --optimize=1</userinput></screen>
145
146 </sect3>
147
148 <sect3 role="content">
149 <title>Contents</title>
150
151 <segmentedlist>
152 <segtitle>Installed Programs</segtitle>
153 <segtitle>Installed Libraries</segtitle>
154 <segtitle>Installed Directories</segtitle>
155
156 <seglistitem>
157 <seg>
158 scour
159 </seg>
160 <seg>
161 None
162 </seg>
163 <seg>
164 None
165 </seg>
166 </seglistitem>
167 </segmentedlist>
168
169 <variablelist>
170 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
171 <?dbfo list-presentation="list"?>
172 <?dbhtml list-presentation="table"?>
173
174 <varlistentry id="scour-prog">
175 <term><command>scour</command></term>
176 <listitem>
177 <para>
178 is a program to optimize and clean SVG files.
179 </para>
180 <indexterm zone="scour scour-prog">
181 <primary sortas="b-scour">scour</primary>
182 </indexterm>
183 </listitem>
184 </varlistentry>
185
186 </variablelist>
187
188 </sect3>
189
190 </sect2>
191 <!--End scour -->
Note: See TracBrowser for help on using the repository browser.