standards.xml 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  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 试图遵循上面讨论的架构要求。</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 中可以找到这些软件包的安装说明。
  56. </para>
  57. <variablelist>
  58. <bridgehead renderas="sect3">LSB 要求的,由 LFS 提供的软件包</bridgehead>
  59. <?dbfo list-presentation="list"?>
  60. <?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>
  69. <varlistentry>
  70. <term><emphasis>LSB Desktop:</emphasis></term>
  71. <listitem>
  72. <para>无</para>
  73. </listitem>
  74. </varlistentry>
  75. <varlistentry>
  76. <term><emphasis>LSB Runtime Languages:</emphasis></term>
  77. <listitem>
  78. <para>Perl</para>
  79. </listitem>
  80. </varlistentry>
  81. <varlistentry>
  82. <term><emphasis>LSB Imaging:</emphasis></term>
  83. <listitem>
  84. <para>无</para>
  85. </listitem>
  86. </varlistentry>
  87. <varlistentry>
  88. <term><emphasis>LSB Gtk3 和 LSB Graphics (试用):</emphasis></term>
  89. <listitem>
  90. <para>无</para>
  91. </listitem>
  92. </varlistentry>
  93. </variablelist>
  94. <variablelist>
  95. <bridgehead renderas="sect3">LSB 要求的,由 BLFS 提供的软件包</bridgehead>
  96. <?dbfo list-presentation="list"?>
  97. <?dbhtml list-presentation="table"?>
  98. <varlistentry>
  99. <term><emphasis>LSB Core:</emphasis></term>
  100. <listitem>
  101. <para>At, Batch (At 的一部分), Cpio, Ed, Fcrontab, Initd-tools,
  102. Lsb_release, NSPR, NSS, PAM, Pax, Sendmail (或 Postfix,或 Exim), time
  103. </para>
  104. </listitem>
  105. </varlistentry>
  106. <varlistentry>
  107. <term><emphasis>LSB Desktop:</emphasis></term>
  108. <listitem>
  109. <para>Alsa, ATK, Cairo, Desktop-file-utils, Freetype, Fontconfig,
  110. Gdk-pixbuf, Glib2, GTK+2, Icon-naming-utils, Libjpeg-turbo, Libpng, Libtiff,
  111. Libxml2, MesaLib, Pango, Xdg-utils, Xorg</para>
  112. </listitem>
  113. </varlistentry>
  114. <varlistentry>
  115. <term><emphasis>LSB Runtime Languages:</emphasis></term>
  116. <listitem>
  117. <para>Python, Libxml2, Libxslt </para>
  118. </listitem>
  119. </varlistentry>
  120. <varlistentry>
  121. <term><emphasis>LSB Imaging:</emphasis></term>
  122. <listitem>
  123. <para>CUPS, Cups-filters, Ghostscript, SANE</para>
  124. </listitem>
  125. </varlistentry>
  126. <varlistentry>
  127. <term><emphasis>LSB Gtk3 和 LSB Graphics (试用):</emphasis></term>
  128. <listitem>
  129. <para>GTK+3</para>
  130. </listitem>
  131. </varlistentry>
  132. </variablelist>
  133. <variablelist>
  134. <bridgehead renderas="sect3">LSB 要求的,LFS 和 BLFS 均不提供的软件包
  135. </bridgehead>
  136. <?dbfo list-presentation="list"?>
  137. <?dbhtml list-presentation="table"?>
  138. <varlistentry>
  139. <term><emphasis>LSB Core:</emphasis></term>
  140. <listitem>
  141. <para>无</para>
  142. </listitem>
  143. </varlistentry>
  144. <varlistentry>
  145. <term><emphasis>LSB Desktop:</emphasis></term>
  146. <listitem>
  147. <para>Qt4(但提供了 Qt5)</para>
  148. </listitem>
  149. </varlistentry>
  150. <varlistentry>
  151. <term><emphasis>LSB Runtime Languages:</emphasis></term>
  152. <listitem>
  153. <para>无</para>
  154. </listitem>
  155. </varlistentry>
  156. <varlistentry>
  157. <term><emphasis>LSB Imaging:</emphasis></term>
  158. <listitem>
  159. <para>无</para>
  160. </listitem>
  161. </varlistentry>
  162. <varlistentry>
  163. <term><emphasis>LSB Gtk3 和 LSB Graphics (试用):</emphasis></term>
  164. <listitem>
  165. <para>无</para>
  166. </listitem>
  167. </varlistentry>
  168. </variablelist>
  169. </sect1>