[7152faa] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[27a023ce] | 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 |
|
---|
| 8 | <sect1 id="pre-standards">
|
---|
| 9 | <?dbhtml filename="standards.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>LFS and Standards</title>
|
---|
| 12 |
|
---|
[a26951e] | 13 | <!--<sect2>
|
---|
| 14 | <title/> -->
|
---|
[27a023ce] | 15 |
|
---|
[2ca8941] | 16 | <para>The structure of LFS follows Linux standards as closely as
|
---|
[27a023ce] | 17 | possible. The primary standards are:</para>
|
---|
| 18 |
|
---|
| 19 | <itemizedlist>
|
---|
| 20 | <listitem>
|
---|
[fb66c4c] | 21 | <para><ulink url="https://pubs.opengroup.org/onlinepubs/9699919799/">
|
---|
[dce62d9] | 22 | POSIX.1-2008</ulink>.</para>
|
---|
[27a023ce] | 23 | </listitem>
|
---|
| 24 | <listitem>
|
---|
[08ee81f] | 25 | <para><ulink
|
---|
[fb66c4c] | 26 | url="https://refspecs.linuxfoundation.org/FHS_3.0/fhs/index.html">
|
---|
[5b07f85] | 27 | Filesystem Hierarchy Standard (FHS) Version 3.0</ulink></para>
|
---|
[27a023ce] | 28 |
|
---|
| 29 | </listitem>
|
---|
| 30 | <listitem>
|
---|
[fb66c4c] | 31 | <para><ulink url="https://refspecs.linuxfoundation.org/lsb.shtml">Linux
|
---|
[ad1ccc7] | 32 | Standard Base (LSB) Version 5.0 (2015)</ulink></para>
|
---|
[27a023ce] | 33 |
|
---|
[af6ea19] | 34 | <para>The LSB has four separate specifications: Core, Desktop,
|
---|
| 35 | Runtime Languages, and Imaging. Some parts of Core and Desktop
|
---|
| 36 | specifications are architecture specific. There are also two trial
|
---|
| 37 | specifications: Gtk3 and Graphics. LFS attempts to conform to the LSB
|
---|
| 38 | specifications for the IA32 (32-bit x86) or AMD64 (x86_64)
|
---|
[5b07f85] | 39 | architectures discussed in the previous section.</para>
|
---|
[27a023ce] | 40 |
|
---|
[b64efa28] | 41 | <note><para>Many people do not agree with these requirements.
|
---|
| 42 | The main purpose of the LSB is to ensure that proprietary software
|
---|
| 43 | can be installed and run on a compliant system.
|
---|
[12c82b50] | 44 | Since LFS is source based, the user has complete control over what
|
---|
[b64efa28] | 45 | packages are desired; you may choose not to install some packages that
|
---|
[12c82b50] | 46 | are specified by the LSB.</para></note>
|
---|
[27a023ce] | 47 |
|
---|
| 48 | </listitem>
|
---|
| 49 | </itemizedlist>
|
---|
| 50 |
|
---|
[b64efa28] | 51 | <para>While it is possible to create a complete system that will pass the LSB
|
---|
[360fdfca] | 52 | certification tests <quote>from scratch,</quote> this can't be done without many additional packages
|
---|
[b64efa28] | 53 | that are beyond the scope of the LFS book. Installation instructions for these
|
---|
| 54 | additional packages can be found in BLFS. </para>
|
---|
[27a023ce] | 55 |
|
---|
[a26951e] | 56 | <variablelist>
|
---|
| 57 | <bridgehead renderas="sect3">Packages supplied by LFS needed to
|
---|
[12c82b50] | 58 | satisfy the LSB Requirements</bridgehead>
|
---|
[a26951e] | 59 | <?dbfo list-presentation="list"?>
|
---|
| 60 | <?dbhtml list-presentation="table"?>
|
---|
| 61 |
|
---|
| 62 | <varlistentry>
|
---|
| 63 | <term><emphasis>LSB Core:</emphasis></term>
|
---|
| 64 | <listitem>
|
---|
[1fb7bae] | 65 | <para>Bash, Bc, Binutils, Coreutils, Diffutils, File, Findutils, Gawk,
|
---|
[39bc7c48] | 66 | Grep, Gzip, M4, Man-DB, Ncurses, Procps, Psmisc, Sed,
|
---|
[e1428f3] | 67 | Shadow, Tar, Util-linux, Zlib</para>
|
---|
[a26951e] | 68 | </listitem>
|
---|
| 69 | </varlistentry>
|
---|
| 70 |
|
---|
| 71 | <varlistentry>
|
---|
[f4e157a] | 72 | <term><emphasis>LSB Desktop:</emphasis></term>
|
---|
[a26951e] | 73 | <listitem>
|
---|
| 74 | <para>None</para>
|
---|
| 75 | </listitem>
|
---|
| 76 | </varlistentry>
|
---|
| 77 |
|
---|
| 78 | <varlistentry>
|
---|
[f4e157a] | 79 | <term><emphasis>LSB Runtime Languages:</emphasis></term>
|
---|
[a26951e] | 80 | <listitem>
|
---|
[39bc7c48] | 81 | <para>Perl, Python</para>
|
---|
[a26951e] | 82 | </listitem>
|
---|
| 83 | </varlistentry>
|
---|
| 84 |
|
---|
| 85 | <varlistentry>
|
---|
[5b07f85] | 86 | <term><emphasis>LSB Imaging:</emphasis></term>
|
---|
[a26951e] | 87 | <listitem>
|
---|
| 88 | <para>None</para>
|
---|
| 89 | </listitem>
|
---|
| 90 | </varlistentry>
|
---|
| 91 |
|
---|
| 92 | <varlistentry>
|
---|
[5b07f85] | 93 | <term><emphasis>LSB Gtk3 and LSB Graphics (Trial Use):</emphasis></term>
|
---|
[a26951e] | 94 | <listitem>
|
---|
| 95 | <para>None</para>
|
---|
| 96 | </listitem>
|
---|
| 97 | </varlistentry>
|
---|
| 98 |
|
---|
| 99 | </variablelist>
|
---|
| 100 |
|
---|
[2ca8941] | 101 | <variablelist>
|
---|
[a26951e] | 102 | <bridgehead renderas="sect3">Packages supplied by BLFS needed to
|
---|
[12c82b50] | 103 | satisfy the LSB Requirements</bridgehead>
|
---|
[a26951e] | 104 | <?dbfo list-presentation="list"?>
|
---|
[2ca8941] | 105 | <?dbhtml list-presentation="table"?>
|
---|
[a26951e] | 106 |
|
---|
| 107 | <varlistentry>
|
---|
| 108 | <term><emphasis>LSB Core:</emphasis></term>
|
---|
| 109 | <listitem>
|
---|
[6903d5e] | 110 | <para>At, Batch (a part of At), Cpio, Ed, Fcrontab, LSB-Tools, NSPR,
|
---|
| 111 | NSS, PAM, Pax, Sendmail (or Postfix or Exim), time
|
---|
[5b07f85] | 112 | </para>
|
---|
[a26951e] | 113 | </listitem>
|
---|
| 114 | </varlistentry>
|
---|
| 115 |
|
---|
| 116 | <varlistentry>
|
---|
[f4e157a] | 117 | <term><emphasis>LSB Desktop:</emphasis></term>
|
---|
[a26951e] | 118 | <listitem>
|
---|
[5b07f85] | 119 | <para>Alsa, ATK, Cairo, Desktop-file-utils, Freetype, Fontconfig,
|
---|
[3656105] | 120 | Gdk-pixbuf, Glib2, GTK+2, Icon-naming-utils, Libjpeg-turbo, Libpng, Libtiff,
|
---|
[ad1ccc7] | 121 | Libxml2, MesaLib, Pango, Xdg-utils, Xorg</para>
|
---|
[a26951e] | 122 | </listitem>
|
---|
| 123 | </varlistentry>
|
---|
| 124 |
|
---|
| 125 | <varlistentry>
|
---|
[f4e157a] | 126 | <term><emphasis>LSB Runtime Languages:</emphasis></term>
|
---|
[a26951e] | 127 | <listitem>
|
---|
[1c3c1fd] | 128 | <para>Libxml2, Libxslt </para>
|
---|
[a26951e] | 129 | </listitem>
|
---|
| 130 | </varlistentry>
|
---|
| 131 |
|
---|
| 132 | <varlistentry>
|
---|
[5b07f85] | 133 | <term><emphasis>LSB Imaging:</emphasis></term>
|
---|
[a26951e] | 134 | <listitem>
|
---|
[5b07f85] | 135 | <para>CUPS, Cups-filters, Ghostscript, SANE</para>
|
---|
[a26951e] | 136 | </listitem>
|
---|
| 137 | </varlistentry>
|
---|
| 138 |
|
---|
| 139 | <varlistentry>
|
---|
[5b07f85] | 140 | <term><emphasis>LSB Gtk3 and LSB Graphics (Trial Use):</emphasis></term>
|
---|
[a26951e] | 141 | <listitem>
|
---|
[5b07f85] | 142 | <para>GTK+3</para>
|
---|
[a26951e] | 143 | </listitem>
|
---|
| 144 | </varlistentry>
|
---|
| 145 |
|
---|
| 146 | </variablelist>
|
---|
| 147 |
|
---|
[2ca8941] | 148 | <variablelist>
|
---|
| 149 | <bridgehead renderas="sect3">Packages not supplied by LFS or BLFS
|
---|
[12c82b50] | 150 | needed to satisfy the LSB Requirements</bridgehead>
|
---|
[a26951e] | 151 | <?dbfo list-presentation="list"?>
|
---|
[2ca8941] | 152 | <?dbhtml list-presentation="table"?>
|
---|
[a26951e] | 153 |
|
---|
| 154 | <varlistentry>
|
---|
| 155 | <term><emphasis>LSB Core:</emphasis></term>
|
---|
| 156 | <listitem>
|
---|
[eec8fcb] | 157 | <para>None</para>
|
---|
[a26951e] | 158 | </listitem>
|
---|
| 159 | </varlistentry>
|
---|
| 160 |
|
---|
| 161 | <varlistentry>
|
---|
[f4e157a] | 162 | <term><emphasis>LSB Desktop:</emphasis></term>
|
---|
[a26951e] | 163 | <listitem>
|
---|
[ad1ccc7] | 164 | <para>Qt4 (but Qt5 is provided)</para>
|
---|
[a26951e] | 165 | </listitem>
|
---|
| 166 | </varlistentry>
|
---|
| 167 |
|
---|
| 168 | <varlistentry>
|
---|
[f4e157a] | 169 | <term><emphasis>LSB Runtime Languages:</emphasis></term>
|
---|
[a26951e] | 170 | <listitem>
|
---|
| 171 | <para>None</para>
|
---|
| 172 | </listitem>
|
---|
| 173 | </varlistentry>
|
---|
| 174 |
|
---|
| 175 | <varlistentry>
|
---|
[5b07f85] | 176 | <term><emphasis>LSB Imaging:</emphasis></term>
|
---|
[a26951e] | 177 | <listitem>
|
---|
| 178 | <para>None</para>
|
---|
| 179 | </listitem>
|
---|
| 180 | </varlistentry>
|
---|
| 181 |
|
---|
| 182 | <varlistentry>
|
---|
[5b07f85] | 183 | <term><emphasis>LSB Gtk3 and LSB Graphics (Trial Use):</emphasis></term>
|
---|
[a26951e] | 184 | <listitem>
|
---|
[478f29d] | 185 | <para>None</para>
|
---|
[a26951e] | 186 | </listitem>
|
---|
| 187 | </varlistentry>
|
---|
| 188 |
|
---|
| 189 | </variablelist>
|
---|
[27a023ce] | 190 |
|
---|
| 191 | </sect1>
|
---|
| 192 |
|
---|