source: template/template.xml@ 45ab6c7

11.0 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 45ab6c7 was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 3 years ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

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