1
0

standards.xml 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. <?xml version="1.0" encoding="UTF-8"?>
  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. <sect1 id="pre-standards">
  8. <?dbhtml filename="standards.html"?>
  9. <title>LFS 和标准</title>
  10. <!--<sect2>
  11. <title/> -->
  12. <!--para>The structure of LFS follows Linux standards as closely as
  13. possible. The primary standards are:</para-->
  14. <para>LFS 的结构尽可能遵循 Linux 的各项标准。主要的标准有:</para>
  15. <itemizedlist>
  16. <listitem>
  17. <para><ulink url="http://pubs.opengroup.org/onlinepubs/9699919799/">
  18. POSIX.1-2008</ulink>.</para>
  19. </listitem>
  20. <listitem>
  21. <para><ulink
  22. url="http://refspecs.linuxfoundation.org/FHS_3.0/fhs/index.html">
  23. Filesystem Hierarchy Standard (FHS) Version 3.0</ulink></para>
  24. </listitem>
  25. <listitem>
  26. <para><ulink url="http://refspecs.linuxfoundation.org/lsb.shtml">Linux
  27. Standard Base (LSB) Version 5.0 (2015)</ulink></para>
  28. <!--para>The LSB has four separate standards: Core, Desktop,
  29. Runtime Languages, and Imaging. In addition to generic requirements
  30. there are also architecture specific requirements. There are also two
  31. areas for trial use: Gtk3 and Graphics. LFS attempts to conform to the
  32. architectures discussed in the previous section.</para-->
  33. <para>LSB 由 4 个独立的标准组成:Core、Desktop、Runtime Language 和
  34. Imaging。除了通用要求外,还有架构特定的要求。另外,
  35. 还有两个用于测试用途的标准:Gtk3 和 Graphics。
  36. LFS 试图遵循 LSB 对前一节讨论的那些架构的要求。</para>
  37. <!--note><para>Many people do not agree with the requirements of the LSB.
  38. The main purpose of defining it is to ensure that proprietary software
  39. will be able to be installed and run properly on a compliant system.
  40. Since LFS is source based, the user has complete control over what
  41. packages are desired and many choose not to install some packages that
  42. are specified by the LSB.</para></note-->
  43. <note><para>许多人不认同 LSB 的要求。
  44. 定义 LSB 的主要目的是保证专有软件能够在满足 LSB 的系统上正常运行。
  45. 然而 LFS 是基于源代码的,用户拥有完全的控制权,
  46. 有权选择不安装 LSB 要求的软件包。</para></note>
  47. </listitem>
  48. </itemizedlist>
  49. <!--para>Creating a complete LFS system capable of passing the LSB
  50. certifications tests is possible, but not without many additional packages
  51. that are beyond the scope of LFS. These additional packages have
  52. installation instructions in BLFS. </para-->
  53. <para>创建一个能够通过 LSB 认证测试的完整 LFS 系统是可行的,
  54. 但需要安装大量超过 LFS 范畴的额外软件包。
  55. 在 BLFS 中可以找到这些软件包的安装说明。</para>
  56. <variablelist>
  57. <bridgehead renderas="sect3">LSB 要求的,由 LFS 提供的软件包</bridgehead>
  58. <?dbfo list-presentation="list"?>
  59. <?dbhtml list-presentation="table"?>
  60. <varlistentry>
  61. <term><emphasis>LSB Core:</emphasis></term>
  62. <listitem>
  63. <para>Bash, Bc, Binutils, Coreutils, Diffutils, File, Findutils, Gawk,
  64. Grep, Gzip, M4, Man-DB, Ncurses, Procps, Psmisc, Sed,
  65. Shadow, Tar, Util-linux, Zlib</para>
  66. </listitem>
  67. </varlistentry>
  68. <varlistentry>
  69. <term><emphasis>LSB Desktop:</emphasis></term>
  70. <listitem>
  71. <para>无</para>
  72. </listitem>
  73. </varlistentry>
  74. <varlistentry>
  75. <term><emphasis>LSB Runtime Languages:</emphasis></term>
  76. <listitem>
  77. <para>Perl</para>
  78. </listitem>
  79. </varlistentry>
  80. <varlistentry>
  81. <term><emphasis>LSB Imaging:</emphasis></term>
  82. <listitem>
  83. <para>无</para>
  84. </listitem>
  85. </varlistentry>
  86. <varlistentry>
  87. <term><emphasis>LSB Gtk3 和 LSB Graphics (试用):</emphasis></term>
  88. <listitem>
  89. <para>无</para>
  90. </listitem>
  91. </varlistentry>
  92. </variablelist>
  93. <variablelist>
  94. <bridgehead renderas="sect3">LSB 要求的,由 BLFS 提供的软件包</bridgehead>
  95. <?dbfo list-presentation="list"?>
  96. <?dbhtml list-presentation="table"?>
  97. <varlistentry>
  98. <term><emphasis>LSB Core:</emphasis></term>
  99. <listitem>
  100. <para>At, Batch (At 的一部分), Cpio, Ed, Fcrontab, Initd-tools,
  101. Lsb_release, NSPR, NSS, PAM, Pax, Sendmail (或 Postfix,或 Exim), time
  102. </para>
  103. </listitem>
  104. </varlistentry>
  105. <varlistentry>
  106. <term><emphasis>LSB Desktop:</emphasis></term>
  107. <listitem>
  108. <para>Alsa, ATK, Cairo, Desktop-file-utils, Freetype, Fontconfig,
  109. Gdk-pixbuf, Glib2, GTK+2, Icon-naming-utils, Libjpeg-turbo, Libpng, Libtiff,
  110. Libxml2, MesaLib, Pango, Xdg-utils, Xorg</para>
  111. </listitem>
  112. </varlistentry>
  113. <varlistentry>
  114. <term><emphasis>LSB Runtime Languages:</emphasis></term>
  115. <listitem>
  116. <para>Python, Libxml2, Libxslt </para>
  117. </listitem>
  118. </varlistentry>
  119. <varlistentry>
  120. <term><emphasis>LSB Imaging:</emphasis></term>
  121. <listitem>
  122. <para>CUPS, Cups-filters, Ghostscript, SANE</para>
  123. </listitem>
  124. </varlistentry>
  125. <varlistentry>
  126. <term><emphasis>LSB Gtk3 和 LSB Graphics (试用):</emphasis></term>
  127. <listitem>
  128. <para>GTK+3</para>
  129. </listitem>
  130. </varlistentry>
  131. </variablelist>
  132. <variablelist>
  133. <bridgehead renderas="sect3">LSB 要求的,LFS 和 BLFS 均不提供的软件包
  134. </bridgehead>
  135. <?dbfo list-presentation="list"?>
  136. <?dbhtml list-presentation="table"?>
  137. <varlistentry>
  138. <term><emphasis>LSB Core:</emphasis></term>
  139. <listitem>
  140. <para>无</para>
  141. </listitem>
  142. </varlistentry>
  143. <varlistentry>
  144. <term><emphasis>LSB Desktop:</emphasis></term>
  145. <listitem>
  146. <para>Qt4(但提供了 Qt5)</para>
  147. </listitem>
  148. </varlistentry>
  149. <varlistentry>
  150. <term><emphasis>LSB Runtime Languages:</emphasis></term>
  151. <listitem>
  152. <para>无</para>
  153. </listitem>
  154. </varlistentry>
  155. <varlistentry>
  156. <term><emphasis>LSB Imaging:</emphasis></term>
  157. <listitem>
  158. <para>无</para>
  159. </listitem>
  160. </varlistentry>
  161. <varlistentry>
  162. <term><emphasis>LSB Gtk3 和 LSB Graphics (试用):</emphasis></term>
  163. <listitem>
  164. <para>无</para>
  165. </listitem>
  166. </varlistentry>
  167. </variablelist>
  168. </sect1>