source: general/prog/scons.xml@ cd964c8

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules 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 cd964c8 was cd964c8, checked in by Ken Moffat <ken@…>, 6 years ago

Build the Python2 libxml2 module and clarify where / when it is used. Make an additional entry for this in the python modules - if trying to build both sets of modules before installing libxml.so, the lib has to be built twice with separate invocations of configure, that is slow if all the optional dependencies are invoked. The dependencies for docbook-xsl are all used at runtime, note that and flag their xref tags as runtime.

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

  • Property mode set to 100644
File size: 5.0 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 scons-download-http "&sourceforge-dl;/scons/scons-&scons-version;.tar.gz">
8 <!ENTITY scons-download-ftp " ">
9 <!ENTITY scons-md5sum "1c99878d0eaf9b768b50721e913142d3">
10 <!ENTITY scons-size "616 KB">
11 <!ENTITY scons-buildsize "5.3 MB">
12 <!ENTITY scons-time "less than 0.1 SBU">
13]>
14
15<sect1 id="scons" xreflabel="SCons-&scons-version;">
16 <?dbhtml filename="scons.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>SCons-&scons-version;</title>
24
25 <indexterm zone="scons">
26 <primary sortas="a-SCons">SCons</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to SCons</title>
31
32 <para>
33 <application>SCons</application> is a tool for building software
34 (and other files) implemented in <application>Python</application>.
35 </para>
36
37 &lfs81_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>
43 Download (HTTP): <ulink url="&scons-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&scons-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &scons-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &scons-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &scons-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &scons-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3">SCons Dependencies</bridgehead>
74
75 <bridgehead renderas="sect4">Required</bridgehead>
76 <para role="required">
77 <xref linkend="python2"/>
78 </para>
79
80 <bridgehead renderas="sect4">Optional</bridgehead>
81 <para role="optional">
82 <xref linkend="docbook-xsl"/>,
83 <xref role="runtime" linkend="libxml2py2"/> and
84 <xref role="runtime" linkend="libxslt"/> (the
85 <application>Python2</application> modules can be invoked at
86 runtime if using the SCons Docbook tool)
87 </para>
88
89 <para condition="html" role="usernotes">
90 User Notes: <ulink url="&blfs-wiki;/scons"/>
91 </para>
92 </sect2>
93
94 <sect2 role="installation">
95 <title>Installation of SCons</title>
96
97 <para>
98 Install <application>SCons</application> by running the following
99 commands as the <systemitem class="username">root</systemitem> user:
100 </para>
101
102 <screen role="root"><userinput>python setup.py install --prefix=/usr \
103 --standard-lib \
104 --optimize=1 \
105 --install-data=/usr/share</userinput></screen>
106
107 </sect2>
108
109 <sect2 role="content">
110 <title>Contents</title>
111
112 <segmentedlist>
113 <segtitle>Installed Programs</segtitle>
114 <segtitle>Installed Libraries</segtitle>
115 <segtitle>Installed Directory</segtitle>
116
117 <seglistitem>
118 <seg>
119 scons, scons-&scons-version;, sconsign, sconsign-&scons-version;,
120 scons-time, and scons-time-&scons-version;
121 </seg>
122 <seg>
123 None
124 </seg>
125 <seg>
126 /usr/lib/python&python2-majorver;/site-packages/SCons
127 </seg>
128 </seglistitem>
129 </segmentedlist>
130
131 <variablelist>
132 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
133 <?dbfo list-presentation="list"?>
134 <?dbhtml list-presentation="table"?>
135
136 <varlistentry id="scons-prog">
137 <term><command>scons</command></term>
138 <listitem>
139 <para>
140 is a software construction tool.
141 </para>
142 <indexterm zone="scons scons-prog">
143 <primary sortas="b-scons">scons</primary>
144 </indexterm>
145 </listitem>
146 </varlistentry>
147
148 <varlistentry id="sconsign">
149 <term><command>sconsign</command></term>
150 <listitem>
151 <para>
152 prints <application>SCons</application>
153 <filename>.sconsign</filename> file information.
154 </para>
155 <indexterm zone="scons sconsign">
156 <primary sortas="b-sconsign">sconsign</primary>
157 </indexterm>
158 </listitem>
159 </varlistentry>
160
161 <varlistentry id="scons-time">
162 <term><command>scons-time</command></term>
163 <listitem>
164 <para>
165 generates and displays <application>SCons</application>
166 timing information.
167 </para>
168 <indexterm zone="scons scons-time">
169 <primary sortas="b-scons-time">scons-time</primary>
170 </indexterm>
171 </listitem>
172 </varlistentry>
173 </variablelist>
174
175 </sect2>
176
177</sect1>
Note: See TracBrowser for help on using the repository browser.