source: prologue/standards.xml@ 8d5a2a1

trunk xry111/loongarch
Last change on this file since 8d5a2a1 was 8d5a2a1, checked in by Xi Ruoyao <xry111@…>, 6 days ago

standards: Add extension names to libg{d,t}k-x11-2.0 to be consistent

  • Property mode set to 100644
File size: 8.0 KB
RevLine 
[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,
[d77b09e]35 Languages, and Imaging. Some parts of Core and Desktop
[af6ea19]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
[d77b09e]53 that are beyond the scope of the LFS book. Installation instructions for some of these
[b64efa28]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>
[d77b09e]65 <para>
66 Bash, Bc, Binutils, Coreutils, Diffutils, File, Findutils, Gawk,
67 GCC, Gettext, Glibc, Grep, Gzip, M4, Man-DB, Procps, Psmisc,
68 Sed, Shadow, <phrase revision='sysv'>SysVinit</phrase><phrase
69 revision='systemd'>Systemd</phrase>, Tar, Util-linux, Zlib
70 </para>
[a26951e]71 </listitem>
72 </varlistentry>
73
74 <varlistentry>
[f4e157a]75 <term><emphasis>LSB Desktop:</emphasis></term>
[a26951e]76 <listitem>
77 <para>None</para>
78 </listitem>
79 </varlistentry>
80
81 <varlistentry>
[d77b09e]82 <term><emphasis>LSB Languages:</emphasis></term>
[a26951e]83 <listitem>
[d77b09e]84 <para>Perl</para>
[a26951e]85 </listitem>
86 </varlistentry>
87
88 <varlistentry>
[5b07f85]89 <term><emphasis>LSB Imaging:</emphasis></term>
[a26951e]90 <listitem>
91 <para>None</para>
92 </listitem>
93 </varlistentry>
94
95 <varlistentry>
[5b07f85]96 <term><emphasis>LSB Gtk3 and LSB Graphics (Trial Use):</emphasis></term>
[a26951e]97 <listitem>
98 <para>None</para>
99 </listitem>
100 </varlistentry>
101
102 </variablelist>
103
[2ca8941]104 <variablelist>
[a26951e]105 <bridgehead renderas="sect3">Packages supplied by BLFS needed to
[12c82b50]106 satisfy the LSB Requirements</bridgehead>
[a26951e]107 <?dbfo list-presentation="list"?>
[2ca8941]108 <?dbhtml list-presentation="table"?>
[a26951e]109
110 <varlistentry>
111 <term><emphasis>LSB Core:</emphasis></term>
112 <listitem>
[d77b09e]113 <para>At, Batch (a part of At), BLFS Bash Startup Files, Cpio, Ed,
114 Fcrontab, LSB-Tools, NSPR, NSS, Linux-PAM, Pax, Sendmail
115 (or Postfix or Exim), Time
[5b07f85]116 </para>
[a26951e]117 </listitem>
118 </varlistentry>
119
120 <varlistentry>
[f4e157a]121 <term><emphasis>LSB Desktop:</emphasis></term>
[a26951e]122 <listitem>
[5b07f85]123 <para>Alsa, ATK, Cairo, Desktop-file-utils, Freetype, Fontconfig,
[d77b09e]124 Gdk-pixbuf, Glib2, GLU, Icon-naming-utils, Libjpeg-turbo,
125 Libxml2, Mesa, Pango, Xdg-utils, Xorg</para>
[a26951e]126 </listitem>
127 </varlistentry>
128
129 <varlistentry>
[d77b09e]130 <term><emphasis>LSB Languages:</emphasis></term>
[a26951e]131 <listitem>
[d77b09e]132 <para>Libxml2, Libxslt</para>
[a26951e]133 </listitem>
134 </varlistentry>
135
136 <varlistentry>
[5b07f85]137 <term><emphasis>LSB Imaging:</emphasis></term>
[a26951e]138 <listitem>
[5b07f85]139 <para>CUPS, Cups-filters, Ghostscript, SANE</para>
[a26951e]140 </listitem>
141 </varlistentry>
142
143 <varlistentry>
[5b07f85]144 <term><emphasis>LSB Gtk3 and LSB Graphics (Trial Use):</emphasis></term>
[a26951e]145 <listitem>
[5b07f85]146 <para>GTK+3</para>
[a26951e]147 </listitem>
148 </varlistentry>
149
150 </variablelist>
151
[2ca8941]152 <variablelist>
[d77b09e]153 <bridgehead renderas="sect3">Components not supplied or optionally
154 supplied by LFS or BLFS needed to satisfy the LSB
155 Requirements</bridgehead>
[a26951e]156 <?dbfo list-presentation="list"?>
[2ca8941]157 <?dbhtml list-presentation="table"?>
[a26951e]158
159 <varlistentry>
160 <term><emphasis>LSB Core:</emphasis></term>
161 <listitem>
[d77b09e]162 <para>
163 <command>install_initd</command>,
164 <filename class='libraryfile'>libcrypt.so.1</filename>
165 (can be provided with optional instructions for the LFS
166 Libxcrypt package),
167 <filename class='libraryfile'>libncurses.so.5</filename>
168 (can be provided with optional instructions for the LFS
169 Ncurses package),
170 <filename class='libraryfile'>libncursesw.so.5</filename>
171 (but <filename class='libraryfile'>libncursesw.so.6</filename>
172 is provided by the LFS Ncurses package)
173 </para>
[a26951e]174 </listitem>
175 </varlistentry>
176
177 <varlistentry>
[f4e157a]178 <term><emphasis>LSB Desktop:</emphasis></term>
[a26951e]179 <listitem>
[d77b09e]180 <para>
[8d5a2a1]181 <filename class='libraryfile'>libgdk-x11-2.0.so</filename>
[d77b09e]182 (but <filename class='libraryfile'>libgdk-3.so</filename>
183 is provided by the BLFS GTK+-3 package),
[8d5a2a1]184 <filename class='libraryfile'>libgtk-x11-2.0.so</filename>
[d77b09e]185 (but <filename class='libraryfile'>libgtk-3.so</filename>
186 and <filename class='libraryfile'>libgtk-4.so</filename>
187 are provided by the BLFS GTK+-3 and GTK-4 packages),
188 <filename class='libraryfile'>libpng12.so</filename>
189 (but <filename class='libraryfile'>libpng16.so</filename>
190 is provided by the BLFS Libpng package),
191 <filename class='libraryfile'>libQt*.so.4</filename>
192 (but <filename class='libraryfile'>libQt6*.so.6</filename>
193 are provided by the BLFS Qt6 package),
194 <filename class='libraryfile'>libtiff.so.4</filename>
195 (but <filename class='libraryfile'>libtiff.so.6</filename>
196 is provided by the BLFS Libtiff package)
197 </para>
[a26951e]198 </listitem>
199 </varlistentry>
200
201 <varlistentry>
[d77b09e]202 <term><emphasis>LSB Languages:</emphasis></term>
[a26951e]203 <listitem>
[d77b09e]204 <para><command>/usr/bin/python</command> (LSB requires Python2 but
205 LFS and BLFS only provide Python3)</para>
[a26951e]206 </listitem>
207 </varlistentry>
208
209 <varlistentry>
[5b07f85]210 <term><emphasis>LSB Imaging:</emphasis></term>
[a26951e]211 <listitem>
212 <para>None</para>
213 </listitem>
214 </varlistentry>
215
216 <varlistentry>
[5b07f85]217 <term><emphasis>LSB Gtk3 and LSB Graphics (Trial Use):</emphasis></term>
[a26951e]218 <listitem>
[d77b09e]219 <para>
220 <filename class='libraryfile'>libpng15.so</filename>
221 (but <filename class='libraryfile'>libpng16.so</filename>
222 is provided by the BLFS Libpng package)
223 </para>
[a26951e]224 </listitem>
225 </varlistentry>
226
227 </variablelist>
[27a023ce]228
229</sect1>
230
Note: See TracBrowser for help on using the repository browser.