source: template/template.xml@ 8558044

11.1 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 upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 8558044 was 8558044, checked in by Pierre Labastie <pierre.labastie@…>, 3 years ago

Remove spaces at the end of lines

I know it is somewhat useless, but I don't like them for
two reasons: first they cannot be seen, and I do not like things I
cannot see. Second, git highlights them, and this is disturbing...

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