Update to linux-4.20.8
[linux_from_scratch.git] / prologue / standards.xml
blobcda3014f6d3697671d0f36128a0a00ef76725130
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 ]>
8 <sect1 id="pre-standards">
9   <?dbhtml filename="standards.html"?>
11   <title>LFS and Standards</title>
13   <!--<sect2>
14     <title/> -->
16      <para>The structure of LFS follows Linux standards as closely as
17      possible.  The primary standards are:</para>
19     <itemizedlist>
20       <listitem>
21         <para><ulink url="http://pubs.opengroup.org/onlinepubs/9699919799/">
22         POSIX.1-2008</ulink>.</para>
23       </listitem>
24       <listitem>
25         <para><ulink 
26         url="http://refspecs.linuxfoundation.org/FHS_3.0/fhs/index.html">
27         Filesystem Hierarchy Standard (FHS) Version 3.0</ulink></para>
29       </listitem>
30       <listitem>
31         <para><ulink url="http://refspecs.linuxfoundation.org/lsb.shtml">Linux
32         Standard Base (LSB) Version 5.0 (2015)</ulink></para>
34         <para>The LSB has four separate standards: Core, Desktop,
35         Runtime Languages, and Imaging. In addition to generic requirements
36         there are also architecture specific requirements.  There are also two
37         areas for trial use: Gtk3 and Graphics.  LFS attempts to conform to the
38         architectures discussed in the previous section.</para>
40         <note><para>Many people do not agree with the requirements of the LSB.
41         The main purpose of defining it is to ensure that proprietary software
42         will be able to be installed and run properly on a compliant system.
43         Since LFS is source based, the user has complete control over what
44         packages are desired and many choose not to install some packages that
45         are specified by the LSB.</para></note>
47       </listitem>
48     </itemizedlist>
50     <para>Creating a complete LFS system capable of passing the LSB
51     certifications tests is possible, but not without many additional packages
52     that are beyond the scope of LFS.  These additional packages have
53     installation instructions in BLFS. </para>
55     <variablelist>
56       <bridgehead renderas="sect3">Packages supplied by LFS needed to
57           satisfy the LSB Requirements</bridgehead>
58       <?dbfo list-presentation="list"?>
59       <?dbhtml list-presentation="table"?>
61       <varlistentry>
62         <term><emphasis>LSB Core:</emphasis></term>
63         <listitem>
64           <para>Bash, Bc, Binutils, Coreutils, Diffutils, File, Findutils, Gawk,
65                 Grep, Gzip, M4, Man-DB, Ncurses, Procps, Psmisc, Sed,
66                 Shadow, Tar, Util-linux, Zlib</para>
67         </listitem>
68       </varlistentry>
70       <varlistentry>
71         <term><emphasis>LSB Desktop:</emphasis></term>
72         <listitem>
73           <para>None</para>
74         </listitem>
75       </varlistentry>
77       <varlistentry>
78         <term><emphasis>LSB Runtime Languages:</emphasis></term>
79         <listitem>
80           <para>Perl</para>
81         </listitem>
82       </varlistentry>
84       <varlistentry>
85         <term><emphasis>LSB Imaging:</emphasis></term>
86         <listitem>
87           <para>None</para>
88         </listitem>
89       </varlistentry>
91       <varlistentry>
92         <term><emphasis>LSB Gtk3 and LSB Graphics (Trial Use):</emphasis></term>
93         <listitem>
94           <para>None</para>
95         </listitem>
96       </varlistentry>
98     </variablelist>
100     <variablelist>
101       <bridgehead renderas="sect3">Packages supplied by BLFS needed to
102           satisfy the LSB Requirements</bridgehead>
103       <?dbfo list-presentation="list"?>
104       <?dbhtml list-presentation="table"?>
106       <varlistentry>
107         <term><emphasis>LSB Core:</emphasis></term>
108         <listitem>
109           <para>At, Batch (a part of At), Cpio, Ed, Fcrontab, Initd-tools,
110           Lsb_release, NSPR, NSS, PAM, Pax, Sendmail (or Postfix or Exim), time
111           </para>
112         </listitem>
113       </varlistentry>
115       <varlistentry>
116         <term><emphasis>LSB Desktop:</emphasis></term>
117         <listitem>
118           <para>Alsa, ATK, Cairo, Desktop-file-utils, Freetype, Fontconfig,
119           Gdk-pixbuf, Glib2, GTK+2, Icon-naming-utils, Libjpeg-turbo, Libpng, Libtiff,
120           Libxml2, MesaLib, Pango, Xdg-utils, Xorg</para>
121         </listitem>
122       </varlistentry>
124       <varlistentry>
125         <term><emphasis>LSB Runtime Languages:</emphasis></term>
126         <listitem>
127           <para>Python, Libxml2, Libxslt </para>
128         </listitem>
129       </varlistentry>
131       <varlistentry>
132         <term><emphasis>LSB Imaging:</emphasis></term>
133         <listitem>
134           <para>CUPS, Cups-filters, Ghostscript, SANE</para>
135         </listitem>
136       </varlistentry>
138       <varlistentry>
139         <term><emphasis>LSB Gtk3 and LSB Graphics (Trial Use):</emphasis></term>
140         <listitem>
141           <para>GTK+3</para>
142         </listitem>
143       </varlistentry>
145     </variablelist>
147     <variablelist>
148       <bridgehead renderas="sect3">Packages not supplied by LFS or BLFS
149       needed to satisfy the LSB Requirements</bridgehead>
150       <?dbfo list-presentation="list"?>
151       <?dbhtml list-presentation="table"?>
153       <varlistentry>
154         <term><emphasis>LSB Core:</emphasis></term>
155         <listitem>
156           <para>None</para>
157         </listitem>
158       </varlistentry>
160       <varlistentry>
161         <term><emphasis>LSB Desktop:</emphasis></term>
162         <listitem>
163           <para>Qt4 (but Qt5 is provided)</para>
164         </listitem>
165       </varlistentry>
167       <varlistentry>
168         <term><emphasis>LSB Runtime Languages:</emphasis></term>
169         <listitem>
170           <para>None</para>
171         </listitem>
172       </varlistentry>
174       <varlistentry>
175         <term><emphasis>LSB Imaging:</emphasis></term>
176         <listitem>
177           <para>None</para>
178         </listitem>
179       </varlistentry>
181       <varlistentry>
182         <term><emphasis>LSB Gtk3 and LSB Graphics (Trial Use):</emphasis></term>
183         <listitem>
184           <para>None</para>
185         </listitem>
186       </varlistentry>
188     </variablelist>
190 </sect1>