source: general/prog/scour.xml@ 516c374

11.2 11.3 12.0 12.1 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 xry111/llvm18 xry111/soup3 xry111/xf86-video-removal
Last change on this file since 516c374 was 516c374, checked in by Douglas R. Reno <renodr@…>, 21 months ago

Tags

  • Property mode set to 100644
File size: 4.2 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/v0.38.2/scour-&scour-version;.tar.gz">
8 <!ENTITY scour-download-ftp " ">
9 <!ENTITY scour-md5sum "ae30f52602802f8c7df3a32e1f72b325">
10 <!ENTITY scour-size "100 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 Module</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 &lfs112_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 <bridgehead renderas="sect5">Required</bridgehead>
72 <para role="required">
73 <xref linkend="six"/>
74 </para>
75
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
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>
86
87<screen><userinput>sed -i '/requires/s/9/10/' setup.py</userinput></screen>
88
89 <para>
90 Build the module:
91 </para>
92
93<screen><userinput>pip3 wheel -w dist --no-build-isolation --no-deps $PWD</userinput></screen>
94
95 <para>
96 To install the module, run the following command as the &root; user:
97 </para>
98
99<screen role="root"><userinput>pip3 install --no-index --find-links dist --no-cache-dir scour</userinput></screen>
100
101 </sect3>
102
103 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
104 href="../../xincludes/pip3-cmd-explain.xml"/>
105
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>
122 /usr/lib/python3.10/site-packages/scour and
123 /usr/lib/python3.10/site-packages/scour-&scour-version;.dist-info
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>
137 is a program to optimize and clean SVG files
138 </para>
139 <indexterm zone="scour scour-prog">
140 <primary sortas="b-scour">scour</primary>
141 </indexterm>
142 </listitem>
143 </varlistentry>
144
145 </variablelist>
146
147 </sect3>
148
149 </sect2>
Note: See TracBrowser for help on using the repository browser.