source: template/template.xml@ 53d3217e

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 9.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 upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 53d3217e was 53d3217e, checked in by Douglas R. Reno <renodr@…>, 4 years ago

template: Bump to lfs9? from lfs8?

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

  • Property mode set to 100644
File size: 15.1 KB
RevLine 
[d3edf27]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[d3edf27]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[e248af7]7 <!-- Place this in the packages.ent file
[43fd8be]8 <!ENTITY TEMPLATE-version "">
[d3edf27]9 -->
10
[43fd8be]11 <!ENTITY TEMPLATE-download-http "http://">
12 <!ENTITY TEMPLATE-download-ftp "ftp://">
13 <!ENTITY TEMPLATE-md5sum "MD5 sum">
14 <!ENTITY TEMPLATE-size "?? MB">
15 <!ENTITY TEMPLATE-buildsize "?? MB">
16 <!ENTITY TEMPLATE-time "?? SBU">
[1ae4746]17<!-- SBU should be rounded to integer if greater than 10, to one
18 decimal if below 10, and should be "less than 0.1 SBU" if
19 below 0.1. If the SBU without parallelisation is too long,
20 it is acceptable to give the value "with parallelism=N", where
21 N is the number of threads used. Note that some build system
22 automatically fix N equal to the number of available CPU cores
23 on the machine. -->
[d3edf27]24]>
25
[4705fa4]26<!-- Try to keep the indentation used in this file-->
[1ae02579]27<sect1 id="TEMPLATE" xreflabel="TEMPLATE-&TEMPLATE-version;">
[4705fa4]28 <?dbhtml filename="TEMPLATE.html"?>
[46daaa1]29
[4705fa4]30 <sect1info>
[f3e3b83]31 <!-- this part gets updated when you commit, IFF you set the properties:
[4ac63bfe]32 first, svn add path/to/thisfile.xml and then
33 svn propset svn:mime-type text/plain path/to/thisfile.xml and
34 svn propset svn:keywords "Date LastChangedBy" path/to/thisfile.xml -->
[4705fa4]35 <othername>$LastChangedBy$</othername>
36 <date>$Date$</date>
37 </sect1info>
[46daaa1]38
[17bcb81]39 <!-- No other tags inside any title.
40 Use Title Case in All Titles -->
[4705fa4]41 <title>TEMPLATE-&TEMPLATE-version;</title>
[46daaa1]42
[4705fa4]43 <indexterm zone="TEMPLATE">
44 <primary sortas="a-TEMPLATE">TEMPLATE</primary>
45 </indexterm>
[46daaa1]46
[4705fa4]47 <!--Required section-->
48 <sect2 role="package">
49 <title>Introduction to TEMPLATE</title>
[46daaa1]50
[14aeac4]51 <para>
52 The <application>TEMPLATE</application> package contains...
53 This is useful for...
54 </para>
[46daaa1]55
[a4a52f4]56 <!-- if it builds but hasn't been tested: -->
[53d3217e]57 &lfs9?_built;
[a4a52f4]58 <!-- if it works: -->
[53d3217e]59 &lfs9?_checked;
[a4a52f4]60
[4705fa4]61 <bridgehead renderas="sect3">Package Information</bridgehead>
62 <itemizedlist spacing="compact">
63 <listitem>
[14aeac4]64 <para>
65 Download (HTTP): <ulink url="&TEMPLATE-download-http;"/>
66 </para>
[4705fa4]67 </listitem>
68 <listitem>
[14aeac4]69 <para>
70 Download (FTP): <ulink url="&TEMPLATE-download-ftp;"/>
71 </para>
[4705fa4]72 </listitem>
73 <listitem>
[14aeac4]74 <para>
75 Download MD5 sum: &TEMPLATE-md5sum;
76 </para>
[4705fa4]77 </listitem>
78 <listitem>
[14aeac4]79 <para>
80 Download size: &TEMPLATE-size;
81 </para>
[4705fa4]82 </listitem>
83 <listitem>
[14aeac4]84 <para>
85 Estimated disk space required: &TEMPLATE-buildsize;
86 </para>
[4705fa4]87 </listitem>
88 <listitem>
[14aeac4]89 <para>
90 Estimated build time: &TEMPLATE-time;
91 </para>
[f2c510ee]92 </listitem>
[4705fa4]93 </itemizedlist>
[46daaa1]94
[4705fa4]95 <!-- As required -->
96 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
97 <itemizedlist spacing="compact">
98 <listitem>
[14aeac4]99 <para>
100 Required patch:
101 <ulink url="&patch-root;/TEMPLATE-&TEMPLATE-version;-patch_name-patch_version.patch"/>
102 </para>
[4705fa4]103 </listitem>
104 </itemizedlist>
[46daaa1]105
[4705fa4]106 <bridgehead renderas="sect3">TEMPLATE Dependencies</bridgehead>
[46daaa1]107
[4705fa4]108 <bridgehead renderas="sect4">Required</bridgehead>
[14aeac4]109 <para role="required">
[161767fb]110 <xref linkend="BLFS_DEPENDENCY"/> <!-- notice no period as this is not
111 a sentence. If there are more than two, they must be separated by commas
112 with the last member having "and" in front of it. The use of a serial
113 comma is preferred (a comma after the next to last member before the
114 "and"). BLFS_DEPENDENCY should be an "id" attribute defined somewhere
115 in the book (usually in a <sect1>). -->
[7a65888]116 <xref role="runtime" linkend="RUNTIME_DEPENDENCY"/> (runtime)
117 <!-- Specifying that a dependency is a runtime one, may avoid circular
118 dependencies. Add role="runtime" to help jhalfs -->
[14aeac4]119 </para>
[46daaa1]120
[dbb03a0]121 <!-- It may be nice to have a separate section for runtime dependencies.
122 Do it as follow. -->
123 <bridgehead renderas="sect4">Required at runtime</bridgehead>
124 <para role="required">
125 <xref role="runtime" linkend="RUNTIME_DEPENDENCY"/>
126 </para>
127
[4705fa4]128 <!-- As required -->
129 <bridgehead renderas="sect4">Recommended</bridgehead>
[14aeac4]130 <para role="recommended">
[161767fb]131 <xref linkend="BLFS_DEPENDENCY"/> <!-- notice no period as this is not
132 a sentence. See above for the use of "and" and commas. Normally, neither
133 required nor recommended dependencies should be <ulink>. -->
[7a65888]134 <xref linkend="ANOTHER_RECOMMENDED_DEP"/> (required if building
135 <xref role="nodep" linkend="SOME_FANCY_PACKAGE"/>) <!-- You may need
136 to refer to another package, which is not a dependency. Use the role
137 attibute with value "nodep". -->
138 <!-- See above for runtime dependencies -->
[14aeac4]139 </para>
[46daaa1]140
[4705fa4]141 <!-- As required -->
142 <bridgehead renderas="sect4">Optional</bridgehead>
[14aeac4]143 <para role="optional">
[161767fb]144 <xref linkend="BLFS_DEPENDENCY"/> and
[8bf11809]145 <ulink url="http://www.some.url/">EXTERNAL DEPENDENCY</ulink>
[161767fb]146 <!-- notice no period as this is not a sentence. See above for the use
147 of commas and "and". The order should <xref> before <ulink>.-->
[7a65888]148 <!-- See above how to refer to another package, which is not a
149 dependency. -->
[14aeac4]150 </para>
[46daaa1]151
[14aeac4]152 <para condition="html" role="usernotes">
153 User Notes: <ulink url="&blfs-wiki;/TEMPLATE"/>
154 </para>
[4705fa4]155 </sect2>
[46daaa1]156
[d615263]157 <!-- Optional section for packages that need a specific kernel
158 configuration-->
[64fecc4]159 <sect2 role="kernel" id="TEMPLATE-kernel">
[4705fa4]160 <title>Kernel Configuration</title>
[46daaa1]161
[14aeac4]162 <para>
163 Enable the following options in the kernel configuration and recompile the
164 kernel if necessary:
165 </para>
[46daaa1]166
167<!-- Spaces are significant in <screen> sections -->
[ca40dca]168<screen><literal>Master section ---&gt;
169 Subsection ---&gt;
[161767fb]170 [*] Required parameter [CONFIG_REQU_PAR]
171 &lt;*&gt; Required parameter (not as module) [CONFIG_REQU_PAR_NMOD]
172 &lt;*/M&gt; Required parameter (could be a module) [CONFIG_REQU_PAR_MOD]
173 &lt;*/M/ &gt; Optional parameter [CONFIG_OPT_PAR]
174 [ ] Incompatible parameter [CONFIG_INCOMP_PAR]
175 &lt; &gt; Incompatible parameter (even as module) [CONFIG_INCOMP_PAR_MOD]</literal></screen>
[46daaa1]176
[14aeac4]177 <para>
178 Select the appropriate sub-options that appear when the above options are
[8d99b03f]179 selected. As much as possible, the layout should be the same as in
[ca40dca]180 kernel menus.
[14aeac4]181 </para>
[46daaa1]182
[4705fa4]183 <indexterm zone="TEMPLATE TEMPLATE-kernel">
184 <primary sortas="d-TEMPLATE">TEMPLATE</primary>
185 </indexterm>
186 </sect2>
[46daaa1]187
[4705fa4]188 <!--Required section-->
189 <sect2 role="installation">
190 <title>Installation of TEMPLATE</title>
[46daaa1]191
[14aeac4]192 <para>
193 Install <application>TEMPLATE</application> by running the following
194 commands:
195 </para>
[46daaa1]196
197<!-- Spaces are significant in <screen> sections -->
[14aeac4]198<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
[eaf6a1cd]199make</userinput></screen>
[46daaa1]200
[76b2b9e]201 <!-- Optional paragraph. Add it when some instructions for building
202 documentation need optional or external packages. The remap="doc"
203 attribute signals those kind of instructions. Note: instructions
204 for generating documentation that can be built with
205 recommended/required/LFS book packages may be included in the
206 same block as configure and make. -->
207
208 <para>
209 If you have installed <xref linkend="optional-dep"/>, you can build
210 the documentation (or additional formats of the documentation) by issuing: </para>
211
212<screen remap="doc"><userinput>make -C doc pdf</userinput></screen>
213
214 <!-- adjust the instructions as needed. -->
215
216
217 <!-- Optional paragraph. Use one of the two mentions below about a test
[d615263]218 suite, delete the line that is not applicable. Of course, if the
[8e46700]219 test suite uses syntax other than 'make check', revise the
220 line to reflect the actual syntax to run the test suite -->
221
[14aeac4]222 <para>
223 This package does not come with a test suite.
224 </para>
[46daaa1]225
[14aeac4]226 <para>
227 To test the results, issue: <command>make check</command>.
228 </para>
229
[76b2b9e]230 <!-- Sometimes, more complex instructions are needed for running tests, or
231 they need to be run as root. They can then be put inside screen
232 tags using the remap="test" attribute as in the following example: -->
233
234 <para>
235 If you want to run the tests, first create some needed files:
236 </para>
237
238<screen remap="test"><userinput>make prepare-tests</userinput></screen>
239
240 <para>
241 Then run the tests as the <systemitem class="username">root</systemitem>
242 user:
243 </para>
244
245<screen role="root" remap="test"><userinput>make tests</userinput></screen>
246
[14aeac4]247 <para>
248 Now, as the <systemitem class="username">root</systemitem> user:
249 </para>
[46daaa1]250
[eaf6a1cd]251<screen role="root"><userinput>make install</userinput></screen>
[4705fa4]252 </sect2>
[46daaa1]253
[76b2b9e]254 <!-- Optional paragraph for documentation that has been generated using
255 optiona/external packages: -->
256
257 <para>
258 If you have built the optional documentation, install it as the
259 <systemitem class="username">root</systemitem> user:
260 </para>
261
262<screen role="root"
263 remap="doc"><userinput>install -vdm 755 /usr/share/doc/template-&template-version; &amp;&amp;
264mv doc/* /usr/share/doc/template-&template-version;</userinput></screen>
265
[4705fa4]266 <!--Optional section-->
267 <sect2 role="commands">
268 <title>Command Explanations</title>
[46daaa1]269
[a26f3f8f]270 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[692b244c]271 href="../../xincludes/static-libraries.xml"/>
[14aeac4]272
[17bcb81]273 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
274 href="../../xincludes/gtk-doc-rebuild.xml"/>
275
[14aeac4]276 <para>
277 <command>COMMAND</command>: This command does something.
278 </para>
[46daaa1]279
[14aeac4]280 <para>
[8bf11809]281 <parameter>--PARAMETER</parameter>: This parameter does something
282 mandatory for BLFS purposes. It will be in the instructions above. It is
283 not optional and is why it is listed as a parameter and not an option.
[14aeac4]284 </para>
[46daaa1]285
[14aeac4]286 <para>
287 <option>--OPTION</option>: This option does something optionally per the
[8bf11809]288 user's desires. It is not listed in the instructions above, but instead,
289 is listed here because many (some) readers may want to include it.
[14aeac4]290 </para>
[4705fa4]291 </sect2>
[46daaa1]292
[5603a81]293 <sect2 role="using">
294 <title>Using TEMPLATE</title>
295
296 <para>
[8bf11809]297 Stuff about how to use TEMPLATE to do something. This section is rarely
298 used.
[5603a81]299 </para>
300 </sect2>
301
[4705fa4]302 <!--Optional section-->
303 <sect2 role="configuration">
304 <title>Configuring TEMPLATE</title>
[46daaa1]305
[4705fa4]306 <sect3 id="TEMPLATE-config">
307 <title>Config Files</title>
[14aeac4]308 <para>
309 <filename>~/.Configfilename1</filename> and
[8bf11809]310 <filename>/etc/path/Configfilename2</filename> <!-- notice no period as this is not a sentence-->
[14aeac4]311 </para>
[46daaa1]312
[4705fa4]313 <indexterm zone="TEMPLATE TEMPLATE-config">
314 <primary sortas="e-AA.Configfilename1">~/.Configfilename1</primary>
315 </indexterm>
[46daaa1]316
[4705fa4]317 <indexterm zone="TEMPLATE TEMPLATE-config">
[d615263]318 <primary
319 sortas="e-etc-path-Configfilename2">/etc/path/Configfilename2</primary>
[4705fa4]320 </indexterm>
321 </sect3>
[46daaa1]322
[4705fa4]323 <sect3><title>Configuration Information</title>
[46daaa1]324
[14aeac4]325 <para>
326 Blah blah blah about config.
327 </para>
[46daaa1]328
[eaf6a1cd]329<screen><userinput>USER CONFIG COMMANDS</userinput></screen>
[46daaa1]330
[eaf6a1cd]331<screen role="root"><userinput>ROOT CONFIG COMMANDS</userinput></screen>
[46daaa1]332
[b8dba81]333 <!-- File creation. Add the appropriate <indexterm> block if needed.-->
[14aeac4]334 <para>
335 Create the file .... for ...
336 </para>
[46daaa1]337
[eaf6a1cd]338<screen role="root"><userinput>cat &gt;&gt; /PATH/FILENAME &lt;&lt; "EOF"
339<literal># Begin FILENAME
[46daaa1]340
[eaf6a1cd]341TEXT
[46daaa1]342
[eaf6a1cd]343# End FILENAME</literal>
344EOF</userinput></screen>
[4705fa4]345 </sect3>
[46daaa1]346
[4705fa4]347 <sect3 id="TEMPLATE-init">
348 <title>Boot Script</title>
[46daaa1]349
[14aeac4]350 <para>
351 To automatically start the <command>TEMPLATE</command> daemon when the
352 system is rebooted, install the
353 <filename>/etc/rc.d/init.d/TEMPLATE</filename> bootscript from the
[3c7bd00]354 <xref linkend="bootscripts" revision="sysv"/>
355 <xref linkend="systemd-units" revision="systemd"/> package as the
[8bf11809]356 <systemitem class="username">root</systemitem> user:
[14aeac4]357 </para>
[46daaa1]358
359 <indexterm zone="TEMPLATE TEMPLATE-init">
[4705fa4]360 <primary sortas="f-TEMPLATE">TEMPLATE</primary>
[46daaa1]361 </indexterm>
362
[eaf6a1cd]363<screen role="root"><userinput>make install-TEMPLATE</userinput></screen>
[4705fa4]364 </sect3>
365 </sect2>
[46daaa1]366
367 <!--Required section-->
[4705fa4]368 <sect2 role="content">
369 <title>Contents</title>
[46daaa1]370
[4705fa4]371 <segmentedlist>
372 <segtitle>Installed Program(s)</segtitle>
373 <segtitle>Installed Librar(y,ies)</segtitle>
374 <segtitle>Installed Director(y,ies)</segtitle>
[46daaa1]375
[8bf11809]376 <!-- If there were no programs, libraries, or directories created, then
377 we would list the section as "None". However, a decision must have
378 been made to change the "None" to just removing the whole section
379 because I've noticed that many packages have had the "None"
380 removed and the section completely removed as well. The reasoning
381 was that by putting "None", it appears as we know there are none.
382 Without anything it appears as we are not sure. -->
[0d7900a]383
[4705fa4]384 <seglistitem>
[14aeac4]385 <seg>
386 PROGRAM1, PROGRAM2 and PROGRAM3.
387 </seg>
388 <seg>
389 libLIBRARY1.so, libLIBRARY2.so and libLIBRARY3.so.
390 </seg>
391 <seg>
392 /etc/TEMPLATE, /usr/include/TEMPLATE, /usr/lib/TEMPLATE,
393 /usr/share/TEMPLATE-&TEMPLATE-version;,
394 /usr/share/doc/TEMPLATE-&TEMPLATE-version; and
395 /var/lib/TEMPLATE.
396 </seg>
[4705fa4]397 </seglistitem>
398 </segmentedlist>
[46daaa1]399
[4705fa4]400 <variablelist>
401 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
402 <?dbfo list-presentation="list"?>
403 <?dbhtml list-presentation="table"?>
[46daaa1]404
[fb3dd289]405 <!-- If the program or library name conflicts (is the same) as the
406 package name, add -prog or -lib to the varlistentry entity id
[4705fa4]407 and the 2nd entry of the indexterm zone entity -->
[46daaa1]408
[4705fa4]409 <varlistentry id="PROGRAM1">
410 <term><command>PROGRAM1</command></term>
411 <listitem>
[14aeac4]412 <para>
[8bf11809]413 does this ..... (end the sentence with a period).
[14aeac4]414 </para>
[4705fa4]415 <indexterm zone="TEMPLATE PROGRAM1">
416 <primary sortas="b-PROGRAM1">PROGRAM1</primary>
417 </indexterm>
418 </listitem>
419 </varlistentry>
[46daaa1]420
[4705fa4]421 <varlistentry id="PROGRAM2">
422 <term><command>PROGRAM2</command></term>
423 <listitem>
[14aeac4]424 <para>
[8bf11809]425 does this ..... (end the sentence with a period).
[14aeac4]426 </para>
[4705fa4]427 <indexterm zone="TEMPLATE PROGRAM2">
428 <primary sortas="b-PROGRAM2">PROGRAM2</primary>
429 </indexterm>
430 </listitem>
431 </varlistentry>
[46daaa1]432
[4705fa4]433 <varlistentry id="libLIBRARY1">
[14aeac4]434 <term><filename class="libraryfile">libLIBRARY1.so</filename></term>
[4705fa4]435 <listitem>
[14aeac4]436 <para>
[8bf11809]437 contains functions that ..... (end the sentence with a period).
[14aeac4]438 </para>
[4705fa4]439 <indexterm zone="TEMPLATE libLIBRARY1">
[14aeac4]440 <primary sortas="c-libLIBRARY1">libLIBRARY1.so</primary>
[4705fa4]441 </indexterm>
442 </listitem>
443 </varlistentry>
444 </variablelist>
445 </sect2>
[46daaa1]446</sect1>
Note: See TracBrowser for help on using the repository browser.